summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2020-12-15 20:39:53 +0000
committer Eric Hameleers <alien@slackware.com>2020-12-16 08:59:50 +0100
commitc56a16f1ecd0afa42c16dab6fdfb1f0b667dc287 (patch)
treed954850372722972b665c6894a50f57f2463a5ae /source
parent0dc2fd5cf511a8234b81a1df1444fb2a0a131eaa (diff)
downloadcurrent-c56a16f1ecd0afa42c16dab6fdfb1f0b667dc287.tar.gz
current-c56a16f1ecd0afa42c16dab6fdfb1f0b667dc287.tar.xz
Tue Dec 15 20:39:53 UTC 202020201215203953
d/python-pip-20.3.3-x86_64-1.txz: Upgraded. kde/sddm-0.19.0-x86_64-3.txz: Rebuilt. In SDDM's Xsession script, don't source $HOME/.xsession as this may launch the wrong session type or cause dbus-run-session to start twice breaking logout. l/orc-0.4.32-x86_64-1.txz: Upgraded. l/pipewire-0.3.18-x86_64-1.txz: Upgraded. l/python-chardet-4.0.0-x86_64-1.txz: Upgraded. l/python-packaging-20.8-x86_64-1.txz: Upgraded. n/samba-4.13.3-x86_64-1.txz: Upgraded. xap/mozilla-thunderbird-78.6.0-x86_64-1.txz: Upgraded. This is a bugfix release. For more information, see: https://www.mozilla.org/en-US/thunderbird/78.6.0/releasenotes/ xfce/mousepad-0.5.0-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source')
-rw-r--r--source/installer/ChangeLog.txt3
-rwxr-xr-xsource/installer/sources/dropbear/dropbear.Slackbuild104
-rw-r--r--source/installer/sources/dropbear/dropbear_emptypass.patch8
-rw-r--r--source/installer/sources/dropbear/localoptions.h2
-rw-r--r--source/installer/sources/dropbear/slack-desc6
-rw-r--r--source/kde/kde/build/sddm2
-rw-r--r--source/kde/kde/patch/sddm.patch5
-rw-r--r--source/kde/kde/patch/sddm/sddm.do.not.source.HOME.xsession.diff18
-rwxr-xr-xsource/l/orc/orc.SlackBuild4
-rw-r--r--source/l/python-chardet/chardet.url1
-rwxr-xr-xsource/l/python-chardet/python-chardet.SlackBuild6
-rwxr-xr-xsource/l/python-packaging/python-packaging.SlackBuild2
-rw-r--r--source/n/samba/samba.url4
-rwxr-xr-xsource/xfce/mousepad/mousepad.SlackBuild4
14 files changed, 100 insertions, 69 deletions
diff --git a/source/installer/ChangeLog.txt b/source/installer/ChangeLog.txt
index 2c2dfc8b2..8ba90b522 100644
--- a/source/installer/ChangeLog.txt
+++ b/source/installer/ChangeLog.txt
@@ -1,3 +1,6 @@
+Tue Dec 15 19:24:23 UTC 2020
+ Update dropbear to get ecdsa support. Thanks to Robby Workman.
++--------------------------+
Tue Dec 8 19:22:18 UTC 2020
SeTPKG: Change KDE blurb to say "The KDE Plasma Desktop"
+--------------------------+
diff --git a/source/installer/sources/dropbear/dropbear.Slackbuild b/source/installer/sources/dropbear/dropbear.Slackbuild
index 2954effd0..712286387 100755
--- a/source/installer/sources/dropbear/dropbear.Slackbuild
+++ b/source/installer/sources/dropbear/dropbear.Slackbuild
@@ -1,8 +1,7 @@
#!/bin/sh
-# $Id: dropbear.Slackbuild,v 1.7 2008/03/13 13:42:33 root Exp root $
-# Copyright 2007, Piter Punk, São Paulo, Brazil
-# Adaptations for Slackware installer:
-# Copyright 2008, Eric Hameleers, Eindhoven, Netherlands
+
+# Copyright 2007, Piter Punk, São Paulo, Brazil
+# Copyright 2008, Eric Hameleers, Eindhoven, Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,18 +21,11 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=dropbear
-VERSION=20171018_fa3b0dd3
-BUILD=${BUILD:-1}
-TAG=${TAG:-''}
+cd $(dirname $0) ; CWD=$(pwd)
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
+PKGNAM=dropbear
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+BUILD=${BUILD:-1}
# The programs we want to have as symlinks to dropbearmulti binary:
PROGS="dropbear dbclient dropbearkey dropbearconvert scp ssh"
@@ -43,15 +35,34 @@ PROGS="dropbear dbclient dropbearkey dropbearconvert scp ssh"
# and adding symlinks for ssh and scp without worry
# about overwriting any pre-existing binaries.
-CWD=$(pwd)
+# Automatically determine the architecture we're building on:
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) export ARCH=i586 ;;
+ arm*) export ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
+ *) export ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz"
+ exit 0
+fi
+
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
+
TMP=${TMP:-/tmp}
-PKG=$TMP/pkg-$PRGNAM
+PKG=$TMP/package-$PKGNAM
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "s390" ]; then
+ SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
@@ -63,11 +74,10 @@ fi
rm -rf $PKG
mkdir -p $TMP $PKG
-cd $TMP || exit 1
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z || exit 1
-cd $PRGNAM-$VERSION || exit 1
-
+cd $TMP
+rm -rf $PKGNAM-$VERSION
+tar xvf $CWD/$PKGNAM-$VERSION.tar.?z || exit 1
+cd $PKGNAM-$VERSION || exit 1
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -76,10 +86,7 @@ find . \
-exec chmod 644 {} \;
# Patch to allow empty passwords (used in Slackware's installer):
-patch -p1 < $CWD/dropbear_emptypass.patch || exit 1
-
-autoconf || exit 1
-autoheader || exit 1
+patch -p1 < $CWD/dropbear_emptypass.patch
cp $CWD/localoptions.h .
@@ -95,47 +102,46 @@ CXXFLAGS="$SLKCFLAGS" \
--disable-wtmpx \
--disable-pututline \
--disable-pututxline \
- --build=$ARCH-slackware-linux
+ --build=$ARCH-slackware-linux || exit 1
-make PROGRAMS="$PROGS" MULTI="1" SCPPROGRESS="1" || exit 1
+make PROGRAMS="$PROGS" MULTI="1" SCPPROGRESS="1" $NUMJOBS || exit 1
mkdir -p $PKG/sbin $PKG/bin $PKG/lib
make DESTDIR=$PKG MULTI="1" install || exit 1
# Copy manpages to package
mkdir -p $PKG/usr/man/man1
-mkdir -p $PKG/usr/man/man8
cp dbclient.1 $PKG/usr/man/man1
+mkdir -p $PKG/usr/man/man8
cp dropbearkey.8 dropbear.8 $PKG/usr/man/man8
+# Link binaries to dropbearmulti since the 'make install' does not do that
+# if we build a multicall binary.
+ln -s /bin/dropbearmulti $PKG/sbin/dropbear
+for i in $(echo $PROGS | sed -e 's/dropbear //') ; do
+ ln -s /bin/dropbearmulti $PKG/bin/$i
+done
+
if [ -d $PKG/usr/man ]; then
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
fi
-# Link binaries to dropbearmulti since the 'make install' does not do that
-# if we build a multicall binary.
-(cd $PKG/bin
- ln -s ../bin/dropbearmulti ../sbin/dropbear
- for i in $(echo $PROGS | sed -e 's/dropbear //') ; do
- ln -s dropbearmulti $i
- done
-)
-
-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
-
mkdir -p $PKG/etc/rc.d $PKG/etc/dropbear
cp $CWD/rc.dropbear.new $PKG/etc/rc.d/ # doinst.sh will handle .new
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+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/$PKGNAM-$VERSION
cp -a CHANGES INSTALL LICENSE MULTI README SMALL TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
+ $PKG/usr/doc/$PKGNAM-$VERSION
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
+zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $TMP/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz
+/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz
diff --git a/source/installer/sources/dropbear/dropbear_emptypass.patch b/source/installer/sources/dropbear/dropbear_emptypass.patch
index a3f27f47e..4365bfe3f 100644
--- a/source/installer/sources/dropbear/dropbear_emptypass.patch
+++ b/source/installer/sources/dropbear/dropbear_emptypass.patch
@@ -1,7 +1,7 @@
-diff -Nur dropbear-20171018_fa3b0dd3.orig/svr-authpasswd.c dropbear-20171018_fa3b0dd3/svr-authpasswd.c
---- dropbear-20171018_fa3b0dd3.orig/svr-authpasswd.c 2018-01-13 19:19:59.000000000 -0600
-+++ dropbear-20171018_fa3b0dd3/svr-authpasswd.c 2018-01-13 23:07:16.441369958 -0600
-@@ -88,12 +88,16 @@
+diff -Nur dropbear-2020.81.orig/svr-authpasswd.c dropbear-2020.81/svr-authpasswd.c
+--- dropbear-2020.81.orig/svr-authpasswd.c 2020-10-29 08:35:50.000000000 -0500
++++ dropbear-2020.81/svr-authpasswd.c 2020-12-06 02:20:50.744491126 -0600
+@@ -98,12 +98,16 @@
}
/* check for empty password */
diff --git a/source/installer/sources/dropbear/localoptions.h b/source/installer/sources/dropbear/localoptions.h
index 2e6a966fa..380805b3a 100644
--- a/source/installer/sources/dropbear/localoptions.h
+++ b/source/installer/sources/dropbear/localoptions.h
@@ -1,4 +1,4 @@
/* These override content of default_options.h */
#define INETD_MODE 0
#define DROPBEAR_DH_GROUP16 1
-#define DROPBEAR_PATH_SSH_PROGRAM "/bin/dbclient"
+#define DROPBEAR_PATH_SSH_PROGRAM "/usr/bin/dbclient"
diff --git a/source/installer/sources/dropbear/slack-desc b/source/installer/sources/dropbear/slack-desc
index ca2619023..94eeac05a 100644
--- a/source/installer/sources/dropbear/slack-desc
+++ b/source/installer/sources/dropbear/slack-desc
@@ -1,8 +1,8 @@
# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
+# 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
+# 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 ':'.
|-----handy-ruler------------------------------------------------------|
diff --git a/source/kde/kde/build/sddm b/source/kde/kde/build/sddm
index 0cfbf0888..00750edc0 100644
--- a/source/kde/kde/build/sddm
+++ b/source/kde/kde/build/sddm
@@ -1 +1 @@
-2
+3
diff --git a/source/kde/kde/patch/sddm.patch b/source/kde/kde/patch/sddm.patch
index a77c521f6..f03ee6262 100644
--- a/source/kde/kde/patch/sddm.patch
+++ b/source/kde/kde/patch/sddm.patch
@@ -1,3 +1,8 @@
# Properly honor supplemental groups, https://github.com/sddm/sddm/issues/1159 :
cat $CWD/patch/sddm/sddm_revert-honor-PAM-supplemental-groups.patch | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
cat $CWD/patch/sddm/sddm_honor-PAM-supplemental-groups-v2.patch | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
+
+# Don't source $HOME/.xession in SDDM's Xsession script. It may cause the
+# wrong session type to launch, or run a second copy of dbus-run-session which
+# will break logout:
+cat $CWD/patch/sddm/sddm.do.not.source.HOME.xsession.diff | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
diff --git a/source/kde/kde/patch/sddm/sddm.do.not.source.HOME.xsession.diff b/source/kde/kde/patch/sddm/sddm.do.not.source.HOME.xsession.diff
new file mode 100644
index 000000000..c14b266d6
--- /dev/null
+++ b/source/kde/kde/patch/sddm/sddm.do.not.source.HOME.xsession.diff
@@ -0,0 +1,18 @@
+--- ./data/scripts/Xsession.orig 2020-11-03 01:41:06.000000000 -0600
++++ ./data/scripts/Xsession 2020-12-15 14:16:30.968724577 -0600
+@@ -94,9 +94,12 @@
+ if [ -f "$USERXSESSIONRC" ]; then
+ . "$USERXSESSIONRC"
+ fi
+-if [ -f "$USERXSESSION" ]; then
+- . "$USERXSESSION"
+-fi
++
++# Commented out because $HOME/.xsession may start the wrong session type or
++# cause dbus-run-session to start twice.
++#if [ -f "$USERXSESSION" ]; then
++# . "$USERXSESSION"
++#fi
+
+ if [ -z "$*" ]; then
+ exec xmessage -center -buttons OK:0 -default OK "Sorry, $DESKTOP_SESSION is no valid session."
diff --git a/source/l/orc/orc.SlackBuild b/source/l/orc/orc.SlackBuild
index fa5905516..d97013604 100755
--- a/source/l/orc/orc.SlackBuild
+++ b/source/l/orc/orc.SlackBuild
@@ -24,7 +24,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=orc
-VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -82,7 +82,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf $PKGNAM-$VERSION
-tar xvf $CWD/$PKGNAM-$VERSION.tar.xz || exit 1
+tar xvf $CWD/$PKGNAM-$VERSION.tar.?z || exit 1
cd $PKGNAM-$VERSION || exit 1
# Make sure ownerships and permissions are sane:
diff --git a/source/l/python-chardet/chardet.url b/source/l/python-chardet/chardet.url
new file mode 100644
index 000000000..e29cd6a9e
--- /dev/null
+++ b/source/l/python-chardet/chardet.url
@@ -0,0 +1 @@
+https://github.com/chardet/chardet
diff --git a/source/l/python-chardet/python-chardet.SlackBuild b/source/l/python-chardet/python-chardet.SlackBuild
index d059002d1..0a9bdc5e9 100755
--- a/source/l/python-chardet/python-chardet.SlackBuild
+++ b/source/l/python-chardet/python-chardet.SlackBuild
@@ -24,8 +24,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=python-chardet
-VERSION=${VERSION:-$(echo chardet-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-6}
+VERSION=${VERSION:-$(echo chardet-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+BUILD=${BUILD:-1}
SRCNAM=chardet
@@ -52,7 +52,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.?z* || exit 1
+tar xvf $CWD/$SRCNAM-$VERSION.tar.?z || exit 1
cd $SRCNAM-$VERSION || exit 1
chown -R root:root .
find -L . \
diff --git a/source/l/python-packaging/python-packaging.SlackBuild b/source/l/python-packaging/python-packaging.SlackBuild
index 26d8f4c21..8d3430d7a 100755
--- a/source/l/python-packaging/python-packaging.SlackBuild
+++ b/source/l/python-packaging/python-packaging.SlackBuild
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=python-packaging
VERSION=${VERSION:-$(echo packaging-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
SRCNAM=packaging
diff --git a/source/n/samba/samba.url b/source/n/samba/samba.url
index f6d7906cb..09b26a6b3 100644
--- a/source/n/samba/samba.url
+++ b/source/n/samba/samba.url
@@ -1,2 +1,2 @@
-https://download.samba.org/pub/samba/stable/samba-4.13.2.tar.gz
-https://download.samba.org/pub/samba/stable/samba-4.13.2.tar.asc
+https://download.samba.org/pub/samba/stable/samba-4.13.3.tar.gz
+https://download.samba.org/pub/samba/stable/samba-4.13.3.tar.asc
diff --git a/source/xfce/mousepad/mousepad.SlackBuild b/source/xfce/mousepad/mousepad.SlackBuild
index a12c17b18..393251b4e 100755
--- a/source/xfce/mousepad/mousepad.SlackBuild
+++ b/source/xfce/mousepad/mousepad.SlackBuild
@@ -94,10 +94,8 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-gtk3 \
- --enable-dbus \
+ --disable-debug \
--build=$ARCH-slackware-linux || exit 1
-# --disable-schemas-compile \
make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1