svn commit: r315899 - head/emulators/linux_base-f10

Tijl Coosemans tijl at FreeBSD.org
Tue Apr 16 20:38:07 UTC 2013


Author: tijl
Date: Tue Apr 16 20:38:06 2013
New Revision: 315899
URL: http://svnweb.freebsd.org/changeset/ports/315899

Log:
  Add some symlinks to linux_base-f10 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.
  
  No objection from:	-emulation
  PR:		ports/176819
  Feature safe:	yes

Modified:
  head/emulators/linux_base-f10/Makefile
  head/emulators/linux_base-f10/pkg-plist

Modified: head/emulators/linux_base-f10/Makefile
==============================================================================
--- head/emulators/linux_base-f10/Makefile	Tue Apr 16 20:27:58 2013	(r315898)
+++ head/emulators/linux_base-f10/Makefile	Tue Apr 16 20:38:06 2013	(r315899)
@@ -3,7 +3,7 @@
 
 PORTNAME=		f10
 PORTVERSION=		10
-PORTREVISION=		5
+PORTREVISION=		6
 CATEGORIES=		emulators linux
 MASTER_SITES=		CRITICAL/rpm/${LINUX_RPM_ARCH}/fedora/${PORTVERSION}
 PKGNAMEPREFIX=		linux_base-
@@ -210,6 +210,10 @@ do-install:
 		| ${CPIO} -pm -R root:wheel ${PREFIX}
 
 	@${LN} -sf /var/tmp ${PREFIX}/usr/tmp
+	@${LN} -sf ../usr/bin/[ ${PREFIX}/bin/[
+	@${LN} -sf ../usr/bin/expr ${PREFIX}/bin/expr
+	@${LN} -sf ../usr/bin/test ${PREFIX}/bin/test
+	@${LN} -sf ../usr/bin/uuidgen ${PREFIX}/bin/uuidgen
 	@${CHOWN} root:wheel ${PREFIX}/var/lock ${PREFIX}/var/spool/mail
 	@${CHMOD} 755 ${PREFIX}/var/lock ${PREFIX}/var/spool/mail
 #

Modified: head/emulators/linux_base-f10/pkg-plist
==============================================================================
--- head/emulators/linux_base-f10/pkg-plist	Tue Apr 16 20:27:58 2013	(r315898)
+++ head/emulators/linux_base-f10/pkg-plist	Tue Apr 16 20:38:06 2013	(r315899)
@@ -1,4 +1,5 @@
 @comment file listing
+bin/[
 bin/arch
 bin/basename
 bin/bash
@@ -13,6 +14,7 @@ bin/dd
 bin/echo
 bin/egrep
 bin/env
+bin/expr
 bin/false
 bin/fgrep
 bin/grep
@@ -33,10 +35,12 @@ bin/sleep
 bin/sort
 bin/stty
 bin/sync
+bin/test
 bin/touch
 bin/true
 bin/uname
 bin/unlink
+bin/uuidgen
 etc/DIR_COLORS
 etc/DIR_COLORS.256color
 etc/DIR_COLORS.xterm


More information about the svn-ports-all mailing list