From owner-svn-ports-head@freebsd.org Sat Jan 14 13:13:33 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 98D19CAEDB6; Sat, 14 Jan 2017 13:13:33 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 683FE11EB; Sat, 14 Jan 2017 13:13:33 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v0EDDWYG069810; Sat, 14 Jan 2017 13:13:32 GMT (envelope-from tijl@FreeBSD.org) Received: (from tijl@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v0EDDW1c069803; Sat, 14 Jan 2017 13:13:32 GMT (envelope-from tijl@FreeBSD.org) Message-Id: <201701141313.v0EDDW1c069803@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tijl set sender to tijl@FreeBSD.org using -f From: Tijl Coosemans Date: Sat, 14 Jan 2017 13:13:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r431465 - in head/emulators: linux_base-c6 linux_base-c7 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jan 2017 13:13:33 -0000 Author: tijl Date: Sat Jan 14 13:13:31 2017 New Revision: 431465 URL: https://svnweb.freebsd.org/changeset/ports/431465 Log: Don't use @dir for directories that may have filesystems mounted. It may not be possible to change their mode and timestamp like @dir tries to do. PR: 215769 MFH: 2017Q1 Modified: head/emulators/linux_base-c6/Makefile head/emulators/linux_base-c6/pkg-plist.i386 head/emulators/linux_base-c6/pkg-plist.x86_64 head/emulators/linux_base-c7/Makefile head/emulators/linux_base-c7/pkg-plist.i386 head/emulators/linux_base-c7/pkg-plist.x86_64 Modified: head/emulators/linux_base-c6/Makefile ============================================================================== --- head/emulators/linux_base-c6/Makefile Sat Jan 14 12:48:30 2017 (r431464) +++ head/emulators/linux_base-c6/Makefile Sat Jan 14 13:13:31 2017 (r431465) @@ -3,7 +3,7 @@ PORTNAME= c6 PORTVERSION= ${LINUX_DIST_VER} -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= emulators linux PKGNAMEPREFIX= linux_base- Modified: head/emulators/linux_base-c6/pkg-plist.i386 ============================================================================== --- head/emulators/linux_base-c6/pkg-plist.i386 Sat Jan 14 12:48:30 2017 (r431464) +++ head/emulators/linux_base-c6/pkg-plist.i386 Sat Jan 14 13:13:31 2017 (r431465) @@ -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 Modified: head/emulators/linux_base-c6/pkg-plist.x86_64 ============================================================================== --- head/emulators/linux_base-c6/pkg-plist.x86_64 Sat Jan 14 12:48:30 2017 (r431464) +++ head/emulators/linux_base-c6/pkg-plist.x86_64 Sat Jan 14 13:13:31 2017 (r431465) @@ -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 Modified: head/emulators/linux_base-c7/Makefile ============================================================================== --- head/emulators/linux_base-c7/Makefile Sat Jan 14 12:48:30 2017 (r431464) +++ head/emulators/linux_base-c7/Makefile Sat Jan 14 13:13:31 2017 (r431465) @@ -2,7 +2,7 @@ PORTNAME= c7 PORTVERSION= ${LINUX_DIST_VER} -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= emulators linux PKGNAMEPREFIX= linux_base- EXTRACT_ONLY= ${DISTFILES:N*.src.rpm*:Nfilesystem-*} Modified: head/emulators/linux_base-c7/pkg-plist.i386 ============================================================================== --- head/emulators/linux_base-c7/pkg-plist.i386 Sat Jan 14 12:48:30 2017 (r431464) +++ head/emulators/linux_base-c7/pkg-plist.i386 Sat Jan 14 13:13:31 2017 (r431465) @@ -2572,7 +2572,7 @@ usr/tmp @rmtry var/cache/ldconfig/aux-cache var/db/Makefile var/mail -@dir dev/shm +@dir dev @dir etc/X11/applnk @dir etc/X11/fontpath.d @dir etc/bash_completion.d @@ -2589,9 +2589,7 @@ var/mail @dir etc/xinetd.d @dir mnt @dir opt -@dir(,,555) proc @dir srv -@dir(,,555) sys @dir usr/etc @dir usr/games @dir usr/include @@ -3135,4 +3133,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/usr/sbin/ldconfig Modified: head/emulators/linux_base-c7/pkg-plist.x86_64 ============================================================================== --- head/emulators/linux_base-c7/pkg-plist.x86_64 Sat Jan 14 12:48:30 2017 (r431464) +++ head/emulators/linux_base-c7/pkg-plist.x86_64 Sat Jan 14 13:13:31 2017 (r431465) @@ -3022,7 +3022,7 @@ usr/tmp var/db/Makefile @rmtry var/cache/ldconfig/aux-cache var/mail -@dir dev/shm +@dir dev @dir etc/X11/applnk @dir etc/X11/fontpath.d @dir etc/bash_completion.d @@ -3039,9 +3039,7 @@ var/mail @dir etc/xinetd.d @dir mnt @dir opt -@dir(,,555) proc @dir srv -@dir(,,555) sys @dir usr/etc @dir usr/games @dir usr/include @@ -3591,4 +3589,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/usr/sbin/ldconfig