Skip site navigation (1)Skip section navigation (2)

CVS log for ports/emulators/linux_base-fc4/pkg-install

[BACK] Up to [FreeBSD] / ports / emulators / linux_base-fc4

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Sep 8 09:16:28 2009 UTC (2 years, 5 months ago) by bsam
Branches: MAIN
CVS tags: RELEASE_9_0_0, RELEASE_8_2_0, RELEASE_8_1_0, RELEASE_8_0_0, RELEASE_7_4_0, RELEASE_7_3_0, RELEASE_6_EOL, HEAD
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +0 -1 lines
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>

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Apr 20 17:27:10 2008 UTC (3 years, 9 months ago) by bsam
Branches: MAIN
CVS tags: RELEASE_7_2_0, RELEASE_7_1_0, RELEASE_6_4_0, RELEASE_5_EOL
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +0 -5 lines
1. Create a hard link since a soft link happened to be insufficient  [1]
   (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]

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Apr 19 20:51:13 2008 UTC (3 years, 9 months ago) by bsam
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +5 -0 lines
1. Add a symlink from /compat/linux/lib/librt.so.1 to
   /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)

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Apr 10 07:34:33 2008 UTC (3 years, 10 months ago) by bsam
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -0 lines
. add CONFLICTS;
. 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.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Aug 12 07:00:35 2006 UTC (5 years, 6 months ago) by acm
Branches: MAIN
CVS tags: RELEASE_7_0_0, RELEASE_6_3_0, RELEASE_6_2_0, RELEASE_4_EOL, PRE_XORG_7
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +10 -0 lines
- Integrate linux-krb5-libs and linux-e2fsprogs to linux_base-fc4

Reviewed by:	bsam
Approved by:	netchild, garga (mentor)

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Jul 9 20:50:07 2006 UTC (5 years, 7 months ago) by bsam
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +103 -0 lines
Prepare for linux infrostructure ports transition from FC3 to FC4:

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)

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun May 7 12:11:48 2006 UTC (5 years, 9 months ago) by netchild
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -3 lines
- add conflict with linux-libgcc
- 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

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Mar 18 19:07:04 2006 UTC (5 years, 10 months ago) by netchild
Branches: MAIN
The port is intended to become the new default linux_base port (replaces
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)

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options