base ports were unified. Now it's linux_base-fc4 turn: devel/linux-glib2
is incorporated.
Changes:
* emulation/linux_base-fc4:
. devel/linux-glib2 is incorporated;
. CONFLICTS is fixed;
. PORTREVISION is bumped;
* removed *_DEPENDS upon devel/linux-glib2 and PORTREVISION bumped:
. accessibility/linux-atk;
. astro/google-earth;
. audio/linux-openal;
. graphics/linux-XnViewMP;
. www/linux-mplayer-plugin;
. x11-toolkits/linux-gtk2;
. x11-toolkits/linux-pango;
* devel/linux-glib2:
. CONFLICTS is fixed;
. DEPRECATED;
. EXPIRATION_DATE is set;
Note: this should fix a bug for non-default linux base ports when glib2
files were installed both by a linux base and by linux-glib2 ports.
(got deleted at the next ldconfig call).
2. Now it may be placed at the Makefile.
3. Bump PORTREVISION.
Reported by: netchild [1]
Suggested by: netchild [1]
/compat/linux/usr/lib/librt.so.1. This bug exists only
at linux_base-fc4 _and_ osrelease=2.4.2.
2. Bump PORTREVISION.
Note: The symlink is created at pkg-install script since the first
run of '/compat/linux/sbin/ldconfig -r /compat/linux' seems to remove
the link.
Tijl Coosemans <tijl at ulyssis.org>:
-----
This is not really a bug of linux compat, but is because of the
following:
1. opening /path/to/somefile under linux compat first tries
/compat/linux/path/to/somefile then /path/to/somefile.
2. linux binaries have two search paths for librt.so.1:
/lib and /usr/lib.
3. fc4 has a librt.so.1 in /lib but it is rejected under 2.4.2
emulation.
4. fc4 does not have a librt.so.1 under /usr/lib so when the runtime
linker tries this search path it ends up opening FreeBSD
/usr/lib/librt.so.1 (because of point 1) and fails.
By adding a softlink in /compat/linux/usr/lib to the librt.so.1 in
/compat/linux/lib, the linker doesn't open the FreeBSD librt.so.1
anymore. Instead, under 2.4.2, it rejects this lib and then tries an
internal search path /lib/obsolete/linuxthreads where it finds the
correct version. Under 2.6.16 the softlink doesn't change anything,
so imho this is something the fc4 port/package should deal with.
-----
PR: 121494
Submitted by: Jason Bacon <jwbacon at tds.net>
Convinced by: Tijl Coosemans <tijl at ulyssis.org>
Patched by: bsam (me)
. add a script LINUXBASE/usr/bin/lp to allow some programs (e.g. Acrobat
Reader) to print with default settings, MF-f8;
. deal (add and remove when necessary) with some share empty directories;
. bump PORTREVISION.
if you need one). rpm2cpio(.pl)+port (it's easy, there are several examples
in the ports tree) is the FreeBSD way.
Note, rpm didn't work anyway because of missing libs, so no feature is lost
with this patch.
Non working rpm noticed by: Anders Lindquist <andersl@KTH.SE>
XXX: fc6 needs a similar fix
. add comments and warnings about problems with chroot into the linux base; [1]
. delete a note about linux port for alpha; [1]
. add an advice to use linux_dist ports for cross-development; [1]
. fix the link linux-XFree86-libs -> linux-xorg-libs.
Submitted by: netchild (at freebsd-emulation@) [1]
we don't brand linux libraries, but it's more an executable then a library;
- bump PORTREVISION.
Suggested by: netchild
Discussed at: freebsd-emulation
available for FC4, changes:
libdb_cxx-4.1.so and libdb_cxx-4.2.so are added;
o bump PORTREVISION;
o some polishing: sort DISTFILES by name and same changes to distinfo.
Approved by: netchild (mentor, implicit)
o move dealing with linux locale files (creating empty ones) for
other linux ports to linux_base-fc4;
o remove all empty directories creation from pkg-plist to pkg-install
(which is executed when installing from ports tree and thus not only
installing from a package will create empty directories);
o substitute all @dirrmtry by @dirrm -- from package building point
of view this package (linux_base) should be removed after all other
linux ports. (approved in principle by mentor)
Approved by: netchild (mentor, implicit)
soon:
o some empty linux mtree directories (which will be used by some other
ports) are added;
o PORTREVISION is bumpted.
Approved by: netchild (mentor, implicit)
LINUX_BASE/usr/doc dealing from devel/linux-sdl12
to emulators/linux_base-fc4 -- this directory belongs to the
linux mtree;
o bump PORTREVISION for both ports;
o update emulators/linux_base-fc4 distribution to info-4.8-8.fc4.2
(previous one is not fetchable now).
Reported by: linimon [1]
Approved by: netchild (mentor, implicit)
of x11-toolkits/linux-gtk ;-)
o update x11-toolkits/linux-gtk to a newer version (FC3 -> FC4)
o bump PORTREVISION for both ports
Pointed out by: pointyhat
Approved by: netchild (mentor, implicit)
makes impossible to shoot oneself to the foot if PREFIX is set to
/usr/local.
Reported by: consumidor <consumidor@mundinho.com.br> at emulation@ ML
Approved by: netchild (mentor)
the build
- don't provide a var/log directory -> use the native one [1]
Submitted by: Boris Samorodov <bsam@ipt.ru>
Suggested by: netchild [1]
Repocopy by: marcus
- update bash, glibc, libgcc, libselinux, pcre, slang, termcap and zlib
- add SRPM of libgcc (gcc SRPM itself)
- parametize the glibc version number in the plist
- reword some parts in pkg-*install
People which already tested this port should do a
cd /usr/ports/distfiles/rpm/i386
mv Fedora/3/* fedora/3/
rm -rf Fedora
before upgrading the port (which isn't necessary).
Noticed by: Boris Samorodov <bsam@ipt.ru>
the current linux_base-8 port).
You should only switch to this port if you know what you are doing.
You may or may not have problems with installing other linux related
ports after switching to it. Success or failure reports welcome.
To switch:
- echo "OVERRIDE_LINUX_BASE_PORT=fc3" >> /etc/make.conf
- portupgrade -fo emulators/linux_base-fc3 linux_base-8
News and changes (from submitter with some small changes by me):
- based on linux_base-8 port;
- don't use linux rpm binary to install. The whole source tree is
created at ${WRKDIR} and then installed (using cpio);
- removes some files and directories (etc/passwd, etc/group,
usr/local, ...) to ensure using FreeBSD original files;
- introduces etc/nsswitch.conf.dist and etc/yp.conf.sample files,
uses correct install/deinstall behaviour with etc/nsswitch.conf
and etc/yp.conf files;
- doesn't do [u]mounting while install/deinstall process.
Thus it is possible to use jails while building packages.
But since linprocfs is not automounted, special measures should be
taken at package building for those ports which need a mounted
linprocfs (i.e. for linux JDK building);
- uses linux ldconfig in the pkg-install file (as opposed to using in
the Makefile). It is needed when upgrading (i.e. when other linux
libraries are present in the system) and when installing by packages.
Submitted by: Boris Samorodov <bsam@ipt.ru> (some small changes by me)