ports/120327: [MAINTAINER] graphics/makehuman: fix non-world-readable dires under DATADIR

Dmitry Marakasov amdmi3 at amdmi3.ru
Wed Feb 6 18:00:05 UTC 2008


>Number:         120327
>Category:       ports
>Synopsis:       [MAINTAINER] graphics/makehuman: fix non-world-readable dires under DATADIR
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 06 18:00:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 7.0-RC1 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 7.0-RC1 FreeBSD 7.0-RC1 #0: Sat Jan 5 03:26:52 MSK 2008 root at hades.panopticon:/usr/obj/usr/src/sys/HADES i386


>Description:
makehuman installs some directories under ${DATADIR} with 700 permissions; fix this

>How-To-Repeat:
>Fix:

--- makehuman.patch begins here ---
diff -ruN makehuman.orig/Makefile makehuman/Makefile
--- makehuman.orig/Makefile	2008-02-06 18:01:34.000000000 +0300
+++ makehuman/Makefile	2008-02-06 20:30:34.000000000 +0300
@@ -7,6 +7,7 @@
 
 PORTNAME=	makehuman
 DISTVERSION=	0.9.1-rc1a
+PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	SF
 
@@ -40,4 +41,8 @@
 	@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-makehumandocDATA||' ${WRKSRC}/Makefile.in
 .endif
 
+post-install:
+	${FIND} ${DATADIR} -type d -print0 | ${XARGS} -0 -n 10 ${CHMOD} 0755
+	${FIND} ${DATADIR} -type f -print0 | ${XARGS} -0 -n 10 ${CHMOD} 0644
+
 .include <bsd.port.mk>
--- makehuman.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list