Commit graph

89 commits

Author SHA1 Message Date
Mathieu Arnold
21a283f3be Remove UNIQUENAME and LATEST_LINK.
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now,
we won't have conflicts there.

Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer
is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel
has the correct PKGNAME anyway.

Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called
OPTIONS_FILE now.)

Reviewed by:	antoine, bapt
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3336
2015-08-17 14:20:40 +00:00
Alexander Leidinger
435ea2a95a Re-commit of
64 bit linuxulator support (not activated by default):
 - most of the work was done by Alan Jude
 - all errors are mine
 - 64bit (may) have rough edges
 - I validated
    * that the 32bit part doesn't has deinstall regressions (incl. EXP runs by
      antoine)
    * 29 of 72 64bit ports ports don't have deinstall leftovers (more validation
      later, when I dare to activate the 64bit linuxulator in the kernel)
 - the infrastructure part looks mature enough to let more test-bunnies get
   some experience with the new 64 bit parts
 - to use it you shall have no linux ports installed and have to specify
   (on your own risk) the following in make.conf before installing the ports:
   OVERRIDE_LINUX_BASE_PORT=c6_64
   OVERRIDE_LINUX_NONBASE_PORTS=c6_64

This is on top of the exiting c6 linux ports. Given that CentOS 7 is 64bits
only, we decided to have it as an "overlay" instead of new ports.
The 64bit part only installs 64bit executables, the 32bit ports can not be
installed at the same time (if needed we can think of letting the 64bit
overlay install the 32bit parts too, but given the CentOS 7 comment
above...).

Differential Revision:	https://reviews.freebsd.org/D174
Submitted by:		alanjude
Sponsored by:		Essen FreeBSD Hackathon 2015
Reviewed by:		xmj, eadler (earlier versions)
Approved by:		portmgr (antoine after some EXP-runs)
2015-08-09 19:14:13 +00:00
Antoine Brodin
011dfa81be Unbreak INDEX, reverting r392921
With hat:	portmgr
2015-07-26 13:35:29 +00:00
Alexander Leidinger
3aeeb3f1bd 64 bit linuxulator support (not activated by default):
- most of the work was done by Alan Jude
 - all errors are mine
 - 64bit (may) have rough edges
 - I validated
    * that the 32bit part doesn't has deinstall regressions
    * 29 of 72 64bit ports ports don't have deinstall leftovers (more validation
      later, when I dare to activate the 64bit linuxulator in the kernel)
 - the infrastructure part looks mature enough to let more test-bunnies get
   some experience with it
 - to use it you shall have no linux ports installed and have to specify
   (on your own risk) the following in make.conf before installing the ports:
   OVERRIDE_LINUX_BASE_PORT=c6_64
   OVERRIDE_LINUX_NONBASE_PORTS=c6_64

This is on top of the exiting c6 linux ports. Given that CentOS 7 is 64bits
only, we decided to have it as an "overlay" instead of new ports.
The 64bit part only installs 64bit executables, the 32bit ports can not be
installed at the same time (if needed we can think of letting the 64bit
overlay install the 32bit parts too, but given the CentOS 7 comment
above...).

Differential Revision:	https://reviews.freebsd.org/D174
Submitted by:		alanjude
Sponsored by:		Essen FreeBSD Hackathon 2015
Reviewed by:		xmj, eadler (earlier versions)
Approved by:		portmgr (implicit, I remember blanked approval for
			linux parts loooong ago, punish me if you don't
			agree anymore)
2015-07-26 13:06:24 +00:00
Tijl Coosemans
ae41dd3ad0 - Update to db4-4.7.25-19.el6_6
- Update to freetype-2.3.11-15.el6_6.1
- Update to glibc-2.12-1.149.el6_6.9
- Update to krb5-libs-1.10.3-37.el6_6
- Add symlink from /usr/lib/librt.so.1 to /lib/librt.so.1.  This shadows
  FreeBSD /usr/lib/librt.so.1 and fixes some applications (e.g. Maple)

MFH:		2015Q3
Security:	CVE-2012-5669
Security:	CVE-2013-7423
Security:	CVE-2014-6040
Security:	CVE-2014-7817
Security:	CVE-2014-9657
Security:	CVE-2014-9658
Security:	CVE-2014-9660
Security:	CVE-2014-9661
Security:	CVE-2014-9663
Security:	CVE-2014-9664
Security:	CVE-2014-9667
Security:	CVE-2014-9669
Security:	CVE-2014-9670
Security:	CVE-2014-9671
Security:	CVE-2014-9673
Security:	CVE-2014-9674
Security:	CVE-2014-9675
Security:	CVE-2015-0235
Security:	CVE-2015-1781
2015-07-15 18:35:03 +00:00
Johannes Jost Meixner
62b2a35363 emulators/linux_base-c6: Add libblkid RPM
- Add libblkid to DISTFILES.
  the corresponding src distfile is
  util-linux-ng-2.17.2-12.18.el6.src.rpm

PR:		199083
Differential Revision:	https://reviews.freebsd.org/D2315
Submitted by:	trasz
Reviewed by:	eadler, trasz
2015-04-18 17:29:03 +00:00
Tijl Coosemans
b024bf4540 - White space fixes
- Like r315899 did for linux_base-f10, add some symlinks to linux_base-c6
  for executables that exist in /usr/bin on Linux but /bin on FreeBSD.
  This guarantees that Linux shell scripts run the Linux executables and
  not the FreeBSD ones.

PR:		197406
2015-02-08 10:34:14 +00:00
Johannes Jost Meixner
639d7af80e emulators/linux_base-c6: update glibc
- Update to a GHOST-free glibc version.

Differential Revision:	https://reviews.freebsd.org/D1695
Security:	0765de84-a6c1-11e4-a0c1-c485083ca99c
Approved by:	so@ (des)
MFH:		2015Q1
2015-01-28 08:41:17 +00:00
Johannes Jost Meixner
ed75099171 Set CentOS 6.6 as default Linux version.
Since CentOS 6.5 landed in the portstree and was updated to CentOS 6.6 and we've
fixed the remaining issues, it's time to replace Fedora 10 as Linux default --
given that in the past five years it has done its service and has long since
gone EOL upstream.

The CentOS 6 series will go End of Life in 2020, this should give us some time
to keep its annual releases up to date.

If you have not switched to using CentOS 6.6 ports, please refer to today's
UPDATING entry -- it contains detailed instructions.

If you have already switched to CentOS 6.6 userland,
you can now remove the following two lines from make.conf:

OVERRIDE_LINUX_BASE_PORT=c6
OVERRIDE_LINUX_NONBASE_PORTS=c6

If you encounter any difficulties, please follow the UPDATING entry from
20140922 but skip step 2. In case these steps do not fix the issues,
please submit an issue report in Bugzilla and send an email to FreeBSD's
emulation mailing list.

Differential Revision:	https://reviews.freebsd.org/D1145
Reviewed by:	wblock, bcr (doc), rene (emulation)
Approved by:	swills (mentor)
Approved by:	portmgr (swills)
Sponsored by:	Perceivon Hosting Inc.
2014-12-09 18:05:30 +00:00
Johannes Jost Meixner
9c0adba31e Force PREFIX to LINUXBASE
Using pkg with linux packages will generate conflicts with non-linux ports if
PREFIX is set in make.conf. If USE_LINUX_PREFIX is defined, force PREFIX to
LINUXBASE, which can be overridden separately.

Differential Revision:	https://reviews.freebsd.org/D1265
Approved by:    koobs, swills (mentors)
2014-12-09 17:47:32 +00:00
Johannes Jost Meixner
8ad4f1b492 linux_base-f10/c6: add missing gmp
- expr(1) and factor(1) currently shipped with linux emulation fail, due to
  missing gmp libraries. Add these to allow the correct behavior
- Bump PORTREVISIONs

PR: 		195084
Differential Revision:	https://reviews.freebsd.org/D1252
Submitted by:	Jan Beich <jbeich@vfemail.net>
Approved by:	swills (mentor)
2014-12-02 18:37:06 +00:00
Johannes Jost Meixner
62c8c97bf1 emulators/linux_base-c6: distfiles cleanup
- replace two i686 distfiles in SRC_DISTFILES with their src.rpm counterpart

Reported by:	Nikolai Lifanov <lifanov@mail.lifanov.com>
Approved by:	swills (mentor)
2014-11-11 15:20:12 +00:00
Johannes Jost Meixner
80b6c31429 Upgrade CentOS to 6.6
- Upgrade all things linux-c6- to CentOS 6.6
- Add ports:
  devel/linux-c6-libsigc++20
  graphics/linux-c6-gdk-pixbuf [1]
  graphics/linux-c6-glx-utils
- Add pkg-plists for net/linux-c6-openldap
  and security/linux-c6-cyrus-sasl2
- Misc. cleanups

Differential Revision:	https://reviews.freebsd.org/D1108
Submitted by:	kmoore [1]
Reviewed by:	rene (emulation)
Approved by:	portmgr (swills)
Approved by:	swills (mentor)
Sponsored by:	Perceivon Hosting Inc.
2014-11-11 13:06:39 +00:00
Johannes Jost Meixner
cfba3b02d5 emulators/linux_base-c6: fix build/packaging as unprivileged user.
- Allow build/packaging as unprivileged user.

PR:	193848
Differential Revision:	https://reviews.freebsd.org/D989
Submitted by:	mandree
Approved by:	swills (mentor)
2014-10-27 13:11:21 +00:00
Baptiste Daroussin
7a81cc2bcf Clean up plist 2014-10-27 12:24:22 +00:00
Johannes Jost Meixner
21761d945c emulators/linux_base-c6: Use a CVE-free version of bash
Bash 4.1.2 as shipped with this Linux base port is vulnerable to
CVE-2014-6271 and CVE-2014-7169.  As EL6 policy is to backport security
patches, use a RPM that is not vulnerable to either remote code execution
vulnerability.

While here:
 - Add the proper UDPATES Master site
 - remove sample files installation from Makefile, in favor of @sample

Approved by:	swills (mentor)
Security:	71ad81da-4414-11e4-a33e-3c970e169bc2
2014-09-26 17:06:49 +00:00
Johannes Jost Meixner
05317facbe Update CentOS base to 6.5, add userland ports
The Fedora 10 infrastructure ports have been in use since June 2009 and, while
having served a great deed, have become unsupported upstream and hence affected
by unfixed security vulnerabilities. In addition to that, many recent Linux
binaries need newer libc / stdlibc++ versions.

This commit adds the linux-c6- userland as drop-in replacement for the -f10
infrastructure, as well as upgrading the linux_base-c6 port to CentOS 6.5.

If you want to switch to linux-c6 ports, please define at /etc/make.conf:

    OVERRIDE_LINUX_BASE_PORT=c6
    OVERRIDE_LINUX_NONBASE_PORTS=c6

Additionally, please add the following line to /etc/sysctl.conf:

    compat.linux.osrelease=2.6.18

Upgrading procedures are shown in /usr/ports/UPDATING.

This work has been inspired by Artyom Mirgorodskiy's post to emulation@ in
November 2013, using and extending mav@'s work. It has been tested extensively
and most reported issues were already fixed. Please report any additional bug
or "features" to the emulation mailing list.

Many thanks to: mav@, rene@, allanjude@, netchild@, antoine@, everyone who's
filed Issues and Pull requests on GitHub,

PR:		186820
Differential Revision:	https://reviews.freebsd.org/D793
Reviewed by:	allanjude, antoine, bapt, rene
Approved by:	portmgr (antoine, bapt)
Approved by:	koobs (mentor)
Sponsored by:	Perceivon Hosting Inc.
2014-09-22 10:40:00 +00:00
Jimmy Olgeni
55dc0f983a Remove all space characters from Makefile assignments.
No functional changes included.

CR:		D193 (except math/sedumi)
Approved by:	portmgr (bapt)
2014-06-08 19:51:27 +00:00
Alexander Leidinger
5c8b95fb38 Add libuuid:
- f10 had it
 - this fixes at least the flashplugin with this linux_base

Fix comment.

PR:		186118
Submitted by:	Nikolai Lifanov <lifanov@mail.lifanov.com>
2014-02-02 06:58:50 +00:00
Alexander Leidinger
26612084ef Update to 6.4.
Submitted by:	Johannes Meixner <xmj@chaot.net>
2014-01-24 22:01:48 +00:00
Rene Ladan
c2db014b11 - Add staging support
- Properly handle yp.conf and krb5.conf
- Remove some assignments with default values

Note that staging warns about etc/*shadow not being readable, because their
permissions are 0.
2013-10-10 16:12:48 +00:00
Baptiste Daroussin
1089da7dcc Add NO_STAGE all over the place in preparation for the staging support (cat: emulators) 2013-09-20 16:43:52 +00:00
Rene Ladan
1759b37af1 - Finish removal of support for Linux 2.4 in bsd.linux-apps.mk and
bsd.linux-rpm.mk.  The default linux version is now Fedora 10.
- Remove now obsolete checks for Linux 2.4 in emulators/linux_base-c6,
  emulators/linux_base-f10, and emulators/linux_dist-gentoo-stage3.
  While there, remove superfluous -p argument from ${MKDIR}.
- Remove now obsolete check for Linux 2.4 or FreeBSD 6 and lower from
  astro/google-earth.
- Remove expired Fedora Core 4 ports which were only used on FreeBSD 7
  and below.
- Update LEGAL and MOVED

PR:		ports/176877
Submitted by:	myself
Approved by:	portmgr (bapt)
Exp-run by:	bapt
2013-05-30 09:11:52 +00:00
Baptiste Daroussin
eb40118d02 On all supported version of FreeBSD tar do support rpm as an archive format.
So directly use tar to extract linux* distfiles instead of rpm2cpio.
2013-04-22 16:24:11 +00:00
Rene Ladan
1620a93896 Add back the MASTERSITE containing the sources, to be compliant with
the GPL (it _is_ working after all).

Reported by:	netchild@
2013-03-11 20:49:50 +00:00
Rene Ladan
e2bc8f6f34 - Fix fetch [1]
- Convert Makefile header
- Slightly pet portlint
Submitted by:	tijl@ via freebsd-emulation@ [1]
Tested with:	'make checksum' (before and after)
2013-03-11 09:13:14 +00:00
Alexander Leidinger
411ec35250 Update TODO list. 2012-04-22 19:23:27 +00:00
Alexander Leidinger
8417486741 Add missing source RPMs. 2012-04-22 19:20:51 +00:00
Alexander Leidinger
bb4ac8066a After repocopy (by marcus@) from linux_base-f10:
Add linux_base-c6 port. This is a linux_base port based upon CentOS 6.
CentOS 6 is supported upstream (so far) until November 30, 2020.

Compared to the port as submitted in the PR, I added most SRC_DISTFILES
and set the maintainer to emulation@ (discussed with the submitter).

Not connected to the ports collection (emulation/Makefile) yet, first I want
to find the missing src RPMs (compat-*, stdc++, ...). The port is committed
anyway, so that people can help with the TODO list (in the Makefile).

WARNING: it is highly experimental to use this port instead of the default
linux_base port. You need to set compat.linux.osrelease to 2.6.18, so watch
out for unimplemented syscalls (most recent 8-stable / 9-stable or -current
is recommended for this).

Submitted by:	Svyatoslav Lempert <svyatoslav.lempert@gmail.com>
PR:		165900
2012-04-22 09:24:51 +00:00
Mark Linimon
867742e27e Temporary workaround for INDEX building on pointyhat-west: allow override
of LINUX_OSRELEASE.  pointyhat-west itself might have a different version
of linux compat than whatever we are testing on the client nodes.

The more general solution is in ports/135221, which needs a careful -exp
run to test.

Hat:		portmgr
2011-07-21 04:39:21 +00:00
Emanuel Haupt
301a10f88e - Update MASTER_SITES
- Remove MD5 sums while here

Discussed with:	netchild (emulation)
2011-03-02 10:11:21 +00:00
Alexander Leidinger
fede8ae9e6 Add an explanation what to do in case a linux program needs shared memory. 2011-02-10 11:54:03 +00:00
Erwin Lansing
74cb9eff53 Deprecate md5 in favour of sha256 checksums. md5 checksums will no longer
be generated or checked, and will be silently ignored for now.  Also,
generalize the MD5_FILE macro to DISTINFO_FILO.

PR:		149657
Submitted by:	rene
Approved by:	portmgr
Tested on:	pointyhat i386 7-exp
2010-10-28 21:00:21 +00:00
Juergen Lock
36f13ff51c - Update elfutils rpms to 0.142-1.fc10
PR:		ports/150133 (related to)
2010-09-13 18:39:46 +00:00
Boris Samorodov
8bdc187997 Remove /compat/linux/media from linux_base ports since the native
FreeBSD /media can not be accessed by a linux application.

PR:		ports/138169
Submitted by:	Martin Laabs <info at martinlaabs.de>
2009-09-08 09:16:28 +00:00
Boris Samorodov
4011c3fb18 . update packages to the most recent:
- e2fsprogs-1.41.4-6.fc10;
   - e2fsprogs-libs-1.41.4-6.fc10;
   - elfutils-0.141-1.fc10;
   - glib-1.2.10-32.fc10.
. bump PORTREVISION.
2009-08-08 16:01:48 +00:00
Boris Samorodov
76c9db883b Fix LATEST_LINK for ports (amd64 case):
. emulators/linux_base-fc6;
. emulators/linux_base-f7;
. emulators/linux_base-f8;
. emulators/linux_base-f9;
. emulators/linux_base-f10.

Reported by:	erwin
Suggested by:	erwin
2009-06-12 17:31:38 +00:00
Boris Samorodov
c11516af7b Here are new Linux Fedora 10 infrastructure ports.
Those ports are intended to be used with 8-CURRENT at least
with SVN r192206.

If you want to switch to linux-f10 ports, please define at /etc/make.conf:
  OVERRIDE_LINUX_BASE_PORT=f10
  OVERRIDE_LINUX_NONBASE_PORTS=f10

An upgrading procedure is shown at /usr/ports/UPDATING, entries 20090401
and 20070327.

For the first time all tested linux ports work as expected(!):
. acroread8;
. google-earth;
. skype;
. seamonkey.

Many thanks for kernel folks who really did the main work
(and I wrote only some lines of ports).

There is a good chance that those ports may become a default
for 8.0-RELEASE. Please, test and report back to emulation@ ML.
2009-06-01 17:26:31 +00:00
Boris Samorodov
37a0236809 . update some binary packages; [1]
. update apropriate source packages;
. bump PORTREVISION.

PR:		ports/131063  [1]
Submitted by:	Aragon Gouveia <aragon at phat.za.net>  [1]
2009-01-28 22:16:43 +00:00
Boris Samorodov
d476562d25 Chase the new elfutils package appearance:
. fix:
  - binary and sources rpm package names;  [1]
  - distinfo for binary package;  [1]
  - distinfo for sources package;
  - pkg-plist;
. bump PORTREVISION.

Submitted by:	Szekvolgyi Peter <ghostp@elte.hu> (by email)  [1]
2009-01-04 14:11:56 +00:00
Boris Samorodov
e4b1fc51c0 . update to a new version: fedora-release; [1]
. update to a new version: coreutils;
. bump PORTREVISION.

PR:		128385  [1]
Submitted by:	Aragon Gouveia <aragon at phat.za.net>  [1]
2008-10-27 19:36:02 +00:00
Boris Samorodov
2041a9fd12 . chase updating of some Fedora 8 packages;
. add linux-glib2 to CONFLICTS;
. add a source package for the case of PACKAGE_BUILDING;
. bump PORTREVISION.
2008-10-13 10:54:33 +00:00
Boris Samorodov
6f020f481a To couple with Linux Fedora 8 packages changes after intrusion
to Red Hat's servers:
. new DIST_SUBDIR is used;
. new distinfo.i386;
. bump PORTREVISION.

Pointed out by:	pointyhat (erwin)
2008-10-12 17:42:44 +00:00
Hiroki Sato
cf46a4a7a3 Fix dependency broken due to acroread7 removal. 2008-10-05 02:49:27 +00:00
Boris Samorodov
abbe7ff602 Add keyutils-libs which are needed at least for libkrb5. Now flash9
should work at -current (with some kernel patches for now).
Bump PORTREVISION.

Discussed at:	emulation@
2008-10-03 12:13:46 +00:00
Boris Samorodov
1f4f244005 . fix directories for current packages (they have a ".newkey" suffix);
. chase some new package versions;
. add a package with a missing library presented at previous linux_base  [1]
  ports (libcom_err);
. bump PORTREVISION.

Reported at:	emulation@  [1]
2008-10-02 16:46:01 +00:00
Boris Samorodov
00a0723437 Upgrade to the recent Fedora-8 updates (coreutils and krb5).
Inspirited by the PR.

PR:		124897
Submitted by:	Fritz Katz <frtzkatz yahoo com>
2008-07-22 12:48:11 +00:00
Boris Samorodov
f8bebd531b 1. Add glib-1.2 package to linux_base-f8. Some linux ports (at least
emulators/linux-ePSXe) still use it.
2. Bump PORTREVISION.

Reported by:	Naram Qashat <cyberbotx at cyberbotx.com> at emulation@
2008-04-17 15:54:58 +00:00
Boris Samorodov
3fc7072510 Remove all traces of LINUXBASE/etc/fonts from the port. This is needed to use native
FreeBSD fonts and font configuration files (a link to a native directory will be
created when an apropriate linux-fontconfig port is installed).
2008-04-15 13:45:09 +00:00
Boris Samorodov
479e1637ff . add a script LINUXBASE/usr/bin/lp which let some linux applications [1]
(most notable acroread) to print with default settings;
. add linux_base-f7 to CONFLICTS;
. bump PORTREVISION.

Suggested by:	olli, scf [1]
Reviewed by:	netchild  [1]
2008-03-29 15:02:25 +00:00