[tahoe-dev] building and pre-existing dependencies

Greg Troxel gdt at ir.bbn.com
Sat Jul 24 18:23:19 UTC 2010


"Zooko O'Whielacronx" <zooko at zooko.com> writes:

> On Sat, Jul 24, 2010 at 8:10 AM, Greg Troxel <gdt at ir.bbn.com> wrote:
>>
>> I've made packages for most of tahoe's prereqs.  I have two more to
>> go and then should be able to commit the tahoe-lafs package.
>
> Hooray!

OK, I'm done, but now having one small issue at runtime.  The egg files
end up uid root mode 400.  This seems to be carried over from the
tarball (.tar.bz2) that has files 600 instead of 644.  Is there any
reason to have the tarball like that?  Obviously I can add a chmod, but
this seems wrong of the tarball.

After that, I can use a client from pkgsrc.

> Yes, it should. We're the middle of a very, very slow naming
> transition to "tahoe-lafs". Give us a couple more years and there will
> probably be no more "allmydata-tahoe" names left... :-)

For your amusement, here's the control file.
----------------------------------------
# $NetBSD: Makefile,v 1.1.1.1 2010/07/24 18:14:27 gdt Exp $
#

VERSION=	1.7.1
DISTNAME=	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 at 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:../../converters/py-zfec
DEPENDS+=	${PYPKGPREFIX}-zbase32:../../converters/py-zbase32
DEPENDS+=	${PYPKGPREFIX}-simplejson:../../converters/py-simplejson
DEPENDS+=	${PYPKGPREFIX}-argparse:../../devel/py-argparse
# Included egg darcsver, but depend anyway.
DEPENDS+=	${PYPKGPREFIX}-darcsver:../../devel/py-darcsver
DEPENDS+=	${PYPKGPREFIX}-pyutil:../../devel/py-pyutil
# Included egg setuptools_trial, not used.
# Included egg setuptools_darcs, used (no package yet).
DEPENDS+=	${PYPKGPREFIX}-foolscap:../../net/py-foolscap
DEPENDS+=	${PYPKGPREFIX}-twisted:../../net/py-twisted
DEPENDS+=	${PYPKGPREFIX}-asn1:../../security/py-asn1
DEPENDS+=	${PYPKGPREFIX}-crypto:../../security/py-crypto
DEPENDS+=	${PYPKGPREFIX}-cryptopp:../../security/py-cryptopp
DEPENDS+=	${PYPKGPREFIX}-OpenSSL:../../security/py-OpenSSL
DEPENDS+=	${PYPKGPREFIX}-nevow:../../www/py-nevow

REPLACE_PYTHON+= src/allmydata/reliability.py
REPLACE_PYTHON+= src/allmydata/storage/shares.py

.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: <http://tahoe-lafs.org/pipermail/tahoe-dev/attachments/20100724/d378ce32/attachment.asc>


More information about the tahoe-dev mailing list