commit 880444bddbcc621c2a8d467c92adda7fcff3cd08
Author: Daniel Moch <daniel@danielmoch.com>
Date: Mon, 13 Jan 2020 05:40:32 -0500
Initial commit
Current builds:
arc-theme
libedit
sbase
xss-lock
autorandr
lua-lpeg
throttled
backup
managesieve
tpm2-tss
hl3170cdw
python-forecastio
update-motd
Diffstat:
57 files changed, 1566 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -0,0 +1,2 @@
+*.tar.*
+*.deb
diff --git a/arc-theme/README b/arc-theme/README
@@ -0,0 +1,3 @@
+Arc is a flat theme with transparent elements for GTK 3, GTK 2 and
+Gnome-Shell which supports GTK 3 and GTK 2 based desktop
+environments like Gnome, Unity, Budgie, Pantheon, XFCE, Mate, etc.
diff --git a/arc-theme/arc-theme.SlackBuild b/arc-theme/arc-theme.SlackBuild
@@ -0,0 +1,99 @@
+#!/bin/sh
+#
+# Slackware build script for arc-theme
+
+# Copyright 2016 Marcel Saegebarth <marc@mos6581.de>
+# All rights reserved.
+# Modified portions Copyright 2020 Daniel Moch <daniel@danielmoch.com>
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are
+# met:
+#
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+# "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 COPYRIGHT
+# OWNER OR CONTRIBUTORS 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=arc-theme
+VERSION=${VERSION:-20190917}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_djmoch}
+
+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/djmoch}
+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 {} \;
+
+sh autogen.sh --prefix=/usr --with-gnome-shell=3.30
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --with-gnome-shell=3.30 \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING HACKING.md README.md $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/arc-theme/arc-theme.info b/arc-theme/arc-theme.info
@@ -0,0 +1,10 @@
+PRGNAM="arc-theme"
+VERSION="20170302"
+HOMEPAGE="https://github.com/horst3180/arc-theme/"
+DOWNLOAD="https://github.com/horst3180/arc-theme/archive/20170302/arc-theme-20170302.tar.gz"
+MD5SUM="fe3e397ffc3633c1b5ba3b1d6e2456a7"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Marcel Saegebarth"
+EMAIL="marc@mos6581.de"
diff --git a/arc-theme/slack-desc b/arc-theme/slack-desc
@@ -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------------------------------------------------------|
+arc-theme: arc-theme (a flat theme with transparent elements)
+arc-theme:
+arc-theme: Arc is a flat theme with transparent elements for GTK 3, GTK 2 and
+arc-theme: Gnome-Shell which supports GTK 3 and GTK 2 based desktop
+arc-theme: environments like Gnome, Unity, Budgie, Pantheon, XFCE, Mate, etc.
+arc-theme:
+arc-theme: Homepage: https://github.com/horst3180/arc-theme/
+arc-theme:
+arc-theme:
+arc-theme:
+arc-theme:
diff --git a/autorandr/40-monitor-hotplug.rules b/autorandr/40-monitor-hotplug.rules
@@ -0,0 +1 @@
+ACTION=="change", SUBSYSTEM=="drm", RUN+="/usr/bin/autorandr --batch --change --default default"
diff --git a/autorandr/README b/autorandr/README
@@ -0,0 +1,2 @@
+autorandr allows you to auto-detect the connected display hardware and
+load the appropriate X11 setup using xrandr
diff --git a/autorandr/autorandr.SlackBuild b/autorandr/autorandr.SlackBuild
@@ -0,0 +1,83 @@
+#!/bin/sh
+
+# Slackware build script for autorandr
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the "Software"),
+# to deal in the Software without restriction, including without limitation
+# the rights to use, copy, modify, merge, publish, distribute, sublicense,
+# and/or sell copies of the Software, and to permit persons to whom the
+# Software is furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included
+# in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+# OTHER DEALINGS IN THE SOFTWARE.
+
+PRGNAM=autorandr
+VERSION=${VERSION:-1.9}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_djmoch}
+
+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/djmoch}
+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 --optimize=1
+
+gzip -9 $PRGNAM.1
+install -Dm644 $PRGNAM.1.gz $PKG/usr/man/man1/$PRGNAM.1.gz
+
+install -Dm644 README.md $PKG/usr/doc/$PRGNAM-$VERSION/README
+install -Dm644 gpl-3.0.txt $PKG/usr/doc/$PRGNAM-$VERSION/LICENSE
+install -Dm644 $CWD/$PRGNAM.SlackBuild $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAME.SlackBuild
+install -Dm644 $CWD/slack-desc $PKG/install/slack-desc
+install -Dm644 $CWD/40-monitor-hotplug.rules $PKG/lib/udev/rules.d/40-monitor-hotplug.rules
+install -Dm644 contrib/pm-utils/40autorandr $PKG/usr/lib$LIBDIRSUFFIX/pm-utils/sleep.d/40autorandr
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-noarch-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/autorandr/autorandr.info b/autorandr/autorandr.info
@@ -0,0 +1,10 @@
+PRGNAM="autorandr"
+VERSION="1.9"
+HOMEPAGE="https://github.com/phillipberndt/autorandr"
+DOWNLOAD="https://github.com/phillipberndt/autorandr/archive/1.9.tar.gz"
+MD5SUM="1d953827db3b119d5f3150bb32660ecd"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Daniel Moch"
+EMAIL="daniel@danielmoch.com"
diff --git a/autorandr/slack-desc b/autorandr/slack-desc
@@ -0,0 +1,9 @@
+ |-----handy-ruler------------------------------------------------------|
+autorandr: autorandr
+autorandr:
+autorandr: Automatically select a display configuration based on connected
+autorandr: devices
+autorandr:
+autorandr:
+autorandr:
+autorandr:
diff --git a/backup/README b/backup/README
@@ -0,0 +1,3 @@
+A simple system backup utility
+
+Requires borgbackup+
\ No newline at end of file
diff --git a/backup/backup.SlackBuild b/backup/backup.SlackBuild
@@ -0,0 +1,69 @@
+#!/bin/sh
+
+# Slackware build script for backup
+#
+# Copyright 2020 Daniel Moch <daniel@danielmoch.com>
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the "Software"),
+# to deal in the Software without restriction, including without limitation
+# the rights to use, copy, modify, merge, publish, distribute, sublicense,
+# and/or sell copies of the Software, and to permit persons to whom the
+# Software is furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included
+# in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+# OTHER DEALINGS IN THE SOFTWARE.
+
+PRGNAM=backup
+GITSVR=git.danielmoch.com
+GITHASH=${GITHASH:-c1825db8b22788f91eddda28f680f09a482b0299}
+SHORTHASH=${SHORTHASH:-c1825db}
+VERSION=${VERSION:-0.0.$SHORTHASH}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_djmoch}
+
+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/djmoch}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM
+git clone git://$GITSVR/$PRGNAM
+cd $PRGNAM
+git checkout $GITHASH
+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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+install -Dm644 $CWD/slack-desc $PKG/install/slack-desc
+install -Dm644 $CWD/backup.SlackBuild $PKG/usr/doc/$PRGNAM-$VERSION/backup.SlackBuild
+install -Dm644 TODO.txt $PKG/usr/doc/$PRGNAM-$VERSION/TODO
+install -Dm755 backup $PKG/usr/lib/backup/backup
+install -Dm644 config $PKG/etc/backup/config
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-noarch-$BUILD$TAG.${PKGTYPE:-tgz}+
\ No newline at end of file
diff --git a/backup/backup.info b/backup/backup.info
@@ -0,0 +1,10 @@
+PRGNAM="sbase"
+VERSION="0.0.e5284b1"
+HOMEPAGE="https://core.suckless.org/sbase"
+DOWNLOAD="git://git.suckless.org/sbase"
+MD5SUM=""
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Daniel Moch"
+EMAIL="daniel@danielmoch.com"
diff --git a/backup/slack-desc b/backup/slack-desc
@@ -0,0 +1,4 @@
+backup: A simple system backup utility
+backup:
+backup:
+backup:+
\ No newline at end of file
diff --git a/hl3170cdw/README b/hl3170cdw/README
@@ -0,0 +1,3 @@
+hl3170cdw
+
+CUPS and line printer drivers for the Brother HL-3170CDW printer
diff --git a/hl3170cdw/hl3170cdw.SlackBuild b/hl3170cdw/hl3170cdw.SlackBuild
@@ -0,0 +1,84 @@
+#!/bin/sh
+
+# Slackware build script for throttled
+#
+# Copyright 2020 Daniel Moch <daniel@danielmoch.com>
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the "Software"),
+# to deal in the Software without restriction, including without limitation
+# the rights to use, copy, modify, merge, publish, distribute, sublicense,
+# and/or sell copies of the Software, and to permit persons to whom the
+# Software is furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included
+# in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+# OTHER DEALINGS IN THE SOFTWARE.
+
+PRGNAM=hl3170cdw
+VERSION=${VERSION:-unknown}
+CWVERSION=${CWVERSION:-1.1.4-0}
+LPVERSION=${LPVERSION:-1.1.2-1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_djmoch}
+
+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/djmoch}
+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
+mkdir $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+ar -x $CWD/${PRGNAM}cupswrapper-$CWVERSION.i386.deb
+tar -xzvf data.tar.gz
+ar -x $CWD/${PRGNAM}lpr-$LPVERSION.i386.deb
+tar -xzvf data.tar.gz
+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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+install -Dm644 $CWD/slack-desc $PKG/install/slack-desc
+install -Dm644 $CWD/hl3170cdw.SlackBuild $PKG/usr/doc/$PRGNAM-$VERSION/hl3170cdw.SlackBuild
+install -Dm755 usr/bin/brprintconf_hl3170cdw $PKG/usr/bin/brprintconf_hl3170cdw
+cp -r opt $PKG/
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}+
\ No newline at end of file
diff --git a/hl3170cdw/hl3170cdw.info b/hl3170cdw/hl3170cdw.info
@@ -0,0 +1,12 @@
+PRGNAM="hl3170cdw"
+VERSION="unknown"
+HOMEPAGE="https://support.brother.com/g/b/producttop.aspx?c=us&lang=en&prod=hl3170cdw_all"
+DOWNLOAD="https://support.brother.com/g/b/downloadend.aspx?c=us&lang=en&prod=hl3170cdw_all&os=128&dlid=dlf007056_000&flang=4&type3=559 \
+ https://support.brother.com/g/b/downloadend.aspx?c=us&lang=en&prod=hl3170cdw_all&os=128&dlid=dlf007058_000&flang=4&type3=561"
+MD5SUM="aba0d86cabac559db68d110de7717aac \
+ e76d71b234ca8586dd89e334bc380119"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Daniel Moch"
+EMAIL="daniel@danielmoch.com"
diff --git a/hl3170cdw/slack-desc b/hl3170cdw/slack-desc
@@ -0,0 +1,5 @@
+hl3170cdw: hl3170cdw
+hl3170cdw:
+hl3170cdw: CUPS and line printer drivers for the Brother HL-3170CDW printer
+hl3170cdw:
+hl3170cdw:+
\ No newline at end of file
diff --git a/libedit/README b/libedit/README
@@ -0,0 +1,11 @@
+This is an autotool- and libtoolized port of the NetBSD Editline
+library (libedit). This Berkeley-style licensed command line editor
+library provides generic line editing, history, and tokenization
+functions, similar to those found in GNU Readline.
+
+The slackbuild has a build time variable called LIBEDIT_WIDEC, which if set to
+`yes', turns on the wide character support of the built libedit library.
+Although the support is there, initial testing shows that it acts weird, and
+displays Unicode byte sequences instead of the real typed-in characters. You
+can experiment with it, but don't count on it until it is cleared up.
+The default build option was and is disabled widechar support.
diff --git a/libedit/el.patch b/libedit/el.patch
@@ -0,0 +1,45 @@
+diff -ur libedit-20191231-3.1.old/src/el.c libedit-20191231-3.1/src/el.c
+--- libedit-20191231-3.1.old/src/el.c 2020-01-05 05:47:50.431854513 -0500
++++ libedit-20191231-3.1/src/el.c 2020-01-05 06:00:35.796113913 -0500
+@@ -548,31 +548,17 @@
+
+ fp = NULL;
+ if (fname == NULL) {
+-#ifdef HAVE_ISSETUGID
+- if (issetugid())
+- return -1;
+-
+- if ((fname = getenv("EDITRC")) == NULL) {
+- static const char elpath[] = "/.editrc";
+- size_t plen = sizeof(elpath);
++ static const char elpath[] = "/.editrc";
++ size_t plen = sizeof(elpath);
+
+- if ((ptr = getenv("HOME")) == NULL)
+- return -1;
+- plen += strlen(ptr);
+- if ((path = el_calloc(plen, sizeof(*path))) == NULL)
+- return -1;
+- (void)snprintf(path, plen, "%s%s", ptr,
+- elpath + (*ptr == '\0'));
+- fname = path;
+- }
+-#else
+- /*
+- * If issetugid() is missing, always return an error, in order
+- * to keep from inadvertently opening up the user to a security
+- * hole.
+- */
+- return -1;
+-#endif
++ if ((ptr = secure_getenv("HOME")) == NULL)
++ return -1;
++ plen += strlen(ptr);
++ if ((path = el_calloc(plen, sizeof(*path))) == NULL)
++ return -1;
++ (void)snprintf(path, plen, "%s%s", ptr,
++ elpath + (*ptr == '\0'));
++ fname = path;
+ }
+ if (fname[0] == '\0')
+ return -1;
diff --git a/libedit/libedit.SlackBuild b/libedit/libedit.SlackBuild
@@ -0,0 +1,107 @@
+#!/bin/sh
+
+# Slackware build script for libedit
+
+# Copyright 2011 Mikko Värri, Finland
+# Copyright 2013-2019 LEVAI Daniel <leva@ecentrum.hu>
+# 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=libedit
+VERSION=${VERSION:-20191231_3.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_djmoch}
+
+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/djmoch}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+SRC_VERSION=$(echo $VERSION | tr _ -)
+
+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-$SRC_VERSION
+tar xvf $CWD/$PRGNAM-$SRC_VERSION.tar.gz
+cd $PRGNAM-$SRC_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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+if [ "${LIBEDIT_WIDEC}" = 'yes' ];then
+ LIBEDIT_WIDEC='--enable-widec'
+else
+ LIBEDIT_WIDEC='--disable-widec'
+fi
+
+patch -p1 <$CWD/el.patch
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --mandir=/usr/man \
+ --disable-static \
+ --build=$ARCH-slackware-linux \
+ "${LIBEDIT_WIDEC}"
+
+make
+make install-strip DESTDIR=$PKG
+
+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 COPYING ChangeLog INSTALL THANKS $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+mv $PKG/usr/man/man3/history.3.gz $PKG/usr/man/man3/el_history.3.gz
+
+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/libedit/libedit.info b/libedit/libedit.info
@@ -0,0 +1,10 @@
+PRGNAM="libedit"
+VERSION="20190324_3.1"
+HOMEPAGE="http://www.thrysoee.dk/editline/"
+DOWNLOAD="http://thrysoee.dk/editline/libedit-20190324-3.1.tar.gz"
+MD5SUM="bec755c8044ad84b752dfe49a0b371d8"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="LEVAI Daniel"
+EMAIL="leva@ecentrum.hu"
diff --git a/libedit/slack-desc b/libedit/slack-desc
@@ -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------------------------------------------------------|
+libedit: libedit (Command line editor library)
+libedit:
+libedit: This is an autotool- and libtoolized port of the NetBSD Editline
+libedit: library (libedit). This Berkeley-style licensed command line editor
+libedit: library provides generic line editing, history, and tokenization
+libedit: functions, similar to those found in GNU Readline.
+libedit:
+libedit: Homepage: http://www.thrysoee.dk/editline/
+libedit:
+libedit:
+libedit:
diff --git a/lua-lpeg/README b/lua-lpeg/README
@@ -0,0 +1,11 @@
+LPeg is a new pattern-matching library for Lua, based on Parsing Expression
+Grammars (PEGs).
+
+The library offers several functions to create and compose patterns. With the
+use of metamethods, several of these functions are provided as infix or prefix
+operators. On the one hand, the result is usually much more verbose than the
+typical encoding of patterns using the so called regular expressions (which
+typically are not regular expressions in the formal sense). On the other hand,
+first-class patterns allow much better documentation (as it is easy to comment
+the code, to break complex definitions in smaller parts, etc.) and are
+extensible, as we can define new functions to create and compose patterns.
diff --git a/lua-lpeg/lua-lpeg.SlackBuild b/lua-lpeg/lua-lpeg.SlackBuild
@@ -0,0 +1,89 @@
+#!/bin/sh
+
+# SlackBuild script for lua-lpeg
+
+# Copyright 2020 Daniel Moch <daniel@danielmoch.com>
+# Lightly adapted from the script of the same name at slackbuilds.org,
+# and offered under the same license (see below)
+
+# Copyright 2014-2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# 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.
+
+LUANAME=${LUANAME:-lua}
+PRGNAM=${LUANAME}-lpeg
+SRCNAM=lpeg
+VERSION=${VERSION:-1.0.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_djmoch}
+
+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/djmoch}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ LIBDIRSUFFIX="64"
+else
+ 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 {} \;
+
+make LUADIR=/usr/include/lua5.3
+install -m 0755 -D lpeg.so $PKG/$(pkg-config --variable INSTALL_CMOD ${LUANAME})/lpeg.so
+install -m 0644 -D re.lua $PKG/$(pkg-config --variable INSTALL_LMOD ${LUANAME})/re.lua
+
+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 HISTORY $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/lua-lpeg.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/lua-lpeg/lua-lpeg.info b/lua-lpeg/lua-lpeg.info
@@ -0,0 +1,10 @@
+PRGNAM="lua-lpeg"
+VERSION="1.0.2"
+HOMEPAGE="http://www.inf.puc-rio.br/~roberto/lpeg/"
+DOWNLOAD="http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.0.2.tar.gz"
+MD5SUM="d342571886f1abcb7afe6a83d024d583"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="lua"
+MAINTAINER="Benjamin Trigona-Harany"
+EMAIL="slackbuilds@jaxartes.net"
diff --git a/lua-lpeg/slack-desc b/lua-lpeg/slack-desc
@@ -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------------------------------------------------------|
+lua-lpeg: lua-lpeg (pattern matching library for Lua)
+lua-lpeg:
+lua-lpeg: LPeg is a new pattern-matching library for Lua, based on Parsing
+lua-lpeg: Expression Grammars.
+lua-lpeg:
+lua-lpeg:
+lua-lpeg:
+lua-lpeg:
+lua-lpeg:
+lua-lpeg:
+lua-lpeg:
diff --git a/managesieve/README b/managesieve/README
@@ -0,0 +1,10 @@
+This module allows accessing a Sieve-Server for managing Sieve scripts
+there. It is accompanied by a simple yet functional user application
+‘sieveshell’.
+
+Sieve scripts allow users to filter incoming email on the mail server. The
+ManageSieve protocol allows managing Sieve scripts on a remote mail
+server. These servers are commonly sealed so users cannot log into them,
+yet users must be able to update their scripts on them. This is what
+for the “ManageSieve” protocol is. For more information about the
+ManageSieve protocol see RFC 5804.
diff --git a/managesieve/managesieve.SlackBuild b/managesieve/managesieve.SlackBuild
@@ -0,0 +1,79 @@
+#!/bin/sh
+
+# Slackware build script for managesieve
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the "Software"),
+# to deal in the Software without restriction, including without limitation
+# the rights to use, copy, modify, merge, publish, distribute, sublicense,
+# and/or sell copies of the Software, and to permit persons to whom the
+# Software is furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included
+# in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+# OTHER DEALINGS IN THE SOFTWARE.
+
+PRGNAM=managesieve
+VERSION=${VERSION:-0.6}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_djmoch}
+
+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/djmoch}
+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-v$VERSION
+tar xvf $CWD/$PRGNAM-v$VERSION.tar.gz
+cd $PRGNAM-v$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 --optimize=1
+
+install -Dm644 README.txt $PKG/usr/doc/$PRGNAM-$VERSION/README
+install -Dm644 HISTORY $PKG/usr/doc/$PRGNAM-$VERSION/HISTORY
+install -Dm644 TODO $PKG/usr/doc/$PRGNAM-$VERSION/TODO
+install -Dm644 $CWD/$PRGNAM.SlackBuild $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAME.SlackBuild
+install -Dm644 $CWD/slack-desc $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-noarch-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/managesieve/managesieve.info b/managesieve/managesieve.info
@@ -0,0 +1,10 @@
+PRGNAM="managesieve"
+VERSION="0.6"
+HOMEPAGE="https://managesieve.readthedocs.io"
+DOWNLOAD="https://gitlab.com/htgoebel/managesieve/-/archive/v0.6/managesieve-v0.6.tar.gz"
+MD5SUM="61e485c5f2072959bbffb52c43e2d488"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Daniel Moch"
+EMAIL="daniel@danielmoch.com"
diff --git a/managesieve/slack-desc b/managesieve/slack-desc
@@ -0,0 +1,6 @@
+managesieve: This module allows accessing a Sieve-Server for managing Sieve scripts
+managesieve: there. It is accompanied by a simple yet functional user application
+managesieve: ‘sieveshell’.
+managesieve:
+managesieve:
+managesieve:+
\ No newline at end of file
diff --git a/python-forecastio/README b/python-forecastio/README
@@ -0,0 +1,2 @@
+This is a wrapper for the Dark Sky (formerly forecast.io) API. It allows
+you to get the weather for any location, now, in the past, or future.
diff --git a/python-forecastio/python-forecastio.SlackBuild b/python-forecastio/python-forecastio.SlackBuild
@@ -0,0 +1,79 @@
+#!/bin/sh
+
+# Slackware build script for python-forecastio
+#
+# Copyright 2020 Daniel Moch <daniel@danielmoch.com>
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the "Software"),
+# to deal in the Software without restriction, including without limitation
+# the rights to use, copy, modify, merge, publish, distribute, sublicense,
+# and/or sell copies of the Software, and to permit persons to whom the
+# Software is furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included
+# in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+# OTHER DEALINGS IN THE SOFTWARE.
+
+PRGNAM=python-forecastio
+VERSION=${VERSION:-1.4.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_djmoch}
+
+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/djmoch}
+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 --optimize=1
+
+install -Dm644 README.rst $PKG/usr/doc/$PRGNAM-$VERSION/README
+install -Dm644 LICENSE.txt $PKG/usr/doc/$PRGNAME-$VERSION/LICENSE
+install -Dm644 $CWD/slack-desc $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-noarch-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/python-forecastio/python-forecastio.info b/python-forecastio/python-forecastio.info
@@ -0,0 +1,10 @@
+PRGNAM="python-forecastio"
+VERSION="1.4.0"
+HOMEPAGE="https://zeevgilovitz.com/python-forecast.io"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/p/python-forecastio/python-forecastio-1.4.0.tar.gz"
+MD5SUM="499dfe715d6297df111bc38e619d6279"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Daniel Moch"
+EMAIL="daniel@danielmoch.com"
diff --git a/python-forecastio/slack-desc b/python-forecastio/slack-desc
@@ -0,0 +1,6 @@
+python-forecastio: This is a wrapper for the Dark Sky (formerly forecast.io) API. It
+python-forecastio: allows you to get the weather for any location, now, in the past,
+python-forecastio: or future.
+python-forecastio:
+python-forecastio:
+python-forecastio:+
\ No newline at end of file
diff --git a/sbase/README b/sbase/README
@@ -0,0 +1,4 @@
+sbase - suckless unix tools
+
+sbase is a collection of unix tools that are inherently portable across
+UNIX and UNIX-like systems.
diff --git a/sbase/prefix.patch b/sbase/prefix.patch
@@ -0,0 +1,14 @@
+diff -ur sbase.orig/config.mk sbase/config.mk
+--- sbase.orig/config.mk 2020-01-04 06:47:37.309000753 -0500
++++ sbase/config.mk 2020-01-04 06:48:23.767102545 -0500
+@@ -2,8 +2,8 @@
+ VERSION = 0.0
+
+ # paths
+-PREFIX = /usr/local
+-MANPREFIX = $(PREFIX)/share/man
++PREFIX = /opt/sbase
++MANPREFIX = $(PREFIX)/man
+
+ CC = cc
+ AR = ar
diff --git a/sbase/sbase.SlackBuild b/sbase/sbase.SlackBuild
@@ -0,0 +1,74 @@
+#!/bin/sh
+
+# Slackware build script for base
+#
+# Copyright 2020 Daniel Moch <daniel@danielmoch.com>
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the "Software"),
+# to deal in the Software without restriction, including without limitation
+# the rights to use, copy, modify, merge, publish, distribute, sublicense,
+# and/or sell copies of the Software, and to permit persons to whom the
+# Software is furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included
+# in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+# OTHER DEALINGS IN THE SOFTWARE.
+
+PRGNAM=sbase
+GITSVR=git.suckless.org
+GITHASH=${GITHASH:-e5284b15378085f541449532798d3d99b13cacd2}
+SHORTHASH=${SHORTHASH:-e5284b1}
+VERSION=${VERSION:-0.0.$SHORTHASH}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_djmoch}
+
+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/djmoch}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM
+git clone git://$GITSVR/$PRGNAM
+cd $PRGNAM
+git checkout $GITHASH
+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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+patch -p1 <$CWD/prefix.patch
+
+make
+make DESTDIR=$PKG install
+
+install -Dm644 $CWD/slack-desc $PKG/install/slack-desc
+install -Dm644 $CWD/sbase.SlackBuild $PKG/usr/doc/$PRGNAM-$VERSION/sbase.SlackBuild
+install -Dm644 TODO $PKG/usr/doc/$PRGNAM-$VERSION/TODO
+install -Dm644 README $PKG/usr/doc/$PRGNAM-$VERSION/README
+install -Dm644 LICENSE $PKG/usr/doc/$PRGNAM-$VERSION/LICENSE
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}+
\ No newline at end of file
diff --git a/sbase/sbase.info b/sbase/sbase.info
@@ -0,0 +1,10 @@
+PRGNAM="sbase"
+VERSION="0.0.e5284b1"
+HOMEPAGE="https://core.suckless.org/sbase"
+DOWNLOAD="git://git.suckless.org/sbase"
+MD5SUM=""
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Daniel Moch"
+EMAIL="daniel@danielmoch.com"
diff --git a/sbase/slack-desc b/sbase/slack-desc
@@ -0,0 +1,5 @@
+sbase: sbase is a collection of unix tools that are inherently portable
+sbase: across UNIX and UNIX-like systems.
+sbase:
+sbase:
+sbase:+
\ No newline at end of file
diff --git a/throttled/README b/throttled/README
@@ -0,0 +1,9 @@
+throttled
+
+throttled is workaround for Intel throttling issues in Linux. It was
+originally designed to fix such issues on newer Lenovo laptop, and the
+main executable is still called lenovo_fix.py. That said, the fix has
+been confirmed to work on Dell and Microsoft Surface devices as well.
+
+If you're currently using thermald, you'll want to uninstall that before
+installing throttled.+
\ No newline at end of file
diff --git a/throttled/rc.throttled b/throttled/rc.throttled
@@ -0,0 +1,57 @@
+#!/bin/sh
+#
+# Start/Stop/Restart the throttle daemon.
+#
+
+# Start
+throttled_start() {
+ if [ -x /usr/sbin/lenovo_fix.py ]; then
+ if pgrep -a python3 | grep lenovo_fix.py > /dev/null 2>&1; then
+ echo "Throttle daemon already started!"
+ else
+ echo "Starting Throttle daemon..."
+ /usr/sbin/lenovo_fix.py > /dev/null 2>&1 &
+ fi
+ fi
+}
+
+# Stop
+throttled_stop() {
+ echo "Stopping Throttle daemon..."
+ if pgrep -a python3 | grep lenovo_fix.py > /dev/null 2>&1; then
+ kill -9 $(pgrep -a python3 | grep lenovo_fix.py | awk '{ print $1 }')
+ fi
+}
+
+# Restart
+throttled_restart() {
+ throttled_stop
+ sleep 3
+ throttled_start
+}
+
+# Status
+throttled_status() {
+ if pgrep -a python3 | grep lenovo_fix.py > /dev/null 2>&1; then
+ echo "throttled is running."
+ else
+ echo "throttled is stopped."
+ fi
+}
+
+case "$1" in
+'start')
+ throttled_start
+ ;;
+'stop')
+ throttled_stop
+ ;;
+'restart')
+ throttled_restart
+ ;;
+'status')
+ throttled_status
+ ;;
+*)
+ echo "usage: $0 start|stop|restart|status"
+esac+
\ No newline at end of file
diff --git a/throttled/slack-desc b/throttled/slack-desc
@@ -0,0 +1,18 @@
+# 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------------------------------------------------------|
+throttled: throttled
+throttled:
+throttled: throttled is workaround for Intel throttling issues in Linux. It was
+throttled: originally designed to fix such issues on newer Lenovo laptop, and the
+throttled: main executable is still called lenovo_fix.py. That said, the fix has
+throttled: been confirmed to work on Dell and Microsoft Surface devices as well.
+throttled:
+throttled:
+throttled:
+throttled:
diff --git a/throttled/throttled.SlackBuild b/throttled/throttled.SlackBuild
@@ -0,0 +1,75 @@
+#!/bin/sh
+
+# Slackware build script for throttled
+#
+# Copyright 2020 Daniel Moch <daniel@danielmoch.com>
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the "Software"),
+# to deal in the Software without restriction, including without limitation
+# the rights to use, copy, modify, merge, publish, distribute, sublicense,
+# and/or sell copies of the Software, and to permit persons to whom the
+# Software is furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included
+# in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+# OTHER DEALINGS IN THE SOFTWARE.
+
+PRGNAM=throttled
+VERSION=${VERSION:-0.6}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_djmoch}
+ARCH=noarch
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/djmoch}
+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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+# something's really borked if we need this
+mkdir -p $PKG/etc/rc.d
+
+# install homespun rc script
+cat $CWD/rc.throttled > $PKG/etc/rc.d/rc.throttled
+chmod a+x $PKG/etc/rc.d/rc.throttled
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat LICENSE > $PKG/usr/doc/$PRGNAM-$VERSION/LICENSE
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+# following steps ripped from install.sh
+mkdir -p $PKG/usr/sbin
+cat etc/lenovo_fix.conf > $PKG/etc/lenovo_fix.conf
+cat lenovo_fix.py > $PKG/usr/sbin/lenovo_fix.py
+cat mmio.py > $PKG/usr/sbin/mmio.py
+
+chmod a+x $PKG/usr/sbin/lenovo_fix.py
+chmod a+x $PKG/usr/sbin/mmio.py
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/throttled/throttled.info b/throttled/throttled.info
@@ -0,0 +1,10 @@
+PRGNAM="throttled"
+VERSION="0.6"
+HOMEPAGE="https://github.com/erpalma/throttled"
+DOWNLOAD="https://github.com/erpalma/throttled/archive/v0.6.tar.gz"
+MD5SUM="fce0ac025f32144b513e0cc387fcf45e"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="pygobject3-python3 dbus-python3"
+MAINTAINER="Daniel Moch"
+EMAIL="daniel@danielmoch.com"
diff --git a/tpm2-tss/README b/tpm2-tss/README
@@ -0,0 +1,5 @@
+tpm2-tss
+
+OSS implementation of the TCG TPM2 Software Stack (TSS2)
+
+TODO: Note about tss user/group creation
diff --git a/tpm2-tss/slack-desc b/tpm2-tss/slack-desc
@@ -0,0 +1,6 @@
+tpm2-tss: tpm2-tss
+tpm2-tss:
+tpm2-tss: OSS implementation of the TCG TPM2 Software Stack (TSS2)
+tpm2-tss:
+tpm2-tss:
+tpm2-tss:+
\ No newline at end of file
diff --git a/tpm2-tss/tpm2-tss.SlackBuild b/tpm2-tss/tpm2-tss.SlackBuild
@@ -0,0 +1,93 @@
+#!/bin/sh
+
+# Slackware build script for throttled
+#
+# Copyright 2020 Daniel Moch <daniel@danielmoch.com>
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the "Software"),
+# to deal in the Software without restriction, including without limitation
+# the rights to use, copy, modify, merge, publish, distribute, sublicense,
+# and/or sell copies of the Software, and to permit persons to whom the
+# Software is furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included
+# in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+# OTHER DEALINGS IN THE SOFTWARE.
+
+PRGNAM=tpm2-tss
+VERSION=${VERSION:-2.3.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_djmoch}
+
+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/djmoch}
+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 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 \
+ --with-udevrulesprefix=60- \
+ --with-udevrulesdir=/lib/udev/rules.d \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+install -Dm644 $CWD/slack-desc $PKG/install/slack-desc
+install -Dm644 $CWD/tpm2-tss.SlackBuild $PKG/usr/doc/$PRGNAM-$VERSION/tpm2-tss.SlackBuild
+install -Dm644 LICENSE $PKG/usr/doc/$PRGNAM-$VERSION/LICENSE
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}+
\ No newline at end of file
diff --git a/tpm2-tss/tpm2-tss.info b/tpm2-tss/tpm2-tss.info
@@ -0,0 +1,10 @@
+PRGNAM="tpm2-tss"
+VERSION="2.3.2"
+HOMEPAGE="https://github.com/tpm2-software/tpm2-tss"
+DOWNLOAD="https://github.com/tpm2-software/tpm2-tss/releases/download/2.3.2/tpm2-tss-2.3.2.tar.gz"
+MD5SUM="fb7e6d371959a65dc6d129af81739742"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Daniel Moch"
+EMAIL="daniel@danielmoch.com"
diff --git a/update-motd/README b/update-motd/README
@@ -0,0 +1,3 @@
+update-motd
+
+Dynamically update /etc/motd+
\ No newline at end of file
diff --git a/update-motd/slack-desc b/update-motd/slack-desc
@@ -0,0 +1,4 @@
+update-motd: Dynamically update /etc/motd
+update-motd:
+update-motd:
+update-motd:+
\ No newline at end of file
diff --git a/update-motd/update-motd.SlackBuild b/update-motd/update-motd.SlackBuild
@@ -0,0 +1,76 @@
+#!/bin/sh
+
+# Slackware build script for backup
+#
+# Copyright 2020 Daniel Moch <daniel@danielmoch.com>
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the "Software"),
+# to deal in the Software without restriction, including without limitation
+# the rights to use, copy, modify, merge, publish, distribute, sublicense,
+# and/or sell copies of the Software, and to permit persons to whom the
+# Software is furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included
+# in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+# OTHER DEALINGS IN THE SOFTWARE.
+
+PRGNAM=update-motd
+GITSVR=git.danielmoch.com
+GITHASH=${GITHASH:-829a4c6b226bc431d3139146abb7743efcbd211d}
+SHORTHASH=${SHORTHASH:-829a4c6}
+VERSION=${VERSION:-0.1.1.$SHORTHASH}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_djmoch}
+
+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/djmoch}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM
+git clone git://$GITSVR/$PRGNAM
+cd $PRGNAM
+git checkout $GITHASH
+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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+install -Dm644 $CWD/slack-desc $PKG/install/slack-desc
+install -Dm644 $CWD/update-motd.SlackBuild $PKG/usr/doc/$PRGNAM-$VERSION/update-motd.SlackBuild
+install -Dm755 src/update-motd $PKG/usr/libexec/update-motd/update-motd
+install -Dm755 src/update-motd.d/00-header $PKG/usr/libexec/update-motd/update-motd.d/00-header
+install -Dm755 src/update-motd.d/10-fortune $PKG/usr/libexec/update-motd/update-motd.d/10-fortune
+install -Dm755 src/update-motd.d/99-footer $PKG/usr/libexec/update-motd/update-motd.d/99-footer
+install -Dm755 contrib/slackware/20-slackpkg $PKG/usr/libexec/update-motd/update-motd.d/20-slackpkg
+install -dm755 $PKG/etc/update-motd.d
+ln -s ../../usr/libexec/update-motd/update-motd.d/00-header $PKG/etc/update-motd.d/00-header
+ln -s ../../usr/libexec/update-motd/update-motd.d/10-fortune $PKG/etc/update-motd.d/10-fortune
+ln -s ../../usr/libexec/update-motd/update-motd.d/20-slackpkg $PKG/etc/update-motd.d/20-slackpkg
+ln -s ../../usr/libexec/update-motd/update-motd.d/99-footer $PKG/etc/update-motd.d/99-footer
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-noarch-$BUILD$TAG.${PKGTYPE:-tgz}+
\ No newline at end of file
diff --git a/update-motd/update-motd.info b/update-motd/update-motd.info
@@ -0,0 +1,10 @@
+PRGNAM="sbase"
+VERSION="0.0.e5284b1"
+HOMEPAGE="https://core.suckless.org/sbase"
+DOWNLOAD="git://git.suckless.org/sbase"
+MD5SUM=""
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Daniel Moch"
+EMAIL="daniel@danielmoch.com"
diff --git a/xss-lock/README b/xss-lock/README
@@ -0,0 +1,9 @@
+throttled
+
+throttled is workaround for Intel throttling issues in Linux. It was
+originally designed to fix such issues on newer Lenovo laptop, and the
+main executable is still called lenovo_fix.py. That said, the fix has
+been confirmed to work on Dell and Microsoft Surface devices as well.
+
+If you're currently using thermald, you'll want to uninstall that before
+installing throttled.+
\ No newline at end of file
diff --git a/xss-lock/slack-desc b/xss-lock/slack-desc
@@ -0,0 +1,25 @@
+xss-lock: xss-lock hooks up your favorite locker to the MIT screen saver
+xss-lock: extension for X and also to systemd's login manager. The locker is
+xss-lock: executed in response to events from these two sources:
+xss-lock:
+xss-lock: - X signals when screen saver activation is forced or after a period
+xss-lock: of user inactivity (as set with xset s TIMEOUT). In the latter case,
+xss-lock: the notifier command, if specified, is executed first.
+xss-lock:
+xss-lock: - The login manager can also request that the session be locked;
+xss-lock: as a result of loginctl lock-sessions, for example. Additionally,
+xss-lock: xss-lock uses the inhibition logic to lock the screen before the
+xss-lock: system goes to sleep.
+xss-lock:
+xss-lock: xss-lock waits for the locker to exit -- or kills it when screen
+xss-lock: saver deactivation or session unlocking is forced -- so the command
+xss-lock: should not fork.
+xss-lock:
+xss-lock: Also, xss-lock manages the idle hint on the login session. The idle
+xss-lock: state of the session is directly linked to user activity as reported
+xss-lock: by X (except when the notifier runs before locking the screen).
+xss-lock: When all sessions are idle, the login manager can take action
+xss-lock: (such as suspending the system) after a preconfigured delay.
+xss-lock:
+xss-lock:
+xss-lock:+
\ No newline at end of file
diff --git a/xss-lock/xss-lock.SlackBuild b/xss-lock/xss-lock.SlackBuild
@@ -0,0 +1,69 @@
+#!/bin/sh
+
+# Slackware build script for throttled
+#
+# Copyright 2020 Daniel Moch <daniel@danielmoch.com>
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the "Software"),
+# to deal in the Software without restriction, including without limitation
+# the rights to use, copy, modify, merge, publish, distribute, sublicense,
+# and/or sell copies of the Software, and to permit persons to whom the
+# Software is furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included
+# in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+# OTHER DEALINGS IN THE SOFTWARE.
+
+SRCNAM=raymonad-xss-lock
+PRGNAM=xss-lock
+GITHASH=1e158fb20108058dbd62bd51d8e8c003c0a48717
+SHORTHASH=1e158fb20108
+VERSION=${VERSION:-0.3.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_djmoch}
+
+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/djmoch_slackbuilds}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$SHORTHASH
+tar xvf $CWD/$GITHASH.tar.gz
+cd $SRCNAM-$SHORTHASH
+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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
+make
+make DESTDIR=$PKG install
+
+install -Dm644 $CWD/slack-desc $PKG/install/slack-desc
+install -Dm644 $CWD/xss-lock.SlackBuild $PKG/usr/share/doc/$PRGNAM/xss-lock.SlackBuild
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}+
\ No newline at end of file
diff --git a/xss-lock/xss-lock.info b/xss-lock/xss-lock.info
@@ -0,0 +1,10 @@
+PRGNAM="xss-lock"
+VERSION="0.3.0"
+HOMEPAGE="https://bitbucket.org/raymonad/xss-lock"
+DOWNLOAD="https://bitbucket.org/raymonad/xss-lock/get/1e158fb20108058dbd62bd51d8e8c003c0a48717.tar.gz"
+MD5SUM="d7ee0d919c19244366cedbe1f65d39c7"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Daniel Moch"
+EMAIL="daniel@danielmoch.com"