summaryrefslogtreecommitdiffstats
path: root/source/n
diff options
context:
space:
mode:
Diffstat (limited to 'source/n')
-rwxr-xr-xsource/n/NetworkManager/NetworkManager.SlackBuild83
-rwxr-xr-xsource/n/alpine/alpine.SlackBuild3
-rwxr-xr-xsource/n/bluez/bluez.SlackBuild2
-rwxr-xr-xsource/n/cyrus-sasl/cyrus-sasl.SlackBuild3
-rw-r--r--source/n/elm/config.sh2
-rwxr-xr-xsource/n/elm/elm.SlackBuild2
-rwxr-xr-xsource/n/epic5/epic5.SlackBuild2
-rwxr-xr-xsource/n/htdig/htdig.SlackBuild3
-rwxr-xr-xsource/n/icmpinfo/icmpinfo.SlackBuild2
-rwxr-xr-xsource/n/iftop/iftop.SlackBuild2
-rwxr-xr-xsource/n/inetd/inetd.SlackBuild1
-rw-r--r--source/n/inetd/inetd.gcc14.diff9
-rwxr-xr-xsource/n/lftp/lftp.SlackBuild3
-rw-r--r--source/n/lftp/lftp.c99.patch22
-rwxr-xr-xsource/n/links/links.SlackBuild3
-rwxr-xr-xsource/n/lynx/lynx.SlackBuild4
-rwxr-xr-xsource/n/metamail/metamail.SlackBuild7
-rw-r--r--source/n/metamail/metamail.gcc14.diff22
-rwxr-xr-xsource/n/mobile-broadband-provider-info/mobile-broadband-provider-info.SlackBuild45
-rwxr-xr-xsource/n/mtr/mtr.SlackBuild2
-rwxr-xr-xsource/n/nc/nc.SlackBuild3
-rwxr-xr-xsource/n/ncftp/ncftp.SlackBuild8
-rwxr-xr-xsource/n/net-snmp/net-snmp.SlackBuild2
-rwxr-xr-xsource/n/netdate/netdate.SlackBuild1
-rw-r--r--source/n/netdate/netdate.gcc14.diff11
-rwxr-xr-xsource/n/netkit-ftp/netkit-ftp.SlackBuild2
-rwxr-xr-xsource/n/netkit-ntalk/netkit-ntalk.SlackBuild2
-rwxr-xr-xsource/n/netkit-rsh/netkit-rsh.SlackBuild2
-rwxr-xr-xsource/n/netkit-rusers/netkit-rusers.SlackBuild2
-rwxr-xr-xsource/n/netkit-rwho/netkit-rwho.SlackBuild3
-rwxr-xr-xsource/n/netkit-timed/netkit-timed.SlackBuild2
-rwxr-xr-xsource/n/netpipes/netpipes.SlackBuild3
-rwxr-xr-xsource/n/netwatch/netwatch.SlackBuild5
-rw-r--r--source/n/nghttp2/nghttp2.url2
-rwxr-xr-xsource/n/nmap/nmap.SlackBuild2
-rwxr-xr-xsource/n/nn/nn.SlackBuild5
-rwxr-xr-xsource/n/ntp/ntp.SlackBuild3
-rwxr-xr-xsource/n/obexftp/obexftp.SlackBuild3
-rwxr-xr-xsource/n/openldap/openldap.SlackBuild3
-rwxr-xr-xsource/n/php/fetch-php.sh4
-rwxr-xr-xsource/n/php/php.SlackBuild3
-rwxr-xr-xsource/n/pidentd/pidentd.SlackBuild2
-rwxr-xr-xsource/n/popa3d/popa3d.SlackBuild26
-rw-r--r--source/n/popa3d/popa3d.gcc14.diff11
-rw-r--r--source/n/popa3d/popa3d.pam.diff24
-rw-r--r--source/n/popa3d/popa3d.shadow.diff58
-rwxr-xr-xsource/n/ppp/ppp.SlackBuild2
-rw-r--r--source/n/ppp/ppp.gcc14.diff11
-rwxr-xr-xsource/n/procmail/procmail.SlackBuild3
-rw-r--r--source/n/procmail/procmail.gcc14.diff12
-rwxr-xr-xsource/n/rp-pppoe/rp-pppoe.SlackBuild3
-rwxr-xr-xsource/n/samba/samba.SlackBuild2
-rw-r--r--source/n/samba/samba.url4
-rwxr-xr-xsource/n/slrn/slrn.SlackBuild3
-rwxr-xr-xsource/n/tcp_wrappers/tcp_wrappers.SlackBuild2
-rwxr-xr-xsource/n/telnet/telnet.SlackBuild3
-rwxr-xr-xsource/n/tftp-hpa/tftp-hpa.SlackBuild3
-rw-r--r--source/n/tftp-hpa/tftp-hpa.gcc14.diff11
-rw-r--r--source/n/uucp/uucp-configure-c99.patch140
-rwxr-xr-xsource/n/uucp/uucp.SlackBuild6
-rwxr-xr-xsource/n/wpa_supplicant/wpa_supplicant.SlackBuild2
-rwxr-xr-xsource/n/ytalk/ytalk.SlackBuild2
62 files changed, 449 insertions, 174 deletions
diff --git a/source/n/NetworkManager/NetworkManager.SlackBuild b/source/n/NetworkManager/NetworkManager.SlackBuild
index 25f681522..7fa8d4a56 100755
--- a/source/n/NetworkManager/NetworkManager.SlackBuild
+++ b/source/n/NetworkManager/NetworkManager.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/bash
# Copyright 2010, 2011, 2014, 2016 Robby Workman, Northport, Alabama, USA
-# Copyright 2013, 2014, 2015, 2016, 2018, 2020 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2013, 2014, 2015, 2016, 2018, 2020, 2024 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=NetworkManager
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
MARCH=$( uname -m )
@@ -98,50 +98,44 @@ for dfile in $CWD/patches/* ; do
zcat $dfile | patch -p1 --verbose || exit 1
done
-# For git-patched builds
-autoreconf -vif
-automake
-./autogen.sh
-
-# Configuring --enable-json-validation --enable-ovs requires the Jansson
-# json-c library. If there's any interest or usefulness with that, let me
-# know. The library is fairly small, but in order to actually use team
-# interfaces will probably require more stuff (not sure how much).
-#
-# Update September 2018: Added those options since we needed Jansson
-# already for HTTP/2 support.
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
+# Configure, build, and install:
+export CFLAGS="$SLKCFLAGS"
+export CXXFLAGS="$SLKCFLAGS"
+mkdir meson-build
+cd meson-build
+meson setup \
--prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --libdir=lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
- --docdir=/usr/doc/$PKGNAM-$VERSION \
- --with-udev-dir=/lib/udev \
- --with-pppd-plugin-dir=/usr/lib${LIBDIRSUFFIX}/pppd/$PPPD \
- --with-crypto=nss \
- --enable-more-warnings=no \
- --without-resolvconf \
- --with-dhcpcd=/sbin/dhcpcd \
- --with-dhclient=yes \
- --with-modem-manager-1=yes \
- --with-nmtui=yes \
- --enable-json-validation \
- --enable-ovs \
- --with-consolekit=no \
- --with-session-tracking=elogind \
- --with-suspend-resume=elogind \
- --with-hostname-persist=slackware \
- --build=$TARGET || exit 1
-
-make $NUMJOBS || exit 1
-make install DESTDIR=$PKG || exit 1
-
-# Don't ship .la files:
-rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+ --buildtype=release \
+ -Dudev_dir=/lib/udev \
+ -Ddbus_conf_dir=/usr/share/dbus-1/system.d \
+ -Dpppd_plugin_dir=/usr/lib${LIBDIRSUFFIX}/pppd/$PPPD \
+ -Dcrypto=nss \
+ -Dresolvconf=false \
+ -Ddhcpcd=/sbin/dhcpcd \
+ -Dconfig_dhcp_default=dhcpcd \
+ -Ddhclient=/sbin/dhclient \
+ -Dmodem_manager=true \
+ -Dnmtui=true \
+ -Dovs=true \
+ -Dsession_tracking_consolekit=false \
+ -Dsession_tracking=elogind \
+ -Dsuspend_resume=elogind \
+ -Dhostname_persist=slackware \
+ -Dsystemd_journal=false \
+ -Dsystemdsystemunitdir=no \
+ -Dmore_logging=false \
+ -Dselinux=false \
+ -Dlibaudit=no \
+ -Dqt=false \
+ -Ddocs=true \
+ .. || exit 1
+ "${NINJA:=ninja}" $NUMJOBS || exit 1
+ DESTDIR=$PKG $NINJA install || exit 1
+cd ..
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -158,6 +152,11 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
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
+# Relocate:
+mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
+mv $PKG/usr/share/doc/NetworkManager/examples $PKG/usr/doc/$PKGNAM-$VERSION
+rm -r $PKG/usr/share/doc
+
# In case NetworkManager tries to install something here:
rm -f $PKG/etc/rc.d/rc.networkmanager
diff --git a/source/n/alpine/alpine.SlackBuild b/source/n/alpine/alpine.SlackBuild
index 152f25c7f..3e3f3d084 100755
--- a/source/n/alpine/alpine.SlackBuild
+++ b/source/n/alpine/alpine.SlackBuild
@@ -65,6 +65,9 @@ elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
fi
+# GCC 14 "fix":
+SLKCFLAGS="$SLKCFLAGS -Wno-error=incompatible-pointer-types"
+
cd $TMP
rm -rf alpine-${VERSION}
tar xvf $CWD/alpine-$VERSION.tar.?z || exit 1
diff --git a/source/n/bluez/bluez.SlackBuild b/source/n/bluez/bluez.SlackBuild
index 08de3c809..0925b1aa5 100755
--- a/source/n/bluez/bluez.SlackBuild
+++ b/source/n/bluez/bluez.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=bluez
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
diff --git a/source/n/cyrus-sasl/cyrus-sasl.SlackBuild b/source/n/cyrus-sasl/cyrus-sasl.SlackBuild
index 89bbf6b5e..e2e628721 100755
--- a/source/n/cyrus-sasl/cyrus-sasl.SlackBuild
+++ b/source/n/cyrus-sasl/cyrus-sasl.SlackBuild
@@ -63,6 +63,9 @@ else
LIBDIRSUFFIX=""
fi
+# GCC 14 "fix":
+SLKCFLAGS="$SLKCFLAGS -Wno-error=implicit-function-declaration"
+
rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
diff --git a/source/n/elm/config.sh b/source/n/elm/config.sh
index 52bca7a95..1db7ecca3 100644
--- a/source/n/elm/config.sh
+++ b/source/n/elm/config.sh
@@ -257,7 +257,7 @@ small=''
medium=''
large=''
huge=''
-optimize='-O'
+optimize='-O -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=return-mismatch'
ccflags=''
cppflags=''
ldflags=''
diff --git a/source/n/elm/elm.SlackBuild b/source/n/elm/elm.SlackBuild
index 56dc99d47..defbe62db 100755
--- a/source/n/elm/elm.SlackBuild
+++ b/source/n/elm/elm.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=elm
VERSION=2.5.8
-BUILD=${BUILD:-7}
+BUILD=${BUILD:-8}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
diff --git a/source/n/epic5/epic5.SlackBuild b/source/n/epic5/epic5.SlackBuild
index 2514961e6..a7888aa28 100755
--- a/source/n/epic5/epic5.SlackBuild
+++ b/source/n/epic5/epic5.SlackBuild
@@ -26,7 +26,7 @@ PKGNAM=epic5
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
EPICVER=5
HELPFILE=current
-BUILD=${BUILD:-7}
+BUILD=${BUILD:-8}
## Default to no Ruby support, since it seems that ruby-2.7.0 is not compatible.
## Patches to fix this are welcome, otherwise we'll keep an eye on upstream.
diff --git a/source/n/htdig/htdig.SlackBuild b/source/n/htdig/htdig.SlackBuild
index 1ca8264ff..5a1bedda8 100755
--- a/source/n/htdig/htdig.SlackBuild
+++ b/source/n/htdig/htdig.SlackBuild
@@ -64,6 +64,9 @@ else
LIBDIRSUFFIX=""
fi
+# GCC 14 "fix":
+SLKCFLAGS="$SLKCFLAGS -Wno-error=implicit-function-declaration"
+
cd $TMP
rm -rf ${PKGNAM}-${VERSION}
tar xvf $CWD/${PKGNAM}-$VERSION.tar.bz2 || exit 1
diff --git a/source/n/icmpinfo/icmpinfo.SlackBuild b/source/n/icmpinfo/icmpinfo.SlackBuild
index f5233971e..05883aaa8 100755
--- a/source/n/icmpinfo/icmpinfo.SlackBuild
+++ b/source/n/icmpinfo/icmpinfo.SlackBuild
@@ -69,6 +69,8 @@ zcat $CWD/icmpinfo-1.11.diff.gz | patch -p1 --backup || exit 1
# Patch to prevent segfault:
zcat $CWD/icmpinfo-1.11-time.diff.gz | patch -p1 --backup || exit 1
+export CFLAGS="-O2 -Wno-error=implicit-function-declaration"
+
make $NUMJOBS || make || exit 1
strip --strip-unneeded icmpinfo
diff --git a/source/n/iftop/iftop.SlackBuild b/source/n/iftop/iftop.SlackBuild
index 177cabf0b..be17ada3c 100755
--- a/source/n/iftop/iftop.SlackBuild
+++ b/source/n/iftop/iftop.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=iftop
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-4}
+BUILD=${BUILD:-5}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
diff --git a/source/n/inetd/inetd.SlackBuild b/source/n/inetd/inetd.SlackBuild
index f61982aee..b0417dd5c 100755
--- a/source/n/inetd/inetd.SlackBuild
+++ b/source/n/inetd/inetd.SlackBuild
@@ -60,6 +60,7 @@ cd inetd
zcat $CWD/inetd-OpenBSD-1.79.diff.gz | patch -p1 --backup --suffix=.orig --verbose -E
zcat $CWD/inetd.loopingdos.diff.gz | patch -p1 --backup --suffix=.orig --verbose -E
zcat $CWD/inetd.libtirpc.diff.gz | patch -p1 --backup --suffix=.orig --verbose -E
+zcat $CWD/inetd.gcc14.diff.gz | patch -p1 --backup --suffix=.orig --verbose -E
# GCC 4 fix (thanks Fred Emmott)
sed -i 's#(type)\([a-z]\)=(type)\([a-z]\)#\1=(type)\2#g' inetd.c
diff --git a/source/n/inetd/inetd.gcc14.diff b/source/n/inetd/inetd.gcc14.diff
new file mode 100644
index 000000000..4053cf978
--- /dev/null
+++ b/source/n/inetd/inetd.gcc14.diff
@@ -0,0 +1,9 @@
+--- ./Makefile.orig 2024-05-11 12:41:56.282823472 -0500
++++ ./Makefile 2024-05-11 12:43:08.540825089 -0500
+@@ -1,5 +1,5 @@
+ CC = gcc
+-CFLAGS = -O2 -I/usr/include/tirpc
++CFLAGS = -O2 -I/usr/include/tirpc -Wno-error=implicit-function-declaration
+ LDFLAGS = -s -ltirpc
+
+ all:
diff --git a/source/n/lftp/lftp.SlackBuild b/source/n/lftp/lftp.SlackBuild
index 152f7eb51..cbc5c3648 100755
--- a/source/n/lftp/lftp.SlackBuild
+++ b/source/n/lftp/lftp.SlackBuild
@@ -73,6 +73,9 @@ rm -rf lftp-$VERSION
tar xvf $CWD/lftp-$VERSION.tar.xz || exit 1
cd lftp-$VERSION || exit 1
+zcat $CWD/lftp.c99.patch.gz | patch -p1 --verbose || exit 1
+touch -r aclocal.m4 configure m4/needtrio.m4
+
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
diff --git a/source/n/lftp/lftp.c99.patch b/source/n/lftp/lftp.c99.patch
new file mode 100644
index 000000000..3e3ec17ec
--- /dev/null
+++ b/source/n/lftp/lftp.c99.patch
@@ -0,0 +1,22 @@
+diff -rup a/configure b/configure
+--- a/configure 2023-02-08 21:27:48.733647760 -0500
++++ b/configure 2023-02-08 21:28:31.201222024 -0500
+@@ -57429,6 +57429,7 @@ else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
++ #include <stdio.h>
+ int main()
+ {
+ unsigned long long x=0,x1;
+diff -rup a/m4/needtrio.m4 b/m4/needtrio.m4
+--- a/m4/needtrio.m4 2016-02-20 08:57:52.000000000 -0500
++++ b/m4/needtrio.m4 2023-02-08 21:28:13.642571126 -0500
+@@ -9,6 +9,7 @@ AC_DEFUN([LFTP_NEED_TRIO],[
+ else
+
+ AC_RUN_IFELSE([AC_LANG_SOURCE([[
++ #include <stdio.h>
+ int main()
+ {
+ unsigned long long x=0,x1;
diff --git a/source/n/links/links.SlackBuild b/source/n/links/links.SlackBuild
index ce9ac21a6..a1c31724e 100755
--- a/source/n/links/links.SlackBuild
+++ b/source/n/links/links.SlackBuild
@@ -72,6 +72,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
+# GCC 14 "fix":
+SLKCFLAGS="$SLKCFLAGS -Wno-error=implicit-int"
+
# We are configuring this without X as there are MANY browser choices for
# X already. If you need a browser for X, either use something else or
# recompile. :-)
diff --git a/source/n/lynx/lynx.SlackBuild b/source/n/lynx/lynx.SlackBuild
index d9815fd8c..26bbf5e82 100755
--- a/source/n/lynx/lynx.SlackBuild
+++ b/source/n/lynx/lynx.SlackBuild
@@ -23,8 +23,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=lynx
-PKGVER=2.9.0dev.12
-DIRVER=2.9.0dev.12
+PKGVER=2.9.1
+DIRVER=2.9.1
BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
diff --git a/source/n/metamail/metamail.SlackBuild b/source/n/metamail/metamail.SlackBuild
index 2697163a0..96cac1bc6 100755
--- a/source/n/metamail/metamail.SlackBuild
+++ b/source/n/metamail/metamail.SlackBuild
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=metamail
VERSION=2.7
-BUILD=${BUILD:-10}
+BUILD=${BUILD:-11}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -80,6 +80,7 @@ cd metamail-$VERSION || exit 1
xz -dc $CWD/metamail_2.7-54.diff.xz | patch -p1 || exit 1
xz -dc $CWD/metamail.automake.diff.xz | patch -p1 || exit 1
zcat $CWD/metamail.uue.getline.diff.gz | patch -p1 || exit 1
+cat $CWD/metamail.gcc14.diff | patch -p1 || exit 1
chmod 755 configure
@@ -93,7 +94,7 @@ find . \
# Fix misnamed man page:
mv man/mmencode.1 man/mimencode.1
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -Wno-error=implicit-int" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -113,7 +114,7 @@ CFLAGS="$SLKCFLAGS" \
mv m.c mailto.c
)
-make $NUMJOBS || make || exit 1
+CFLAGS="$SLKCFLAGS -Wno-error=implicit-int" make $NUMJOBS || make || exit 1
( cd bin
cat mailto-hebrew | perl -pi -e 's|/usr/lib/X11/fonts/misc|/usr/share/metamail/fonts|' > mh
diff --git a/source/n/metamail/metamail.gcc14.diff b/source/n/metamail/metamail.gcc14.diff
new file mode 100644
index 000000000..0c539da9d
--- /dev/null
+++ b/source/n/metamail/metamail.gcc14.diff
@@ -0,0 +1,22 @@
+--- ./src/metamail/Makefile.in.orig 2024-05-10 16:12:29.131173303 -0500
++++ ./src/metamail/Makefile.in 2024-05-10 16:18:58.068182003 -0500
+@@ -82,7 +82,7 @@
+
+ MAINTAINERCLEANFILES = Makefile.in
+
+-CFLAGS = -lncurses
++CFLAGS = -lncurses -Wno-error=return-mismatch -Wno-error=implicit-function-declaration -Wno-error=implicit-int
+
+ INCLUDES = -I$(top_builddir) -I$(top_builddir)/metamail -I$(top_srcdir) -I$(top_srcdir)/metamail
+
+--- ./src/richmail/Makefile.in.orig 2024-05-10 16:12:29.130173303 -0500
++++ ./src/richmail/Makefile.in 2024-05-10 16:20:28.612184029 -0500
+@@ -82,7 +82,7 @@
+
+ MAINTAINERCLEANFILES = Makefile.in
+
+-CFLAGS = -lncurses
++CFLAGS = -lncurses -Wno-error=return-mismatch -Wno-error=implicit-function-declaration -Wno-error=implicit-int
+
+ INCLUDES = -I$(top_builddir) -I$(top_builddir)/metamail -I$(top_srcdir) -I$(top_srcdir)/metamail
+
diff --git a/source/n/mobile-broadband-provider-info/mobile-broadband-provider-info.SlackBuild b/source/n/mobile-broadband-provider-info/mobile-broadband-provider-info.SlackBuild
index ef8d9d12e..539369b5d 100755
--- a/source/n/mobile-broadband-provider-info/mobile-broadband-provider-info.SlackBuild
+++ b/source/n/mobile-broadband-provider-info/mobile-broadband-provider-info.SlackBuild
@@ -1,9 +1,7 @@
#!/bin/bash
-# Slackware build script for mobile-broadband-provider-info
-
# Copyright 2010, 2011, 2015 Robby Workman, Tuscaloosa, Alabama, USA
-# Copyright 2019 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2019, 2024 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -49,7 +47,7 @@ fi
# 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-$DATE-$ARCH-$BUILD.txz"
+ echo "$PKGNAM-$DATE-noarch-$BUILD.txz"
exit 0
fi
@@ -93,37 +91,38 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
-[ ! -x configure ] && ./autogen.sh
-
-sed -i -e \
- 's#pkgconfigdir = $(datadir)/pkgconfig#pkgconfigdir = $(libdir)/pkgconfig#' \
- Makefile.in
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
+# Configure, build, and install:
+export CFLAGS="$SLKCFLAGS"
+export CXXFLAGS="$SLKCFLAGS"
+mkdir meson-build
+cd meson-build
+meson setup \
--prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --libdir=lib${LIBDIRSUFFIX} \
+ --libexecdir=/usr/libexec \
+ --bindir=/usr/bin \
+ --sbindir=/usr/sbin \
+ --includedir=/usr/include \
+ --datadir=/usr/share \
+ --mandir=/usr/man \
--sysconfdir=/etc \
--localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PKGNAM-$DATE \
- --build=$TARGET || exit 1
-
-make || exit 1
-make install DESTDIR=$PKG || exit 1
+ --buildtype=release \
+ .. || exit 1
+ "${NINJA:=ninja}" $NUMJOBS || exit 1
+ DESTDIR=$PKG $NINJA install || exit 1
+cd ..
find $PKG | xargs 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-$DATE
cp -a \
- COPYING* ChangeLog NEWS README* \
+ CONTRIBUTING* COPYING* ChangeLog* MAINTAINERS* NEWS* README* \
$PKG/usr/doc/$PKGNAM-$DATE
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PKGNAM-$DATE-$ARCH-$BUILD.txz
-
+/sbin/makepkg -l y -c n $OUTPUT/$PKGNAM-$DATE-noarch-$BUILD.txz
diff --git a/source/n/mtr/mtr.SlackBuild b/source/n/mtr/mtr.SlackBuild
index 3c9c6da6f..948f3a599 100755
--- a/source/n/mtr/mtr.SlackBuild
+++ b/source/n/mtr/mtr.SlackBuild
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=mtr
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
diff --git a/source/n/nc/nc.SlackBuild b/source/n/nc/nc.SlackBuild
index dbd003dfc..0e3c4da3a 100755
--- a/source/n/nc/nc.SlackBuild
+++ b/source/n/nc/nc.SlackBuild
@@ -55,6 +55,9 @@ else
SLKCFLAGS="-O2"
fi
+# GCC 14 "fix":
+SLKCFLAGS="$SLKCFLAGS -Wno-error=implicit-function-declaration -Wno-error=implicit-int"
+
TMP=${TMP:-/tmp}
PKG=$TMP/package-nc
rm -rf $PKG
diff --git a/source/n/ncftp/ncftp.SlackBuild b/source/n/ncftp/ncftp.SlackBuild
index a749c0eb2..2daf6f2c1 100755
--- a/source/n/ncftp/ncftp.SlackBuild
+++ b/source/n/ncftp/ncftp.SlackBuild
@@ -47,13 +47,13 @@ fi
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686 -fcommon"
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686 -fcommon -std=gnu90"
elif [ "$ARCH" = "s390" ]; then
- SLKCFLAGS="-O2 -fcommon"
+ SLKCFLAGS="-O2 -fcommon -std=gnu90"
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC -fcommon"
+ SLKCFLAGS="-O2 -fPIC -fcommon -std=gnu90"
else
- SLKCFLAGS="-O2 -fcommon"
+ SLKCFLAGS="-O2 -fcommon -std=gnu90"
fi
TMP=${TMP:-/tmp}
diff --git a/source/n/net-snmp/net-snmp.SlackBuild b/source/n/net-snmp/net-snmp.SlackBuild
index f4ff315c7..7b2a899cd 100755
--- a/source/n/net-snmp/net-snmp.SlackBuild
+++ b/source/n/net-snmp/net-snmp.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=net-snmp
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
diff --git a/source/n/netdate/netdate.SlackBuild b/source/n/netdate/netdate.SlackBuild
index b84d4d69a..16f6a7d93 100755
--- a/source/n/netdate/netdate.SlackBuild
+++ b/source/n/netdate/netdate.SlackBuild
@@ -56,6 +56,7 @@ cd netdate || exit 1
zcat $CWD/netdate.diff.gz | patch -p1 --backup || exit
zcat $CWD/netdate.diff2.gz | patch -p1 --backup || exit
+zcat $CWD/netdate.gcc14.diff.gz | patch -p1 --backup || exit
chown -R root:root .
find . \
diff --git a/source/n/netdate/netdate.gcc14.diff b/source/n/netdate/netdate.gcc14.diff
new file mode 100644
index 000000000..7478afb22
--- /dev/null
+++ b/source/n/netdate/netdate.gcc14.diff
@@ -0,0 +1,11 @@
+--- ./Makefile.orig 2024-05-11 13:17:31.232871231 -0500
++++ ./Makefile 2024-05-11 13:18:04.399871973 -0500
+@@ -3,7 +3,7 @@
+
+ WARNINGS=-Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual \
+ -Wstrict-prototypes -Wmissing-prototypes \
+- -Wmissing-declarations -Wnested-externs -Winline -Wcast-align
++ -Wmissing-declarations -Wnested-externs -Winline -Wcast-align -Wno-error=implicit-int
+
+ CFLAGS = -g $(WARNINGS)
+
diff --git a/source/n/netkit-ftp/netkit-ftp.SlackBuild b/source/n/netkit-ftp/netkit-ftp.SlackBuild
index f500f2784..21d8391ce 100755
--- a/source/n/netkit-ftp/netkit-ftp.SlackBuild
+++ b/source/n/netkit-ftp/netkit-ftp.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=netkit-ftp
VERSION=0.17
-BUILD=${BUILD:-7}
+BUILD=${BUILD:-8}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
diff --git a/source/n/netkit-ntalk/netkit-ntalk.SlackBuild b/source/n/netkit-ntalk/netkit-ntalk.SlackBuild
index 08b71f996..e1e595272 100755
--- a/source/n/netkit-ntalk/netkit-ntalk.SlackBuild
+++ b/source/n/netkit-ntalk/netkit-ntalk.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=netkit-ntalk
VERSION=0.17
-BUILD=${BUILD:-7}
+BUILD=${BUILD:-8}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
diff --git a/source/n/netkit-rsh/netkit-rsh.SlackBuild b/source/n/netkit-rsh/netkit-rsh.SlackBuild
index 92a1541f0..cf92c6f99 100755
--- a/source/n/netkit-rsh/netkit-rsh.SlackBuild
+++ b/source/n/netkit-rsh/netkit-rsh.SlackBuild
@@ -60,7 +60,7 @@ zcat $CWD/netkit-rsh.arg_max.diff.gz | patch -p1 -l --verbose || exit 1
zcat $CWD/netkit-rsh.union_wait.diff.gz | patch -p1 -l --verbose || exit 1
zcat $CWD/netkit-rsh.auth.c.stddef.diff.gz | patch -p1 -l --verbose || exit 1
chown -R root:root .
-./configure --prefix=/usr || exit 1
+CC="gcc -std=gnu89" ./configure --prefix=/usr || exit 1
make || exit 1
cd rsh
strip rsh
diff --git a/source/n/netkit-rusers/netkit-rusers.SlackBuild b/source/n/netkit-rusers/netkit-rusers.SlackBuild
index e0ca90e6c..96047f507 100755
--- a/source/n/netkit-rusers/netkit-rusers.SlackBuild
+++ b/source/n/netkit-rusers/netkit-rusers.SlackBuild
@@ -55,7 +55,7 @@ tar xzvf $CWD/netkit-rusers-$VERSION.tar.gz
cd netkit-rusers-$VERSION
chown -R root:root .
zcat $CWD/netkit-rusers-0.17.diff.gz | patch -p1 || exit 1
-./configure --prefix=/usr
+CC="gcc -std=gnu89" ./configure --prefix=/usr
# Fixes for libtirpc:
sed -i -e 's/Winline/Winline -I\/usr\/include\/tirpc/' MCONFIG
diff --git a/source/n/netkit-rwho/netkit-rwho.SlackBuild b/source/n/netkit-rwho/netkit-rwho.SlackBuild
index 89c4e8b17..277ccaa63 100755
--- a/source/n/netkit-rwho/netkit-rwho.SlackBuild
+++ b/source/n/netkit-rwho/netkit-rwho.SlackBuild
@@ -44,6 +44,9 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
+# GCC 14 "fix":
+export CFLAGS="-Wno-error=incompatible-pointer-types"
+
TMP=${TMP:-/tmp}
PKG=$TMP/package-netkit-rwho
diff --git a/source/n/netkit-timed/netkit-timed.SlackBuild b/source/n/netkit-timed/netkit-timed.SlackBuild
index 569105a38..b34c18315 100755
--- a/source/n/netkit-timed/netkit-timed.SlackBuild
+++ b/source/n/netkit-timed/netkit-timed.SlackBuild
@@ -55,7 +55,7 @@ tar xzvf $CWD/netkit-timed-$VERSION.tar.gz || exit 1
cd netkit-timed-$VERSION
chown -R root:root .
zcat $CWD/netkit-timed-0.17.diff.gz | patch -p1 --backup --verbose --suffix=.orig -E || exit
-CFLAGS="-DCLK_TCK=CLOCKS_PER_SEC" ./configure --prefix=/usr
+CFLAGS="-DCLK_TCK=CLOCKS_PER_SEC -Wno-error=incompatible-pointer-types" ./configure --prefix=/usr
make || exit 1
cd timed/timed
strip timed
diff --git a/source/n/netpipes/netpipes.SlackBuild b/source/n/netpipes/netpipes.SlackBuild
index 43d6c7e92..f5e9a5db1 100755
--- a/source/n/netpipes/netpipes.SlackBuild
+++ b/source/n/netpipes/netpipes.SlackBuild
@@ -57,6 +57,7 @@ echo "+==============+"
echo "| netpipes-$VERSION |"
echo "+==============+"
cd $TMP
+rm -rf netpipes-${VERSION}-export
tar xvf $CWD/netpipes-${VERSION}-export.tar.gz || exit 1
cd netpipes-${VERSION}-export
mkdir -p $PKG/usr/doc/netpipes-${VERSION}-export
@@ -64,7 +65,7 @@ cp -a COPYING README *.html $PKG/usr/doc/netpipes-${VERSION}-export
chown root:root $PKG/usr/doc/netpipes-${VERSION}-export/*
chmod 644 $PKG/usr/doc/netpipes-${VERSION}-export/*
-make || exit 1
+CC="gcc -std=gnu89" make || exit 1
strip encapsulate faucet getpeername hose sockdown timelimit
for file in encapsulate faucet getpeername hose sockdown timelimit ; do
diff --git a/source/n/netwatch/netwatch.SlackBuild b/source/n/netwatch/netwatch.SlackBuild
index 563433ab8..4d32c16ef 100755
--- a/source/n/netwatch/netwatch.SlackBuild
+++ b/source/n/netwatch/netwatch.SlackBuild
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=netwatch
VERSION=1.3.1
EXTRAVERSION=${EXTRAVERSION:-2}
-BUILD=${BUILD:-5}
+BUILD=${BUILD:-6}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -57,6 +57,9 @@ else
SLKCFLAGS="-O2 -fcommon"
fi
+# GCC 14 "fix":
+SLKCFLAGS="$SLKCFLAGS -Wno-error=implicit-int -Wno-error=implicit-function-declaration"
+
TMP=${TMP:-/tmp}
PKG=$TMP/package-netwatch
rm -rf $PKG
diff --git a/source/n/nghttp2/nghttp2.url b/source/n/nghttp2/nghttp2.url
index 9175dce90..abf5637d7 100644
--- a/source/n/nghttp2/nghttp2.url
+++ b/source/n/nghttp2/nghttp2.url
@@ -1,2 +1,2 @@
https://github.com/nghttp2/nghttp2
-https://github.com/nghttp2/nghttp2/releases/download/v1.61.0/nghttp2-1.61.0.tar.xz
+https://github.com/nghttp2/nghttp2/releases/download/v1.62.0/nghttp2-1.62.0.tar.xz
diff --git a/source/n/nmap/nmap.SlackBuild b/source/n/nmap/nmap.SlackBuild
index fed202e09..b35e41337 100755
--- a/source/n/nmap/nmap.SlackBuild
+++ b/source/n/nmap/nmap.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=nmap
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
diff --git a/source/n/nn/nn.SlackBuild b/source/n/nn/nn.SlackBuild
index 48552b196..ab9c7a257 100755
--- a/source/n/nn/nn.SlackBuild
+++ b/source/n/nn/nn.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=nn
VERSION=6.7.3
-BUILD=${BUILD:-8}
+BUILD=${BUILD:-9}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -58,6 +58,9 @@ else
MFILE="m-i80386.h"
fi
+# GCC 14 "fix":
+SLKCFLAGS="$SLKCFLAGS -Wno-error=implicit-function-declaration"
+
TMP=${TMP:-/tmp}
PKG=$TMP/package-nn
diff --git a/source/n/ntp/ntp.SlackBuild b/source/n/ntp/ntp.SlackBuild
index 1155df285..4433a4b35 100755
--- a/source/n/ntp/ntp.SlackBuild
+++ b/source/n/ntp/ntp.SlackBuild
@@ -56,6 +56,9 @@ else
SLKCFLAGS="-O2"
fi
+# GCC 14 "fix":
+SLKCFLAGS="$SLKCFLAGS -Wno-error=int-conversion"
+
TMP=${TMP:-/tmp}
PKG=$TMP/package-ntp
diff --git a/source/n/obexftp/obexftp.SlackBuild b/source/n/obexftp/obexftp.SlackBuild
index d63c6dd6f..2e68f31f9 100755
--- a/source/n/obexftp/obexftp.SlackBuild
+++ b/source/n/obexftp/obexftp.SlackBuild
@@ -62,6 +62,9 @@ else
LIBDIRSUFFIX=""
fi
+# GCC 14 "fix":
+export CC="gcc -Wno-error=int-conversion -Wno-error=implicit-function-declaration"
+
PYTHON3LIB=$( python3 -c 'from distutils.sysconfig import get_python_lib; print(get_python_lib())' )
rm -rf $PKG
diff --git a/source/n/openldap/openldap.SlackBuild b/source/n/openldap/openldap.SlackBuild
index 4eab73442..783526f36 100755
--- a/source/n/openldap/openldap.SlackBuild
+++ b/source/n/openldap/openldap.SlackBuild
@@ -68,6 +68,9 @@ else
LIBDIRSUFFIX=""
fi
+# GCC 14 "fix":
+SLKCFLAGS="$SLKCFLAGS -Wno-error=incompatible-pointer-types"
+
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PKGNAM
diff --git a/source/n/php/fetch-php.sh b/source/n/php/fetch-php.sh
index aec301cb7..5c366cced 100755
--- a/source/n/php/fetch-php.sh
+++ b/source/n/php/fetch-php.sh
@@ -1,2 +1,2 @@
-lftpget http://us.php.net/distributions/php-8.3.6.tar.xz.asc
-lftpget http://us.php.net/distributions/php-8.3.6.tar.xz
+lftpget http://us.php.net/distributions/php-8.3.7.tar.xz.asc
+lftpget http://us.php.net/distributions/php-8.3.7.tar.xz
diff --git a/source/n/php/php.SlackBuild b/source/n/php/php.SlackBuild
index a37ab12dd..425dc4ed8 100755
--- a/source/n/php/php.SlackBuild
+++ b/source/n/php/php.SlackBuild
@@ -75,6 +75,9 @@ else
LIBDIRSUFFIX=""
fi
+# GCC 14 "fix":
+SLKCFLAGS="$SLKCFLAGS -Wno-error=incompatible-pointer-types"
+
# Look for Kerberos on the machine and in any precompiled c-client.a:
if /bin/ls /lib${LIBDIRSUFFIX}/libkrb5.so.? 1> /dev/null 2> /dev/null ; then
# Remove the c-client library if it doesn't contain Kerberos support:
diff --git a/source/n/pidentd/pidentd.SlackBuild b/source/n/pidentd/pidentd.SlackBuild
index 56ba4a1a3..c1bae462a 100755
--- a/source/n/pidentd/pidentd.SlackBuild
+++ b/source/n/pidentd/pidentd.SlackBuild
@@ -66,7 +66,7 @@ find . \
zcat $CWD/pidentd.conf.diff.gz | patch -p1 --backup --verbose || exit 1
zcat $CWD/pidentd.openssl-1.1.diff.gz | patch -p1 --backup --verbose || exit 1
-CFLAGS=-O2 \
+CFLAGS="-O2 -Wno-error=implicit-function-declaration" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
diff --git a/source/n/popa3d/popa3d.SlackBuild b/source/n/popa3d/popa3d.SlackBuild
index c3cd6543b..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,10 @@ 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
chown -R root:root .
find . \
diff --git a/source/n/popa3d/popa3d.gcc14.diff b/source/n/popa3d/popa3d.gcc14.diff
new file mode 100644
index 000000000..932b57741
--- /dev/null
+++ b/source/n/popa3d/popa3d.gcc14.diff
@@ -0,0 +1,11 @@
+--- ./Makefile.orig 2024-05-11 14:15:26.383948970 -0500
++++ ./Makefile 2024-05-11 14:16:03.483949800 -0500
+@@ -3,7 +3,7 @@
+ RM = rm -f
+ MKDIR = mkdir -p
+ INSTALL = install -c
+-CFLAGS = -Wall -O2 -fomit-frame-pointer
++CFLAGS = -Wall -O2 -fomit-frame-pointer -Wno-error=implicit-function-declaration -Wno-error=int-conversion
+ # You may use OpenSSL's MD5 routines instead of the ones supplied here
+ CFLAGS += -DHAVE_OPENSSL
+ LDFLAGS = -s
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
- /*
diff --git a/source/n/ppp/ppp.SlackBuild b/source/n/ppp/ppp.SlackBuild
index 9504fca35..a71345dbd 100755
--- a/source/n/ppp/ppp.SlackBuild
+++ b/source/n/ppp/ppp.SlackBuild
@@ -82,6 +82,8 @@ rm -f include/linux/if_pppol2tp.h
zcat $CWD/ppp.CVE-2015-3310.diff.gz | patch -p1 --verbose || exit 1
+cat $CWD/ppp.gcc14.diff | patch -p1 --verbose || exit 1
+
# Choose correct options depending on whether PAM is installed:
if [ -L /lib${LIBDIRSUFFIX}/libpam.so.? ]; then
PAM_OPTIONS="USE_PAM=y"
diff --git a/source/n/ppp/ppp.gcc14.diff b/source/n/ppp/ppp.gcc14.diff
new file mode 100644
index 000000000..a8c12efc8
--- /dev/null
+++ b/source/n/ppp/ppp.gcc14.diff
@@ -0,0 +1,11 @@
+--- ./configure.orig 2021-01-04 17:06:37.000000000 -0600
++++ ./configure 2024-05-10 20:18:35.477503626 -0500
+@@ -20,7 +20,7 @@
+ makext="linux";
+ ksrc="linux";
+ state="known";
+- CFLAGS="-O2 -g -pipe";;
++ CFLAGS="-O2 -g -pipe -Wno-error=incompatible-pointer-types";;
+ SunOS)
+ karch=`/usr/bin/isainfo -k`
+ case $release in
diff --git a/source/n/procmail/procmail.SlackBuild b/source/n/procmail/procmail.SlackBuild
index 8e8821ad6..ab6ce8440 100755
--- a/source/n/procmail/procmail.SlackBuild
+++ b/source/n/procmail/procmail.SlackBuild
@@ -57,7 +57,10 @@ cd $TMP
rm -rf procmail-$VERSION
tar xvf $CWD/procmail-$VERSION.tar.?z || exit 1
cd procmail-$VERSION || exit 1
+
zcat $CWD/procmail.lfs.diff.gz | patch -p1 --verbose || exit 1
+zcat $CWD/procmail.gcc14.diff.gz | patch -p1 --verbose || exit 1
+
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
diff --git a/source/n/procmail/procmail.gcc14.diff b/source/n/procmail/procmail.gcc14.diff
new file mode 100644
index 000000000..1fcc8fd26
--- /dev/null
+++ b/source/n/procmail/procmail.gcc14.diff
@@ -0,0 +1,12 @@
+--- ./Makefile.orig 2024-05-11 14:25:05.399961923 -0500
++++ ./Makefile 2024-05-11 14:25:19.301962234 -0500
+@@ -86,7 +86,8 @@
+ #-Wimplicit -Wshadow -Wid-clash-6 #-Wuninitialized
+
+ # The place to put your favourite extra cc flag
+-CFLAGS0 = -O -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 #$(GCC_WARNINGS)
++CFLAGS0 = -O -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-error=implicit-int -Wno-error=implicit-function-declaration #$(GCC_WARNINGS)
++
+ LDFLAGS0= -s
+ # Read my libs :-)
+ LIBS=
diff --git a/source/n/rp-pppoe/rp-pppoe.SlackBuild b/source/n/rp-pppoe/rp-pppoe.SlackBuild
index d777bfebc..a0e0d04b0 100755
--- a/source/n/rp-pppoe/rp-pppoe.SlackBuild
+++ b/source/n/rp-pppoe/rp-pppoe.SlackBuild
@@ -56,6 +56,9 @@ else
SLKCFLAGS="-O2"
fi
+# GCC 14 "fix":
+SLKCFLAGS="$SLKCFLAGS -Wno-error=implicit-function-declaration"
+
TMP=${TMP:-/tmp}
PKG=$TMP/package-rp-pppoe
diff --git a/source/n/samba/samba.SlackBuild b/source/n/samba/samba.SlackBuild
index 099c1079f..7eed0b774 100755
--- a/source/n/samba/samba.SlackBuild
+++ b/source/n/samba/samba.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=samba
VERSION=${VERSION:-$(echo samba-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
# This option may be set to "heimdal" or "mit".
# Upstream considers the use of MIT Kerberos for provisioning an AD DC
diff --git a/source/n/samba/samba.url b/source/n/samba/samba.url
index 2874964b3..24e351aa8 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.20.0.tar.gz
-https://download.samba.org/pub/samba/stable/samba-4.20.0.tar.asc
+https://download.samba.org/pub/samba/stable/samba-4.20.1.tar.gz
+https://download.samba.org/pub/samba/stable/samba-4.20.1.tar.asc
diff --git a/source/n/slrn/slrn.SlackBuild b/source/n/slrn/slrn.SlackBuild
index ff6225c5b..060d751d4 100755
--- a/source/n/slrn/slrn.SlackBuild
+++ b/source/n/slrn/slrn.SlackBuild
@@ -60,6 +60,9 @@ else
LIBDIRSUFFIX=""
fi
+# GCC 14 "fix":
+SLKCFLAGS="$SLKCFLAGS -Wno-error=implicit-function-declaration"
+
TMP=${TMP:-/tmp}
PKG=$TMP/package-slrn
rm -rf $PKG
diff --git a/source/n/tcp_wrappers/tcp_wrappers.SlackBuild b/source/n/tcp_wrappers/tcp_wrappers.SlackBuild
index 8ab33d2d8..17ed0da43 100755
--- a/source/n/tcp_wrappers/tcp_wrappers.SlackBuild
+++ b/source/n/tcp_wrappers/tcp_wrappers.SlackBuild
@@ -74,7 +74,7 @@ sh extract-and-patch.sh
cd tcp_wrappers_$VERSION || exit 1
# Fix for glibc-2.32:
sed -i "s/-DHAVE_WEAKSYMS/-DHAVE_WEAKSYMS -DHAVE_STRERROR/g" Makefile
-make REAL_DAEMON_DIR=/usr/sbin linux || exit 1
+make CC="gcc -std=gnu90" REAL_DAEMON_DIR=/usr/sbin linux || exit 1
strip tcpd safe_finger tcpdchk tcpdmatch try-from
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
cat libwrap.a > $PKG/usr/lib${LIBDIRSUFFIX}/libwrap.a
diff --git a/source/n/telnet/telnet.SlackBuild b/source/n/telnet/telnet.SlackBuild
index 0b721cce3..efddb6512 100755
--- a/source/n/telnet/telnet.SlackBuild
+++ b/source/n/telnet/telnet.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=telnet
VERSION=0.17
-BUILD=${BUILD:-6}
+BUILD=${BUILD:-7}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -57,6 +57,7 @@ cd netkit-telnet-$VERSION || exit 1
chown -R root:root .
zcat $CWD/netkit-telnet-0.17.diff.gz | patch -p1 --verbose --backup --suffix=.orig || exit 1
zcat $CWD/netkit-telnet-0.17-ayt.patch.gz | patch -p1 --verbose --backup --suffix=.orig || exit 1
+CFLAGS="-Wno-error=implicit-int" \
./configure --prefix=/usr || exit 1
cd telnetd
make || exit 1
diff --git a/source/n/tftp-hpa/tftp-hpa.SlackBuild b/source/n/tftp-hpa/tftp-hpa.SlackBuild
index d31ad247d..9d4bc95c8 100755
--- a/source/n/tftp-hpa/tftp-hpa.SlackBuild
+++ b/source/n/tftp-hpa/tftp-hpa.SlackBuild
@@ -67,6 +67,9 @@ find . \
# Add -fcommon to CFLAGS:
zcat $CWD/tftp-hpa.fcommon.diff.gz | patch -p1 --verbose || exit 1
+# Unerror what was a warning prior to GCC 14:
+zcat $CWD/tftp-hpa.gcc14.diff.gz | patch -p1 --verbose || exit 1
+
./configure --prefix=/usr
make $NUMJOBS || make || exit 1
diff --git a/source/n/tftp-hpa/tftp-hpa.gcc14.diff b/source/n/tftp-hpa/tftp-hpa.gcc14.diff
new file mode 100644
index 000000000..2b786cb79
--- /dev/null
+++ b/source/n/tftp-hpa/tftp-hpa.gcc14.diff
@@ -0,0 +1,11 @@
+--- ./MCONFIG.in.orig 2024-05-12 00:09:10.358745878 -0500
++++ ./MCONFIG.in 2024-05-12 00:10:29.981747659 -0500
+@@ -51,7 +51,7 @@
+
+ # Compiler and compiler flags
+ CC = @CC@
+-CFLAGS = @CFLAGS@ -I$(SRCROOT) -fcommon
++CFLAGS = @CFLAGS@ -I$(SRCROOT) -fcommon -Wno-error=implicit-function-declaration
+
+ # Link flags
+ LDFLAGS = @LDFLAGS@
diff --git a/source/n/uucp/uucp-configure-c99.patch b/source/n/uucp/uucp-configure-c99.patch
new file mode 100644
index 000000000..480d6225a
--- /dev/null
+++ b/source/n/uucp/uucp-configure-c99.patch
@@ -0,0 +1,140 @@
+Fix several C99 compatibility issues in the configure script. Most
+of them are specific to the uucp package.
+
+Submitted upstream: <https://savannah.gnu.org/bugs/index.php?63647>
+
+diff --git a/configure b/configure
+index 4cced27226101612..77336b5f0a1ba20d 100755
+--- a/configure
++++ b/configure
+@@ -1280,7 +1280,7 @@ cat > conftest.$ac_ext << EOF
+ #line 1281 "configure"
+ #include "confdefs.h"
+
+-main(){return(0);}
++int main(){return(0);}
+ EOF
+ if { (eval echo configure:1286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ ac_cv_prog_cc_works=yes
+@@ -3025,6 +3025,7 @@ else
+ cat > conftest.$ac_ext <<EOF
+ #line 3027 "configure"
+ #include "confdefs.h"
++extern void exit ();
+
+ int main() {
+ extern void foo (); (void) exit (0);
+@@ -3153,6 +3154,7 @@ else
+ cat > conftest.$ac_ext <<EOF
+ #line 3155 "configure"
+ #include "confdefs.h"
++#include <string.h>
+
+ int main() {
+ char *i; int j, k; memset(i, j, k);
+@@ -3185,6 +3187,7 @@ else
+ cat > conftest.$ac_ext <<EOF
+ #line 3187 "configure"
+ #include "confdefs.h"
++#include <string.h>
+
+ int main() {
+ char *i, *j; int k; memcmp(i, j, k);
+@@ -3217,6 +3220,7 @@ else
+ cat > conftest.$ac_ext <<EOF
+ #line 3219 "configure"
+ #include "confdefs.h"
++#include <string.h>
+
+ int main() {
+ char *i, *j; int k; memcpy(i, j, k);
+@@ -3894,7 +3898,7 @@ else
+
+ #include <sys/types.h>
+ #include <sys/timeb.h>
+-main ()
++int main ()
+ {
+ struct timeb s, slast;
+ int c = 0;
+@@ -3904,13 +3908,13 @@ main ()
+ ftime (&s);
+ if (s.time < slast.time
+ || (s.time == slast.time && s.millitm < slast.millitm))
+- exit (1);
++ return 1;
+ if (s.time != slast.time)
+ ++c;
+ slast.time = s.time;
+ slast.millitm = s.millitm;
+ }
+- exit (0);
++ return 0;
+ }
+
+ EOF
+diff --git a/configure.in b/configure.in
+index 452cf793f9ecc575..a788d07d123c7744 100644
+--- a/configure.in
++++ b/configure.in
+@@ -278,7 +278,7 @@ fi
+ dnl
+ AC_MSG_CHECKING(for void)
+ AC_CACHE_VAL(uucp_cv_c_void,
+-[AC_TRY_COMPILE([], [extern void foo (); (void) exit (0);],
++[AC_TRY_COMPILE([extern void exit ();], [extern void foo (); (void) exit (0);],
+ uucp_cv_c_void=yes, uucp_cv_c_void=no)])
+ AC_MSG_RESULT($uucp_cv_c_void)
+ if test $uucp_cv_c_void = yes; then
+@@ -318,7 +318,7 @@ dnl On some systems, memset, memcmp, and memcpy must be called with
+ dnl the right number of arguments.
+ AC_MSG_CHECKING(for memset)
+ AC_CACHE_VAL(ac_cv_func_memset,
+-[AC_TRY_LINK([], [ char *i; int j, k; memset(i, j, k); ],
++[AC_TRY_LINK([#include <string.h>], [ char *i; int j, k; memset(i, j, k); ],
+ ac_cv_func_memset=yes, ac_cv_func_memset=no)])
+ AC_MSG_RESULT($ac_cv_func_memset)
+ if test $ac_cv_func_memset = yes; then
+@@ -327,7 +327,7 @@ fi
+ dnl
+ AC_MSG_CHECKING(for memcmp)
+ AC_CACHE_VAL(ac_cv_func_memcmp,
+-[AC_TRY_LINK([], [ char *i, *j; int k; memcmp(i, j, k); ],
++[AC_TRY_LINK([#include <string.h>], [ char *i, *j; int k; memcmp(i, j, k); ],
+ ac_cv_func_memcmp=yes, ac_cv_func_memcmp=no)])
+ AC_MSG_RESULT($ac_cv_func_memcmp)
+ if test $ac_cv_func_memcmp = yes; then
+@@ -336,7 +336,7 @@ fi
+ dnl
+ AC_MSG_CHECKING(for memcpy)
+ AC_CACHE_VAL(ac_cv_func_memcpy,
+-[AC_TRY_LINK([], [ char *i, *j; int k; memcpy(i, j, k); ],
++[AC_TRY_LINK([#include <string.h>], [ char *i, *j; int k; memcpy(i, j, k); ],
+ ac_cv_func_memcpy=yes, ac_cv_func_memcpy=no)])
+ AC_MSG_RESULT($ac_cv_func_memcpy)
+ if test $ac_cv_func_memcpy = yes; then
+@@ -373,7 +373,7 @@ AC_CACHE_VAL(uucp_cv_sys_ftime_ok,
+ [AC_TRY_RUN([
+ #include <sys/types.h>
+ #include <sys/timeb.h>
+-main ()
++int main ()
+ {
+ struct timeb s, slast;
+ int c = 0;
+@@ -383,13 +383,13 @@ main ()
+ ftime (&s);
+ if (s.time < slast.time
+ || (s.time == slast.time && s.millitm < slast.millitm))
+- exit (1);
++ return 1;
+ if (s.time != slast.time)
+ ++c;
+ slast.time = s.time;
+ slast.millitm = s.millitm;
+ }
+- exit (0);
++ return 0;
+ }
+ ],
+ uucp_cv_sys_ftime_ok=yes,
diff --git a/source/n/uucp/uucp.SlackBuild b/source/n/uucp/uucp.SlackBuild
index f27d57555..1cd43740d 100755
--- a/source/n/uucp/uucp.SlackBuild
+++ b/source/n/uucp/uucp.SlackBuild
@@ -54,6 +54,9 @@ else
SLKCFLAGS="-O2"
fi
+# GCC 14 "fix":
+SLKCFLAGS="$SLKCFLAGS -Wno-error=implicit-int -Wno-error=incompatible-pointer-types"
+
TMP=${TMP:-/tmp}
PKG=$TMP/package-uucp
@@ -68,6 +71,9 @@ cd $TMP
rm -rf uucp-$VERSION
tar xvf $CWD/uucp-$VERSION.tar.gz || exit 1
cd uucp-$VERSION || exit 1
+
+cat $CWD/uucp-configure-c99.patch | patch -p1 --verbose || exit 1
+
zcat $CWD/policy.h.diff.gz | patch -p1 --verbose || exit 1
CFLAGS="$SLKCFLAGS" \
./configure \
diff --git a/source/n/wpa_supplicant/wpa_supplicant.SlackBuild b/source/n/wpa_supplicant/wpa_supplicant.SlackBuild
index f99324697..6e8071a17 100755
--- a/source/n/wpa_supplicant/wpa_supplicant.SlackBuild
+++ b/source/n/wpa_supplicant/wpa_supplicant.SlackBuild
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=wpa_supplicant
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
SRCVERSION=$(printf $VERSION | tr _ -)
diff --git a/source/n/ytalk/ytalk.SlackBuild b/source/n/ytalk/ytalk.SlackBuild
index f7382565f..f6a2a453e 100755
--- a/source/n/ytalk/ytalk.SlackBuild
+++ b/source/n/ytalk/ytalk.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=ytalk
VERSION=${VERSION:-3.3.0}
-BUILD=${BUILD:-6}
+BUILD=${BUILD:-7}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then