summaryrefslogtreecommitdiffstats
path: root/source/n/popa3d
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2024-05-16 02:31:40 +0000
committer Eric Hameleers <alien@slackware.com>2024-05-16 05:20:07 +0200
commit8b19227b588fcfdd6e0e799637336f5e0c2bb3ad (patch)
treeb2c441f810c0f58609311251105c095fcf1a74bb /source/n/popa3d
parent5bcdee4c9b50b99f4c26751c412c30bd649df805 (diff)
downloadcurrent-8b19227b588fcfdd6e0e799637336f5e0c2bb3ad.tar.gz
current-8b19227b588fcfdd6e0e799637336f5e0c2bb3ad.tar.xz
Thu May 16 02:31:40 UTC 202420240516023140
a/bcachefs-tools-1.7.0-x86_64-1.txz: Added. a/kernel-generic-6.9.0-x86_64-2.txz: Upgraded. a/kernel-huge-6.9.0-x86_64-2.txz: Upgraded. a/kernel-modules-6.9.0-x86_64-2.txz: Upgraded. d/git-2.45.1-x86_64-1.txz: Upgraded. This update fixes security issues: Recursive clones on case-insensitive filesystems that support symbolic links are susceptible to case confusion that can be exploited to execute just-cloned code during the clone operation. Repositories can be configured to execute arbitrary code during local clones. To address this, the ownership checks introduced in v2.30.3 are now extended to cover cloning local repositories. Local clones may end up hardlinking files into the target repository's object database when source and target repository reside on the same disk. If the source repository is owned by a different user, then those hardlinked files may be rewritten at any point in time by the untrusted user. When cloning a local source repository that contains symlinks via the filesystem, Git may create hardlinks to arbitrary user-readable files on the same filesystem as the target repository in the objects/ directory. It is supposed to be safe to clone untrusted repositories, even those unpacked from zip archives or tarballs originating from untrusted sources, but Git can be tricked to run arbitrary code as part of the clone. For more information, see: https://www.cve.org/CVERecord?id=CVE-2024-32002 https://www.cve.org/CVERecord?id=CVE-2024-32004 https://www.cve.org/CVERecord?id=CVE-2024-32020 https://www.cve.org/CVERecord?id=CVE-2024-32021 https://www.cve.org/CVERecord?id=CVE-2024-32465 (* Security fix *) d/kernel-headers-6.9.0-x86-2.txz: Upgraded. d/strace-6.9-x86_64-1.txz: Upgraded. k/kernel-source-6.9.0-noarch-2.txz: Upgraded. BCACHEFS_FS m -> y CRYPTO_CHACHA20 m -> y CRYPTO_LIB_CHACHA_GENERIC m -> y CRYPTO_LIB_POLY1305_GENERIC m -> y CRYPTO_POLY1305 m -> y MITIGATION_GDS_FORCE y -> n kde/wcslib-8.3-x86_64-1.txz: Upgraded. l/gdk-pixbuf2-2.42.12-x86_64-1.txz: Upgraded. ani: Reject files with multiple INA or IART chunks. ani: Reject files with multiple anih chunks. ani: validate chunk size. Thanks to 0xvhp, pedrib, and Benjamin Gilbert. For more information, see: https://www.cve.org/CVERecord?id=CVE-2022-48622 (* Security fix *) l/gtk+3-3.24.42-x86_64-1.txz: Upgraded. n/bind-9.18.27-x86_64-1.txz: Upgraded. This is a bugfix release. n/popa3d-1.0.3-x86_64-8.txz: Rebuilt. This is a bugfix release: Build with AUTH_PAM, not AUTH_SHADOW. Thanks to jayjwa. x/xorg-server-xwayland-23.2.7-x86_64-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to '')
-rwxr-xr-xsource/n/popa3d/popa3d.SlackBuild24
-rw-r--r--source/n/popa3d/popa3d.pam.diff24
-rw-r--r--source/n/popa3d/popa3d.shadow.diff58
3 files changed, 33 insertions, 73 deletions
diff --git a/source/n/popa3d/popa3d.SlackBuild b/source/n/popa3d/popa3d.SlackBuild
index 43ff60c2d..91b1b6436 100755
--- a/source/n/popa3d/popa3d.SlackBuild
+++ b/source/n/popa3d/popa3d.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=popa3d
VERSION=1.0.3
-BUILD=${BUILD:-7}
+BUILD=${BUILD:-8}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -46,6 +46,20 @@ fi
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
+if [ "$ARCH" = "i586" ]; then
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "s390" ]; then
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "armv7hl" ]; then
+ LIBDIRSUFFIX=""
+else
+ LIBDIRSUFFIX=""
+fi
+
TMP=${TMP:-/tmp}
PKG=$TMP/package-popa3d
rm -rf $PKG
@@ -56,12 +70,8 @@ rm -rf popa3d-$VERSION
tar xvf $CWD/popa3d-$VERSION.tar.?z || exit 1
cd popa3d-$VERSION || exit 1
-# Choose correct options depending on whether PAM is installed:
-if [ -L /lib${LIBDIRSUFFIX}/libpam.so.? ]; then
- zcat $CWD/popa3d.pam.diff.gz | patch -p1 --verbose --backup --suffix=.orig || exit 1
-else
- zcat $CWD/popa3d.shadow.diff.gz | patch -p1 --verbose --backup --suffix=.orig || exit 1
-fi
+# Choose correct options for PAM:
+zcat $CWD/popa3d.pam.diff.gz | patch -p1 --verbose --backup --suffix=.orig || exit 1
zcat $CWD/popa3d.gcc14.diff.gz | patch -p1 --verbose || exit 1
diff --git a/source/n/popa3d/popa3d.pam.diff b/source/n/popa3d/popa3d.pam.diff
index c0b643844..700dd40d6 100644
--- a/source/n/popa3d/popa3d.pam.diff
+++ b/source/n/popa3d/popa3d.pam.diff
@@ -1,7 +1,6 @@
-diff -up ../popa3d-1.0.3.orig/Makefile ./Makefile
---- ../popa3d-1.0.3.orig/Makefile 2006-03-05 05:36:54.000000000 -0500
-+++ ./Makefile 2018-09-18 12:56:05.412312376 -0400
-@@ -5,26 +5,26 @@ MKDIR = mkdir -p
+--- ./Makefile.orig 2006-03-05 04:36:54.000000000 -0600
++++ ./Makefile 2024-05-15 19:42:54.924020444 -0500
+@@ -5,26 +5,26 @@
INSTALL = install -c
CFLAGS = -Wall -O2 -fomit-frame-pointer
# You may use OpenSSL's MD5 routines instead of the ones supplied here
@@ -33,10 +32,8 @@ diff -up ../popa3d-1.0.3.orig/Makefile ./Makefile
SBINDIR = $(PREFIX)/sbin
MANDIR = $(PREFIX)/man
-Common subdirectories: ../popa3d-1.0.3.orig/md5 and ./md5
-diff -up ../popa3d-1.0.3.orig/params.h ./params.h
---- ../popa3d-1.0.3.orig/params.h 2006-03-05 08:18:32.000000000 -0500
-+++ ./params.h 2018-09-18 12:55:55.953210742 -0400
+--- ./params.h.orig 2006-03-05 07:18:32.000000000 -0600
++++ ./params.h 2024-05-15 19:43:21.877021047 -0500
@@ -13,7 +13,7 @@
/*
* Are we going to be a standalone server or start via an inetd clone?
@@ -55,6 +52,17 @@ diff -up ../popa3d-1.0.3.orig/params.h ./params.h
/*
* An empty directory to chroot to before authentication. The directory
+@@ -155,8 +155,8 @@
+ * Note that there's no built-in password aging support.
+ */
+ #define AUTH_PASSWD 0
+-#define AUTH_SHADOW 1
+-#define AUTH_PAM 0
++#define AUTH_SHADOW 0
++#define AUTH_PAM 1
+ #define AUTH_PAM_USERPASS 0
+ #define USE_LIBPAM_USERPASS 0
+
@@ -191,7 +191,7 @@
*
* #undef this for qmail-style $HOME/Mailbox mailboxes.
diff --git a/source/n/popa3d/popa3d.shadow.diff b/source/n/popa3d/popa3d.shadow.diff
deleted file mode 100644
index 773f90856..000000000
--- a/source/n/popa3d/popa3d.shadow.diff
+++ /dev/null
@@ -1,58 +0,0 @@
---- ./Makefile.orig 2006-03-05 04:36:20.000000000 -0600
-+++ ./Makefile 2006-03-12 16:20:44.000000000 -0600
-@@ -5,11 +5,11 @@
- INSTALL = install -c
- CFLAGS = -Wall -O2 -fomit-frame-pointer
- # You may use OpenSSL's MD5 routines instead of the ones supplied here
--#CFLAGS += -DHAVE_OPENSSL
-+CFLAGS += -DHAVE_OPENSSL
- LDFLAGS = -s
- LIBS =
- # Linux with glibc, FreeBSD, NetBSD
--#LIBS += -lcrypt
-+LIBS += -lcrypt
- # HP-UX trusted system
- #LIBS += -lsec
- # Solaris (POP_STANDALONE, POP_VIRTUAL)
-@@ -21,10 +21,10 @@
- # libwrap may also want this
- #LIBS += -lnsl
- # OpenSSL (-DHAVE_OPENSSL)
--#LIBS += -lcrypto
-+LIBS += -lcrypto
-
- DESTDIR =
--PREFIX = /usr/local
-+PREFIX = /usr
- SBINDIR = $(PREFIX)/sbin
- MANDIR = $(PREFIX)/man
-
---- ./params.h.orig 2006-03-05 06:44:52.000000000 -0600
-+++ ./params.h 2006-03-12 16:23:16.000000000 -0600
-@@ -13,7 +13,7 @@
- /*
- * Are we going to be a standalone server or start via an inetd clone?
- */
--#define POP_STANDALONE 0
-+#define POP_STANDALONE 1
-
- #if POP_STANDALONE
-
-@@ -103,7 +103,7 @@
- * A pseudo-user to run as before authentication. The user and its UID
- * must not be used for any other purpose.
- */
--#define POP_USER POP_SERVER
-+#define POP_USER "pop"
-
- /*
- * An empty directory to chroot to before authentication. The directory
-@@ -191,7 +191,7 @@
- *
- * #undef this for qmail-style $HOME/Mailbox mailboxes.
- */
--#define MAIL_SPOOL_PATH "/var/mail"
-+#define MAIL_SPOOL_PATH "/var/spool/mail"
-
- #ifndef MAIL_SPOOL_PATH
- /*