diff options
Diffstat (limited to 'source/n')
78 files changed, 811 insertions, 191 deletions
diff --git a/source/n/FTBFSlog b/source/n/FTBFSlog index bea9fa2dc..2ec852076 100644 --- a/source/n/FTBFSlog +++ b/source/n/FTBFSlog @@ -1,3 +1,6 @@ +Mon May 20 18:05:03 UTC 2024 + nmap: Fix build without network access. Thanks to lucabon. ++--------------------------+ Thu Dec 21 19:06:04 UTC 2023 bind: fix build without krb5. Thanks to teoberi and Windu. +--------------------------+ diff --git a/source/n/NetworkManager/NetworkManager.SlackBuild b/source/n/NetworkManager/NetworkManager.SlackBuild index 7fa8d4a56..eea327693 100755 --- a/source/n/NetworkManager/NetworkManager.SlackBuild +++ b/source/n/NetworkManager/NetworkManager.SlackBuild @@ -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:-2} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: MARCH=$( uname -m ) 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/b94f1be656f34ea1363f5566ef63b847234c6dea.patch b/source/n/bluez/b94f1be656f34ea1363f5566ef63b847234c6dea.patch deleted file mode 100644 index 129c7b045..000000000 --- a/source/n/bluez/b94f1be656f34ea1363f5566ef63b847234c6dea.patch +++ /dev/null @@ -1,45 +0,0 @@ -From b94f1be656f34ea1363f5566ef63b847234c6dea Mon Sep 17 00:00:00 2001 -From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> -Date: Mon, 15 Apr 2024 10:48:58 -0400 -Subject: [PATCH] shared/uhid: Fix crash if bt_uhid_destroy free replay - structure - -Id replay structured has been allocated it shall be set back to NULL -after calling uhid_replay_free otherwise it may cause the following -crash: - -Invalid read of size 1 - at 0x1D8FC4: bt_uhid_record (uhid.c:116) - by 0x1D912C: uhid_read_handler (uhid.c:158) - by 0x201A64: watch_callback (io-glib.c:157) - by 0x48D4198: g_main_dispatch.lto_priv.0 (gmain.c:3344) - by 0x49333BE: UnknownInlinedFun (gmain.c:4152) - by 0x49333BE: g_main_context_iterate_unlocked.isra.0 (gmain.c:4217) - by 0x48D4DC6: g_main_loop_run (gmain.c:4419) - by 0x2020F4: mainloop_run (mainloop-glib.c:66) - by 0x20254B: mainloop_run_with_signal (mainloop-notify.c:188) - by 0x12D6D4: main (main.c:1456) - Address 0x53ae9c0 is 0 bytes inside a block of size 40 free'd - at 0x48468CF: free (vg_replace_malloc.c:985) - by 0x1D8E19: uhid_replay_free (uhid.c:68) - by 0x1D8E19: uhid_replay_free (uhid.c:59) - by 0x1D8E19: bt_uhid_destroy (uhid.c:509) - by 0x1591F5: uhid_disconnect (device.c:183) - -Fixes: https://github.com/bluez/bluez/issues/815 ---- - src/shared/uhid.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/shared/uhid.c b/src/shared/uhid.c -index c1092b707..1f071b958 100644 ---- a/src/shared/uhid.c -+++ b/src/shared/uhid.c -@@ -507,6 +507,7 @@ int bt_uhid_destroy(struct bt_uhid *uhid) - - uhid->created = false; - uhid_replay_free(uhid->replay); -+ uhid->replay = NULL; - - return err; - } diff --git a/source/n/bluez/bluez.SlackBuild b/source/n/bluez/bluez.SlackBuild index 3597c4fd4..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:-3} +BUILD=${BUILD:-1} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} @@ -78,8 +78,6 @@ find . \ sed -i -e 's|-lreadline|\0 -lncursesw|g' Makefile.{in,tools} -cat $CWD/b94f1be656f34ea1363f5566ef63b847234c6dea.patch | patch -p1 --verbose || exit 1 - autoreconf -vif # We're adding --enable-deprecated due to this commit: diff --git a/source/n/ca-certificates/certdata-20240216.txt b/source/n/ca-certificates/certdata-20240604.txt index ed5e6cb17..9902a0169 100644 --- a/source/n/ca-certificates/certdata-20240216.txt +++ b/source/n/ca-certificates/certdata-20240604.txt @@ -25359,3 +25359,126 @@ CKA_TRUST_SERVER_AUTH CK_TRUST CKT_NSS_TRUSTED_DELEGATOR CKA_TRUST_EMAIL_PROTECTION CK_TRUST CKT_NSS_MUST_VERIFY_TRUST CKA_TRUST_CODE_SIGNING CK_TRUST CKT_NSS_MUST_VERIFY_TRUST CKA_TRUST_STEP_UP_APPROVED CK_BBOOL CK_FALSE + +# +# Certificate "FIRMAPROFESIONAL CA ROOT-A WEB" +# +# Issuer: CN=FIRMAPROFESIONAL CA ROOT-A WEB,OID.2.5.4.97=VATES-A62634068,O=Firmaprofesional SA,C=ES +# Serial Number:31:97:21:ed:af:89:42:7f:35:41:87:a1:67:56:4c:6d +# Subject: CN=FIRMAPROFESIONAL CA ROOT-A WEB,OID.2.5.4.97=VATES-A62634068,O=Firmaprofesional SA,C=ES +# Not Valid Before: Wed Apr 06 09:01:36 2022 +# Not Valid After : Sun Mar 31 09:01:36 2047 +# Fingerprint (SHA-256): BE:F2:56:DA:F2:6E:9C:69:BD:EC:16:02:35:97:98:F3:CA:F7:18:21:A0:3E:01:82:57:C5:3C:65:61:7F:3D:4A +# Fingerprint (SHA1): A8:31:11:74:A6:14:15:0D:CA:77:DD:0E:E4:0C:5D:58:FC:A0:72:A5 +CKA_CLASS CK_OBJECT_CLASS CKO_CERTIFICATE +CKA_TOKEN CK_BBOOL CK_TRUE +CKA_PRIVATE CK_BBOOL CK_FALSE +CKA_MODIFIABLE CK_BBOOL CK_FALSE +CKA_LABEL UTF8 "FIRMAPROFESIONAL CA ROOT-A WEB" +CKA_CERTIFICATE_TYPE CK_CERTIFICATE_TYPE CKC_X_509 +CKA_SUBJECT MULTILINE_OCTAL +\060\156\061\013\060\011\006\003\125\004\006\023\002\105\123\061 +\034\060\032\006\003\125\004\012\014\023\106\151\162\155\141\160 +\162\157\146\145\163\151\157\156\141\154\040\123\101\061\030\060 +\026\006\003\125\004\141\014\017\126\101\124\105\123\055\101\066 +\062\066\063\064\060\066\070\061\047\060\045\006\003\125\004\003 +\014\036\106\111\122\115\101\120\122\117\106\105\123\111\117\116 +\101\114\040\103\101\040\122\117\117\124\055\101\040\127\105\102 +END +CKA_ID UTF8 "0" +CKA_ISSUER MULTILINE_OCTAL +\060\156\061\013\060\011\006\003\125\004\006\023\002\105\123\061 +\034\060\032\006\003\125\004\012\014\023\106\151\162\155\141\160 +\162\157\146\145\163\151\157\156\141\154\040\123\101\061\030\060 +\026\006\003\125\004\141\014\017\126\101\124\105\123\055\101\066 +\062\066\063\064\060\066\070\061\047\060\045\006\003\125\004\003 +\014\036\106\111\122\115\101\120\122\117\106\105\123\111\117\116 +\101\114\040\103\101\040\122\117\117\124\055\101\040\127\105\102 +END +CKA_SERIAL_NUMBER MULTILINE_OCTAL +\002\020\061\227\041\355\257\211\102\177\065\101\207\241\147\126 +\114\155 +END +CKA_VALUE MULTILINE_OCTAL +\060\202\002\172\060\202\002\000\240\003\002\001\002\002\020\061 +\227\041\355\257\211\102\177\065\101\207\241\147\126\114\155\060 +\012\006\010\052\206\110\316\075\004\003\003\060\156\061\013\060 +\011\006\003\125\004\006\023\002\105\123\061\034\060\032\006\003 +\125\004\012\014\023\106\151\162\155\141\160\162\157\146\145\163 +\151\157\156\141\154\040\123\101\061\030\060\026\006\003\125\004 +\141\014\017\126\101\124\105\123\055\101\066\062\066\063\064\060 +\066\070\061\047\060\045\006\003\125\004\003\014\036\106\111\122 +\115\101\120\122\117\106\105\123\111\117\116\101\114\040\103\101 +\040\122\117\117\124\055\101\040\127\105\102\060\036\027\015\062 +\062\060\064\060\066\060\071\060\061\063\066\132\027\015\064\067 +\060\063\063\061\060\071\060\061\063\066\132\060\156\061\013\060 +\011\006\003\125\004\006\023\002\105\123\061\034\060\032\006\003 +\125\004\012\014\023\106\151\162\155\141\160\162\157\146\145\163 +\151\157\156\141\154\040\123\101\061\030\060\026\006\003\125\004 +\141\014\017\126\101\124\105\123\055\101\066\062\066\063\064\060 +\066\070\061\047\060\045\006\003\125\004\003\014\036\106\111\122 +\115\101\120\122\117\106\105\123\111\117\116\101\114\040\103\101 +\040\122\117\117\124\055\101\040\127\105\102\060\166\060\020\006 +\007\052\206\110\316\075\002\001\006\005\053\201\004\000\042\003 +\142\000\004\107\123\352\054\021\244\167\307\052\352\363\326\137 +\173\323\004\221\134\372\210\306\042\271\203\020\142\167\204\063 +\055\351\003\210\324\340\063\367\355\167\054\112\140\352\344\157 +\255\155\264\370\114\212\244\344\037\312\352\117\070\112\056\202 +\163\053\307\146\233\012\214\100\234\174\212\366\362\071\140\262 +\336\313\354\270\344\157\352\233\135\267\123\220\030\062\125\305 +\040\267\224\243\143\060\141\060\017\006\003\125\035\023\001\001 +\377\004\005\060\003\001\001\377\060\037\006\003\125\035\043\004 +\030\060\026\200\024\223\341\103\143\134\074\235\326\047\363\122 +\354\027\262\251\257\054\367\166\370\060\035\006\003\125\035\016 +\004\026\004\024\223\341\103\143\134\074\235\326\047\363\122\354 +\027\262\251\257\054\367\166\370\060\016\006\003\125\035\017\001 +\001\377\004\004\003\002\001\006\060\012\006\010\052\206\110\316 +\075\004\003\003\003\150\000\060\145\002\060\035\174\244\173\303 +\211\165\063\341\073\251\105\277\106\351\351\241\335\311\042\026 +\267\107\021\013\330\232\272\361\310\013\160\120\123\002\221\160 +\205\131\251\036\244\346\352\043\061\240\000\002\061\000\375\342 +\370\263\257\026\271\036\163\304\226\343\301\060\031\330\176\346 +\303\227\336\034\117\270\211\057\063\353\110\017\031\367\207\106 +\135\046\220\245\205\305\271\172\224\076\207\250\275\000 +END +CKA_NSS_MOZILLA_CA_POLICY CK_BBOOL CK_TRUE +CKA_NSS_SERVER_DISTRUST_AFTER CK_BBOOL CK_FALSE +CKA_NSS_EMAIL_DISTRUST_AFTER CK_BBOOL CK_FALSE + +# Trust for "FIRMAPROFESIONAL CA ROOT-A WEB" +# Issuer: CN=FIRMAPROFESIONAL CA ROOT-A WEB,OID.2.5.4.97=VATES-A62634068,O=Firmaprofesional SA,C=ES +# Serial Number:31:97:21:ed:af:89:42:7f:35:41:87:a1:67:56:4c:6d +# Subject: CN=FIRMAPROFESIONAL CA ROOT-A WEB,OID.2.5.4.97=VATES-A62634068,O=Firmaprofesional SA,C=ES +# Not Valid Before: Wed Apr 06 09:01:36 2022 +# Not Valid After : Sun Mar 31 09:01:36 2047 +# Fingerprint (SHA-256): BE:F2:56:DA:F2:6E:9C:69:BD:EC:16:02:35:97:98:F3:CA:F7:18:21:A0:3E:01:82:57:C5:3C:65:61:7F:3D:4A +# Fingerprint (SHA1): A8:31:11:74:A6:14:15:0D:CA:77:DD:0E:E4:0C:5D:58:FC:A0:72:A5 +CKA_CLASS CK_OBJECT_CLASS CKO_NSS_TRUST +CKA_TOKEN CK_BBOOL CK_TRUE +CKA_PRIVATE CK_BBOOL CK_FALSE +CKA_MODIFIABLE CK_BBOOL CK_FALSE +CKA_LABEL UTF8 "FIRMAPROFESIONAL CA ROOT-A WEB" +CKA_CERT_SHA1_HASH MULTILINE_OCTAL +\250\061\021\164\246\024\025\015\312\167\335\016\344\014\135\130 +\374\240\162\245 +END +CKA_CERT_MD5_HASH MULTILINE_OCTAL +\202\262\255\105\000\202\260\146\143\370\137\303\147\116\316\243 +END +CKA_ISSUER MULTILINE_OCTAL +\060\156\061\013\060\011\006\003\125\004\006\023\002\105\123\061 +\034\060\032\006\003\125\004\012\014\023\106\151\162\155\141\160 +\162\157\146\145\163\151\157\156\141\154\040\123\101\061\030\060 +\026\006\003\125\004\141\014\017\126\101\124\105\123\055\101\066 +\062\066\063\064\060\066\070\061\047\060\045\006\003\125\004\003 +\014\036\106\111\122\115\101\120\122\117\106\105\123\111\117\116 +\101\114\040\103\101\040\122\117\117\124\055\101\040\127\105\102 +END +CKA_SERIAL_NUMBER MULTILINE_OCTAL +\002\020\061\227\041\355\257\211\102\177\065\101\207\241\147\126 +\114\155 +END +CKA_TRUST_SERVER_AUTH CK_TRUST CKT_NSS_TRUSTED_DELEGATOR +CKA_TRUST_EMAIL_PROTECTION CK_TRUST CKT_NSS_MUST_VERIFY_TRUST +CKA_TRUST_CODE_SIGNING CK_TRUST CKT_NSS_MUST_VERIFY_TRUST +CKA_TRUST_STEP_UP_APPROVED CK_BBOOL CK_FALSE
\ No newline at end of file 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/getmail/getmail.SlackBuild b/source/n/getmail/getmail.SlackBuild index 47daff253..1830c241d 100755 --- a/source/n/getmail/getmail.SlackBuild +++ b/source/n/getmail/getmail.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=getmail VERSION=${VERSION:-$(echo getmail6-*.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/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/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/mosh/mosh.SlackBuild b/source/n/mosh/mosh.SlackBuild index b23ba800a..60a2571b8 100755 --- a/source/n/mosh/mosh.SlackBuild +++ b/source/n/mosh/mosh.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=mosh 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/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..c9b6c6d93 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.1/nghttp2-1.62.1.tar.xz diff --git a/source/n/nmap/nmap.SlackBuild b/source/n/nmap/nmap.SlackBuild index b35e41337..d5171ad3a 100755 --- a/source/n/nmap/nmap.SlackBuild +++ b/source/n/nmap/nmap.SlackBuild @@ -82,6 +82,9 @@ find . \ sed -i "s,share/man/man1,man/man1,g" ndiff/setup.py +# Don't require a network connection to build zenmap: +cat $CWD/nmap.no.internet.requirement.for.build.diff | patch -p1 --verbose || exit 1 + # --without-nmap-update is needed below to avoid depending on apr and subversion libraries. # It's not worth the feature IMHO. LIBS="-lnl" \ diff --git a/source/n/nmap/nmap.no.internet.requirement.for.build.diff b/source/n/nmap/nmap.no.internet.requirement.for.build.diff new file mode 100644 index 000000000..5e80c9a13 --- /dev/null +++ b/source/n/nmap/nmap.no.internet.requirement.for.build.diff @@ -0,0 +1,16 @@ +--- ./Makefile.in.orig 2024-04-18 11:19:35.000000000 -0500 ++++ ./Makefile.in 2024-05-20 13:00:18.665855374 -0500 +@@ -361,11 +361,11 @@ + DEFAULT_PYTHON_PATH = /usr/bin/env python3 + + build-zenmap: $(ZENMAPDIR)/pyproject.toml $(ZENMAPDIR)/zenmapCore/Version.py +- $(PYTHON) -m build $(ZENMAPDIR)/ ++ $(PYTHON) -m build --wheel --no-isolation $(ZENMAPDIR)/ + + install-zenmap: $(ZENMAPDIR)/pyproject.toml + $(INSTALL) -d $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(deskdir) +- $(PYTHON) -m pip install $(ZENMAPDIR)/ $(if $(DESTDIR),--root "$(DESTDIR)") ++ $(PYTHON) -m pip install --no-build-isolation $(ZENMAPDIR)/ $(if $(DESTDIR),--root "$(DESTDIR)") + $(INSTALL) -c -m 644 docs/zenmap.1 $(DESTDIR)$(mandir)/man1/ + $(INSTALL) -c -m 644 $(ZENMAPDIR)/install_scripts/unix/*.desktop $(DESTDIR)$(deskdir) + # Create a symlink from nmapfe to zenmap if nmapfe doesn't exist or is 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/doinst.sh b/source/n/ntp/doinst.sh index 3f1589bda..58b72de05 100644 --- a/source/n/ntp/doinst.sh +++ b/source/n/ntp/doinst.sh @@ -20,6 +20,7 @@ preserve_perms() { config ${NEW} } +config etc/default/ntp.new config etc/logrotate.d/ntp.new config etc/ntp.conf.new config etc/ntp.keys.new diff --git a/source/n/ntp/ntp b/source/n/ntp/ntp new file mode 100644 index 000000000..26d9c37af --- /dev/null +++ b/source/n/ntp/ntp @@ -0,0 +1,12 @@ +# Default options for the ntpd daemon: +# +# -g: allow initial time correction to be Big (once only) +# -p /run/ntpd.pid: write ntpd PID to this location +# -u ntp:ntp: run ntpd as user ntp, group ntp +# +# Depending on your network, you might want to add -4 (ipv4 only) +# or -6 (ipv6 only). +# +# For other available options, see "man ntpd". + +NTPD_OPTS="-g -p /run/ntpd.pid -u ntp:ntp" diff --git a/source/n/ntp/ntp.SlackBuild b/source/n/ntp/ntp.SlackBuild index 1155df285..10408ee42 100755 --- a/source/n/ntp/ntp.SlackBuild +++ b/source/n/ntp/ntp.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=ntp VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-3} +BUILD=${BUILD:-2} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -56,6 +56,9 @@ else SLKCFLAGS="-O2" fi +# GCC 14 "fix": +SLKCFLAGS="$SLKCFLAGS -Wno-error=int-conversion" + TMP=${TMP:-/tmp} PKG=$TMP/package-ntp @@ -105,9 +108,14 @@ mkdir -p $PKG/usr/bin rmdir $PKG/usr/libexec || exit 1 # Install default conf and keys files: -mkdir -p $PKG/etc -cat $CWD/ntp.conf > $PKG/etc/ntp.conf.new -cat $CWD/ntp.keys > $PKG/etc/ntp.keys.new +mkdir -p $PKG/etc/default +cp -a $CWD/ntp $PKG/etc/default/ntp.new +chown root:root $PKG/etc/default/ntp.new +chmod 644 $PKG/etc/default/ntp.new +cp -a $CWD/ntp.conf $PKG/etc/ntp.conf.new +chown root:root $PKG/etc/ntp.conf.new +chmod 644 $PKG/etc/ntp.conf.new +cp -a $CWD/ntp.keys $PKG/etc/ntp.keys.new chown root:ntp $PKG/etc/ntp.keys.new chmod 640 $PKG/etc/ntp.keys.new diff --git a/source/n/ntp/rc.ntpd b/source/n/ntp/rc.ntpd index 9d1e3e88f..4f598f71e 100644 --- a/source/n/ntp/rc.ntpd +++ b/source/n/ntp/rc.ntpd @@ -1,21 +1,25 @@ #!/bin/sh # Start/stop/restart ntpd. +# Load options from /etc/default/ntp: +. /etc/default/ntp + # Start ntpd: ntpd_start() { - echo -n "Starting NTP daemon: /usr/sbin/ntpd -g -u ntp:ntp" - /usr/sbin/ntpd -g -u ntp:ntp + echo -n "Starting NTP daemon: /usr/sbin/ntpd $NTPD_OPTS" + /usr/sbin/ntpd $NTPD_OPTS echo } # Stop ntpd: ntpd_stop() { - echo -n "Stopping NTP daemon..." + echo -n "Stopping NTP daemon... " if [ -r /run/ntpd.pid ]; then + echo -n "(PID $(cat /run/ntpd.pid))" kill -HUP $(cat /run/ntpd.pid) rm -f /run/ntpd.pid else - killall -HUP -q ntpd + killall --ns $$ -HUP -q ntpd fi echo } @@ -30,7 +34,7 @@ ntpd_restart() { # Check if ntpd is running ntpd_status() { if [ -e /run/ntpd.pid ]; then - echo "ntpd is running as pid $(cat /run/ntpd.pid)." + echo "ntpd is running as PID $(cat /run/ntpd.pid)." else echo "ntpd is stopped." exit 1 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/openssh/openssh.SlackBuild b/source/n/openssh/openssh.SlackBuild index 642194ff7..161ee7bf0 100755 --- a/source/n/openssh/openssh.SlackBuild +++ b/source/n/openssh/openssh.SlackBuild @@ -107,7 +107,6 @@ CFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc/ssh \ $PAM_OPTIONS \ $SHADOW_OPTIONS \ - --with-md5-passwords \ --with-libedit \ --with-tcp-wrappers \ --with-default-path=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin \ diff --git a/source/n/php/fetch-php.sh b/source/n/php/fetch-php.sh index aec301cb7..c2c9d3c7b 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.8.tar.xz.asc +lftpget http://us.php.net/distributions/php-8.3.8.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/proftpd/proftpd.SlackBuild b/source/n/proftpd/proftpd.SlackBuild index 902c1de66..b918d1a57 100755 --- a/source/n/proftpd/proftpd.SlackBuild +++ b/source/n/proftpd/proftpd.SlackBuild @@ -25,11 +25,11 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=proftpd VERSION=1.3.8b DIRVER=1.3.8b -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} -PROFTPD_MODS="mod_radius:mod_ban:mod_readme:mod_ratio:mod_tls:mod_wrap:mod_ctrls_admin:mod_quotatab:mod_quotatab_file:mod_sftp:mod_facl:mod_ldap" +PROFTPD_MODS="mod_radius:mod_ban:mod_readme:mod_ratio:mod_tls:mod_wrap2:mod_wrap2_file:mod_ctrls_admin:mod_quotatab:mod_quotatab_file:mod_sftp:mod_facl:mod_ldap" # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then 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/wsdd2/doinst.sh b/source/n/wsdd2/doinst.sh new file mode 100644 index 000000000..194630ea2 --- /dev/null +++ b/source/n/wsdd2/doinst.sh @@ -0,0 +1,26 @@ +config() { + NEW="$1" + OLD="$(dirname $NEW)/$(basename $NEW .new)" + # If there's no config file by that name, mv it over: + if [ ! -r $OLD ]; then + mv $NEW $OLD + chmod +x $OLD + elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then + # toss the redundant copy + rm $NEW + fi + # Otherwise, we leave the .new copy for the admin to consider... +} + +preserve_perms() { + NEW="$1" + OLD="$(dirname $NEW)/$(basename $NEW .new)" + if [ -e $OLD ]; then + cp -a $OLD ${NEW}.incoming + cat $NEW > ${NEW}.incoming + mv ${NEW}.incoming $NEW + fi + config $NEW +} + +preserve_perms etc/rc.d/rc.wsdd2.new diff --git a/source/n/wsdd2/rc.wsdd2 b/source/n/wsdd2/rc.wsdd2 new file mode 100644 index 000000000..6e2a6b838 --- /dev/null +++ b/source/n/wsdd2/rc.wsdd2 @@ -0,0 +1,40 @@ +#!/bin/sh +# +# /etc/rc.d/rc.wsdd2 +# +# start/stop/restart the wsdd2 daemon. +# +# This init script ships as executable, and will start automatically if Samba +# is configured to start. + +wsdd2_start() { + if [ -r /etc/samba/smb.conf -a -x /etc/rc.d/rc.samba -a -x /usr/sbin/wsdd2 ]; then + echo "Starting wsdd2: /usr/bin/wsdd2 -d" + /usr/sbin/wsdd2 -d + fi +} + +wsdd2_stop() { + killall --ns $$ -TERM wsdd2 2> /dev/null +} + +wsdd2_restart() { + wsdd2_stop + sleep 1 + wsdd2_start +} + +case "$1" in +'start') + # We don't want to run this more than once, so just use restart to start it: + wsdd2_restart + ;; +'stop') + wsdd2_stop + ;; +'restart') + wsdd2_restart + ;; +*) + wsdd2_start +esac diff --git a/source/n/wsdd2/slack-desc b/source/n/wsdd2/slack-desc new file mode 100644 index 000000000..fcbdc69a0 --- /dev/null +++ b/source/n/wsdd2/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 ':'. + + |-----handy-ruler------------------------------------------------------| +wsdd2: wsdd2 (Web Services for Devices daemon) +wsdd2: +wsdd2: The primary purpose of this package is to enable WSD on Samba servers +wsdd2: so that network shares hosted on a Linux box can appear in Windows +wsdd2: File Explorer / Network. +wsdd2: Don't forget to allow local ip6 connections in your smb.conf file, +wsdd2: specifically: fc00::/7 fe80::/64 ::1 +wsdd2: Also, in your firewall, make sure ports 3702 and 5355 are open. +wsdd2: +wsdd2: Homepage: https://github.com/Netgear/wsdd2 +wsdd2: diff --git a/source/n/wsdd2/wsdd2.SlackBuild b/source/n/wsdd2/wsdd2.SlackBuild new file mode 100755 index 000000000..a15826132 --- /dev/null +++ b/source/n/wsdd2/wsdd2.SlackBuild @@ -0,0 +1,128 @@ +#!/bin/bash + +# Copyright 2020, 2022 Tim Dickson Scotland +# Copyright 2024 Patrick J. Volkerding, Sebeka, Minnesota, USA +# 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. + +cd $(dirname $0) ; CWD=$(pwd) + +PKGNAM=wsdd2 +VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +BUILD=${BUILD:-1} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$(uname -m)" in + i?86) ARCH=i586 ;; + arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$(uname -m) ;; + esac + export ARCH +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 + +# This doesn't contain enough source files for $NUMJOBS to matter. +#NUMJOBS=${NUMJOBS:-" -j $(expr $(nproc) + 1) "} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "s390" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "armv7hl" ]; then + SLKCFLAGS="-O3 -march=armv7-a -mfpu=vfpv3-d16" + LIBDIRSUFFIX="" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +TMP=${TMP:-/tmp} +PKG=$TMP/package-$PKGNAM + +rm -rf $PKG +mkdir -p $TMP $PKG + +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 \) \ + -exec chmod 755 {} \+ -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \+ + +# Don't warn about missing optional config lines: +cat $CWD/wsdd2.nowarn.optional.smb.conf.options.patch | patch -p1 --verbose || exit 1 + +export CFLAGS="$SLKCFLAGS" +export CXXFLAGS="$SLKCFLAGS" +make || exit 1 +make install debug_W=-1 debug_L=-1 DESTDIR=$PKG MANDIR="/usr/man" INSTALLPREFIX="usr" + +# Add a compatibilty symlink for gvfs: +ln -sf wsdd2 $PKG/usr/sbin/wsdd + +# Install the rc script: +mkdir -p $PKG/etc/rc.d +cp -a $CWD/rc.wsdd2 $PKG/etc/rc.d/rc.wsdd2.new +chown root:root $PKG/etc/rc.d/rc.wsdd2.new +chmod 755 $PKG/etc/rc.d/rc.wsdd2.new + +# Strip binaries: +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + +# Compress manual pages: +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 + +# Add a documentation directory: +mkdir -p $PKG/usr/doc/${PKGNAM}-$VERSION +cp -a \ + LICENSE* README* \ + $PKG/usr/doc/${PKGNAM}-$VERSION + +mkdir -p $PKG/install +cat $CWD/doinst.sh > $PKG/install/doinst.sh +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz diff --git a/source/n/wsdd2/wsdd2.nowarn.optional.smb.conf.options.patch b/source/n/wsdd2/wsdd2.nowarn.optional.smb.conf.options.patch new file mode 100644 index 000000000..3de8e0975 --- /dev/null +++ b/source/n/wsdd2/wsdd2.nowarn.optional.smb.conf.options.patch @@ -0,0 +1,11 @@ +--- ./wsdd2.c.orig 2022-04-25 07:30:50.000000000 -0500 ++++ ./wsdd2.c 2024-05-24 13:51:20.210623306 -0500 +@@ -601,7 +601,7 @@ + + char buf[PAGE_SIZE]; + if (!fgets(buf, sizeof(buf), pp) || !buf[0] || buf[0] == '\n') { +- DEBUG(0, W, "cannot read %s from testparm", name); ++ DEBUG(1, W, "cannot read %s from testparm", name); + result = strdup(_default); + } else { // trim whitespace + char *p; diff --git a/source/n/wsdd2/wsdd2.url b/source/n/wsdd2/wsdd2.url new file mode 100644 index 000000000..37ac6e2af --- /dev/null +++ b/source/n/wsdd2/wsdd2.url @@ -0,0 +1 @@ +https://github.com/Netgear/wsdd2 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 |