summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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