network/tahoe-lafs: Updated for version 1.12.0.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Markus Reichelt 2016-12-22 22:27:08 +00:00 committed by David Spencer
parent 82d8c0ed2c
commit b5f42de5d1
3 changed files with 23 additions and 10 deletions

View file

@ -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.

View file

@ -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

View file

@ -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"