aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2020-06-27 05:25:31 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-06-28 08:16:57 +0700
commitc18a39d127374a9231d9692747caf6439f68b395 (patch)
tree84b5bad5bfa04d8585ce30a56020471ec65d067b
parent1344ddac1b4ed1e2d20b1aaf86960cbb60b4f447 (diff)
system/slack-scripts: Removed
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/slack-scripts/README83
-rw-r--r--system/slack-scripts/slack-desc19
-rw-r--r--system/slack-scripts/slack-scripts.SlackBuild62
-rw-r--r--system/slack-scripts/slack-scripts.info10
4 files changed, 0 insertions, 174 deletions
diff --git a/system/slack-scripts/README b/system/slack-scripts/README
deleted file mode 100644
index e58de0968596e..0000000000000
--- a/system/slack-scripts/README
+++ /dev/null
@@ -1,83 +0,0 @@
-slack-scripts (Some Slackware Utilities)
-
-ph - A Slackware Package History
-slkcfg - A Sysvinit Script Utility
-
-============================================================
-
-ph N
-
-Lists last installed N packages by date order, newest first
-unless N is negative, then it lists oldest first. With no
-number it outputs all, suitable for grepping etc.
-
-It supports a few options about listing style such as date,
-version, tag, and can be used in conjunction with other
-applications such as removepkg.
-
-Example:
-
-ph -s 5 (list last 5 SBo packages installed)
-ph -t alien 10 (list last 10 packages with tag 'alien')
-ph -d 5 (list last 5 without printing the dates)
-pn -v 5 (list last 5 without printing versions)
-
-Or combine them:
-
-ph -v -d -s 5 (list only the names of the last 5 SBo packages)
-
-It also supports the $ROOT environmental option so that it
-will work with mounted file systems and partitions.
-
-See ph -h for more details and ph --help for more examples.
-
-============================================================
-
-slkcfg runs commands on the rc scripts in /etc/rc.d/ but
-without needing to specify the full path. Any output is
-printed.
-
-It can run the usual start/stop/restart/status commands and
-set/unset the executable bit.
-
-eg:
-
-slkcfg cups on|off (chmod +/-x)
-slkcfg cups start|stop|status
-
-and so on.
-
-It greps the rc file to find options. If it doesn't find any
-options but you know that some exist you can force the
-command by adding 'force' at the end.
-
-Running with just the name of the rc file will 'ls -l' it
-and print any found options.
-
-/etc/rc.d/rc.inet1 is treated specially and will try to
-find the names of interfaces using ifconfig -a.
-
-At the moment it supports the following: eth, wlan, br,
-virbr, vmnet, vboxnet, pan and ppp.
-
-If you would like me to add extra interface support just
-drop me a line with the details or send a patch.
-
-Example output from inet1:
-
-slkcfg inet1
--rwxr-xr-x 1 root root 10878 Nov 19 2015 /etc/rc.d/rc.inet1*
-
-Options:
-start stop restart
-lo_start lo_stop
-eth0_start eth0_stop eth0_restart
-virbr0_start virbr0_stop virbr0_restart
-wlan0_start wlan0_stop wlan0_restart
-
-slkcfg uses 'sh' to run commands (apart from chmod) so it
-should work even if the rc file isn't executable. In that
-case it will print a message to tell you at the end of the
-output.
-
-See slkcfg -h for more details.
diff --git a/system/slack-scripts/slack-desc b/system/slack-scripts/slack-desc
deleted file mode 100644
index 090e02679a643..0000000000000
--- a/system/slack-scripts/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------------------------------------------------------|
-slack-scripts: slack-scripts (Some Slackware Utilities)
-slack-scripts:
-slack-scripts: ph A Slackware Package History
-slack-scripts: slkcfg A Sysvinit Script Utility
-slack-scripts:
-slack-scripts: Use <script> -h for usage.
-slack-scripts:
-slack-scripts: http://tty1.uk
-slack-scripts:
-slack-scripts:
-slack-scripts:
diff --git a/system/slack-scripts/slack-scripts.SlackBuild b/system/slack-scripts/slack-scripts.SlackBuild
deleted file mode 100644
index a93b19f4d878d..0000000000000
--- a/system/slack-scripts/slack-scripts.SlackBuild
+++ /dev/null
@@ -1,62 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for slack-scripts
-# Copyright 2018 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=slack-scripts
-VERSION=${VERSION:-0.0.3}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-ARCH=noarch
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-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 {} \;
-
-mkdir -p $PKG/usr/{bin,sbin}
-cp ph/ph $PKG/usr/bin
-cp slkcfg/slkcfg $PKG/usr/sbin
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a 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:-tgz}
diff --git a/system/slack-scripts/slack-scripts.info b/system/slack-scripts/slack-scripts.info
deleted file mode 100644
index 86818b2938a6f..0000000000000
--- a/system/slack-scripts/slack-scripts.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="slack-scripts"
-VERSION="0.0.3"
-HOMEPAGE="http://slackbuilds.org"
-DOWNLOAD="http://unrealize.co.uk/source/slack-scripts-0.0.3.tar.gz"
-MD5SUM="25d081be066dcb16b282c727449d0772"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Dave Woodfall"
-EMAIL="dave@slackbuilds.org"