Date: Wed, 6 Feb 2008 20:56:54 +0300 (MSK) From: Dmitry Marakasov <amdmi3@amdmi3.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/120327: [MAINTAINER] graphics/makehuman: fix non-world-readable dires under DATADIR Message-ID: <20080206175654.E6E3F17023@hades.panopticon> Resent-Message-ID: <200802061800.m16I03NE081026@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080206175654.E6E3F17023>