Upgraded base/curl to 7.88.1

Upgraded base/exiv2 to 0.27.5
Upgraded base/gdbm to 1.23
Upgraded base/gettext to 0.21.1
Upgraded base/git to 2.30.8
Upgraded base/glib to 2.70.3
Fixed build option in base/gnutls
Upgraded base/htop to 3.2.2
Upgraded base/icu to 72.1
Upgraded base/iptables to 1.8.9, discarded old patches
Upgraded base/libarchive to 3.6.2
Upgraded base/logrotate to 3.21.0
Upgraded base/make to 4.4
Discarded obsolete build options and fixed configure.local of base/mandoc
Upgraded base/mozilla-nss to 3.87 and nspr which is part of it to 4.35
Upgraded base/openssl to 1.1.1t
Added sha512 checksum for tar lzip file inside base/tar
This commit is contained in:
PktSurf 2023-03-09 22:06:21 +05:30
parent 1b3d2f029c
commit 6035441c5b
21 changed files with 112 additions and 192 deletions

View file

@ -1,8 +1,8 @@
app=curl
version=7.86.0
version=7.88.1
build=1sml
homepage="https://curl.se/"
download="https://curl.se/download/curl-$version.tar.xz"
download="https://github.com/curl/curl/releases/download/curl-7_88_1/curl-$version.tar.xz"
desc="Command line URL data transfer tool"
requires="zlib openssl brotli libssh2 libidn2 nghttp2 libunistring libpsl"
preservestaticlibs=1
@ -43,5 +43,5 @@ build() {
}
sha512sums="
e62e8235d660c90c181f5ce49869f306b14d5c9d08a3cf541a021eb29937dba6b76597f822da6564c4514a58ae827e9f83094fd6327b3e3a8f3231ff93c3395f curl-7.86.0.tar.lz
f6cc99dd66d34392e149f99e97c4dfbcbd699e5bb104fa57d7c8be36547bd8c2ff0d64f76c806d1532632352a3251046a8fbbbdf91b5e1398061d38ffa7e0cda curl-7.88.1.tar.lz
"

View file

@ -1,8 +1,8 @@
app=exiv2
version=0.25
version=0.27.5
build=1sml
homepage="https://exiv2.org/"
download="https://exiv2.org/releases/exiv2-$version.tar.gz"
download="https://github.com/Exiv2/exiv2/releases/download/v$version/exiv2-$version-Source.tar.gz"
desc="C++ library and a utility to read and write Exif, IPTC and XMP image metadata"
requires="gcc-libs expat zlib curl"
@ -14,24 +14,19 @@ build() {
cd $app-$version
fixbuilddirpermissions
./configure \
--prefix="" \
--enable-shared=yes \
--enable-static=no \
--without-ssh \
--enable-xmp \
--enable-video \
--enable-webready \
$builddist
mkdir smbuild && cd smbuild
cmake .. \
-DCMAKE_INSTALL_PREFIX="" \
-DCMAKE_INSTALL_LIBDIR=lib
make
make install DESTDIR=$pkg
cp COPYING* doc/COPYING-XMPSDK $pkgdocs/
cp ../COPYING* ../doc/COPYING-XMPSDK $pkgdocs/
mkfinalpkg
}
sha512sums="
eed430e3eb8faed9a2545ef77a45cc6de172697b1aff7b243f84b10066279a873418d66e7a821f758b42962f055670eec72d272aac388f512b61aefb77bf02c4 exiv2-0.25.tar.lz
b7f882a3f6a77f9c54fe7298f8d73dc9147c8ba03bb8a68e5bb7e73920ca8596983e50168c5b1891a3f71654999cb091c6727cbcdd171a1ba7e1aea682adc65e exiv2-0.27.5.tar.lz
"

View file

@ -1,5 +1,5 @@
app=gdbm
version=1.18
version=1.23
build=1sml
homepage="https://www.gnu.org.ua/software/gdbm/"
download="https://ftp.gnu.org/gnu/gdbm/gdbm-$version.tar.gz"

View file

@ -1,5 +1,5 @@
app=gettext
version=0.20.2
version=0.21.1
build=1sml
homepage="https://www.gnu.org/software/gettext/"
download="https://ftp.gnu.org/pub/gnu/gettext/gettext-$version.tar.xz"
@ -13,10 +13,11 @@ build() {
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
./configure \
--prefix="" \
--disable-static
--disable-static \
--disable-java
make
make install DESTDIR=$pkg
@ -27,5 +28,5 @@ build() {
}
sha512sums="
d6841381c3f3c7569a9c74bb91bd19d88838878e1b9aea5093034e501c05e992cdc7a2373d3f8d012b753916984182e5c09b247e81b41ea4ae602e41604a7454 gettext-0.20.2.tar.lz
5e8521cea715bafafea9c9080a042ccf8b8c65b7618602b15328e74079c2a962188bb1b05e612f8689ce6a7528f85e0e25ef43e590ff032a15b94c39c72f643e gettext-0.21.1.tar.lz
"

View file

@ -1,5 +1,5 @@
app=git
version=2.30.6
version=2.30.8
build=1sml
homepage="https://git-scm.com/"
download="https://mirrors.edge.kernel.org/pub/software/scm/git/git-$version.tar.xz"
@ -30,5 +30,5 @@ build() {
}
sha512sums="
c6f964688c39c4534d4e564c685fda93ddd586282d5de2adee345c83dd192d708ee18b827fbbc3d00ffb2e6faf4e31792df0d2d0cfafeae4dc29cc44fcbcbc5c git-2.30.6.tar.lz
a01b3c2a2aab6ad3e7604d3c15de3969249dae114dd5cc0505a534b1142b4342fc8160449d41dd6561b8fd4441a3b1de516d6b6d0cbf07fe0fd97dfcab8de2f9 git-2.30.8.tar.lz
"

View file

@ -1,5 +1,5 @@
app=glib
version=2.66.4
version=2.70.3
build=1sml
homepage="https://gitlab.gnome.org/GNOME/glib"
download="https://download.gnome.org/sources/glib/2.66/glib-$version.tar.xz"
@ -32,5 +32,5 @@ build() {
}
sha512sums="
40447b57dec2990e9cb8a5c273c81c4848bad036ab9bf6d7da2c9755782290acef5b085296cb98866832c8076a670ab970d113317da769f6d0da8cd0fe249118 glib-2.66.4.tar.lz
"
993853772132feb0844e868408fa0ee803d4dad5e0827ed6410105b8746c05440313a9514d3b8d87385fe5133aacc2ff1e3e6418c0ce69c8f69f2977733f623c glib-2.70.3.tar.lz
"

View file

@ -15,7 +15,7 @@ build() {
fixbuilddirpermissions
./configure \
--prefix="" \
--prefix="/" \
--disable-openssl-compatibility \
--disable-static \
--without-p11-kit
@ -30,4 +30,4 @@ build() {
sha512sums="
191b95e0b7921a145fd70dc640d678d6de066a64da134e651fa7ac5369faf9e4b36617c7fd57ae98face76317b9c98c19e5a83f31bccd1676c464fb6735e95c2 gnutls-3.6.16.tar.lz
"
"

View file

@ -1,5 +1,5 @@
app=htop
version=2.2.0
version=3.2.2
build=1sml
homepage="https://htop.dev/"
download="https://github.com/$app-dev/$app/archive/refs/tags/$version.tar.gz"
@ -17,9 +17,7 @@ build() {
./configure \
--prefix="" \
--bindir=/bin \
--disable-unicode \
--enable-cgroup \
--enable-taskstats
--disable-unicode
make
make install DESTDIR=$pkg
@ -30,5 +28,5 @@ build() {
}
sha512sums="
a2f9745572bc424ff6e5290285adaf6f76f635b140f310a727b8ec551e93369a780025d336594853a1769bbc00c299d3772ca3bea5e3f74a47144be5658a41a7 htop-2.2.0.tar.lz
"
59f3f06677076262e25a478552e4438ce37028e2f064d3fb78653d3213b48ae4d78c7e0d62ee785a4ed3c6c99b7faafd9afab94c4350a4e5c5843cef81aaf489 htop-3.2.2.tar.xz
"

View file

@ -1,8 +1,8 @@
app=icu
version=69.1
version=72.1
build=1sml
homepage="http://www.icu-project.org/"
download="https://github.com/unicode-org/icu/releases/download/release-69-1/icu4c-69_1-src.tgz"
download="https://github.com/unicode-org/icu/releases/download/release-72-1/icu4c-72_1-src.tgz"
desc="International Components for Unicode"
requires="gcc-libs python3"
@ -33,5 +33,5 @@ build() {
}
sha512sums="
45767114fb41ae55589da151970f22769065cfe57ca723d95349293cb1705cb09c041f09fbb4c4aec0ced562467e5b7f6a058e18230c2aa6f15dd6f491140a6e icu4c-69_1-src.tar.lz
"
2d4b77236520b97135d540da6a672795d45f3bf2b0b5cc924d178491761e1f16de6fa8ab5ab9726d2f81ba214c670f2ca2d2c44b59eccda6e9500f97b2b48b30 icu4c-72_1-src.tar.lz
"

View file

@ -1,127 +0,0 @@
--- iptables-1.4.12.1.o/extensions/libip6t_ipv6header.c
+++ iptables-1.4.12.1/extensions/libip6t_ipv6header.c
@@ -10,6 +10,9 @@
#include <netdb.h>
#include <xtables.h>
#include <linux/netfilter_ipv6/ip6t_ipv6header.h>
+#ifndef IPPROTO_HOPOPTS
+# define IPPROTO_HOPOPTS 0
+#endif
enum {
O_HEADER = 0,
--- iptables-1.4.12.1.o/extensions/libxt_TCPOPTSTRIP.c
+++ iptables-1.4.12.1/extensions/libxt_TCPOPTSTRIP.c
@@ -12,6 +12,21 @@
#ifndef TCPOPT_MD5SIG
# define TCPOPT_MD5SIG 19
#endif
+#ifndef TCPOPT_MAXSEG
+# define TCPOPT_MAXSEG 2
+#endif
+#ifndef TCPOPT_WINDOW
+# define TCPOPT_WINDOW 3
+#endif
+#ifndef TCPOPT_SACK_PERMITTED
+# define TCPOPT_SACK_PERMITTED 4
+#endif
+#ifndef TCPOPT_SACK
+# define TCPOPT_SACK 5
+#endif
+#ifndef TCPOPT_TIMESTAMP
+# define TCPOPT_TIMESTAMP 8
+#endif
enum {
O_STRIP_OPTION = 0,
--- iptables-1.4.12.1.o/include/libiptc/ipt_kernel_headers.h
+++ iptables-1.4.12.1/include/libiptc/ipt_kernel_headers.h
@@ -5,7 +5,6 @@
#include <limits.h>
-#if defined(__GLIBC__) && __GLIBC__ == 2
#include <netinet/ip.h>
#include <netinet/in.h>
#include <netinet/ip_icmp.h>
@@ -13,15 +12,4 @@
#include <netinet/udp.h>
#include <net/if.h>
#include <sys/types.h>
-#else /* libc5 */
-#include <sys/socket.h>
-#include <linux/ip.h>
-#include <linux/in.h>
-#include <linux/if.h>
-#include <linux/icmp.h>
-#include <linux/tcp.h>
-#include <linux/udp.h>
-#include <linux/types.h>
-#include <linux/in6.h>
-#endif
#endif
--- iptables-1.4.12.1.o/include/linux/netfilter_ipv4/ip_tables.h
+++ iptables-1.4.12.1/include/linux/netfilter_ipv4/ip_tables.h
@@ -16,6 +16,7 @@
#define _IPTABLES_H
#include <linux/types.h>
+#include <sys/types.h>
#include <linux/netfilter_ipv4.h>
--- iptables-1.4.12.1.o/iptables/ip6tables-restore.c
+++ iptables-1.4.12.1/iptables/ip6tables-restore.c
@@ -9,7 +9,7 @@
*/
#include <getopt.h>
-#include <sys/errno.h>
+#include <errno.h>
#include <stdbool.h>
#include <string.h>
#include <stdio.h>
--- iptables-1.4.12.1.o/iptables/ip6tables-save.c
+++ iptables-1.4.12.1/iptables/ip6tables-save.c
@@ -6,7 +6,7 @@
* This code is distributed under the terms of GNU GPL v2
*/
#include <getopt.h>
-#include <sys/errno.h>
+#include <errno.h>
#include <stdio.h>
#include <fcntl.h>
#include <stdlib.h>
--- iptables-1.4.12.1.o/iptables/iptables-restore.c
+++ iptables-1.4.12.1/iptables/iptables-restore.c
@@ -6,7 +6,7 @@
*/
#include <getopt.h>
-#include <sys/errno.h>
+#include <errno.h>
#include <stdbool.h>
#include <string.h>
#include <stdio.h>
--- iptables-1.4.12.1.o/iptables/iptables-save.c
+++ iptables-1.4.12.1/iptables/iptables-save.c
@@ -6,7 +6,7 @@
*
*/
#include <getopt.h>
-#include <sys/errno.h>
+#include <errno.h>
#include <stdio.h>
#include <fcntl.h>
#include <stdlib.h>
--- iptables-1.4.12.1.o/iptables/iptables-xml.c
+++ iptables-1.4.12.1/iptables/iptables-xml.c
@@ -7,7 +7,7 @@
*/
#include <getopt.h>
-#include <sys/errno.h>
+#include <errno.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>

View file

@ -1,5 +1,5 @@
app=iptables
version=1.4.20
version=1.8.9
build=1sml
homepage="https://www.netfilter.org/projects/iptables/index.html"
download="https://www.netfilter.org/projects/iptables/files/iptables-$version.tar.bz2"
@ -14,21 +14,26 @@ build() {
cd $app-$version
fixbuilddirpermissions
applypatch $srcdir/iptables-1.4.14-musl-fixes.patch
./configure \
--prefix="" \
--sbindir=/bin
--sbindir=/bin \
--disable-nftables
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
# Fix awkward symlinking
(
cd $pkg/bin
rm iptables-xml
ln -sf xtables-legacy-multi iptables-xml
)
mkfinalpkg
}
sha512sums="
3f0b13052486f3b43a53989559417938a77ee4039c3ef606b286cba4708e118c9e4ebbd5e6304878e7d7ebb7adca8b660d6e40d2772567f1c78d19af459db270 iptables-1.4.20.tar.lz
bc1cb36957d5afb80b770fe15f951de3074e2b1b28015372fb6f121fd551dd0e86c76c1819022dc468d11750b3969db40ef2dc9651c654c9f99212c0f2746985 iptables-1.4.14-musl-fixes.patch
b821e22f08aa398cbb98fe2fe99baa8cefa16f49d9834b43cad28f1884b576f3bd10628eb05b319fe5139e0c500fac4c7f7fd45ebccbdce83c1d28305fc4d607 iptables-1.8.9.tar.lz
"

View file

@ -1,5 +1,5 @@
app=libarchive
version=3.4.2
version=3.6.2
build=1sml
homepage="http://libarchive.org"
download="https://www.libarchive.org/downloads/libarchive-$version.tar.gz"
@ -32,5 +32,5 @@ build() {
}
sha512sums="
16a01dfac7f40ba47ad54a3c32b864d528be89fc34040f859ac4fe77a5050ace81e0795edeadd82ed2956abd4c9c8d3ede71ecfff19e69f6254fc48fb96b8cfb libarchive-3.4.2.tar.lz
"
59071e5d6e9a2cf661899d0610c4359c91590a313b46e16e7885e8d888b6b6ee3a3f6dc8ef431c02d6cc2615705479ecd2ae394da934f376d034a6e2def83849 libarchive-3.6.2.tar.lz
"

View file

@ -1,5 +1,5 @@
app=logrotate
version=3.8.9
version=3.21.0
mversion="$(echo $version | sed 's@.@-@')"
build=1sml
homepage="https://github.com/logrotate/logrotate"
@ -15,6 +15,12 @@ build() {
cd $app-$version
fixbuilddirpermissions
./autogen.sh
./configure \
--prefix="" \
--with-acl
make clean
make
@ -31,5 +37,5 @@ build() {
}
sha512sums="
1bda961042f02a84b38fcd3aef4928daf04cc4cff15b649d0335a15f79e64d18d62fd5f8bb0186830008b9515904c6999b50d22a3646cc85ea45aa0cd4632f5e logrotate-3.8.9.tar.lz
"
91467fd4e48849b48ff9760ad0e4df9290c3dc56e733e8020fb58ec299a53cd0153b1fdfa0ae174beb9ea61a21c808b9edec9ea1d69b62a9e9efa9bce35c7673 logrotate-3.21.0.tar.gz
"

View file

@ -0,0 +1,37 @@
From 92ab2e642d2c04b3dcb5a736ae6193680bfd5f74 Mon Sep 17 00:00:00 2001
From: Paul Smith <psmith@gnu.org>
Date: Sun, 6 Nov 2022 15:22:02 -0500
Subject: [PATCH] * src/main.c (main): [SV 63307] Handle SIGPIPE as a fatal
signal
Always ignoring SIGPIPE is visible to child processes.
---
src/main.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/src/main.c b/src/main.c
index eec93656..f2caf7a8 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1182,11 +1182,6 @@ main (int argc, char **argv, char **envp)
/* Useful for attaching debuggers, etc. */
SPIN ("main-entry");
- /* Don't die if our stdout sends us SIGPIPE. */
-#ifdef SIGPIPE
- bsd_signal (SIGPIPE, SIG_IGN);
-#endif
-
#ifdef HAVE_ATEXIT
if (ANY_SET (check_io_state (), IO_STDOUT_OK))
atexit (close_stdout);
@@ -1264,6 +1259,9 @@ main (int argc, char **argv, char **envp)
#endif
#ifdef SIGQUIT
FATAL_SIG (SIGQUIT);
+#endif
+#ifdef SIGPIPE
+ FATAL_SIG (SIGPIPE);
#endif
FATAL_SIG (SIGINT);
FATAL_SIG (SIGTERM);

View file

@ -1,10 +1,11 @@
app=make
version=3.82
version=4.4
build=1sml
homepage="https://www.gnu.org/software/make/"
download="https://ftp.gnu.org/gnu/make/make-$version.tar.bz2"
download="https://ftp.gnu.org/gnu/make/make-$version.tar.gz"
desc="GNU make utility to maintain groups of programs"
requires="musl"
noautoconfsite=1
build() {
mkandenterbuilddir
@ -14,9 +15,12 @@ build() {
cd $app-$version
fixbuilddirpermissions
applypatch $srcdir/0001-src-main.c-main-SV-63307-Handle-SIGPIPE-as-a-fatal-s.patch
./configure \
--prefix="" \
$builddist
--disable-nls \
--without-guile
make
make install DESTDIR=$pkg
@ -27,5 +31,6 @@ build() {
}
sha512sums="
2894d997533a64d709958cae74f133a114e0db6e86dd1dc0d48e32b41f12edb66319a205c7ac536041006453fc0b168d247d329f057826a0d484275c3e949dbb make-3.82.tar.lz
4be73f494295dcfa10034531b0d920cfdb5438bc20625f863f5c878549c140e1e67195162580c53060c3c11c67a2c739c09051f02cdd283e5aa9ebcd68975a1f make-4.4.tar.gz
b5777e14e06d78bad4d6cb2729be3735af35db51fd97428f3950f64343d07b5a543444e672c7c8cce7458af836b947cc1d689c634b8939d1468ed61cf56e1e1f 0001-src-main.c-main-SV-63307-Handle-SIGPIPE-as-a-fatal-s.patch
"

View file

@ -6,4 +6,4 @@ MANPATH_BASE="${PREFIX}/share"
UTF8_LOCALE=en_US.UTF-8
OSNAME="SMLinux"
INSTALL_PROGRAM="install -m 0755"
CC=gcc
CC="gcc"

View file

@ -23,7 +23,6 @@ build() {
cp $srcdir/configure.local configure.local
./configure
#make CFLAGS="-static"
make
make DESTDIR=$pkg PREFIX="" LIBDIR=/lib base-install lib-install
@ -47,4 +46,4 @@ cba0c95ebb290cdc33767f8ffe338171c8494924a8bd919ca5626cc0bddbcece5bddf0399136652f
ced05e8b57fb9705c6d8d8570cd6b06ad187511a4c243ac2dbc34064aa164ca49e0c877160134161dcb98ebd5e61a5c23d5741f03ef95903ff56193dd07f36a1 outdated-warn-disable.patch
b1bd2c197584948cc8bab2310e759b8942b9f9479254ffb5a8223cfa6ba03c9e1a4d402c5440b8d9f962be9a020287d3dd8556592c17f2b46f15f405d9d373cb shared-libmandoc.patch
0979e8ee20d6163669f7ab3ace1f959ba9d831c208785c3522261c72ddc2f60ce8420ed36ea963c46a72b9ffdbcb9199da436b13e14c0ca4d938351d170adfa7 simplify-compat.patch
"
"

View file

@ -1,6 +1,6 @@
app=mozilla-nss
version=3.73.1
nsprversion=4.32
version=3.87
nsprversion=4.35
build=1sml
homepage="https://mozilla.org"
desc="set of cryptographic libraries from Mozilla for use in security-focused applications"
@ -105,6 +105,6 @@ EOT
}
sha512sums="
f9d9f04f2ae95d569d100561db57b00c2ecc305ddff89698cb6c82352e5a279354546d4df12598bdac1b619bedfdb3b491120a364b959a591a2fbd3f7e40a705 nspr-4.32.tar.lz
3987f82d8d75eb18721ba94cd86261fbf3f61d2d21687fc975d9753b5b722e597ce6f7a5aabd34128b087ddee6aa3691a647f916c2227fd3d783683f4971a814 nss-3.73.1.tar.lz
3f7b322e1b67cc94b2c807b38eb2ce46a0e1a61db755b553a5ba88965226e5db4c79fde5a4396d2740a9e58f1199c40e33cccae42d99b750629a54e190d67e45 nspr-4.35.tar.lz
820b7a4f1853698a8df1bb78a60f956fa5d698cced74527abd7fb1c9b57352f03191668c08403b2cde4597aa20b07277cd63ebf9125d652109f61954520bbdf0 nss-3.87.tar.lz
"

View file

@ -1,5 +1,5 @@
app=openssl
version=1.1.1q
version=1.1.1t
build=1sml
homepage="https://www.openssl.org/"
download="https://www.openssl.org/source/openssl-$version.tar.gz"
@ -34,5 +34,5 @@ build() {
}
sha512sums="
ee8bb2a3ba3e5e45c3c3b18f1a222e87e79de2aa97ce0f064cd8a602bae3d9b45bddacef1da7850553f606987593681be5cb62d29db460c1242e83615261a53b openssl-1.1.1q.tar.lz
f89af9fa565f77bc1d94b76e87b9ffa0d7e54f6f2c10363b428215ba0365b927ff2a6cd4dab39858b233c7dff02091b6b3643d23f4443299f72facab48d0ec2e openssl-1.1.1t.tar.lz
"

View file

@ -13,7 +13,7 @@ build() {
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
mkdir -p smbuild && cd smbuild
cmake .. \
-DCMAKE_INSTALL_PREFIX="" \

View file

@ -33,5 +33,6 @@ build() {
}
sha512sums="
ea24e691caa5d6064d6be657f11f41ca607257b5eaa8b15225b6cbd3cb681881b0311082ad4d069277d04822ff03acc759f7c15b7f4689ef3ba6de5b8eaa2b23 tar-1.34.tar.lz
90b764cd2128d6c316a0cd9e24ae734ee94b1e2794e6cf724e60592d23ca6dac2d9a44552054610747cadd733263ee56971062f4201227bfda93966f287984bd tar.nolonezero.diff
"
"