diff options
author | gdt <gdt@pkgsrc.org> | 2010-07-24 19:19:06 +0000 |
---|---|---|
committer | gdt <gdt@pkgsrc.org> | 2010-07-24 19:19:06 +0000 |
commit | b85a54c951951fc53e0bbb200b12ef1ece733bed (patch) | |
tree | 2ba3e327ab303d7f26c622e8925785d4cefe2eec /filesystems | |
parent | 96a5e9d2f07f77378c218ba2c25f32b3d8b8889e (diff) | |
download | pkgsrc-b85a54c951951fc53e0bbb200b12ef1ece733bed.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')
-rw-r--r-- | filesystems/tahoe-lafs/Makefile | 9 |
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 |