aboutsummaryrefslogtreecommitdiff
path: root/emulators/linux_base-c6
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2017-01-14 13:13:31 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2017-01-14 13:13:31 +0000
commit793f920bb34606473f2a19520bd27be6e065a17d (patch)
tree2fb398a3de88629941487684e622f34e537f520e /emulators/linux_base-c6
parent72923f111f4b157b9b67dc6f332472595c44628d (diff)
Notes
Diffstat (limited to 'emulators/linux_base-c6')
-rw-r--r--emulators/linux_base-c6/Makefile2
-rw-r--r--emulators/linux_base-c6/pkg-plist.i38612
-rw-r--r--emulators/linux_base-c6/pkg-plist.x86_6412
3 files changed, 19 insertions, 7 deletions
diff --git a/emulators/linux_base-c6/Makefile b/emulators/linux_base-c6/Makefile
index 0a2743faa20e..42785a1b19b3 100644
--- a/emulators/linux_base-c6/Makefile
+++ b/emulators/linux_base-c6/Makefile
@@ -3,7 +3,7 @@
PORTNAME= c6
PORTVERSION= ${LINUX_DIST_VER}
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= emulators linux
PKGNAMEPREFIX= linux_base-
diff --git a/emulators/linux_base-c6/pkg-plist.i386 b/emulators/linux_base-c6/pkg-plist.i386
index 9ad75b864a43..67e6c99dfb3e 100644
--- a/emulators/linux_base-c6/pkg-plist.i386
+++ b/emulators/linux_base-c6/pkg-plist.i386
@@ -2345,7 +2345,7 @@ usr/share/man/man8/wipefs.8.gz
usr/tmp
@rmtry var/cache/ldconfig/aux-cache
var/mail
-@dir dev/shm
+@dir dev
@dir etc/X11/applnk
@dir etc/X11/fontpath.d
@dir etc/blkid
@@ -2363,10 +2363,8 @@ var/mail
@dir lib/tls
@dir mnt
@dir opt
-@dir(,,555) proc
@dir selinux
@dir srv
-@dir(,,555) sys
@dir usr/etc
@dir usr/games
@dir usr/lib/X11
@@ -2904,4 +2902,12 @@ var/mail
@dir var/spool/mail
@dir var/yp
@dir %%LINUXBASE%%
+@comment These directories may have filesystems mounted and then it may not be
+@comment possible to change their mode and timestamp like @dir tries to do.
+@postexec mkdir -p %D/dev/shm
+@postunexec rmdir %D/dev/shm 2>/dev/null || true
+@postexec mkdir -p %D/proc
+@postunexec rmdir %D/proc 2>/dev/null || true
+@postexec mkdir -p %D/sys
+@postunexec rmdir %D/sys 2>/dev/null || true
@postexec %D/sbin/ldconfig
diff --git a/emulators/linux_base-c6/pkg-plist.x86_64 b/emulators/linux_base-c6/pkg-plist.x86_64
index 4a282f348a54..3a431df55dd3 100644
--- a/emulators/linux_base-c6/pkg-plist.x86_64
+++ b/emulators/linux_base-c6/pkg-plist.x86_64
@@ -2772,7 +2772,7 @@ usr/share/man/man8/x86_64.8.gz
usr/tmp
@rmtry var/cache/ldconfig/aux-cache
var/mail
-@dir dev/shm
+@dir dev
@dir etc/X11/applnk
@dir etc/X11/fontpath.d
@dir etc/blkid
@@ -2792,10 +2792,8 @@ var/mail
@dir lib64/tls
@dir mnt
@dir opt
-@dir(,,555) proc
@dir selinux
@dir srv
-@dir(,,555) sys
@dir usr/etc
@dir usr/games
@dir usr/lib/games
@@ -3343,4 +3341,12 @@ var/mail
@dir var/spool/mail
@dir var/yp
@dir %%LINUXBASE%%
+@comment These directories may have filesystems mounted and then it may not be
+@comment possible to change their mode and timestamp like @dir tries to do.
+@postexec mkdir -p %D/dev/shm
+@postunexec rmdir %D/dev/shm 2>/dev/null || true
+@postexec mkdir -p %D/proc
+@postunexec rmdir %D/proc 2>/dev/null || true
+@postexec mkdir -p %D/sys
+@postunexec rmdir %D/sys 2>/dev/null || true
@postexec %D/sbin/ldconfig