summaryrefslogtreecommitdiff
path: root/network/tahoe-lafs
diff options
context:
space:
mode:
authorMarkus Reichelt <slackbuilds@mareichelt.de>2016-12-22 22:27:08 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2016-12-22 22:27:08 +0000
commitb5f42de5d16a23e68ea188609a8fb5d4cb388993 (patch)
treed988700b51693123426ce4a466d3179ad55eb876 /network/tahoe-lafs
parent82d8c0ed2c7265c95c398b78cf9363dc19a446b3 (diff)
downloadslackbuilds-b5f42de5d16a23e68ea188609a8fb5d4cb388993.tar.gz
network/tahoe-lafs: Updated for version 1.12.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/tahoe-lafs')
-rw-r--r--network/tahoe-lafs/README7
-rw-r--r--network/tahoe-lafs/tahoe-lafs.SlackBuild18
-rw-r--r--network/tahoe-lafs/tahoe-lafs.info8
3 files changed, 23 insertions, 10 deletions
diff --git a/network/tahoe-lafs/README b/network/tahoe-lafs/README
index 42cbd903b2..3395839764 100644
--- a/network/tahoe-lafs/README
+++ b/network/tahoe-lafs/README
@@ -6,3 +6,10 @@ is available under a choice of two Free Software, Open Source licences.
The file store is encrypted and spread over multiple peers in such a way
that it remains available even when some of the peers are unavailable,
malfunctioning, or malicious.
+
+Tahoe-LAFS now features native Tor and I2P support.
+
+Optional Dependency
+
+In case you'd like proper documentation to be build Sphinx needs to be
+installed at build time.
diff --git a/network/tahoe-lafs/tahoe-lafs.SlackBuild b/network/tahoe-lafs/tahoe-lafs.SlackBuild
index 3d399b94e6..1dbce84a09 100644
--- a/network/tahoe-lafs/tahoe-lafs.SlackBuild
+++ b/network/tahoe-lafs/tahoe-lafs.SlackBuild
@@ -22,12 +22,9 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# Originally written by Marco Bonetti - Thanks!
-# Now maintained by Markus Reichelt <slackbuilds@mareichelt.de>, 0xCCEEF115
PRGNAM=tahoe-lafs
-VERSION=${VERSION:-1.11.0}
+VERSION=${VERSION:-1.12.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -79,12 +76,21 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/usr/man/man1
-cp -a COPYING.* *.txt NEWS.* CREDITS misc docs $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING.* *.txt NEWS.* README.* CREDITS docs misc $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mv $PKG/usr/doc/$PRGNAM-$VERSION/docs/man/man1/tahoe.1 $PKG/usr/man/man1
gzip -9 $PKG/usr/man/man1/tahoe.1
-rmdir $PKG/usr/doc/$PRGNAM-$VERSION/docs/man/man1 $PKG/usr/doc/$PRGNAM-$VERSION/docs/man
+rm -drf $PKG/usr/doc/$PRGNAM-$VERSION/docs/man
+
+if [ -e /usr/bin/sphinx-build ]; then
+ cd $TMP/$PRGNAM-$VERSION/docs
+ make html
+ cp -a _build/html $PKG/usr/doc/$PRGNAM-$VERSION
+ rm $PKG/usr/doc/$PRGNAM-$VERSION/html/{.buildinfo,objects.inv}
+ rm -drf $PKG/usr/doc/$PRGNAM-$VERSION/docs
+ rm -drf $PKG/usr/doc/$PRGNAM-$VERSION/html/_sources
+fi
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/network/tahoe-lafs/tahoe-lafs.info b/network/tahoe-lafs/tahoe-lafs.info
index 833822d039..a96ea2e38b 100644
--- a/network/tahoe-lafs/tahoe-lafs.info
+++ b/network/tahoe-lafs/tahoe-lafs.info
@@ -1,10 +1,10 @@
PRGNAM="tahoe-lafs"
-VERSION="1.11.0"
+VERSION="1.12.0"
HOMEPAGE="https://tahoe-lafs.org/"
-DOWNLOAD="https://tahoe-lafs.org/downloads/tahoe-lafs-1.11.0.tar.bz2"
-MD5SUM="4062e3082bafc6a02163f7486b0f3f46"
+DOWNLOAD="https://tahoe-lafs.org/downloads/tahoe-lafs-1.12.0.tar.bz2"
+MD5SUM="2aca0dadb8b99b71baf7118c9f6e2197"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="simplejson pycrypto pycryptopp zfec service_identity foolscap Nevow"
+REQUIRES="shutilwhich txtorcon txi2p simplejson pycrypto pycryptopp zfec service_identity foolscap Nevow"
MAINTAINER="Markus Reichelt"
EMAIL="slackbuilds@mareichelt.de"