diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-fs/tahoe-lafs | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-fs/tahoe-lafs')
-rw-r--r-- | net-fs/tahoe-lafs/Manifest | 1 | ||||
-rw-r--r-- | net-fs/tahoe-lafs/files/tahoe-lafs-1.10.0-ifconfig.patch | 20 | ||||
-rw-r--r-- | net-fs/tahoe-lafs/files/tahoe-lafs-1.10.0-setup.patch | 17 | ||||
-rw-r--r-- | net-fs/tahoe-lafs/metadata.xml | 23 | ||||
-rw-r--r-- | net-fs/tahoe-lafs/tahoe-lafs-1.10.0-r2.ebuild | 59 |
5 files changed, 120 insertions, 0 deletions
diff --git a/net-fs/tahoe-lafs/Manifest b/net-fs/tahoe-lafs/Manifest new file mode 100644 index 000000000000..806bbced4399 --- /dev/null +++ b/net-fs/tahoe-lafs/Manifest @@ -0,0 +1 @@ +DIST allmydata-tahoe-1.10.0.tar.bz2 1174044 SHA256 9c5516700fe95fdf8c57eca1e2a7b4aebf2de9a4d327d50afd684ebf833ccfe2 SHA512 664e1cbff3061c54f750af97f74a9fd6f1a16d5f6da73db4cb0e80bc01c97a4e18bf17818c9642e0d95b4a0b3669dc8648f800e63c4793ffb9f2f1bd6de2d461 WHIRLPOOL 9f579783cf46374c329f209898ebe34f28bc3e851ed4ec3eabe7cbb5bd2aac4a7b5aad925b1c688a46dec33f218c8e539dd2d464bdda82c67f685887f5aebf18 diff --git a/net-fs/tahoe-lafs/files/tahoe-lafs-1.10.0-ifconfig.patch b/net-fs/tahoe-lafs/files/tahoe-lafs-1.10.0-ifconfig.patch new file mode 100644 index 000000000000..c760f60e1cc0 --- /dev/null +++ b/net-fs/tahoe-lafs/files/tahoe-lafs-1.10.0-ifconfig.patch @@ -0,0 +1,20 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Thu Aug 1 14:17:10 UTC 2013 +Subject: don't hardcode ifconfig path + +--- allmydata-tahoe-1.10.0/src/allmydata/util/iputil.py ++++ allmydata-tahoe-1.10.0/src/allmydata/util/iputil.py +@@ -177,11 +177,11 @@ + _win32_re = re.compile('^\s*\d+\.\d+\.\d+\.\d+\s.+\s(?P<address>\d+\.\d+\.\d+\.\d+)\s+(?P<metric>\d+)\s*$', flags=re.M|re.I|re.S) + + # These work in Redhat 6.x and Debian 2.2 potato +-_linux_path = '/sbin/ifconfig' ++_linux_path = 'ifconfig' + _linux_re = re.compile('^\s*inet [a-zA-Z]*:?(?P<address>\d+\.\d+\.\d+\.\d+)\s.+$', flags=re.M|re.I|re.S) + + # NetBSD 1.4 (submitted by Rhialto), Darwin, Mac OS X +-_netbsd_path = '/sbin/ifconfig' ++_netbsd_path = 'ifconfig' + _netbsd_args = ('-a',) + _netbsd_re = re.compile('^\s+inet [a-zA-Z]*:?(?P<address>\d+\.\d+\.\d+\.\d+)\s.+$', flags=re.M|re.I|re.S) + diff --git a/net-fs/tahoe-lafs/files/tahoe-lafs-1.10.0-setup.patch b/net-fs/tahoe-lafs/files/tahoe-lafs-1.10.0-setup.patch new file mode 100644 index 000000000000..6cc7ae9dfd34 --- /dev/null +++ b/net-fs/tahoe-lafs/files/tahoe-lafs-1.10.0-setup.patch @@ -0,0 +1,17 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Thu Aug 1 02:58:04 UTC 2013 +Subject: remove bundled setuptools + +--- allmydata-tahoe-1.10.0/setup.py ++++ allmydata-tahoe-1.10.0/setup.py +@@ -70,9 +70,7 @@ + + __requires__ = install_requires[:] + +-egg = os.path.realpath(glob.glob('setuptools-*.egg')[0]) +-sys.path.insert(0, egg) +-import setuptools; setuptools.bootstrap_install_from = egg ++import setuptools + + from setuptools import setup + from setuptools.command import sdist diff --git a/net-fs/tahoe-lafs/metadata.xml b/net-fs/tahoe-lafs/metadata.xml new file mode 100644 index 000000000000..967e7e637494 --- /dev/null +++ b/net-fs/tahoe-lafs/metadata.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>maintainer-needed@gentoo.org</email> + </maintainer> + <longdescription lang="en"> + Tahoe-LAFS is a Free and Open cloud storage system. It + distributes your data across multiple servers. Even if some + of the servers fail or are taken over by an attacker, the + entire filesystem continues to function correctly, preserving + your privacy and security. + </longdescription> + <upstream> + <bugs-to> + https://tahoe-lafs.org/trac/tahoe-lafs/wiki/ViewTickets + </bugs-to> + <doc lang="en"> + https://tahoe-lafs.org/trac/tahoe-lafs/wiki/Doc + </doc> + <remote-id type="github">tahoe-lafs/tahoe-lafs</remote-id> + </upstream> +</pkgmetadata> diff --git a/net-fs/tahoe-lafs/tahoe-lafs-1.10.0-r2.ebuild b/net-fs/tahoe-lafs/tahoe-lafs-1.10.0-r2.ebuild new file mode 100644 index 000000000000..868f2b9db18e --- /dev/null +++ b/net-fs/tahoe-lafs/tahoe-lafs-1.10.0-r2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +MY_PN="allmydata-tahoe" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Secure, decentralized, data store" +HOMEPAGE="http://tahoe-lafs.org/trac/tahoe-lafs" +SRC_URI="http://tahoe-lafs.org/source/tahoe-lafs/releases/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="doc" + +RDEPEND=" + >=dev-python/foolscap-0.6.1[${PYTHON_USEDEP}] + dev-python/nevow[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pyasn1[${PYTHON_USEDEP}] + dev-python/pycrypto[${PYTHON_USEDEP}] + dev-python/pycryptopp[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/pyutil[${PYTHON_USEDEP}] + dev-python/simplejson[${PYTHON_USEDEP}] + >=dev-python/twisted-core-9.0.0-r1[${PYTHON_USEDEP}] + dev-python/zbase32[${PYTHON_USEDEP}] + dev-python/zfec[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}]" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" + +S=${WORKDIR}/${MY_P} + +PATCHES=( "${FILESDIR}"/${P}-{setup,ifconfig}.patch ) + +src_prepare() { + rm -r setuptools* setup.cfg || die + distutils-r1_src_prepare +} + +src_install() { + distutils-r1_src_install + use doc && dodoc -r docs/* +} + +pkg_postinst() { + elog + elog "optional dependencies:" + elog " dev-python/twisted-conch (for sftp access)" + elog +} |