Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 May 2019 08:15:45 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r500641 - head/emulators/linux_base-c7
Message-ID:  <201905020815.x428Fj6s008956@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trasz
Date: Thu May  2 08:15:45 2019
New Revision: 500641
URL: https://svnweb.freebsd.org/changeset/ports/500641

Log:
  Install Linux df(1).
  
  Reviewed by:	tijl
  Sponsored by:	The FreeBSD Foundation
  Differential Revision:	https://reviews.freebsd.org/D20132

Modified:
  head/emulators/linux_base-c7/Makefile
  head/emulators/linux_base-c7/pkg-plist.amd64
  head/emulators/linux_base-c7/pkg-plist.i386

Modified: head/emulators/linux_base-c7/Makefile
==============================================================================
--- head/emulators/linux_base-c7/Makefile	Thu May  2 08:11:55 2019	(r500640)
+++ head/emulators/linux_base-c7/Makefile	Thu May  2 08:15:45 2019	(r500641)
@@ -2,7 +2,7 @@
 
 PORTNAME=	c7
 PORTVERSION=	${LINUX_DIST_VER}
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	emulators linux
 PKGNAMEPREFIX=	linux_base-
 BIN_DISTNAMES=	centos-release-7-4.1708.el7.centos \
@@ -120,7 +120,7 @@ OPTIONS_DEFINE=	DOCS NLS
 OPTIONS_SUB=	yes
 
 REMOVE_DIRS=	boot home media mnt proc root run sys tmp var/log var/tmp
-REMOVE_FILES=	bin/df bin/su etc/exports etc/group etc/gshadow etc/motd \
+REMOVE_FILES=	bin/su etc/exports etc/group etc/gshadow etc/motd \
 		etc/passwd etc/printcap etc/protocols etc/services etc/shadow
 
 .include <bsd.port.pre.mk>
@@ -158,13 +158,13 @@ post-patch:
 .endif
 
 post-install:
-	${TOUCH} ${STAGEDIR}${PREFIX}/etc/mtab
 	${MV} ${STAGEDIR}${PREFIX}/etc/krb5.conf \
 		${STAGEDIR}${PREFIX}/etc/krb5.conf.sample
 	${MV} ${STAGEDIR}${PREFIX}/etc/nsswitch.conf \
 		${STAGEDIR}${PREFIX}/etc/nsswitch.conf.sample
 	${MV} ${STAGEDIR}${PREFIX}/usr/lib/locale/locale-archive.tmpl \
 		${STAGEDIR}${PREFIX}/usr/lib/locale/locale-archive
+	${LN} -sf "../proc/self/mounts" ${STAGEDIR}${PREFIX}/etc/mtab
 	${LN} -sf ${LOCALBASE}/share/icons ${STAGEDIR}${PREFIX}/usr/share/icons
 	${LN} -sf /var/run ${STAGEDIR}${PREFIX}/run
 	${LN} -sf /var/tmp ${STAGEDIR}${PREFIX}/usr/tmp

Modified: head/emulators/linux_base-c7/pkg-plist.amd64
==============================================================================
--- head/emulators/linux_base-c7/pkg-plist.amd64	Thu May  2 08:11:55 2019	(r500640)
+++ head/emulators/linux_base-c7/pkg-plist.amd64	Thu May  2 08:15:45 2019	(r500641)
@@ -141,6 +141,7 @@ usr/bin/db47_stat
 usr/bin/db47_upgrade
 usr/bin/db47_verify
 usr/bin/dd
+usr/bin/df
 usr/bin/dir
 usr/bin/dircolors
 usr/bin/dirname

Modified: head/emulators/linux_base-c7/pkg-plist.i386
==============================================================================
--- head/emulators/linux_base-c7/pkg-plist.i386	Thu May  2 08:11:55 2019	(r500640)
+++ head/emulators/linux_base-c7/pkg-plist.i386	Thu May  2 08:15:45 2019	(r500641)
@@ -139,6 +139,7 @@ usr/bin/db47_stat
 usr/bin/db47_upgrade
 usr/bin/db47_verify
 usr/bin/dd
+usr/bin/df
 usr/bin/dir
 usr/bin/dircolors
 usr/bin/dirname



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905020815.x428Fj6s008956>