summaryrefslogtreecommitdiff
path: root/filesystems/tahoe-lafs
diff options
context:
space:
mode:
authorgdt <gdt>2010-07-24 19:19:06 +0000
committergdt <gdt>2010-07-24 19:19:06 +0000
commita4396a1179741dbef1d1a570a4137bb49d46f356 (patch)
tree2ba3e327ab303d7f26c622e8925785d4cefe2eec /filesystems/tahoe-lafs
parent58d5c763ebaa4db22092fbe6b1f2bd7c47095510 (diff)
downloadpkgsrc-a4396a1179741dbef1d1a570a4137bb49d46f356.tar.gz
Permissions fix: chmod +r all the distfile contents, because they are
600 and this results in installed python files that non-root users cannot access.
Diffstat (limited to 'filesystems/tahoe-lafs')
-rw-r--r--filesystems/tahoe-lafs/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/filesystems/tahoe-lafs/Makefile b/filesystems/tahoe-lafs/Makefile
index 92300cceb8f..46e4871da7b 100644
--- a/filesystems/tahoe-lafs/Makefile
+++ b/filesystems/tahoe-lafs/Makefile
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.1.1.1 2010/07/24 18:14:27 gdt Exp $
+# $NetBSD: Makefile,v 1.2 2010/07/24 19:19:06 gdt Exp $
#
VERSION= 1.7.1
DISTNAME= allmydata-tahoe-${VERSION}
PKGNAME= tahoe-lafs-${VERSION}
+PKGREVISION= 1
CATEGORIES= filesystems
MASTER_SITES= http://tahoe-lafs.org/source/tahoe-lafs/releases/
EXTRACT_SUFX= .tar.bz2
@@ -35,6 +36,12 @@ DEPENDS+= ${PYPKGPREFIX}-cryptopp:../../security/py-cryptopp
DEPENDS+= ${PYPKGPREFIX}-OpenSSL:../../security/py-OpenSSL
DEPENDS+= ${PYPKGPREFIX}-nevow:../../www/py-nevow
+# Distfile has files mode 600, which leads to root-owned 600 files in
+# the binary package.
+post-extract:
+ echo "Fixing distfile contents to be world readable:"
+ chmod -R +r ${WRKSRC}
+
REPLACE_PYTHON+= src/allmydata/reliability.py
REPLACE_PYTHON+= src/allmydata/storage/shares.py