summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorDonald Cooley <chytraeu@sdf.org>2021-03-03 13:49:04 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-03-06 11:12:00 +0700
commit598ca9b30835f386182eae83985dc6ae24a3630c (patch)
treea10761f7f10fae5afbfc9d62168b14a688025224 /network
parent1cf8aa1471a25e9b18702694cdc174a83e2874e0 (diff)
downloadslackbuilds-598ca9b30835f386182eae83985dc6ae24a3630c.tar.gz
network/qbittorrent-qt5: Removed (renamed as qbittorent).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/qbittorrent-qt5/README14
-rw-r--r--network/qbittorrent-qt5/README.SBo17
-rw-r--r--network/qbittorrent-qt5/doinst.sh24
-rw-r--r--network/qbittorrent-qt5/qbittorrent-qt5.SlackBuild125
-rw-r--r--network/qbittorrent-qt5/qbittorrent-qt5.info10
-rw-r--r--network/qbittorrent-qt5/rc.qbittorrent-nox.new82
-rw-r--r--network/qbittorrent-qt5/slack-desc19
7 files changed, 0 insertions, 291 deletions
diff --git a/network/qbittorrent-qt5/README b/network/qbittorrent-qt5/README
deleted file mode 100644
index d95396d99f..0000000000
--- a/network/qbittorrent-qt5/README
+++ /dev/null
@@ -1,14 +0,0 @@
-qBittorrent is a bittorrent client programmed in C++ / Qt5 that uses
-libtorrent (sometimes called libtorrent-rasterbar) by Arvid Norberg.
-
-It aims to be a good alternative to all other bittorrent clients out
-there. qBittorrent is fast, stable, and provides unicode supports as
-well as many features.
-
-Note that from version 3.3.15 you will get a warning on startup that
-qbittorrent has a new way of saving things. If you want to backup your
-old config directory first, you will find it here:
-
-~/.config/qBittorrent
-
-You can return to an older version by swapping directories around.
diff --git a/network/qbittorrent-qt5/README.SBo b/network/qbittorrent-qt5/README.SBo
deleted file mode 100644
index 56683cfced..0000000000
--- a/network/qbittorrent-qt5/README.SBo
+++ /dev/null
@@ -1,17 +0,0 @@
-An rc init script is provided and has the following features:
-
-Runs qbittorrent-nox webui under user who started the script.
-
-Usage:
-/etc/rc.d/rc.qbittorrent-nox start [PORT]|stop|restart [PORT]|status
-Port defaults to 8080 if not provided.
-
-To run this script from rc.local you must run it as a non-root user.
-
-Example:
-/bin/su - david -c "/etc/rc.d/rc.qbittorrent-nox start 9000"
-
-Program output is sent to /tmp/qbittorrent-nox-$USER
-
-The status command can be run as root, in which case you should see
-all process of qbittorrent-nox, otherwise you will just see $USER's.
diff --git a/network/qbittorrent-qt5/doinst.sh b/network/qbittorrent-qt5/doinst.sh
deleted file mode 100644
index d3350f3157..0000000000
--- a/network/qbittorrent-qt5/doinst.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-config etc/rc.d/rc.qbittorrent-nox.new
-
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
diff --git a/network/qbittorrent-qt5/qbittorrent-qt5.SlackBuild b/network/qbittorrent-qt5/qbittorrent-qt5.SlackBuild
deleted file mode 100644
index 40d2d1e8b9..0000000000
--- a/network/qbittorrent-qt5/qbittorrent-qt5.SlackBuild
+++ /dev/null
@@ -1,125 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for qbittorrent-qt5
-
-# Copyright 2019-2020 Donald Cooley South Haven, Indiana USA
-# Copyright 2009-2010 David Woodfall <dave@slackbuilds.org>
-# 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=qbittorrent-qt5
-SRCNAM=qBittorrent
-VERSION=${VERSION:-4.3.0.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-release-$VERSION
-tar xvf $CWD/$SRCNAM-release-$VERSION.tar.?z*
-cd $SRCNAM-release-$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 -std=c++14" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --infodir=/usr/info \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make
-make install INSTALL_ROOT=$PKG
-make clean
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --infodir=/usr/info \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-gui \
- --build=$ARCH-slackware-linux
-
-make
-mv src/qbittorrent-nox $PKG/usr/bin
-
-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/etc/rc.d
-cp $CWD/rc.qbittorrent-nox.new $PKG/etc/rc.d/.
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS Changelog NEWS TODO COPYING INSTALL README.md \
- $CWD/README.SBo $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
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/qbittorrent-qt5/qbittorrent-qt5.info b/network/qbittorrent-qt5/qbittorrent-qt5.info
deleted file mode 100644
index 86a629e6a4..0000000000
--- a/network/qbittorrent-qt5/qbittorrent-qt5.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="qbittorrent-qt5"
-VERSION="4.3.0.1"
-HOMEPAGE="http://qbittorrent.sourceforge.net"
-DOWNLOAD="https://github.com/qbittorrent/qBittorrent/archive/release-4.3.0.1/qBittorrent-release-4.3.0.1.tar.gz"
-MD5SUM="62f17f635592b481ecd56921a96fc767"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libtorrent-rasterbar qt5"
-MAINTAINER="Donald Cooley"
-EMAIL="chytraeu@sdf.org"
diff --git a/network/qbittorrent-qt5/rc.qbittorrent-nox.new b/network/qbittorrent-qt5/rc.qbittorrent-nox.new
deleted file mode 100644
index aa916d8096..0000000000
--- a/network/qbittorrent-qt5/rc.qbittorrent-nox.new
+++ /dev/null
@@ -1,82 +0,0 @@
-#!/bin/sh
-
-# /etc/rc.d/rc.qbittorrent-nox
-# Runs qbittorrent webui under user who started the script.
-# Usage: /etc/rc.d/rc.qbittorrent-nox start <PORT>|stop|restart <PORT>|status
-# Port defaults to 8080 if not provided.
-#
-# To run this script from rc.local you must run it as a non-root user.
-#
-# Example:
-# /bin/su - david -c "/etc/rc.d/rc.qbittorrent-nox start 9000"
-# Program output is sent to /tmp/qbittorrent-nox-$USER
-
-# First some checks to see what's what.
-
-if [ "$USER" = "root" ] && [[ "$1" =~ start ]]; then
- echo "Do not start the daemon as root." >/dev/stderr
- exit 1
-fi
-
-
-if [ -n "$2" ]; then
- UIPORT="$2"
-else
- UIPORT="8080"
-fi
-
-LOG="/tmp/qbittorrent-nox-$USER"
-APP="/usr/bin/qbittorrent-nox"
-
-do_start()
-{
- if [ -n "$(/bin/netstat -nta | awk '{print $4}' \
- | cut -d: -f2 | grep $UIPORT | grep 0.0.0.0)" ]; then
-
- echo "Port $UIPORT is already in use." >/dev/stderr
- exit 1
- fi
-
- $APP --webui-port=$UIPORT 1>$LOG 2>&1 &
-}
-
-do_stop()
-{
- PID="$(pgrep -u $USER qbittorrent-nox)"
-
- if [ -n "$PID" ]; then
- echo "Killing PID $PID"
- kill $PID
- else
- echo "No process found." >/dev/stderr
- fi
-}
-
-do_status()
-{
- echo "Local Address Foreign Address State PID/Program name"
- /bin/netstat -pntl 2>&1 | grep qbittorrent-n \
- | awk '{print $4 " " $5 " " $6 " " $7}'
-}
-
-case "$1" in
- 'start')
- do_start
- ;;
-
- 'stop')
- do_stop
- ;;
- 'restart')
- do_stop
- sleep 1
- do_start
- ;;
- 'status')
- do_status
- ;;
- *)
- echo "Usage: $0 {start <PORT>|stop|restart <PORT>|status}"
- exit 1
- ;;
-esac
diff --git a/network/qbittorrent-qt5/slack-desc b/network/qbittorrent-qt5/slack-desc
deleted file mode 100644
index 9cc8fd0fd8..0000000000
--- a/network/qbittorrent-qt5/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# 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------------------------------------------------------|
-qbittorrent-qt5: qbittorrent-qt5 (a C++ / Qt5 Bittorrent Client)
-qbittorrent-qt5:
-qbittorrent-qt5: qBittorrent is a bittorrent client programmed in C++ / Qt5 that uses
-qbittorrent-qt5: libtorrent (sometimes called libtorrent-rasterbar) by Arvid Norberg.
-qbittorrent-qt5:
-qbittorrent-qt5: It aims to be a good alternative to all other bittorrent clients out
-qbittorrent-qt5: there. qBittorrent is fast, stable, and provides unicode support as
-qbittorrent-qt5: well as many features.
-qbittorrent-qt5:
-qbittorrent-qt5:
-qbittorrent-qt5: Homepage: https://qbittorrent.sourceforge.net