Add SlackBuilds
This commit is contained in:
parent
6c0bd0c2e6
commit
088de1fc19
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
|
17
source/SlackBuild/fio/README
Normal file
17
source/SlackBuild/fio/README
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
fio is a tool that will spawn a number of threads or processes doing a
|
||||||
|
particular type of io action as specified by the user. fio takes a
|
||||||
|
number of global parameters, each inherited by the thread unless
|
||||||
|
otherwise parameters given to them overriding that setting is given.
|
||||||
|
The typical use of fio is to write a job file matching the io load
|
||||||
|
one wants to simulate.
|
||||||
|
|
||||||
|
To build the fio GUI, pass GUI=yes to the SlackBuild script:
|
||||||
|
|
||||||
|
# GUI=yes sh fio.SlackBuild
|
||||||
|
|
||||||
|
Example Usage:
|
||||||
|
|
||||||
|
This process runs a random read and write of two 128MB files created during
|
||||||
|
execution of fio.
|
||||||
|
|
||||||
|
$ fio --name=global --rw=randread --size=128m --name=job1 --name=job2
|
10
source/SlackBuild/iperf3/README
Normal file
10
source/SlackBuild/iperf3/README
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
From the website: iPerf3 is a tool for active measurements of the
|
||||||
|
maximum achievable bandwidth on IP networks. It supports tuning of
|
||||||
|
various parameters related to timing, buffers and protocols (TCP, UDP,
|
||||||
|
SCTP with IPv4 and IPv6). For each test it reports the bandwidth, loss,
|
||||||
|
and other parameters.
|
||||||
|
|
||||||
|
This is a new implementation that shares no code with the original
|
||||||
|
iPerf and also is not backwards compatible. iPerf was orginally
|
||||||
|
developed by NLANR/DAST. iPerf3 is principally developed by ESnet /
|
||||||
|
Lawrence Berkeley National Laboratory.
|
BIN
source/SlackBuild/iperf3/iperf-3.8.1.tar.gz
Normal file
BIN
source/SlackBuild/iperf3/iperf-3.8.1.tar.gz
Normal file
Binary file not shown.
103
source/SlackBuild/iperf3/iperf3.SlackBuild
Normal file
103
source/SlackBuild/iperf3/iperf3.SlackBuild
Normal file
|
@ -0,0 +1,103 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Slackware build script for iPerf3
|
||||||
|
|
||||||
|
# Copyright 2016 Sebastian Arcus, UK
|
||||||
|
# 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=iperf3
|
||||||
|
SRCNAM=iperf
|
||||||
|
VERSION=${VERSION:-3.8.1}
|
||||||
|
BUILD=${BUILD:-1}
|
||||||
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
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 $SRCNAM-$VERSION
|
||||||
|
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
|
||||||
|
cd $SRCNAM-$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 {} \;
|
||||||
|
|
||||||
|
CFLAGS="$SLKCFLAGS" \
|
||||||
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--mandir=/usr/man \
|
||||||
|
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||||
|
--disable-static \
|
||||||
|
--build=$ARCH-slackware-linux
|
||||||
|
|
||||||
|
make
|
||||||
|
make install DESTDIR=$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
|
||||||
|
|
||||||
|
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||||
|
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||||
|
|
||||||
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
cp -a INSTALL LICENSE README.md RELNOTES.md contrib $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
|
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/iperf3/iperf3.info
Normal file
10
source/SlackBuild/iperf3/iperf3.info
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
PRGNAM="iperf3"
|
||||||
|
VERSION="3.7"
|
||||||
|
HOMEPAGE="https://github.com/esnet/iperf"
|
||||||
|
DOWNLOAD="https://github.com/esnet/iperf/archive/3.7/iperf-3.7.tar.gz"
|
||||||
|
MD5SUM="9534aae7430791b46d8cb8fc44afb6f8"
|
||||||
|
DOWNLOAD_x86_64=""
|
||||||
|
MD5SUM_x86_64=""
|
||||||
|
REQUIRES=""
|
||||||
|
MAINTAINER="Sebastian Arcus"
|
||||||
|
EMAIL="s.arcus@open-t.co.uk"
|
19
source/SlackBuild/iperf3/slack-desc
Normal file
19
source/SlackBuild/iperf3/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------------------------------------------------------|
|
||||||
|
iperf3: iperf3 (bandwidth measurement tool)
|
||||||
|
iperf3:
|
||||||
|
iperf3: Perf3 is a tool for active measurements of the maximum achievable
|
||||||
|
iperf3: bandwidth on IP networks. It supports tuning of various parameters
|
||||||
|
iperf3: related to timing, buffers and protocols (TCP, UDP, SCTP, with IPv4
|
||||||
|
iperf3: and IPv6). For each test it reports the bandwidth, loss, and other
|
||||||
|
iperf3: parameters.
|
||||||
|
iperf3:
|
||||||
|
iperf3: This is a new implementation that shares no code with the original
|
||||||
|
iperf3: iPerf and also is not backwards compatible.
|
||||||
|
iperf3:
|
8
source/SlackBuild/llfuse/README
Normal file
8
source/SlackBuild/llfuse/README
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
LLFUSE is a set of Python bindings for the low level FUSE API. It requires at
|
||||||
|
least FUSE 2.8.0 and supports both Python 2.x and 3.x.
|
||||||
|
|
||||||
|
LLFUSE was originally part of S3QL, but has been factored out so that it can
|
||||||
|
be used by other projects as well.
|
||||||
|
|
||||||
|
The SlackBuild detects presence of Python 3.x and if found,
|
||||||
|
then also bindings for Python 3.x are built.
|
BIN
source/SlackBuild/llfuse/fuse-2.9.9-x86_64-1.txz
Normal file
BIN
source/SlackBuild/llfuse/fuse-2.9.9-x86_64-1.txz
Normal file
Binary file not shown.
BIN
source/SlackBuild/llfuse/llfuse-1.3.6.tar.bz2
Normal file
BIN
source/SlackBuild/llfuse/llfuse-1.3.6.tar.bz2
Normal file
Binary file not shown.
BIN
source/SlackBuild/llfuse/llfuse-1.3.8.tar.gz
Normal file
BIN
source/SlackBuild/llfuse/llfuse-1.3.8.tar.gz
Normal file
Binary file not shown.
93
source/SlackBuild/llfuse/llfuse.SlackBuild
Normal file
93
source/SlackBuild/llfuse/llfuse.SlackBuild
Normal file
|
@ -0,0 +1,93 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Slackware build script for LLFUSE
|
||||||
|
|
||||||
|
# Copyright 2015 Andrzej Telszewski, Sabadell
|
||||||
|
# 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=llfuse
|
||||||
|
VERSION=${VERSION:-1.3.8}
|
||||||
|
BUILD=${BUILD:-1}
|
||||||
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
if [ -z "$ARCH" ]; then
|
||||||
|
case "$( uname -m )" in
|
||||||
|
i?86) ARCH=i486 ;;
|
||||||
|
arm*) ARCH=arm ;;
|
||||||
|
*) ARCH=$( uname -m ) ;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
|
CWD=$(pwd)
|
||||||
|
TMP=${TMP:-/tmp/SBo}
|
||||||
|
PKG=$TMP/package-$PRGNAM
|
||||||
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
|
if [ "$ARCH" = "i486" ]; then
|
||||||
|
SLKCFLAGS="-O2 -march=i486 -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 {} \;
|
||||||
|
|
||||||
|
python setup.py install --root=$PKG
|
||||||
|
|
||||||
|
# Python 3 support.
|
||||||
|
if $(python3 -c 'import sys' 2>/dev/null); then
|
||||||
|
python3 setup.py install --root=$PKG
|
||||||
|
fi
|
||||||
|
|
||||||
|
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
|
||||||
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html
|
||||||
|
cp -a examples LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
cp -a doc/html/*.html doc/html/searchindex.js doc/html/_static \
|
||||||
|
$PKG/usr/doc/$PRGNAM-$VERSION/html
|
||||||
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
|
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/llfuse/llfuse.info
Normal file
10
source/SlackBuild/llfuse/llfuse.info
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
PRGNAM="llfuse"
|
||||||
|
VERSION="0.40"
|
||||||
|
HOMEPAGE="https://bitbucket.org/nikratio/python-llfuse/"
|
||||||
|
DOWNLOAD="https://bitbucket.org/nikratio/python-llfuse/downloads/llfuse-0.40.tar.bz2"
|
||||||
|
MD5SUM="bd8d07ddb6061ab03816e636efa37b5b"
|
||||||
|
DOWNLOAD_x86_64=""
|
||||||
|
MD5SUM_x86_64=""
|
||||||
|
REQUIRES="pysetuptools"
|
||||||
|
MAINTAINER="Andrzej Telszewski"
|
||||||
|
EMAIL="atelszewski@gmail.com"
|
19
source/SlackBuild/llfuse/slack-desc
Normal file
19
source/SlackBuild/llfuse/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------------------------------------------------------|
|
||||||
|
llfuse: llfuse (The Python LLFUSE Module)
|
||||||
|
llfuse:
|
||||||
|
llfuse: LLFUSE is a set of Python bindings for the low level FUSE API.
|
||||||
|
llfuse: It requires at least FUSE 2.8.0 and supports both Python 2.x and 3.x.
|
||||||
|
llfuse:
|
||||||
|
llfuse: Homepage: https://bitbucket.org/nikratio/python-llfuse/
|
||||||
|
llfuse:
|
||||||
|
llfuse:
|
||||||
|
llfuse:
|
||||||
|
llfuse:
|
||||||
|
llfuse:
|
4
source/SlackBuild/rar2fs/README
Normal file
4
source/SlackBuild/rar2fs/README
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
rar2fs is a FUSE based file system that can mount a source RAR archive/volume
|
||||||
|
or a directory containing any number of RAR archives and read the contents as
|
||||||
|
regular files on-the-fly. Non-archived files located in the source directory
|
||||||
|
are handled transparently.
|
BIN
source/SlackBuild/rar2fs/fuse-2.9.5-x86_64-1.txz
Normal file
BIN
source/SlackBuild/rar2fs/fuse-2.9.5-x86_64-1.txz
Normal file
Binary file not shown.
BIN
source/SlackBuild/rar2fs/rar2fs-1.27.2.tar.gz
Normal file
BIN
source/SlackBuild/rar2fs/rar2fs-1.27.2.tar.gz
Normal file
Binary file not shown.
BIN
source/SlackBuild/rar2fs/rar2fs-1.28.0.tar.gz
Normal file
BIN
source/SlackBuild/rar2fs/rar2fs-1.28.0.tar.gz
Normal file
Binary file not shown.
BIN
source/SlackBuild/rar2fs/rar2fs-1.29.0.tar.gz
Normal file
BIN
source/SlackBuild/rar2fs/rar2fs-1.29.0.tar.gz
Normal file
Binary file not shown.
100
source/SlackBuild/rar2fs/rar2fs.SlackBuild
Normal file
100
source/SlackBuild/rar2fs/rar2fs.SlackBuild
Normal file
|
@ -0,0 +1,100 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Slackware build script for rar2fs
|
||||||
|
|
||||||
|
# Copyright 2011, 2015, 2016, 2017 Mario Preksavec, Zagreb, Croatia
|
||||||
|
# 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=rar2fs
|
||||||
|
VERSION=${VERSION:-1.29.0}
|
||||||
|
BUILD=${BUILD:-1}
|
||||||
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
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 {} \;
|
||||||
|
|
||||||
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--mandir=/usr/man \
|
||||||
|
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||||
|
--with-unrar=/usr/include/unrar \
|
||||||
|
--with-unrar-lib=/usr/lib${LIBDIRSUFFIX} \
|
||||||
|
--build=$ARCH-slackware-linux
|
||||||
|
|
||||||
|
cd src/
|
||||||
|
make
|
||||||
|
install -D -m 755 mkr2i $PKG/usr/bin/mkr2i
|
||||||
|
install -D -m 755 rar2fs $PKG/usr/bin/rar2fs
|
||||||
|
cd ..
|
||||||
|
cd man/
|
||||||
|
install -D -m 644 rar2fs.1 $PKG/usr/man/man1/rar2fs.1
|
||||||
|
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||||
|
cd ..
|
||||||
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
cp -a AUTHORS ChangeLog COPYING $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
|
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/rar2fs/rar2fs.info
Normal file
10
source/SlackBuild/rar2fs/rar2fs.info
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
PRGNAM="rar2fs"
|
||||||
|
VERSION="1.26.0"
|
||||||
|
HOMEPAGE="https://github.com/hasse69/rar2fs"
|
||||||
|
DOWNLOAD="https://github.com/hasse69/rar2fs/releases/download/v1.26.0/rar2fs-1.26.0.tar.gz"
|
||||||
|
MD5SUM="30acf457c7ecec179b1cdcfbbe601410"
|
||||||
|
DOWNLOAD_x86_64=""
|
||||||
|
MD5SUM_x86_64=""
|
||||||
|
REQUIRES="unrar"
|
||||||
|
MAINTAINER="Mario Preksavec"
|
||||||
|
EMAIL="mario at slackware dot hr"
|
19
source/SlackBuild/rar2fs/slack-desc
Normal file
19
source/SlackBuild/rar2fs/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------------------------------------------------------|
|
||||||
|
rar2fs: rar2fs (FUSE file system for reading RAR archives)
|
||||||
|
rar2fs:
|
||||||
|
rar2fs: rar2fs is a FUSE based file system that can mount a source RAR
|
||||||
|
rar2fs: archive/volume or a directory containing any number of RAR archives
|
||||||
|
rar2fs: and read the contents as regular files on-the-fly. Non-archived files
|
||||||
|
rar2fs: located in the source directory are handled transparently.
|
||||||
|
rar2fs:
|
||||||
|
rar2fs: Homepage: https://github.com/hasse69/rar2fs
|
||||||
|
rar2fs:
|
||||||
|
rar2fs:
|
||||||
|
rar2fs:
|
BIN
source/SlackBuild/rar2fs/unrar-5.8.1-x86_64-1_SBo.txz
Normal file
BIN
source/SlackBuild/rar2fs/unrar-5.8.1-x86_64-1_SBo.txz
Normal file
Binary file not shown.
BIN
source/SlackBuild/rar2fs/unrar-5.8.5-x86_64-1_SBo.txz
Normal file
BIN
source/SlackBuild/rar2fs/unrar-5.8.5-x86_64-1_SBo.txz
Normal file
Binary file not shown.
6
source/SlackBuild/rmlint/README
Normal file
6
source/SlackBuild/rmlint/README
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
rmlint
|
||||||
|
|
||||||
|
rmlint finds space waste and other broken things on your filesystem
|
||||||
|
and offers to remove it. Extremely fast. Paranoia mode for those
|
||||||
|
who do not trust hashsums. Many output formats. No interactivity.
|
||||||
|
Search for files only newer than a certain mtime.
|
10
source/SlackBuild/rmlint/build.txt
Normal file
10
source/SlackBuild/rmlint/build.txt
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
installpkg python 2.x
|
||||||
|
installpkg scons
|
||||||
|
installpkg pysetuptool
|
||||||
|
installpkg pip
|
||||||
|
pip install --upgrade pip
|
||||||
|
pip install sphinx
|
||||||
|
cd rmlint
|
||||||
|
scons config
|
||||||
|
scons -j4 --prefix=/usr install
|
||||||
|
makepkg -l y -c y /boot/build/rmlint/rmlint-2.4.6-x86_64-1.txz
|
37
source/SlackBuild/rmlint/pkg_build.sh
Normal file
37
source/SlackBuild/rmlint/pkg_build.sh
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
#!/bin/bash
|
||||||
|
DIR="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"
|
||||||
|
tmpdir=/tmp/tmp.$(( $RANDOM * 19318203981230 + 40 ))
|
||||||
|
plugin=$(basename ${DIR})
|
||||||
|
archive="$(dirname $(dirname ${DIR}))/archive"
|
||||||
|
version=$(date +"%Y.%m.%d")
|
||||||
|
package="${archive}/${plugin}-${version}-x86_64-1.txz"
|
||||||
|
md5="${archive}/${plugin}-${version}-x86_64-1.md5"
|
||||||
|
|
||||||
|
if [[ -f $package ]]; then
|
||||||
|
for x in a b c d e d f g h ; do
|
||||||
|
package="${archive}/${plugin}-${version}${x}-x86_64-1.txz"
|
||||||
|
md5="${archive}/${plugin}-${version}${x}-x86_64-1.md5"
|
||||||
|
if [[ ! -f $package ]]; then
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
mkdir -p $tmpdir
|
||||||
|
cd "$DIR"
|
||||||
|
cp --parents -f $(find . -type f ! \( -iname "pkg_build.sh" -o -iname "sftp-config.json" -o -iname ".DS_Store" \) ) $tmpdir/
|
||||||
|
cd "$tmpdir/"
|
||||||
|
makepkg -l y -c y "${package}"
|
||||||
|
cd "$archive/"
|
||||||
|
md5sum $(basename "$package") > "$md5"
|
||||||
|
rm -rf "$tmpdir"
|
||||||
|
|
||||||
|
# Verify and install plugin package
|
||||||
|
sum1=$(md5sum "${package}")
|
||||||
|
sum2=$(cat "$md5")
|
||||||
|
if [ "${sum1:0:32}" != "${sum2:0:32}" ]; then
|
||||||
|
echo "Checksum mismatched.";
|
||||||
|
rm "$md5" "${package}"
|
||||||
|
else
|
||||||
|
echo "Checksum matched."
|
||||||
|
fi
|
BIN
source/SlackBuild/rmlint/rmlint-2.10.1.tar.gz
Normal file
BIN
source/SlackBuild/rmlint/rmlint-2.10.1.tar.gz
Normal file
Binary file not shown.
BIN
source/SlackBuild/rmlint/rmlint-2.4.6-x86_64-1.txz
Normal file
BIN
source/SlackBuild/rmlint/rmlint-2.4.6-x86_64-1.txz
Normal file
Binary file not shown.
BIN
source/SlackBuild/rmlint/rmlint-2.4.6.tar.gz
Normal file
BIN
source/SlackBuild/rmlint/rmlint-2.4.6.tar.gz
Normal file
Binary file not shown.
91
source/SlackBuild/rmlint/rmlint.SlackBuild
Normal file
91
source/SlackBuild/rmlint/rmlint.SlackBuild
Normal file
|
@ -0,0 +1,91 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Slackware build script for ncdu
|
||||||
|
#
|
||||||
|
# Copyright 2009-2015 Erik W. Hanson, Minneapolis, MN, USA
|
||||||
|
# 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=rmlint
|
||||||
|
VERSION=${VERSION:-2.10.1}
|
||||||
|
BUILD=${BUILD:-1}
|
||||||
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
if [ -z "$ARCH" ]; then
|
||||||
|
case "$( uname -m )" in
|
||||||
|
i?86) ARCH=i486 ;;
|
||||||
|
arm*) ARCH=arm ;;
|
||||||
|
*) ARCH=$( uname -m ) ;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
|
CWD=$(pwd)
|
||||||
|
TMP=${TMP:-/tmp/SBo}
|
||||||
|
PKG=$TMP/package-$PRGNAM
|
||||||
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
|
if [ "$ARCH" = "i486" ]; then
|
||||||
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||||
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
|
SLKCFLAGS="-O2 -fPIC"
|
||||||
|
fi
|
||||||
|
|
||||||
|
set -eu
|
||||||
|
|
||||||
|
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 {} \;
|
||||||
|
|
||||||
|
CFLAGS="$SLKCFLAGS" \
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--mandir=/usr/man \
|
||||||
|
--build=$ARCH-slackware-linux
|
||||||
|
|
||||||
|
make
|
||||||
|
make install DESTDIR=$PKG
|
||||||
|
|
||||||
|
find $PKG | xargs file | egrep "ELF.*executable" | cut -f 1 -d : \
|
||||||
|
| xargs strip --strip-unneeded 2> /dev/null
|
||||||
|
|
||||||
|
gzip -9 $PKG/usr/man/man?/*
|
||||||
|
|
||||||
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
cp -a COPYING ChangeLog README \
|
||||||
|
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
|
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/rmlint/rmlint.info
Normal file
10
source/SlackBuild/rmlint/rmlint.info
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
PRGNAM="ncdu"
|
||||||
|
VERSION="1.11"
|
||||||
|
HOMEPAGE="http://dev.yorhel.nl/ncdu/"
|
||||||
|
DOWNLOAD="http://dev.yorhel.nl/download/ncdu-1.11.tar.gz"
|
||||||
|
MD5SUM="9e44240a5356b029f05f0e70a63c4d12"
|
||||||
|
DOWNLOAD_x86_64=""
|
||||||
|
MD5SUM_x86_64=""
|
||||||
|
REQUIRES=""
|
||||||
|
MAINTAINER="Erik Hanson"
|
||||||
|
EMAIL="erik@slackbuilds.org"
|
Loading…
Reference in New Issue
Block a user