blob: 65f2b81f0f2c406f5416de03ef8b04feebaf1a36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# $NetBSD: Makefile,v 1.5 2010/12/04 01:58:57 gdt Exp $
#
VERSION= 1.8.1
DISTNAME= allmydata-tahoe-${VERSION}
EGG_NAME= allmydata_tahoe-${VERSION}
PKGNAME= tahoe-lafs-${VERSION}
CATEGORIES= filesystems
MASTER_SITES= http://tahoe-lafs.org/source/tahoe-lafs/releases/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= gdt@NetBSD.org
HOMEPAGE= http://tahoe-lafs.org/
COMMENT= Distributed fault-tolerant least-authority filesystem
LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
# TODO
# fix nevow: doc location
DEPENDS+= ${PYPKGPREFIX}-zfec-[0-9]*:../../converters/py-zfec
DEPENDS+= ${PYPKGPREFIX}-zbase32-[0-9]*:../../converters/py-zbase32
DEPENDS+= ${PYPKGPREFIX}-simplejson-[0-9]*:../../converters/py-simplejson
DEPENDS+= ${PYPKGPREFIX}-argparse-[0-9]*:../../devel/py-argparse
# Included egg darcsver, but depend anyway.
DEPENDS+= ${PYPKGPREFIX}-darcsver-[0-9]*:../../devel/py-darcsver
DEPENDS+= ${PYPKGPREFIX}-pyutil-[0-9]*:../../devel/py-pyutil
# Included egg setuptools_trial, not used.
# Included egg setuptools_darcs, used (no package yet).
DEPENDS+= ${PYPKGPREFIX}-foolscap-[0-9]*:../../net/py-foolscap
DEPENDS+= ${PYPKGPREFIX}-twisted-[0-9]*:../../net/py-twisted
DEPENDS+= ${PYPKGPREFIX}-asn1-[0-9]*:../../security/py-asn1
DEPENDS+= ${PYPKGPREFIX}-crypto-[0-9]*:../../security/py-crypto
DEPENDS+= ${PYPKGPREFIX}-cryptopp-[0-9]*:../../security/py-cryptopp
DEPENDS+= ${PYPKGPREFIX}-OpenSSL-[0-9]*:../../security/py-OpenSSL
DEPENDS+= ${PYPKGPREFIX}-nevow-[0-9]*:../../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
PKG_GROUPS= tahoes
PKG_USERS= tahoes:tahoes::tahoe\ server
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
|