ports/149085: [MAINTAINER] math/py-matplotlib: fix permission error
Geoffrey Mainland
mainland at apeiron.net
Thu Jul 29 23:10:04 UTC 2010
>Number: 149085
>Category: ports
>Synopsis: [MAINTAINER] math/py-matplotlib: fix permission error
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Thu Jul 29 23:10:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Geoffrey Mainland
>Release: 8.1-STABLE
>Organization:
>Environment:
FreeBSD minipax.eecs.harvard.edu 8.1-STABLE FreeBSD 8.1-STABLE #11: Wed Jul 28 13:17:05 EDT 2010 toor at minipax.eecs.harvard.edu:/usr/obj/usr/src/sys/MINIPAX amd64
>Description:
It looks like the distfile was rolled with a umask of 077, so we have to fix file permissions after extraction.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
--- math/py-matplotlib/Makefile.orig 2010-07-29 18:55:12.000000000 -0400
+++ math/py-matplotlib/Makefile 2010-07-29 19:00:22.000000000 -0400
@@ -8,6 +8,7 @@
PORTNAME= matplotlib
PORTVERSION= 1.0.0
+PORTREVISION= 1
CATEGORIES= math python
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-1.0/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -102,6 +103,9 @@
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
+post-extract:
+ ${CHMOD} -R ga+r ${WRKDIR}
+
# bsd.tcl.mk doesn't set TK_VER, so we use TCL_VER instead
post-patch:
${REINPLACE_CMD} -e 's|png_infopp_NULL|NULL|' \
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list