Add SlackBuilds
This commit is contained in:
19
source/SlackBuild/borgbackup/README
Normal file
19
source/SlackBuild/borgbackup/README
Normal file
@ -0,0 +1,19 @@
|
||||
BorgBackup (short: Borg) is a deduplicating backup program.
|
||||
Optionally, it supports compression and authenticated encryption.
|
||||
|
||||
The main goal of Borg is to provide an efficient and secure way to
|
||||
backup data. The data deduplication technique used makes Borg suitable
|
||||
for daily backups since only changes are stored. The authenticated
|
||||
encryption technique makes it suitable for backups to not fully trusted
|
||||
targets.
|
||||
|
||||
Borg is a fork of Attic and is maintained by "The Borg collective".
|
||||
|
||||
Optional dependencies:
|
||||
- llfuse (https://slackbuilds.org/apps/llfuse/) is required,
|
||||
if you wish to mount an archive as a FUSE filesystem,
|
||||
- Sphinx (https://slackbuilds.org/apps/Sphinx/) and
|
||||
sphinx_rtd_theme (https://slackbuilds.org/apps/sphinx_rtd_theme/)
|
||||
are required if you wish to build the docs (man, html).
|
||||
Please note that the build will fail if Sphinx is installed,
|
||||
but sphinx_rtd_theme is not.
|
BIN
source/SlackBuild/borgbackup/acl-2.2.53-x86_64-1.txz
Normal file
BIN
source/SlackBuild/borgbackup/acl-2.2.53-x86_64-1.txz
Normal file
Binary file not shown.
BIN
source/SlackBuild/borgbackup/acl-2.2.53-x86_64-1.txz.1
Normal file
BIN
source/SlackBuild/borgbackup/acl-2.2.53-x86_64-1.txz.1
Normal file
Binary file not shown.
BIN
source/SlackBuild/borgbackup/borgbackup-1.1.14.tar.gz
Normal file
BIN
source/SlackBuild/borgbackup/borgbackup-1.1.14.tar.gz
Normal file
Binary file not shown.
96
source/SlackBuild/borgbackup/borgbackup.SlackBuild
Normal file
96
source/SlackBuild/borgbackup/borgbackup.SlackBuild
Normal file
@ -0,0 +1,96 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Slackware build script for borgbackup
|
||||
|
||||
# Copyright 2017 Andrzej Telszewski, Banie
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
# permitted provided that the following conditions are met:
|
||||
#
|
||||
# 1. Redistributions of this script must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
|
||||
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
||||
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
# 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.
|
||||
|
||||
PRGNAM=borgbackup
|
||||
VERSION=${VERSION:-1.1.14}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i586 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i586" ]; then
|
||||
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
else
|
||||
SLKCFLAGS="-O2"
|
||||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
python3 setup.py install --root=$PKG
|
||||
|
||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a AUTHORS LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
if [ -x /usr/bin/sphinx-build ]; then
|
||||
cd docs
|
||||
#patch -p0 < $CWD/unicode_docs.patch
|
||||
make -j1 html man
|
||||
cp -a _build/html $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
mkdir -p $PKG/usr/man/man1
|
||||
cp -a _build/man/borg.1 $PKG/usr/man/man1
|
||||
gzip -9 $PKG/usr/man/man1/borg.1
|
||||
cd ..
|
||||
fi
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz}
|
10
source/SlackBuild/borgbackup/borgbackup.info
Normal file
10
source/SlackBuild/borgbackup/borgbackup.info
Normal file
@ -0,0 +1,10 @@
|
||||
PRGNAM="borgbackup"
|
||||
VERSION="1.0.11"
|
||||
HOMEPAGE="https://borgbackup.readthedocs.io/"
|
||||
DOWNLOAD="https://github.com/borgbackup/borg/releases/download/1.0.11/borgbackup-1.0.11.tar.gz"
|
||||
MD5SUM="2b5967e5a671c30fe68481c2b4a73dee"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="python3 setuptools-scm msgpack-python lz4"
|
||||
MAINTAINER="Andrzej Telszewski"
|
||||
EMAIL="atelszewski@gmail.com"
|
BIN
source/SlackBuild/borgbackup/cryptography-2.8-x86_64-1cf.txz
Normal file
BIN
source/SlackBuild/borgbackup/cryptography-2.8-x86_64-1cf.txz
Normal file
Binary file not shown.
20061
source/SlackBuild/borgbackup/get-pip.py
Normal file
20061
source/SlackBuild/borgbackup/get-pip.py
Normal file
File diff suppressed because it is too large
Load Diff
BIN
source/SlackBuild/borgbackup/libffi-3.2.1-x86_64-1.txz
Normal file
BIN
source/SlackBuild/borgbackup/libffi-3.2.1-x86_64-1.txz
Normal file
Binary file not shown.
BIN
source/SlackBuild/borgbackup/lz4-1.9.2-x86_64-1_slonly.txz
Normal file
BIN
source/SlackBuild/borgbackup/lz4-1.9.2-x86_64-1_slonly.txz
Normal file
Binary file not shown.
BIN
source/SlackBuild/borgbackup/msgpack-python-0.6.2-x86_64-2cf.txz
Normal file
BIN
source/SlackBuild/borgbackup/msgpack-python-0.6.2-x86_64-2cf.txz
Normal file
Binary file not shown.
19
source/SlackBuild/borgbackup/slack-desc
Normal file
19
source/SlackBuild/borgbackup/slack-desc
Normal file
@ -0,0 +1,19 @@
|
||||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description.
|
||||
# Line up the first '|' above the ':' following the base package name, and
|
||||
# the '|' on the right side marks the last column you can put a character in.
|
||||
# You must make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
borgbackup: borgbackup (deduplicating backup program)
|
||||
borgbackup:
|
||||
borgbackup: BorgBackup (short: Borg) is a deduplicating backup program.
|
||||
borgbackup: Optionally, it supports compression and authenticated encryption.
|
||||
borgbackup: The main goal of Borg is to provide an efficient and secure way
|
||||
borgbackup: to backup data. The data deduplication technique used makes Borg
|
||||
borgbackup: suitable for daily backups since only changes are stored. The
|
||||
borgbackup: authenticated encryption technique makes it suitable for backups
|
||||
borgbackup: to not fully trusted targets.
|
||||
borgbackup:
|
||||
borgbackup: Homepage: https://borgbackup.readthedocs.io/
|
13
source/SlackBuild/borgbackup/unicode_docs.patch
Normal file
13
source/SlackBuild/borgbackup/unicode_docs.patch
Normal file
@ -0,0 +1,13 @@
|
||||
--- conf.py.orig 2016-08-17 20:36:40.160264073 +0200
|
||||
+++ conf.py 2016-08-17 20:36:12.631648017 +0200
|
||||
@@ -43,8 +43,8 @@
|
||||
master_doc = 'index'
|
||||
|
||||
# General information about the project.
|
||||
-project = 'Borg - Deduplicating Archiver'
|
||||
-copyright = '2010-2014 Jonas Borgström, 2015-2016 The Borg Collective (see AUTHORS file)'
|
||||
+project = u'Borg - Deduplicating Archiver'
|
||||
+copyright = u'2010-2014 Jonas Borgström, 2015-2016 The Borg Collective (see AUTHORS file)'
|
||||
|
||||
# The version info for the project you're documenting, acts as replacement for
|
||||
# |version| and |release|, also used in various other places throughout the
|
Reference in New Issue
Block a user