[PATCH] x11-toolkits/py-gnome2: 555 -> 755 for doc directories

Baptiste Daroussin bapt at freebsd.org
Fri Apr 20 06:16:45 UTC 2012


>Submitter-Id:	current-users
>Originator:	Baptiste Daroussin
>Organization:	
>Confidential:	no 
>Synopsis:	[PATCH] x11-toolkits/py-gnome2: 555 -> 755 for doc directories
>Severity:	non-critical
>Priority:	low
>Category:	ports 
>Class:		change-request
>Release:	FreeBSD 10.0-CURRENT amd64
>Environment:
System: FreeBSD azathoth.lan 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r233418M: Sat Mar 24 13:45:31 CET
>Description:
py-gnome2 install EG_DST_DIR as 0555 but py-gnome-desktop do install it as mkdir
aka 0755, which confuse pointyhat when building pkgng packages:
see
http://pointyhat-west.isc.freebsd.org/errorlogs/amd64-errorlogs/e.9-pkgng.20120419221037.pointyhat-west/py27-gnome-desktop-2.32.0_1.log

A first fix could be to set all the directory to 0755 which after all make sense
imho.

just for you information
${TAR} -C ${EG_SRC_DIR} -cf - . | ${TAR} -C ${EG_DST_DIR} -xf -
can be replaced by:
cd  ${EG_SRC_DIR}; pax -rw . ${EG_DST_DIR}
This will be faster normally, but py-gnome is already fast, so not really needed
:)

Port maintainer (gnome at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_5 (mode: change, diff: CVS)
>How-To-Repeat:
>Fix:

--- py27-gnome-2.28.1_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/x11-toolkits/py-gnome2/Makefile,v
retrieving revision 1.110
diff -u -u -r1.110 Makefile
--- Makefile	23 Sep 2011 22:26:32 -0000	1.110
+++ Makefile	20 Apr 2012 06:12:16 -0000
@@ -46,7 +46,7 @@
 	${MKDIR} ${EG_DST_DIR}
 	${TAR} -C ${EG_SRC_DIR} -cf - . | ${TAR} -C ${EG_DST_DIR} -xf -
 	${CHOWN} -R ${BINOWN}:${BINGRP} ${EG_DST_DIR}
-	${FIND} ${EG_DST_DIR} -type d -print | ${XARGS} ${CHMOD} 0555
+	${FIND} ${EG_DST_DIR} -type d -print | ${XARGS} ${CHMOD} 0755
 	${FIND} ${EG_DST_DIR} -type f -print | ${XARGS} ${CHMOD} 0444
 .endif
 
--- py27-gnome-2.28.1_2.patch ends here ---



More information about the freebsd-gnome mailing list