tahoe-lafs: g/c distfile permissions workaround

This commit is contained in:
gdt 2021-03-18 18:09:18 +00:00
parent 3760583acd
commit c5171721c6

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.44 2021/03/18 17:57:08 gdt Exp $
# $NetBSD: Makefile,v 1.45 2021/03/18 18:09:18 gdt Exp $
DISTNAME= tahoe-lafs-1.15.0
CATEGORIES= filesystems
@ -47,17 +47,6 @@ PYTHON_VERSIONS_ACCEPTED= 27 # py-xml via py-nevow, py-zbase32, py-cryptopp, py-
# installed. If you get mysterious failures, pkg_delete the installed
# version.
# OK: 1.9.1, 1.9.2, 1.10a2
# BAD: 1.10a1
#BAD_DISTFILE_MODES=yes
.if defined(BAD_DISTFILE_MODES)
# 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}
.endif
REPLACE_PYTHON+= src/allmydata/storage/shares.py
PKG_GROUPS= tahoes