aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/abuild/0001-abuild-fix-amove-corner-cases.patch132
-rw-r--r--main/abuild/0001-make-increase-test-timeout.patch25
-rw-r--r--main/abuild/APKBUILD22
-rw-r--r--main/abuild/mr127-doas.patch42
-rw-r--r--main/abuild/mr128-newapkbuild-fetch-rust-deps-in-prepare.patch110
-rw-r--r--main/abuild/mr131-newapkbuild-change-cmake-build-type.patch33
-rw-r--r--main/abuild/mr134-modcacherw.patch23
-rw-r--r--main/abuild/mr60-newapkbuild-use-abuild-meson.patch34
-rw-r--r--main/acf-core/APKBUILD2
-rw-r--r--main/acf-kamailio/APKBUILD1
-rw-r--r--main/acf-mariadb/APKBUILD1
-rw-r--r--main/acf-postgresql/APKBUILD1
-rw-r--r--main/acf-weblog/APKBUILD6
-rw-r--r--main/ack/APKBUILD8
-rw-r--r--main/aconf/APKBUILD2
-rw-r--r--main/acpi/APKBUILD2
-rw-r--r--main/acpica/APKBUILD4
-rw-r--r--main/alpine-base/APKBUILD38
-rw-r--r--main/alpine-baselayout/APKBUILD18
-rw-r--r--main/alpine-baselayout/profile1
-rw-r--r--main/alpine-conf/APKBUILD4
-rw-r--r--main/alpine-ipxe/APKBUILD1
-rw-r--r--main/alpine-make-rootfs/APKBUILD4
-rw-r--r--main/alsa-lib/APKBUILD4
-rw-r--r--main/alsa-ucm-conf/APKBUILD7
-rw-r--r--main/alsa-utils/APKBUILD6
-rw-r--r--main/altermime/APKBUILD2
-rw-r--r--main/amavisd-milter/APKBUILD2
-rw-r--r--main/aom/APKBUILD11
-rw-r--r--main/apache2-mod-wsgi/APKBUILD6
-rw-r--r--main/apcupsd/APKBUILD2
-rw-r--r--main/apk-tools/APKBUILD12
-rw-r--r--main/apk-tools/increase-index-meta-buffer.patch13
-rw-r--r--main/aports-build/APKBUILD8
-rw-r--r--main/aports-build/report-build-errors.lua20
-rw-r--r--main/apparmor/0001-Fix-linking-against-gettext-on-musl-libc.patch40
-rw-r--r--main/apparmor/0006-utils-adjust-rc-functions-for-aa-remove-unknown.patch28
-rw-r--r--main/apparmor/APKBUILD206
-rw-r--r--main/apparmor/apparmor.initd91
-rw-r--r--main/apparmor/fix-dnsmasq-profile.patch12
-rw-r--r--main/argp-standalone/001-throw-in-funcdef.patch79
-rw-r--r--main/argp-standalone/APKBUILD17
-rw-r--r--main/argp-standalone/gnu89-inline.patch7
-rw-r--r--main/arm-trusted-firmware/APKBUILD73
-rw-r--r--main/arm-trusted-firmware/key_t.patch13
-rw-r--r--main/arm-trusted-firmware/rk3399.patch53
-rw-r--r--main/asciidoc/APKBUILD39
-rw-r--r--main/asciidoctor/APKBUILD8
-rw-r--r--main/aspell/APKBUILD2
-rw-r--r--main/asterisk/APKBUILD6
-rw-r--r--main/at-spi2-core/APKBUILD7
-rw-r--r--main/atf/APKBUILD6
-rw-r--r--main/audit/APKBUILD4
-rw-r--r--main/autoconf-archive/APKBUILD4
-rw-r--r--main/autoconf/APKBUILD19
-rw-r--r--main/automake/APKBUILD4
-rw-r--r--main/avahi-ui/APKBUILD10
-rw-r--r--main/avahi-ui/gnome-nettool.pngbin4509 -> 4142 bytes
-rw-r--r--main/awall/APKBUILD6
-rwxr-xr-xmain/awall/setup-firewall4
-rw-r--r--main/awstats/APKBUILD4
-rw-r--r--main/b43-fwcutter/APKBUILD2
-rw-r--r--main/bacula/APKBUILD8
-rw-r--r--main/bash/APKBUILD35
-rw-r--r--main/bash/bashrc5
-rw-r--r--main/batctl/APKBUILD4
-rw-r--r--main/bats/APKBUILD5
-rw-r--r--main/bcache-tools/APKBUILD8
-rw-r--r--main/bctoolbox/APKBUILD20
-rw-r--r--main/bdftopcf/APKBUILD12
-rw-r--r--main/bind/APKBUILD11
-rw-r--r--main/binutils/APKBUILD24
-rw-r--r--main/binutils/CVE-2022-38533.patch22
-rw-r--r--main/binutils/binutils-clang-dwarf-5.patch1226
-rw-r--r--main/binutils/binutils-ppc-fix-machine-options.patch41
-rw-r--r--main/binutils/binutils-ppc64le-assertion.patch32
-rw-r--r--main/binutils/binutils-s390x-1.patch147
-rw-r--r--main/binutils/binutils-s390x-2.patch51
-rw-r--r--main/bluez-firmware/APKBUILD2
-rw-r--r--main/bluez-headers/APKBUILD35
-rw-r--r--main/bluez/004-Move-the-43xx-firmware-into-lib-firmware.patch23
-rw-r--r--main/bluez/APKBUILD37
-rw-r--r--main/bluez/fix-musl.patch12
-rw-r--r--main/bluez/max-input.patch13
-rw-r--r--main/bluez/musl.patch13
-rw-r--r--main/bmd-tools/APKBUILD2
-rw-r--r--main/boost1.79/boost-1.79.0-fix-segfault-in-array-erase.patch50
-rw-r--r--main/boost1.80/0001-revert-cease-dependence-on-range.patch (renamed from main/boost1.79/0001-revert-cease-dependence-on-range.patch)0
-rw-r--r--main/boost1.80/APKBUILD (renamed from main/boost1.79/APKBUILD)25
-rw-r--r--main/boost1.80/aligned-alloc.patch28
-rw-r--r--main/boost1.80/boost-1.57.0-python-abi_letters.patch (renamed from main/boost1.79/boost-1.57.0-python-abi_letters.patch)0
-rw-r--r--main/boost1.80/boost-1.57.0-python-libpython_dep.patch (renamed from main/boost1.79/boost-1.57.0-python-libpython_dep.patch)0
-rw-r--r--main/boost1.80/boost-1.80-boost-unordered.patch175
-rw-r--r--main/boost1.80/boost-1.80-filesystem-fix-weakly-canonical-long-paths.patch171
-rw-r--r--main/boost1.80/boost-1.80-filesystem-win-fix-dir-it-net-share.patch31
-rw-r--r--main/boost1.80/boost-python-311.patch36
-rw-r--r--main/botan/APKBUILD4
-rw-r--r--main/bridge-utils/APKBUILD2
-rw-r--r--main/brotli/APKBUILD46
-rw-r--r--main/btrfs-progs/APKBUILD30
-rw-r--r--main/bubblewrap/APKBUILD4
-rw-r--r--main/busybox-initscripts/APKBUILD62
-rw-r--r--main/busybox-initscripts/busybox-initscripts.post-install49
l---------main/busybox-initscripts/busybox-initscripts.post-upgrade1
-rw-r--r--main/busybox/0001-sed-check-errors-writing-file-with-sed-i.patch66
-rw-r--r--main/busybox/0018-ash-fix-ifs-cleanup-on-error-paths.patch91
-rw-r--r--main/busybox/APKBUILD104
-rw-r--r--main/busybox/acpid.initd (renamed from main/busybox-initscripts/acpid.initd)0
-rw-r--r--main/busybox/busyboxconfig2
-rw-r--r--main/busybox/busyboxconfig-extras2
-rw-r--r--main/busybox/crond.confd (renamed from main/busybox-initscripts/crond.confd)0
-rw-r--r--main/busybox/crond.initd (renamed from main/busybox-initscripts/crond.initd)0
-rw-r--r--main/busybox/default.script2
-rw-r--r--main/busybox/dnsd.initd (renamed from main/busybox-initscripts/dnsd.initd)0
-rw-r--r--main/busybox/httpd.initd (renamed from main/busybox-initscripts/httpd.initd)0
-rw-r--r--main/busybox/inetd.initd (renamed from main/busybox-initscripts/inetd.initd)0
-rw-r--r--main/busybox/klogd.confd (renamed from main/busybox-initscripts/klogd.confd)0
-rw-r--r--main/busybox/klogd.initd (renamed from main/busybox-initscripts/klogd.initd)0
-rw-r--r--main/busybox/loadkmap.confd (renamed from main/busybox-initscripts/loadkmap.confd)0
-rw-r--r--main/busybox/loadkmap.initd (renamed from main/busybox-initscripts/loadkmap.initd)0
-rw-r--r--main/busybox/mdev.initd (renamed from main/busybox-initscripts/mdev.initd)33
-rw-r--r--main/busybox/ntpd.confd (renamed from main/busybox-initscripts/ntpd.confd)0
-rw-r--r--main/busybox/ntpd.initd (renamed from main/busybox-initscripts/ntpd.initd)0
-rw-r--r--main/busybox/rdate.confd (renamed from main/busybox-initscripts/rdate.confd)0
-rw-r--r--main/busybox/rdate.initd (renamed from main/busybox-initscripts/rdate.initd)0
-rw-r--r--main/busybox/syslog.confd (renamed from main/busybox-initscripts/syslog.confd)0
-rw-r--r--main/busybox/syslog.initd (renamed from main/busybox-initscripts/syslog.initd)0
-rw-r--r--main/busybox/udhcpd.initd (renamed from main/busybox-initscripts/udhcpd.initd)0
-rw-r--r--main/busybox/watchdog.confd (renamed from main/busybox-initscripts/watchdog.confd)0
-rw-r--r--main/busybox/watchdog.initd (renamed from main/busybox-initscripts/watchdog.initd)0
-rw-r--r--main/bwm-ng/APKBUILD2
-rw-r--r--main/byacc/APKBUILD4
-rw-r--r--main/byobu/APKBUILD2
-rw-r--r--main/bzip2/APKBUILD18
-rw-r--r--main/bzip2/bzip2-1.0.4-makefile-CFLAGS.patch4
-rw-r--r--main/bzip2/bzip2.pc.in11
-rw-r--r--main/c-ares/APKBUILD39
-rw-r--r--main/cairo/APKBUILD14
-rw-r--r--main/ccache/APKBUILD14
-rw-r--r--main/ccache/gcc12.patch12
-rw-r--r--main/cciss_vol_status/APKBUILD4
-rw-r--r--main/cdparanoia/APKBUILD6
-rw-r--r--main/check/APKBUILD2
-rw-r--r--main/chrony/APKBUILD6
-rw-r--r--main/chrony/fix-tests.patch12
-rw-r--r--main/cifs-utils/APKBUILD4
-rw-r--r--main/ciwiki/APKBUILD12
-rw-r--r--main/ciwiki/gcc-10.patch7
-rw-r--r--main/ckbcomp/APKBUILD4
-rw-r--r--main/cksfv/APKBUILD2
-rw-r--r--main/clang/APKBUILD171
-rw-r--r--main/clang/llvm-hello.patch63
-rw-r--r--main/clang14/10-add-musl-triples.patch (renamed from main/clang/10-add-musl-triples.patch)0
-rw-r--r--main/clang14/30-Enable-stack-protector-by-default-for-Alpine-Linux.patch (renamed from main/clang/30-Enable-stack-protector-by-default-for-Alpine-Linux.patch)0
-rw-r--r--main/clang14/APKBUILD235
-rw-r--r--main/clang15/10-add-musl-triples.patch39
-rw-r--r--main/clang15/30-Enable-stack-protector-by-default-for-Alpine-Linux.patch82
-rw-r--r--main/clang15/APKBUILD244
-rw-r--r--main/cloog/APKBUILD38
-rw-r--r--main/clucene/APKBUILD4
-rw-r--r--main/clucene/clucene-pthread.patch12
-rw-r--r--main/cmake/APKBUILD50
-rw-r--r--main/cmocka/APKBUILD23
-rw-r--r--main/cmph/APKBUILD4
-rw-r--r--main/compiler-rt/APKBUILD88
-rw-r--r--main/compiler-rt/xray-ppc64-musl.patch63
-rw-r--r--main/conky/APKBUILD39
-rw-r--r--main/conntrack-tools/APKBUILD6
-rw-r--r--main/cracklib/APKBUILD12
-rw-r--r--main/cracklib/fix-trigger-warning.patch39
-rw-r--r--main/cramfs/APKBUILD8
-rw-r--r--main/crconf/APKBUILD2
-rw-r--r--main/cryptsetup/APKBUILD4
-rw-r--r--main/cryptsetup/dmcrypt.initd4
-rw-r--r--main/ctags/APKBUILD56
-rw-r--r--main/ctags/disable-check-genfile.patch19
-rw-r--r--main/cunit/APKBUILD4
-rw-r--r--main/cups/APKBUILD2
-rw-r--r--main/curl/APKBUILD22
-rw-r--r--main/curl/easy_lock.patch53
-rw-r--r--main/cutter/APKBUILD10
-rw-r--r--main/cutter/musl-fix.patch36
-rw-r--r--main/cvechecker/APKBUILD2
-rw-r--r--main/cvs/APKBUILD2
-rw-r--r--main/cyrus-sasl/APKBUILD3
-rw-r--r--main/cython/APKBUILD17
-rw-r--r--main/cython/cython-test-fix.patch23
-rw-r--r--main/d-feet/APKBUILD4
-rw-r--r--main/dahdi-linux-lts/APKBUILD28
-rw-r--r--main/dahdi-linux-lts/kernel-5.6.patch499
-rw-r--r--main/dahdi-linux-lts/kernel-5.9.patch249
-rw-r--r--main/dahdi-linux-lts/kernel-compat-5.4.patch11
-rw-r--r--main/dahdi-linux/APKBUILD6
-rw-r--r--main/dahdi-tools/APKBUILD12
-rw-r--r--main/daq/APKBUILD2
-rw-r--r--main/darkhttpd/APKBUILD12
-rw-r--r--main/dash/APKBUILD45
-rw-r--r--main/dash/dash.post-install3
l---------main/dash/dash.post-upgrade1
-rw-r--r--main/dash/dash.pre-deinstall3
-rw-r--r--main/datefudge/APKBUILD2
-rw-r--r--main/dav1d/APKBUILD8
-rw-r--r--main/dbus-glib/APKBUILD6
-rw-r--r--main/dbus/0001-build-Treat-with-x-yes-the-same-as-with-x-auto.patch27
-rw-r--r--main/dbus/0002-Move-DBUS_X_-definitions-into-PKG_CHECK_MODULES-bloc.patch37
-rw-r--r--main/dbus/0003-Emit-an-error-when-with-x-was-given-but-no-X11-libs-.patch37
-rw-r--r--main/dbus/0004-Add-have_x11-no-if-without-x-was-given-to-make-later.patch25
-rw-r--r--main/dbus/0005-Convert-if-calls-to-AS_IF-macro-for-the-block-that-h.patch52
-rw-r--r--main/dbus/APKBUILD56
-rw-r--r--main/dconf/APKBUILD22
-rw-r--r--main/debootstrap/APKBUILD4
-rw-r--r--main/dev86/APKBUILD2
-rw-r--r--main/devicemaster-linux/APKBUILD2
-rw-r--r--main/dhcp/01-dhclient-script-fix-bare-ip.patch13
-rw-r--r--main/dhcp/02-dhclient-script-remove-bashisms.patch28
-rw-r--r--main/dhcp/APKBUILD141
-rw-r--r--main/dhcp/dhcp.pre-install2
-rw-r--r--main/dhcp/dhcrelay.pre-install2
-rw-r--r--main/dhcp/fix-unwind-import.patch (renamed from main/dhcp/03-fix-unwind-import.patch)0
-rw-r--r--main/diffutils/APKBUILD9
-rw-r--r--main/distcc/APKBUILD2
-rw-r--r--main/djbdns/APKBUILD8
-rwxr-xr-xmain/djbdns/dnscache.monthly2
-rw-r--r--main/dkimproxy/APKBUILD4
-rw-r--r--main/dmvpn/APKBUILD2
-rw-r--r--main/dnsmasq/0000-underflow.patch31
-rw-r--r--main/dnsmasq/0001-Retry-on-interrupted-error-in-tftp.patch27
-rw-r--r--main/dnsmasq/0002-Add-safety-checks-to-places-pointed-by-Coverity.patch45
-rw-r--r--main/dnsmasq/0003-Small-safeguard-to-unexpected-data.patch30
-rw-r--r--main/dnsmasq/0004-Fix-bunch-of-warnings-in-auth.c.patch80
-rw-r--r--main/dnsmasq/0005-Fix-few-coverity-warnings-in-lease-tools.patch92
-rw-r--r--main/dnsmasq/0006-Fix-coverity-formats-issues-in-blockdata.patch23
-rw-r--r--main/dnsmasq/0007-Retry-dhcp6-ping-on-interrupts.patch23
-rw-r--r--main/dnsmasq/0008-Fix-coverity-warnings-on-dbus.patch84
-rw-r--r--main/dnsmasq/0009-Address-coverity-issues-detected-in-util.c.patch58
-rw-r--r--main/dnsmasq/0010-Fix-coverity-detected-issues-in-option.c.patch135
-rw-r--r--main/dnsmasq/0011-Fix-coverity-detected-issue-in-radv.c.patch23
-rw-r--r--main/dnsmasq/0012-Fix-coverity-detected-issues-in-cache.c.patch23
-rw-r--r--main/dnsmasq/0013-Fix-coverity-issues-detected-in-domain-match.c.patch61
-rw-r--r--main/dnsmasq/0014-Fix-coverity-detected-issues-in-dnsmasq.c.patch69
-rw-r--r--main/dnsmasq/0015-Fix-coverity-issues-in-dnssec.c.patch35
-rw-r--r--main/dnsmasq/0020-fix-domain-match-local.patch276
-rw-r--r--main/dnsmasq/0021-build_server_array.patch70
-rw-r--r--main/dnsmasq/0022-Fix-problems-with-upper-case-in-domain-match.patch84
-rw-r--r--main/dnsmasq/0023-Optimize-inserting-records-into-server-list.patch69
-rw-r--r--main/dnsmasq/0024-Fix-massive-confusion-on-server-reload.patch238
-rw-r--r--main/dnsmasq/0025-reuse-server.patch87
-rw-r--r--main/dnsmasq/APKBUILD52
-rw-r--r--main/dnsmasq/CVE-2022-0934.patch189
-rw-r--r--main/dnstop/APKBUILD2
-rw-r--r--main/doas-sudo-shim/APKBUILD2
-rw-r--r--main/docbook-xml/APKBUILD4
-rw-r--r--main/docbook-xsl/APKBUILD3
l---------[-rw-r--r--]main/docbook-xsl/docbook-xsl.post-install30
-rw-r--r--main/docbook-xsl/docbook-xsl.post-upgrade50
-rw-r--r--main/docbook2x/APKBUILD4
-rw-r--r--main/dovecot/APKBUILD8
-rw-r--r--main/dovecot/CVE-2022-30550.patch155
-rw-r--r--main/doxygen/APKBUILD9
-rw-r--r--main/drbd-utils/APKBUILD10
-rw-r--r--main/drbd-utils/drop_use_of_GLOB_MAGCHAR.patch88
-rw-r--r--main/drbd-utils/fix-drbdsetup_events2.c.patch16
-rw-r--r--main/dropbear/APKBUILD8
-rw-r--r--main/dropbear/dropbear.initd4
-rw-r--r--main/dtach/APKBUILD4
-rw-r--r--main/dtc/APKBUILD2
-rw-r--r--main/e2fsprogs/APKBUILD31
-rw-r--r--main/eggdrop/APKBUILD10
-rw-r--r--main/elfutils/APKBUILD16
-rw-r--r--main/ell/APKBUILD4
-rw-r--r--main/encfs/APKBUILD32
-rw-r--r--main/espeak/APKBUILD4
-rw-r--r--main/etckeeper/APKBUILD4
-rw-r--r--main/ethtool/APKBUILD15
-rw-r--r--main/eudev/99-plugdev.rules1
-rw-r--r--main/eudev/APKBUILD33
-rw-r--r--main/eudev/add-hyperv-ptp-rule.patch18
-rw-r--r--main/eudev/eudev-hwids.trigger5
-rw-r--r--main/eudev/eudev.pre-install5
-rw-r--r--main/expat/APKBUILD10
-rw-r--r--main/expect/APKBUILD4
-rw-r--r--main/fail2ban/APKBUILD25
-rw-r--r--main/fail2ban/CVE-2021-32749.patch155
-rw-r--r--main/fail2ban/alpine-sshd.filterd1
-rwxr-xr-xmain/fail2ban/fail2ban.initd60
-rw-r--r--main/fail2ban/python-3.10.patch77
-rw-r--r--main/fail2ban/setuptools59.patch10
-rw-r--r--main/fcgi/APKBUILD2
-rw-r--r--main/fcgiwrap/APKBUILD2
-rw-r--r--main/ferm/APKBUILD2
-rw-r--r--main/fftw/APKBUILD29
-rw-r--r--main/file/APKBUILD9
-rw-r--r--main/file/fix-dsf-format.patch77
-rw-r--r--main/findutils/APKBUILD13
-rw-r--r--main/flac/APKBUILD45
-rw-r--r--main/flashrom/APKBUILD10
-rw-r--r--main/font-adobe-100dpi/APKBUILD4
-rw-r--r--main/font-adobe-75dpi/APKBUILD4
-rw-r--r--main/font-adobe-utopia-100dpi/APKBUILD4
-rw-r--r--main/font-adobe-utopia-75dpi/APKBUILD4
-rw-r--r--main/font-adobe-utopia-type1/APKBUILD4
-rw-r--r--main/font-arabic-misc/APKBUILD4
-rw-r--r--main/font-bh-100dpi/APKBUILD4
-rw-r--r--main/font-bh-75dpi/APKBUILD4
-rw-r--r--main/font-bh-lucidatypewriter-100dpi/APKBUILD4
-rw-r--r--main/font-bh-lucidatypewriter-75dpi/APKBUILD4
-rw-r--r--main/font-bh-ttf/APKBUILD10
-rw-r--r--main/font-bh-type1/APKBUILD4
-rw-r--r--main/font-bitstream-100dpi/APKBUILD4
-rw-r--r--main/font-bitstream-75dpi/APKBUILD4
-rw-r--r--main/font-bitstream-speedo/APKBUILD4
-rw-r--r--main/font-bitstream-type1/APKBUILD4
-rw-r--r--main/font-cantarell/APKBUILD (renamed from main/ttf-cantarell/APKBUILD)8
-rw-r--r--main/font-cronyx-cyrillic/APKBUILD4
-rw-r--r--main/font-cursor-misc/APKBUILD4
-rw-r--r--main/font-daewoo-misc/APKBUILD4
-rw-r--r--main/font-dec-misc/APKBUILD4
-rw-r--r--main/font-dejavu/45-dejavu.conf (renamed from main/ttf-dejavu/45-dejavu.conf)0
-rw-r--r--main/font-dejavu/90-tt-dejavu.conf (renamed from main/ttf-dejavu/90-tt-dejavu.conf)0
-rw-r--r--main/font-dejavu/APKBUILD (renamed from main/ttf-dejavu/APKBUILD)36
-rw-r--r--main/font-droid/45-droid.conf (renamed from main/ttf-droid/45-droid.conf)0
-rw-r--r--main/font-droid/65-ttf-droid-sans.conf (renamed from main/ttf-droid/65-ttf-droid-sans.conf)0
-rw-r--r--main/font-droid/65-ttf-droid-serif.conf (renamed from main/ttf-droid/65-ttf-droid-serif.conf)0
-rw-r--r--main/font-droid/90-tt-droid.conf (renamed from main/ttf-droid/90-tt-droid.conf)0
-rw-r--r--main/font-droid/APKBUILD (renamed from main/ttf-droid/APKBUILD)25
-rw-r--r--main/font-freefont/APKBUILD28
-rw-r--r--main/font-ibm-type1/APKBUILD4
-rw-r--r--main/font-isas-misc/APKBUILD4
-rw-r--r--main/font-jis-misc/APKBUILD4
-rw-r--r--main/font-linux-libertine/APKBUILD8
-rw-r--r--main/font-micro-misc/APKBUILD4
-rw-r--r--main/font-misc-cyrillic/APKBUILD4
-rw-r--r--main/font-misc-ethiopic/APKBUILD23
-rw-r--r--main/font-misc-meltho/APKBUILD4
-rw-r--r--main/font-misc-misc/APKBUILD4
-rw-r--r--main/font-schumacher-misc/APKBUILD4
-rw-r--r--main/font-screen-cyrillic/APKBUILD4
-rw-r--r--main/font-sony-misc/APKBUILD4
-rw-r--r--main/font-sun-misc/APKBUILD4
-rw-r--r--main/font-tlwg/APKBUILD27
-rw-r--r--main/font-winitzki-cyrillic/APKBUILD4
-rw-r--r--main/font-xfree86-type1/APKBUILD4
-rw-r--r--main/fontconfig/APKBUILD4
-rw-r--r--main/fprobe/APKBUILD24
-rw-r--r--main/freeradius-client/APKBUILD6
-rw-r--r--main/freeradius/APKBUILD8
-rw-r--r--main/freeswitch-sounds-pt-br-karina-8000/APKBUILD2
-rw-r--r--main/freeswitch/APKBUILD34
-rw-r--r--main/freeswitch/explicit-darwin-macro.patch4
-rw-r--r--main/freeswitch/fix-undeclared-function-s390x.patch21
-rw-r--r--main/freeswitch/openssl3.patch25
-rw-r--r--main/freeswitch/python-3.11.patch19
-rw-r--r--main/freetds/APKBUILD6
-rw-r--r--main/fribidi/APKBUILD2
-rw-r--r--main/fsarchiver/APKBUILD2
-rw-r--r--main/fstrm/APKBUILD2
-rw-r--r--main/fuse/APKBUILD2
-rw-r--r--main/fuse3/APKBUILD14
-rw-r--r--main/gawk/APKBUILD4
-rw-r--r--main/gc/APKBUILD10
-rw-r--r--main/gcc/0001-posix_memalign.patch7
-rw-r--r--main/gcc/0002-gcc-poison-system-directories.patch55
-rw-r--r--main/gcc/0003-specs-turn-on-Wl-z-now-by-default.patch21
-rw-r--r--main/gcc/0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch23
-rw-r--r--main/gcc/0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch53
-rw-r--r--main/gcc/0006-Enable-Wformat-and-Wformat-security-by-default.patch11
-rw-r--r--main/gcc/0007-Enable-Wtrampolines-by-default.patch11
-rw-r--r--main/gcc/0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch23
-rw-r--r--main/gcc/0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch11
-rw-r--r--main/gcc/0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch7
-rw-r--r--main/gcc/0011-libiberty-copy-PIC-objects-during-build-process.patch9
-rw-r--r--main/gcc/0012-libitm-disable-FORTIFY.patch7
-rw-r--r--main/gcc/0013-libgcc_s.patch31
-rw-r--r--main/gcc/0014-nopie.patch13
-rw-r--r--main/gcc/0015-dlang-use-libucontext-on-mips64.patch (renamed from main/gcc/0017-dlang-use-libucontext-on-mips64.patch)7
-rw-r--r--main/gcc/0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch25
-rw-r--r--main/gcc/0016-ada-fix-shared-linking.patch (renamed from main/gcc/0019-ada-fix-shared-linking.patch)7
-rw-r--r--main/gcc/0016-dlang-update-zlib-binding.patch425
-rw-r--r--main/gcc/0017-build-fix-CXXFLAGS_FOR_BUILD-passing.patch (renamed from main/gcc/0020-build-fix-CXXFLAGS_FOR_BUILD-passing.patch)9
-rw-r--r--main/gcc/0018-add-fortify-headers-paths.patch (renamed from main/gcc/0021-add-fortify-headers-paths.patch)9
-rw-r--r--main/gcc/0018-dlang-libdruntime-define-fcntl.h-constants-for-mips6.patch38
-rw-r--r--main/gcc/0019-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch (renamed from main/gcc/0022-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch)17
-rw-r--r--main/gcc/0020-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch (renamed from main/gcc/0023-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch)23
-rw-r--r--main/gcc/0021-mips64-disable-multilib-support.patch (renamed from main/gcc/0024-mips64-disable-multilib-support.patch)11
-rw-r--r--main/gcc/0022-aarch64-disable-multilib-support.patch (renamed from main/gcc/0025-aarch64-disable-multilib-support.patch)7
-rw-r--r--main/gcc/0023-s390x-disable-multilib-support.patch (renamed from main/gcc/0026-s390x-disable-multilib-support.patch)5
-rw-r--r--main/gcc/0024-ppc64-le-disable-multilib-support.patch (renamed from main/gcc/0027-ppc64-le-disable-multilib-support.patch)11
-rw-r--r--main/gcc/0025-x86_64-disable-multilib-support.patch (renamed from main/gcc/0028-x86_64-disable-multilib-support.patch)7
-rw-r--r--main/gcc/0026-riscv-disable-multilib-support.patch (renamed from main/gcc/0029-riscv-disable-multilib-support.patch)7
-rw-r--r--main/gcc/0027-always-build-libgcc_eh.a.patch (renamed from main/gcc/0030-always-build-libgcc_eh.a.patch)7
-rw-r--r--main/gcc/0028-ada-libgnarl-compatibility-for-musl.patch (renamed from main/gcc/0031-ada-libgnarl-compatibility-for-musl.patch)13
-rw-r--r--main/gcc/0029-ada-musl-support-fixes.patch (renamed from main/gcc/0032-ada-musl-support-fixes.patch)33
-rw-r--r--main/gcc/0033-gcc-go-Fix-handling-of-signal-34-on-musl.patch43
-rw-r--r--main/gcc/0033-gcc-go-link-to-libucontext.patch42
-rw-r--r--main/gcc/0034-There-are-more-than-one-st_-a-m-c-tim-fields-in-stru.patch27
-rw-r--r--main/gcc/0034-Use-generic-errstr.go-implementation-on-musl.patch (renamed from main/gcc/0038-Use-generic-errstr.go-implementation-on-musl.patch)5
-rw-r--r--main/gcc/0035-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch (renamed from main/gcc/0039-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch)66
-rw-r--r--main/gcc/0035-gcc-go-signal-34-is-special-on-musl-libc.patch29
-rw-r--r--main/gcc/0036-configure-fix-detection-of-atomic-builtins-in-libato.patch (renamed from main/gcc/0040-configure-fix-detection-of-atomic-builtins-in-libato.patch)7
-rw-r--r--main/gcc/0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch27
-rw-r--r--main/gcc/0037-gcc-go-link-to-libucontext.patch25
-rw-r--r--main/gcc/0037-libgo-Recognize-off64_t-and-loff_t-definitions-of-mu.patch199
-rw-r--r--main/gcc/0039-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch39
-rw-r--r--main/gcc/0041-go-gospec-forcibly-disable-fsplit-stack-support.patch (renamed from main/gcc/0050-x86-Fix-fsplit-stack-feature-detection-via-TARGET_CA.patch)34
-rw-r--r--main/gcc/0041-libgo-Recognize-off64_t-and-loff_t-definitions-of-mu.patch84
-rw-r--r--main/gcc/0042-Fix-attempt-to-use-poisoned-calloc-error-in-libgccji.patch80
-rw-r--r--main/gcc/0042-gcc-go-fix-build-error-with-SYS_SECCOMP.patch41
-rw-r--r--main/gcc/0043-libstdc-do-not-throw-exceptions-for-non-C-locales-on.patch24
-rw-r--r--main/gcc/0043-stddef.h-add-support-for-musl-typedef-macro-guards.patch106
-rw-r--r--main/gcc/0044-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch63
-rw-r--r--main/gcc/0044-gdc-unconditionally-link-libgphobos-against-libucont.patch (renamed from main/gcc/0048-gdc-unconditionally-link-libgphobos-against-libucont.patch)9
-rw-r--r--main/gcc/0045-druntime-link-against-libucontext-on-all-platforms.patch51
-rw-r--r--main/gcc/0045-libgo-include-asm-ptrace.h-for-pt_regs-definition-on.patch58
-rw-r--r--main/gcc/0046-Disable-fsplit-stack-support-on-non-glibc-targets.patch115
-rw-r--r--main/gcc/0047-x86-Properly-disable-fsplit-stack-support-on-non-gli.patch94
-rw-r--r--main/gcc/0049-libgo-adjust-name-of-union-in-sigevent-struct.patch108
-rw-r--r--main/gcc/0049-properly-disable-fsplit-stack-on-non-glibc-targets-P.patch298
-rw-r--r--main/gcc/0050-libphobos-don-t-define-__mode_t-twice-on-musl-target.patch75
-rw-r--r--main/gcc/0051-go-gospec-forcibly-disable-fsplit-stack-support.patch33
-rw-r--r--main/gcc/0051-libgo-Explicitly-define-SYS_timer_settime-for-32-bit.patch36
-rw-r--r--main/gcc/0052-libgnat-time_t-is-always-64-bit-on-musl-libc.patch22
-rw-r--r--main/gcc/0053-libgo-make-match.sh-POSIX-shell-compatible.patch50
-rw-r--r--main/gcc/0054-libphobos-fix-undefined-reference-to-__cmsg_nxthdr-w.patch65
-rw-r--r--main/gcc/APKBUILD312
-rw-r--r--main/gcc/gcc-go.post-install8
-rw-r--r--main/gcc/libgo-musl-1.2.3.patch13
-rw-r--r--main/gcr/APKBUILD25
-rw-r--r--main/gcr/dont-run-gpg-tests.patch12
-rw-r--r--main/gcr/fix-build-without-systemd.patch28
-rw-r--r--main/gcr/fix-meson-invalid-kw-argument.patch61
-rw-r--r--main/gd/APKBUILD4
-rw-r--r--main/gdb/APKBUILD18
-rw-r--r--main/gdb/fix-arm-segfault.patch155
-rw-r--r--main/gdb/fix-invalid-implicit-conversion.patch13
-rw-r--r--main/gdk-pixbuf/APKBUILD38
-rw-r--r--main/geoip/APKBUILD2
-rw-r--r--main/gettext-tiny/APKBUILD32
-rw-r--r--main/gettext-tiny/line-length.patch15
-rw-r--r--main/gettext-tiny/respect-cflags.patch11
-rw-r--r--main/gettext-tiny/xgettext-version.patch25
-rw-r--r--main/gettext/APKBUILD18
-rw-r--r--main/ghostscript-fonts/APKBUILD4
-rw-r--r--main/ghostscript/APKBUILD4
-rw-r--r--main/giflib/APKBUILD21
-rw-r--r--main/giflib/CVE-2022-28506.patch15
-rw-r--r--main/git/APKBUILD80
-rw-r--r--main/glib/0001-gslice-remove-slice-allocator.patch1695
-rw-r--r--main/glib/APKBUILD38
-rw-r--r--main/glib/gparamspec.patch33
-rw-r--r--main/glib/musl-libintl.patch22
-rw-r--r--main/glslang/APKBUILD10
-rw-r--r--main/glu/APKBUILD9
-rw-r--r--main/gnokii/APKBUILD2
-rw-r--r--main/gnu-efi/APKBUILD6
-rw-r--r--main/gnupg/APKBUILD4
-rw-r--r--main/gnutls/APKBUILD9
-rw-r--r--main/goaccess/APKBUILD4
-rw-r--r--main/gobject-introspection/APKBUILD15
-rw-r--r--main/gpsd/APKBUILD10
-rw-r--r--main/gpsd/timepps.h12
-rw-r--r--main/graphene/APKBUILD5
-rw-r--r--main/graphite2/APKBUILD33
-rw-r--r--main/graphviz/APKBUILD87
-rw-r--r--main/grep/APKBUILD8
-rw-r--r--main/groff/APKBUILD2
-rw-r--r--main/grub/0013-prevent-vgs-warnings.patch37
-rw-r--r--main/grub/APKBUILD4
-rw-r--r--main/gsm/APKBUILD20
-rw-r--r--main/gsm/gsm-makefile.patch39
-rw-r--r--main/gst-plugins-base/APKBUILD31
-rw-r--r--main/gstreamer/APKBUILD8
-rw-r--r--main/gtk+2.0/APKBUILD112
-rw-r--r--main/gtk+2.0/gtk+2.0.post-deinstall7
-rw-r--r--main/gtk+2.0/gtk+2.0.post-install4
l---------main/gtk+2.0/gtk+2.0.post-upgrade1
-rw-r--r--main/gtk+2.0/gtk2-fixdso.patch15
-rw-r--r--main/gtk+2.0/xid-collision-debug.patch15
-rw-r--r--main/gtk+3.0/APKBUILD104
-rw-r--r--main/gtk+3.0/gtk-update-icon-cache.trigger (renamed from main/gtk+2.0/gtk-update-icon-cache.trigger)0
-rw-r--r--main/guile/APKBUILD15
-rw-r--r--main/haproxy/APKBUILD6
-rw-r--r--main/harfbuzz/APKBUILD13
-rw-r--r--main/harfbuzz/fix-char-signed.patch29
-rw-r--r--main/haserl/APKBUILD4
-rw-r--r--main/hdparm/APKBUILD4
-rw-r--r--main/heimdal/APKBUILD28
-rw-r--r--main/heimdal/autoconf-270.patch27
-rw-r--r--main/heimdal/silence-include-headers-redirect-warnings.patch20
-rw-r--r--main/highlight/APKBUILD25
-rw-r--r--main/hostapd/0001-hostapd-Add-the-missing-CONFIG_SAE-option-to-the-def.patch30
-rw-r--r--main/hostapd/APKBUILD97
-rw-r--r--main/hostapd/hostapd.confd13
-rw-r--r--main/hostapd/hostapd.initd52
-rw-r--r--main/htop/APKBUILD15
-rw-r--r--main/hunspell/APKBUILD11
-rw-r--r--main/hvtools/APKBUILD2
-rw-r--r--main/hwdata/APKBUILD69
-rw-r--r--main/hwids/APKBUILD70
-rw-r--r--main/hylafax/APKBUILD6
-rw-r--r--main/hylafax/libtiff-42-compatibility.patch2
-rw-r--r--main/hylafaxplus/APKBUILD4
-rw-r--r--main/iaxmodem/APKBUILD29
-rw-r--r--main/icecast/APKBUILD2
-rw-r--r--main/icu/001-fix-heap-buffer-overflow.patch31
-rw-r--r--main/icu/APKBUILD22
-rw-r--r--main/iftop/APKBUILD2
-rw-r--r--main/ifupdown/APKBUILD8
-rw-r--r--main/igmpproxy/APKBUILD2
-rw-r--r--main/imake/APKBUILD10
-rw-r--r--main/imlib2/APKBUILD19
-rw-r--r--main/in-sync/APKBUILD2
-rw-r--r--main/indent/APKBUILD2
-rw-r--r--main/inotify-tools/APKBUILD16
-rw-r--r--main/inotify-tools/fsid-t.patch18
-rw-r--r--main/installkernel/APKBUILD2
-rw-r--r--main/intel-ucode/APKBUILD6
-rw-r--r--main/iperf3/APKBUILD12
-rw-r--r--main/iperf3/build-fixes.patch20
-rw-r--r--main/iproute2-qos/APKBUILD8
-rw-r--r--main/iproute2-qos/qos.initd2
-rw-r--r--main/iproute2/APKBUILD12
-rw-r--r--main/iproute2/min.patch13
-rw-r--r--main/ipset/APKBUILD2
-rw-r--r--main/irqbalance/APKBUILD6
-rw-r--r--main/irqbalance/aarch64-sigsegv.patch11
-rw-r--r--main/irssi/APKBUILD6
-rw-r--r--main/iscsi-scst/APKBUILD4
-rw-r--r--main/isl/APKBUILD50
-rw-r--r--main/isl24/APKBUILD16
-rw-r--r--main/isl25/APKBUILD (renamed from main/isl22/APKBUILD)28
-rw-r--r--main/iso-codes/APKBUILD4
-rw-r--r--main/iucode-tool/APKBUILD2
-rw-r--r--main/ivykis/APKBUILD6
-rw-r--r--main/jack/APKBUILD33
-rw-r--r--main/jack/increase-api-version.patch4
-rw-r--r--main/jbig2dec/APKBUILD2
-rw-r--r--main/jfsutils/APKBUILD6
-rw-r--r--main/joe/APKBUILD4
-rw-r--r--main/jq/APKBUILD8
-rw-r--r--main/jwhois/APKBUILD20
-rw-r--r--main/kamailio/APKBUILD8
-rw-r--r--main/kamailio/python3.11.patch78
-rw-r--r--main/kbd/APKBUILD3
-rw-r--r--main/kea/APKBUILD279
-rw-r--r--main/kea/configs-fix-paths.patch116
-rw-r--r--main/kea/disable-db-tests.patch18
-rw-r--r--main/kea/kea-admin-remove-builddir.patch24
-rw-r--r--main/kea/kea-common.post-upgrade14
-rw-r--r--main/kea/kea-common.pre-install6
-rw-r--r--main/kea/kea.initd.in40
-rw-r--r--main/kea/move-api-files-to-doc.patch18
-rw-r--r--main/kea/put-LOCKFILE_DIR-to-runstatedir.patch13
-rw-r--r--main/kea/use-runstatedir-for-pid-file-location.patch29
-rw-r--r--main/knot/APKBUILD9
-rw-r--r--main/krb5/APKBUILD8
-rw-r--r--main/lame/APKBUILD4
-rw-r--r--main/lcms2/APKBUILD4
-rw-r--r--main/ldb/APKBUILD26
-rw-r--r--main/ldb/strtoull.patch89
-rw-r--r--main/ldns/APKBUILD6
-rw-r--r--main/less/APKBUILD4
-rw-r--r--main/leveldb/APKBUILD38
-rw-r--r--main/libaio/APKBUILD15
-rw-r--r--main/libaio/libaio-optional-werror.patch31
-rw-r--r--main/libassuan/APKBUILD2
-rw-r--r--main/libatomic_ops/APKBUILD14
-rw-r--r--main/libavif/APKBUILD7
-rw-r--r--main/libax25/APKBUILD42
-rw-r--r--main/libax25/musl.patch10
-rw-r--r--main/libbpf/10-consolidate-lib-dirs.patch19
-rw-r--r--main/libbpf/APKBUILD37
-rw-r--r--main/libbsd/APKBUILD10
-rw-r--r--main/libbsd/disable-fpurge-test.patch22
-rw-r--r--main/libburn/APKBUILD2
-rw-r--r--main/libcap/APKBUILD6
-rw-r--r--main/libdbi/APKBUILD4
-rw-r--r--main/libde265/APKBUILD16
-rw-r--r--main/libdnet/APKBUILD18
-rw-r--r--main/libdrm/APKBUILD20
-rw-r--r--main/libdwarf/APKBUILD81
-rw-r--r--main/libeconf/APKBUILD9
-rw-r--r--main/libedit/APKBUILD6
-rw-r--r--main/libepoxy/APKBUILD2
-rw-r--r--main/libffi/APKBUILD11
-rw-r--r--main/libffi/pax-dlmmap.patch120
-rw-r--r--main/libfido2/APKBUILD6
-rw-r--r--main/libfontenc/APKBUILD10
-rw-r--r--main/libgpg-error/APKBUILD7
-rw-r--r--main/libical/APKBUILD4
-rw-r--r--main/libidn2/APKBUILD4
-rw-r--r--main/libjpeg-turbo/APKBUILD17
-rw-r--r--main/libkcapi/APKBUILD86
-rw-r--r--main/libkcapi/no-werror.patch13
-rw-r--r--main/libks/APKBUILD19
-rw-r--r--main/libksba/APKBUILD9
-rw-r--r--main/liblockfile/APKBUILD2
-rw-r--r--main/liblogging/APKBUILD2
-rw-r--r--main/libmaxminddb/APKBUILD6
-rw-r--r--main/libmilter/APKBUILD12
-rw-r--r--main/libnet/APKBUILD2
-rw-r--r--main/libnetfilter_conntrack/APKBUILD13
-rw-r--r--main/libnetfilter_conntrack/fix_build_with_kernel_5.15_and_musl.patch56
-rw-r--r--main/libnftnl/APKBUILD4
-rw-r--r--main/libogg/APKBUILD2
-rw-r--r--main/libotr/APKBUILD11
-rw-r--r--main/libotr/socklen-t.patch12
-rw-r--r--main/libpaper/APKBUILD36
-rw-r--r--main/libpcap/APKBUILD2
-rw-r--r--main/libpciaccess/APKBUILD28
-rw-r--r--main/libpciaccess/limits_h.patch10
-rw-r--r--main/libpng/APKBUILD12
-rw-r--r--main/libpng/dont-run-pngtest.patch12
-rw-r--r--main/libpng/libpng-fix-arm-neon.patch8
-rw-r--r--main/libseccomp/APKBUILD2
-rw-r--r--main/libsecret/APKBUILD2
-rw-r--r--main/libshout/APKBUILD2
-rw-r--r--main/libsndfile/APKBUILD3
-rw-r--r--main/libsrtp/APKBUILD2
-rw-r--r--main/libtasn1/APKBUILD24
-rw-r--r--main/libtasn1/failed-test.patch13
-rw-r--r--main/libtheora/APKBUILD2
-rw-r--r--main/libtirpc/APKBUILD23
-rw-r--r--main/libtirpc/CVE-2021-46828.patch181
-rw-r--r--main/libtirpc/soname-suffix.patch12
-rw-r--r--main/libunistring/APKBUILD4
-rw-r--r--main/liburing/APKBUILD4
-rw-r--r--main/libva/APKBUILD5
-rw-r--r--main/libvdpau/APKBUILD2
-rw-r--r--main/libwebp/APKBUILD2
-rw-r--r--main/libx11/APKBUILD9
-rw-r--r--main/libxau/APKBUILD10
-rw-r--r--main/libxdmcp/APKBUILD10
-rw-r--r--main/libxext/APKBUILD10
-rw-r--r--main/libxft/APKBUILD8
-rw-r--r--main/libxft/emoji.patch861
-rw-r--r--main/libxinerama/APKBUILD10
-rw-r--r--main/libxkbcommon/APKBUILD2
-rw-r--r--main/libxkbfile/APKBUILD12
-rw-r--r--main/libxml2/APKBUILD46
-rw-r--r--main/libxmu/APKBUILD26
-rw-r--r--main/libxpm/APKBUILD10
-rw-r--r--main/libxrandr/APKBUILD11
-rw-r--r--main/libxrender/APKBUILD15
-rw-r--r--main/libxshmfence/APKBUILD10
-rw-r--r--main/libxslt/APKBUILD13
-rw-r--r--main/libxtst/APKBUILD15
-rw-r--r--main/libxxf86vm/APKBUILD19
-rw-r--r--main/lighttpd/APKBUILD6
-rw-r--r--main/links/APKBUILD6
-rw-r--r--main/linux-firmware/APKBUILD58
-rw-r--r--main/linux-firmware/WHENCE-Correct-dangling-symlinks.patch37
-rw-r--r--main/linux-headers/0001-bpf-Add-btf-enum64-support.patch503
-rw-r--r--main/linux-headers/APKBUILD12
-rw-r--r--main/linux-lts/APKBUILD86
-rw-r--r--main/linux-lts/awk.patch13
-rw-r--r--main/linux-lts/lts.aarch64.config8
-rw-r--r--main/linux-lts/lts.armv7.config6
-rw-r--r--main/linux-lts/lts.ppc64le.config6
-rw-r--r--main/linux-lts/lts.s390x.config5
-rw-r--r--main/linux-lts/lts.x86.config9
-rw-r--r--main/linux-lts/lts.x86_64.config10
-rw-r--r--main/linux-lts/virt.aarch64.config5
-rw-r--r--main/linux-lts/virt.armv7.config3
-rw-r--r--main/linux-lts/virt.ppc64le.config4
-rw-r--r--main/linux-lts/virt.x86.config12
-rw-r--r--main/linux-lts/virt.x86_64.config13
-rw-r--r--main/linux-rpi/APKBUILD20
-rw-r--r--main/linux-rpi/config-changes-rpi.armhf1
-rw-r--r--main/lksctp-tools/APKBUILD4
-rw-r--r--main/lld/APKBUILD72
-rw-r--r--main/llvm-runtimes/APKBUILD113
-rw-r--r--main/llvm-runtimes/compiler-rt-sanitizer-ppc64-musl.patch (renamed from main/compiler-rt/sanitizer-ppc64-musl.patch)12
-rw-r--r--main/llvm-runtimes/compiler-rt-sanitizer-supported-arch.patch (renamed from main/compiler-rt/sanitizer-supported-arch.patch)8
-rw-r--r--main/llvm-runtimes/compiler-rt-xray-ppc64-musl.patch11
-rw-r--r--main/llvm-runtimes/libcxx-musl.patch28
-rw-r--r--main/llvm-runtimes/libcxx-ppc.patch24
-rw-r--r--main/llvm-runtimes/libunwind-link-libssp.patch20
-rw-r--r--main/llvm13/fix-LLVMConfig-cmake-install-prefix.patch24
-rw-r--r--main/llvm14/APKBUILD27
-rw-r--r--main/llvm14/llvm-stack-size.patch34
-rw-r--r--main/llvm15/0001-Disable-dynamic-lib-tests-for-musl-s-dlclose-is-noop.patch (renamed from main/llvm13/0001-Disable-dynamic-lib-tests-for-musl-s-dlclose-is-noop.patch)4
-rw-r--r--main/llvm15/APKBUILD (renamed from main/llvm13/APKBUILD)155
-rw-r--r--main/llvm15/fix-memory-mf_exec-on-aarch64.patch (renamed from main/llvm13/fix-memory-mf_exec-on-aarch64.patch)4
-rw-r--r--main/llvm15/install-prefix.patch31
-rw-r--r--main/llvm15/llvm-stack-size.patch34
-rw-r--r--main/lm-sensors/APKBUILD45
-rw-r--r--main/lm-sensors/lm-sensors.post-upgrade12
-rw-r--r--main/lmdb/APKBUILD2
-rw-r--r--main/lockfile-progs/APKBUILD2
-rw-r--r--main/log4cplus/APKBUILD50
-rw-r--r--main/logrotate/APKBUILD6
-rw-r--r--main/logtail/APKBUILD4
-rw-r--r--main/lsof/APKBUILD4
-rw-r--r--main/lsyncd/APKBUILD4
-rw-r--r--main/lttng-ust/APKBUILD2
-rw-r--r--main/lua-aports/APKBUILD6
-rw-r--r--main/lua-discount/APKBUILD10
-rw-r--r--main/lua-expat/APKBUILD12
-rw-r--r--main/lua-filesystem/APKBUILD10
-rw-r--r--main/lua-lyaml/APKBUILD8
-rw-r--r--main/lua-lzmq/APKBUILD21
-rw-r--r--main/lua-mqtt-publish/APKBUILD13
-rw-r--r--main/lua-mqtt-publish/restore-sigpipe-handler.patch23
-rw-r--r--main/lua-ossl/APKBUILD11
-rw-r--r--main/lua-ossl/openssl3.patch933
-rw-r--r--main/lua-penlight/APKBUILD4
-rw-r--r--main/lua-resty-core/APKBUILD4
-rw-r--r--main/lua-resty-lrucache/APKBUILD10
-rw-r--r--main/lua-socket/0001-Create-socket-on-first-sendto-if-family-agnostic-udp.patch49
-rw-r--r--main/lua-socket/APKBUILD26
-rw-r--r--main/lua-socket/git.patch6609
-rw-r--r--main/lua-socket/lua-cflags.patch18
-rw-r--r--main/lua-sql/APKBUILD10
-rw-r--r--main/lua-yaml/APKBUILD24
-rw-r--r--main/luajit/APKBUILD7
-rw-r--r--main/lvm2/0001-lvresize-use-POSIX-shell.patch127
-rw-r--r--main/lvm2/APKBUILD86
-rw-r--r--main/lvm2/fix-stdio-usage.patch67
-rw-r--r--main/lvm2/includes.patch13
-rw-r--r--main/lvm2/library_dir-default-config.patch2
-rw-r--r--main/lvm2/mallinfo.patch11
-rw-r--r--main/lvm2/mlockall-default-config.patch22
-rw-r--r--main/lxc/APKBUILD104
-rw-r--r--main/lxc/sysconfdir.patch17
-rw-r--r--main/lz4/APKBUILD14
-rw-r--r--main/lz4/CVE-2021-3520.patch22
-rw-r--r--main/mailx/APKBUILD2
-rw-r--r--main/make/APKBUILD6
-rw-r--r--main/makedepend/APKBUILD10
-rw-r--r--main/man-pages/APKBUILD8
-rw-r--r--main/mandoc/APKBUILD2
-rw-r--r--main/mandoc/mandoc-apropos.trigger2
-rw-r--r--main/mariadb-connector-c/APKBUILD15
-rw-r--r--main/mariadb/APKBUILD21
-rw-r--r--main/mbedtls/APKBUILD4
-rw-r--r--main/mdev-conf/APKBUILD6
-rw-r--r--main/mdevd/APKBUILD16
-rw-r--r--main/mdevd/mdevd-init.initd2
-rw-r--r--main/memcached/APKBUILD4
-rw-r--r--main/mesa/0001-Revert-panfrost-Require-64-byte-alignment-on-imports.patch166
-rw-r--r--main/mesa/0001-freedreno-Enable-A619.patch37
-rw-r--r--main/mesa/0001-radeonsi-On-Aarch64-force-persistent-buffers-to-GTT.patch38
-rw-r--r--main/mesa/APKBUILD39
-rw-r--r--main/mesa/disable-rgb10-by-default.patch25
-rw-r--r--main/meson/APKBUILD8
-rwxr-xr-xmain/meson/abuild-meson7
-rw-r--r--main/mg/APKBUILD4
-rw-r--r--main/minicom/APKBUILD2
-rw-r--r--main/mkinitfs/APKBUILD9
-rw-r--r--main/mksh/APKBUILD6
-rw-r--r--main/mosh/APKBUILD17
-rw-r--r--main/mosh/fix-makefile.am.patch10
-rw-r--r--main/mosh/fix-ppc64le-build-with-musl.patch4
-rw-r--r--main/mosquitto/APKBUILD6
-rw-r--r--main/mpc1/APKBUILD8
-rw-r--r--main/mpg123/APKBUILD6
-rw-r--r--main/mqtt-exec/0001-Let-library-generate-client-id-when-unset.patch68
-rw-r--r--main/mqtt-exec/0001-authentication-expose-authentication-with-credential.patch89
-rw-r--r--main/mqtt-exec/APKBUILD12
-rw-r--r--main/mqtt-exec/restore-default-sigpipe-handler.patch17
-rw-r--r--main/mt-st/APKBUILD2
-rw-r--r--main/mtools/APKBUILD6
-rw-r--r--main/multipath-tools/APKBUILD12
-rw-r--r--main/musl-fts/APKBUILD (renamed from main/fts/APKBUILD)17
-rw-r--r--main/musl-nscd/APKBUILD2
-rw-r--r--main/musl/APKBUILD15
-rw-r--r--main/musl/relr-1.patch100
-rw-r--r--main/musl/relr-2.patch31
-rw-r--r--main/musl/relr-3.patch46
-rw-r--r--main/musl/relr-4.patch12
-rw-r--r--main/nagios-plugins/APKBUILD8
-rw-r--r--main/nagios/APKBUILD6
-rw-r--r--main/nano/APKBUILD4
-rw-r--r--main/nasm/APKBUILD2
-rw-r--r--main/ncftp/APKBUILD2
-rw-r--r--main/ncurses/APKBUILD4
-rw-r--r--main/neon/APKBUILD26
-rw-r--r--main/net-tools/git.patch26170
-rw-r--r--main/netcat-openbsd/APKBUILD2
-rw-r--r--main/network-extras/APKBUILD4
-rw-r--r--main/newt/APKBUILD10
-rw-r--r--main/nfdump/APKBUILD6
-rw-r--r--main/nfdump/noyywrap.patch13
-rw-r--r--main/nfs-utils/APKBUILD6
-rw-r--r--main/nftables/APKBUILD37
-rw-r--r--main/nftables/nftables.confd24
-rw-r--r--main/nftables/nftables.initd134
-rw-r--r--main/nftables/nftables.nft6
-rw-r--r--main/nghttp2/APKBUILD16
-rw-r--r--main/nginx/APKBUILD65
-rw-r--r--main/nginx/nginx-module-vts~cast-key-length-to-correct-type.patch24
-rw-r--r--main/nginx/nginx-module-vts~fix-uri-overflow.patch30
-rw-r--r--main/nginx/nginx-module-vts~set-histogram-buckets-on-first-request.patch147
-rw-r--r--main/nginx/nginx.conf8
-rw-r--r--main/nginx/nginx.post-upgrade47
-rw-r--r--main/nginx/njs~fix-dangling-pointer.patch94
-rw-r--r--main/nginx/stream.conf2
-rw-r--r--main/ngrep/APKBUILD4
-rw-r--r--main/nikto/APKBUILD2
-rw-r--r--main/nmap/APKBUILD6
-rw-r--r--main/nodejs/APKBUILD40
-rw-r--r--main/npth/APKBUILD2
-rw-r--r--main/nsd/APKBUILD6
-rw-r--r--main/nspr/APKBUILD13
-rw-r--r--main/nspr/fix-getproto.patch13
-rw-r--r--main/nspr/fix-sgidefs-usage.patch40
-rw-r--r--main/ntfs-3g/APKBUILD6
-rw-r--r--main/numactl/APKBUILD31
-rw-r--r--main/numactl/musl.patch21
-rw-r--r--main/obex-data-server/APKBUILD2
-rw-r--r--main/oidentd/APKBUILD11
-rw-r--r--main/one-context/APKBUILD13
-rw-r--r--main/open-iscsi/APKBUILD28
-rw-r--r--main/open-isns/APKBUILD37
-rw-r--r--main/open-lldp/APKBUILD2
-rw-r--r--main/openjade/APKBUILD4
-rw-r--r--main/openldap/0001-Fix-build-issue-in-clients-tools-common.c.patch26
-rw-r--r--main/openldap/0002-Add-UNIX_LINK_LIBS-to-slapi-Makefile.patch24
-rw-r--r--main/openldap/0003-Add-mqtt-overlay.patch (renamed from main/openldap/openldap-mqtt-overlay.patch)18
-rw-r--r--main/openldap/0004-Fix-manpages.patch (renamed from main/openldap/fix-manpages.patch)25
-rw-r--r--main/openldap/0005-Correct-command-line-syntax-in-lloadd-tests.patch (renamed from main/openldap/fix-lloadd-tests.patch)33
-rw-r--r--main/openldap/0006-Fix-build-on-mips-inconsistent-cacheflush-prototype.patch27
-rw-r--r--main/openldap/0007-Use-correct-extension-for-slapd-modules.patch44
-rw-r--r--main/openldap/0008-Remove-pidfile-and-argsfile.patch35
-rw-r--r--main/openldap/0009-Include-more-schemas-in-default-config.patch44
-rw-r--r--main/openldap/APKBUILD47
-rw-r--r--main/openldap/cacheflush.patch12
-rw-r--r--main/openldap/lloadd.confd8
-rw-r--r--main/openldap/lloadd.initd2
-rw-r--r--main/openldap/openldap-2.4-ppolicy.patch13
-rw-r--r--main/openldap/openldap-2.4.11-libldap_r.patch11
-rw-r--r--main/openldap/slapd.confd21
-rw-r--r--main/openldap/slapd.initd33
-rw-r--r--main/opennhrp/APKBUILD2
-rw-r--r--main/openobex/APKBUILD29
-rw-r--r--main/openrc/0009-dont-overwrite-empty-supervise_daemon_args.patch40
-rw-r--r--main/openrc/APKBUILD15
-rw-r--r--main/openrc/hwdrivers.initd4
-rw-r--r--main/openrc/remount-root.patch42
-rw-r--r--main/openrc/supervise-daemon-defaults.patch31
-rw-r--r--main/opensbi/APKBUILD5
-rw-r--r--main/opensmtpd/APKBUILD93
-rw-r--r--main/opensmtpd/aliases63
-rw-r--r--main/opensmtpd/opensmtpd.pre-install9
-rw-r--r--main/opensmtpd/smtpd.conf.patch21
-rw-r--r--main/opensmtpd/smtpd.confd8
-rw-r--r--main/opensmtpd/smtpd.initd41
-rw-r--r--main/opensp/APKBUILD4
-rw-r--r--main/openssh/APKBUILD14
-rw-r--r--main/openssh/fix-always-use-compat-getentropy.patch70
-rw-r--r--main/openssl/APKBUILD16
-rw-r--r--main/openssl1.1-compat/APKBUILD166
-rw-r--r--main/openssl1.1-compat/man-section.patch54
-rw-r--r--main/openssl1.1-compat/ppc64.patch96
-rw-r--r--main/openvpn/APKBUILD10
-rw-r--r--main/orc/APKBUILD15
-rw-r--r--main/ortp/APKBUILD4
-rw-r--r--main/p11-kit/APKBUILD5
-rw-r--r--main/p7zip/APKBUILD5
-rw-r--r--main/pahole/0001-libbpf-Update-libbpf-to-the-latest-git-HEAD.patch120
-rw-r--r--main/pahole/APKBUILD37
-rw-r--r--main/pango/APKBUILD34
-rw-r--r--main/pango/disable-broken-test.patch9
-rw-r--r--main/parallel/APKBUILD11
-rw-r--r--main/patch/APKBUILD2
-rw-r--r--main/patchutils/APKBUILD2
-rw-r--r--main/pax-utils/APKBUILD31
-rw-r--r--main/pciutils/APKBUILD15
-rw-r--r--main/pciutils/fix-linking-pci-malloc-Makefile.patch11
-rw-r--r--main/pcsc-lite/APKBUILD7
-rw-r--r--main/perl-archive-zip/APKBUILD2
-rw-r--r--main/perl-b-cow/APKBUILD8
-rw-r--r--main/perl-clone/APKBUILD10
-rw-r--r--main/perl-convert-binhex/APKBUILD2
-rw-r--r--main/perl-convert-color/APKBUILD21
-rw-r--r--main/perl-convert-uulib/APKBUILD6
-rw-r--r--main/perl-cpanel-json-xs/APKBUILD4
-rw-r--r--main/perl-crypt-openssl-guess/APKBUILD4
-rw-r--r--main/perl-datetime-format-w3cdtf/APKBUILD17
-rw-r--r--main/perl-datetime-locale/APKBUILD4
-rw-r--r--main/perl-datetime-timezone/APKBUILD4
-rw-r--r--main/perl-datetime/APKBUILD6
-rw-r--r--main/perl-dbd-mysql/APKBUILD2
-rw-r--r--main/perl-dbd-pg/APKBUILD6
-rw-r--r--main/perl-dbd-sqlite/APKBUILD8
-rw-r--r--main/perl-dbd-sqlite/fix-test.patch11
-rw-r--r--main/perl-dbix-dbschema/APKBUILD8
-rw-r--r--main/perl-email-date-format/APKBUILD35
-rw-r--r--main/perl-encode/APKBUILD4
-rw-r--r--main/perl-exporter-tiny/APKBUILD8
-rw-r--r--main/perl-file-slurper/APKBUILD8
-rw-r--r--main/perl-future/APKBUILD24
-rw-r--r--main/perl-gd/APKBUILD6
-rw-r--r--main/perl-getopt-long/APKBUILD28
-rw-r--r--main/perl-html-mason/APKBUILD2
-rw-r--r--main/perl-html-parser/APKBUILD6
-rw-r--r--main/perl-html-tree/APKBUILD2
-rw-r--r--main/perl-http-message/APKBUILD11
-rw-r--r--main/perl-io-socket-ssl/APKBUILD4
-rw-r--r--main/perl-io-tty/APKBUILD6
-rw-r--r--main/perl-io/APKBUILD6
-rw-r--r--main/perl-ipc-run/APKBUILD37
-rw-r--r--main/perl-json-maybexs/APKBUILD6
-rw-r--r--main/perl-json/APKBUILD4
-rw-r--r--main/perl-locale-maketext-lexicon/APKBUILD2
-rw-r--r--main/perl-log-any/APKBUILD4
-rw-r--r--main/perl-log-dispatch/APKBUILD1
-rw-r--r--main/perl-metrics-any/APKBUILD4
-rw-r--r--main/perl-mime-types/APKBUILD4
-rw-r--r--main/perl-module-build/APKBUILD2
-rw-r--r--main/perl-module-scandeps/APKBUILD2
-rw-r--r--main/perl-module-util/APKBUILD2
-rw-r--r--main/perl-mozilla-ca/APKBUILD6
-rw-r--r--main/perl-net-dns-resolver-mock/APKBUILD8
-rw-r--r--main/perl-net-dns/APKBUILD4
-rw-r--r--main/perl-net-ip/APKBUILD2
-rw-r--r--main/perl-net-rblclient/APKBUILD2
-rw-r--r--main/perl-net-server/APKBUILD2
-rw-r--r--main/perl-net-snmp/APKBUILD2
-rw-r--r--main/perl-params-validate/APKBUILD8
-rw-r--r--main/perl-parse-yapp/APKBUILD2
-rw-r--r--main/perl-path-tiny/APKBUILD4
-rw-r--r--main/perl-pod-coverage/APKBUILD2
-rw-r--r--main/perl-scalar-list-utils/APKBUILD6
-rw-r--r--main/perl-server-starter/APKBUILD2
-rw-r--r--main/perl-socket-getaddrinfo/APKBUILD2
-rw-r--r--main/perl-socket/APKBUILD4
-rw-r--r--main/perl-string-shellquote/APKBUILD2
-rw-r--r--main/perl-struct-dumb/APKBUILD8
-rw-r--r--main/perl-test-warn/APKBUILD8
-rw-r--r--main/perl-type-tiny/APKBUILD7
-rw-r--r--main/perl-uri/APKBUILD10
-rw-r--r--main/perl-variable-magic/APKBUILD29
-rw-r--r--main/perl-x10/APKBUILD2
-rw-r--r--main/perl-xml-xpath/APKBUILD11
-rw-r--r--main/perl-yaml-libyaml/APKBUILD31
-rw-r--r--main/pgpool/APKBUILD10
-rw-r--r--main/pgpool/pgpool.confd5
-rw-r--r--main/pgpool/pgpool.initd11
-rw-r--r--main/pinentry/APKBUILD6
-rw-r--r--main/pixman/APKBUILD31
-rw-r--r--main/pixman/scaling-test.patch14
-rw-r--r--main/pjproject/APKBUILD12
-rw-r--r--main/pjproject/execinfo.patch78
-rw-r--r--main/pjproject/libpjsua2-install.patch26
-rw-r--r--main/pkgconf/APKBUILD11
-rw-r--r--main/pkgconf/fix-cflags-include.patch16
-rw-r--r--main/pm-utils/APKBUILD2
-rw-r--r--main/pmacct/APKBUILD13
-rw-r--r--main/po4a/APKBUILD13
-rw-r--r--main/poppler/APKBUILD37
-rw-r--r--main/poppler/dont-enforce-build-type.patch26
-rw-r--r--main/popt/APKBUILD6
-rw-r--r--main/postfix/APKBUILD7
-rw-r--r--main/postgresql13/disable-broken-tests.patch119
-rw-r--r--main/postgresql13/disable-test-collate.icu.utf8.patch20
-rw-r--r--main/postgresql13/initdb.patch14
-rw-r--r--main/postgresql13/plperl-5.36-new-warnings-category.patch38
-rw-r--r--main/postgresql14/APKBUILD14
-rw-r--r--main/postgresql14/fix-test-temp-schema-cleanup.patch (renamed from main/postgresql13/fix-test-temp-schema-cleanup.patch)4
-rw-r--r--main/postgresql15/APKBUILD (renamed from main/postgresql13/APKBUILD)101
-rw-r--r--main/postgresql15/czech-snowball-stemmer.patch (renamed from main/postgresql13/czech-snowball-stemmer.patch)38
-rw-r--r--main/postgresql15/disable-html-docs.patch (renamed from main/postgresql13/disable-html-docs.patch)0
-rw-r--r--main/postgresql15/dont-use-locale-a-on-musl.patch (renamed from main/postgresql13/dont-use-locale-a-on-musl.patch)0
-rw-r--r--main/postgresql15/external-libpq.patch.txt (renamed from main/postgresql13/external-libpq.patch.txt)0
-rw-r--r--main/postgresql15/icu-collations-hack.patch (renamed from main/postgresql13/icu-collations-hack.patch)12
-rw-r--r--main/postgresql15/initdb.patch14
-rw-r--r--main/postgresql15/jit-datalayout-mismatch-on-s390x-and-x86.patch (renamed from main/postgresql13/jit-datalayout-mismatch-on-s390x.patch)53
-rw-r--r--main/postgresql15/libpgport-pkglibdir.patch.txt (renamed from main/postgresql13/libpgport-pkglibdir.patch.txt)0
-rw-r--r--main/postgresql15/make-split-headers.patch (renamed from main/postgresql13/make-split-headers.patch)0
-rw-r--r--main/postgresql15/per-version-dirs.patch (renamed from main/postgresql13/per-version-dirs.patch)10
-rw-r--r--main/postgresql15/perl-rpath.patch (renamed from main/postgresql13/perl-rpath.patch)0
-rw-r--r--main/postgresql15/pg_config-add-major-version.patch (renamed from main/postgresql13/pg_config-add-major-version.patch)0
-rw-r--r--main/postgresql15/pltcl_create_tables.sql (renamed from main/postgresql13/pltcl_create_tables.sql)0
-rw-r--r--main/postgresql15/postgresql15.post-install (renamed from main/postgresql13/postgresql13.post-install)0
-rw-r--r--main/postgresql15/postgresql15.pre-deinstall (renamed from main/postgresql13/postgresql13.pre-deinstall)0
-rw-r--r--main/postgresql15/remove-libecpg_compat.patch (renamed from main/postgresql13/remove-libecpg_compat.patch)0
-rw-r--r--main/postgresql15/unix_socket_directories.patch (renamed from main/postgresql13/unix_socket_directories.patch)0
-rw-r--r--main/pound/APKBUILD47
-rw-r--r--main/pound/openssl-1.1.patch345
-rw-r--r--main/pound/openssl1.1-cli.patch17
-rw-r--r--main/pound/pound.cfg54
-rw-r--r--main/pound/pound.initd26
-rw-r--r--main/powertop/APKBUILD32
-rw-r--r--main/powertop/musl-fix-headers.patch22
-rw-r--r--main/procps/APKBUILD5
-rw-r--r--main/protobuf-c/APKBUILD2
-rw-r--r--main/protobuf/APKBUILD4
-rw-r--r--main/pspg/APKBUILD4
-rw-r--r--main/psqlodbc/APKBUILD6
-rw-r--r--main/pssh/APKBUILD6
-rw-r--r--main/putty/APKBUILD6
-rw-r--r--main/pwgen/APKBUILD2
-rw-r--r--main/py3-alabaster/APKBUILD6
-rw-r--r--main/py3-appdirs/APKBUILD6
-rw-r--r--main/py3-asn1/APKBUILD6
-rw-r--r--main/py3-atomicwrites/APKBUILD2
-rw-r--r--main/py3-attrs/APKBUILD6
-rw-r--r--main/py3-babel/APKBUILD11
-rw-r--r--main/py3-bcrypt/APKBUILD31
-rw-r--r--main/py3-build/APKBUILD31
-rw-r--r--main/py3-cairo/APKBUILD4
-rw-r--r--main/py3-certifi/APKBUILD14
-rw-r--r--main/py3-certifi/use-alpine-system-certs.patch52
-rw-r--r--main/py3-cffi/APKBUILD2
-rw-r--r--main/py3-chardet/APKBUILD10
-rw-r--r--main/py3-charset-normalizer/APKBUILD6
-rw-r--r--main/py3-coverage/APKBUILD5
-rw-r--r--main/py3-cparser/APKBUILD11
-rw-r--r--main/py3-dbus/APKBUILD35
-rw-r--r--main/py3-distlib/APKBUILD31
-rw-r--r--main/py3-dnspython/APKBUILD2
-rw-r--r--main/py3-docutils/APKBUILD38
-rw-r--r--main/py3-elementpath/APKBUILD9
-rw-r--r--main/py3-elftools/APKBUILD8
-rw-r--r--main/py3-exceptiongroup/APKBUILD41
-rw-r--r--main/py3-exceptiongroup/use-flit-core.patch38
-rw-r--r--main/py3-extras/APKBUILD6
-rw-r--r--main/py3-filelock/APKBUILD6
-rw-r--r--main/py3-fixtures/APKBUILD2
-rw-r--r--main/py3-flit-core/APKBUILD9
-rw-r--r--main/py3-funcsigs/APKBUILD6
-rw-r--r--main/py3-future/APKBUILD2
-rw-r--r--main/py3-gobject3/APKBUILD26
-rw-r--r--main/py3-gpep517/APKBUILD21
-rw-r--r--main/py3-gpep517/gpep5176
-rw-r--r--main/py3-hypothesis/APKBUILD8
-rw-r--r--main/py3-idna/APKBUILD22
-rw-r--r--main/py3-imagesize/APKBUILD2
-rw-r--r--main/py3-iniconfig/APKBUILD6
-rw-r--r--main/py3-installer/APKBUILD2
-rw-r--r--main/py3-jinja2/APKBUILD4
-rw-r--r--main/py3-lxc/APKBUILD6
-rw-r--r--main/py3-lxml/APKBUILD2
-rw-r--r--main/py3-mako/APKBUILD10
-rw-r--r--main/py3-markdown/APKBUILD8
-rw-r--r--main/py3-markupsafe/APKBUILD2
-rw-r--r--main/py3-meld3/APKBUILD8
-rw-r--r--main/py3-mimeparse/APKBUILD6
-rw-r--r--main/py3-mock/APKBUILD6
-rw-r--r--main/py3-more-itertools/APKBUILD8
-rw-r--r--main/py3-olefile/APKBUILD6
-rw-r--r--main/py3-ordered-set/APKBUILD35
-rw-r--r--main/py3-packaging/APKBUILD2
-rw-r--r--main/py3-parsing/APKBUILD7
-rw-r--r--main/py3-pbr/APKBUILD6
-rw-r--r--main/py3-pep517/APKBUILD32
-rw-r--r--main/py3-pexpect/APKBUILD11
-rw-r--r--main/py3-pexpect/python3.11.patch68
-rw-r--r--main/py3-pluggy/APKBUILD4
-rw-r--r--main/py3-ply/APKBUILD12
-rw-r--r--main/py3-ply/no-py3-six.patch13
-rw-r--r--main/py3-pretend/APKBUILD6
-rw-r--r--main/py3-ptyprocess/APKBUILD6
-rw-r--r--main/py3-py/0001-remove-setuptools_scm.patch12
-rw-r--r--main/py3-py/APKBUILD15
-rw-r--r--main/py3-pygments/APKBUILD6
-rw-r--r--main/py3-pynacl/APKBUILD4
-rw-r--r--main/py3-pytest-timeout/APKBUILD8
-rw-r--r--main/py3-pytest/0001-remove-setuptools_scm.patch31
-rw-r--r--main/py3-pytest/APKBUILD22
-rw-r--r--main/py3-requests/APKBUILD7
-rw-r--r--main/py3-requests/charset-normaliser-3.patch53
-rw-r--r--main/py3-setuptools-stage0/APKBUILD2
-rw-r--r--main/py3-setuptools/APKBUILD44
-rw-r--r--main/py3-six/APKBUILD7
-rw-r--r--main/py3-snowballstemmer/APKBUILD2
-rw-r--r--main/py3-sortedcontainers/APKBUILD2
-rw-r--r--main/py3-sphinx/APKBUILD25
-rw-r--r--main/py3-sphinx_rtd_theme/APKBUILD8
-rw-r--r--main/py3-sphinxcontrib-applehelp/APKBUILD6
-rw-r--r--main/py3-sphinxcontrib-devhelp/APKBUILD6
-rw-r--r--main/py3-sphinxcontrib-htmlhelp/APKBUILD2
-rw-r--r--main/py3-sphinxcontrib-jsmath/APKBUILD6
-rw-r--r--main/py3-sphinxcontrib-qthelp/APKBUILD6
-rw-r--r--main/py3-sphinxcontrib-serializinghtml/APKBUILD2
-rw-r--r--main/py3-sphinxcontrib-websupport/APKBUILD2
-rw-r--r--main/py3-tappy/APKBUILD8
-rw-r--r--main/py3-testtools/APKBUILD2
-rw-r--r--main/py3-toml/APKBUILD31
-rw-r--r--main/py3-tomli/APKBUILD36
-rw-r--r--main/py3-tz/APKBUILD8
-rw-r--r--main/py3-urllib3/APKBUILD6
-rw-r--r--main/py3-wcag-contrast-ratio/APKBUILD2
-rw-r--r--main/py3-wcwidth/APKBUILD2
-rw-r--r--main/py3-wheel/APKBUILD31
-rw-r--r--main/py3-wheel/use-system-packaging.patch26
-rw-r--r--main/py3-xmlschema/APKBUILD6
-rw-r--r--main/py3-yaml/APKBUILD2
-rw-r--r--main/python3/APKBUILD69
-rw-r--r--main/python3/arm-alignment.patch17
-rw-r--r--main/python3/custom-bluetooth-h-path.patch63
-rw-r--r--main/python3/deprecated-test-functions.patch801
-rw-r--r--main/quagga/APKBUILD2
-rw-r--r--main/raspberrypi-bootloader/APKBUILD11
-rw-r--r--main/raspberrypi/APKBUILD6
-rw-r--r--main/razor/APKBUILD4
-rw-r--r--main/rdiff-backup/APKBUILD4
-rw-r--r--main/readline/APKBUILD13
-rw-r--r--main/redis/APKBUILD8
-rw-r--r--main/rpcbind/APKBUILD4
-rw-r--r--main/rrdcollect/APKBUILD4
-rw-r--r--main/rsnapshot/APKBUILD2
-rw-r--r--main/rssh/APKBUILD2
-rw-r--r--main/rsync/APKBUILD8
-rw-r--r--main/rsync/CVE-2022-29154.patch384
-rw-r--r--main/rsyslog/APKBUILD6
-rw-r--r--main/rtmpdump/APKBUILD2
-rw-r--r--main/rtpproxy/APKBUILD8
-rw-r--r--main/ruby-bundler/APKBUILD6
-rw-r--r--main/ruby-power_assert/APKBUILD4
-rw-r--r--main/ruby-rr/APKBUILD6
-rw-r--r--main/ruby-rr/gemspec.patch20
-rw-r--r--main/ruby-test-unit/APKBUILD4
-rw-r--r--main/run-parts/APKBUILD2
-rw-r--r--main/s390-tools/APKBUILD10
-rw-r--r--main/samba/APKBUILD158
-rw-r--r--main/samba/netapp.patch85
-rw-r--r--main/samba/netdb-defines.patch6
-rw-r--r--main/samba/netgroup.patch15
-rw-r--r--main/scons/APKBUILD2
-rw-r--r--main/scstadmin/APKBUILD4
-rw-r--r--main/secureboot-hook/APKBUILD4
-rw-r--r--main/secureboot-hook/secureboot.conf2
-rw-r--r--main/sed/APKBUILD15
-rw-r--r--main/sed/fix-test-canonicalize-lgpl.patch23
-rw-r--r--main/serf/APKBUILD4
-rw-r--r--main/serf/bio-ctrl.patch27
-rw-r--r--main/sfic/APKBUILD4
-rw-r--r--main/shared-mime-info/APKBUILD4
-rw-r--r--main/shared-mime-info/shared-mime-info.trigger2
-rw-r--r--main/sharutils/APKBUILD2
-rw-r--r--main/shorewall-core/APKBUILD2
-rw-r--r--main/sipcalc/APKBUILD2
-rw-r--r--main/sipsak/APKBUILD10
-rw-r--r--main/sircbot/APKBUILD2
-rw-r--r--main/skalibs/APKBUILD4
-rw-r--r--main/slang/APKBUILD12
-rw-r--r--main/slang/disable-rpath.patch14
-rw-r--r--main/slang/fix-slarray-32bit.patch19
-rw-r--r--main/smokeping/APKBUILD4
-rw-r--r--main/snmptt/APKBUILD11
-rw-r--r--main/snort/APKBUILD4
-rw-r--r--main/sntpc/APKBUILD2
-rw-r--r--main/socat/APKBUILD9
-rw-r--r--main/sofia-sip/APKBUILD6
-rw-r--r--main/source-highlight/APKBUILD4
-rw-r--r--main/source-highlight/gcc12.patch82
-rw-r--r--main/spamassassin/APKBUILD2
-rw-r--r--main/spawn-fcgi/APKBUILD2
-rw-r--r--main/speedtest-cli/APKBUILD6
-rw-r--r--main/spice-protocol/APKBUILD6
-rw-r--r--main/spice/APKBUILD37
-rw-r--r--main/spice/failing-tests.patch36
-rw-r--r--main/spice/fix-build.patch6
-rw-r--r--main/spice/python-module-check.patch37
-rw-r--r--main/spirv-headers/APKBUILD9
-rw-r--r--main/spirv-tools/APKBUILD15
-rw-r--r--main/sprunge/APKBUILD2
-rw-r--r--main/sqlite-tcl/APKBUILD4
-rw-r--r--main/sqlite/APKBUILD6
-rw-r--r--main/sqsh/APKBUILD2
-rw-r--r--main/squark/APKBUILD2
-rw-r--r--main/squid/APKBUILD16
-rw-r--r--main/squid/squid-5.2-openssl3.patch185
-rw-r--r--main/sshguard/APKBUILD10
-rw-r--r--main/sshguard/sshguard.initd2
-rw-r--r--main/sshpass/APKBUILD2
-rw-r--r--main/strace/APKBUILD4
-rw-r--r--main/strongswan/0001-charon-add-optional-source-and-remote-overrides-for-.patch579
-rw-r--r--main/strongswan/0002-vici-send-certificates-for-ike-sa-events.patch (renamed from main/strongswan/1002-vici-send-certificates-for-ike-sa-events.patch)42
-rw-r--r--main/strongswan/0003-vici-add-support-for-individual-sa-state-changes.patch (renamed from main/strongswan/1003-vici-add-support-for-individual-sa-state-changes.patch)23
-rw-r--r--main/strongswan/APKBUILD27
-rw-r--r--main/strongswan/disable_test_time_printf_hook.patch51
-rw-r--r--main/subunit/APKBUILD30
-rw-r--r--main/subversion/APKBUILD2
-rw-r--r--main/supervisor/APKBUILD2
-rw-r--r--main/swig/APKBUILD12
-rw-r--r--main/swish-e/APKBUILD2
-rw-r--r--main/sysfsutils/APKBUILD2
-rw-r--r--main/syslog-ng/APKBUILD22
-rw-r--r--main/talloc/APKBUILD2
-rw-r--r--main/tar/APKBUILD2
-rw-r--r--main/tarsnap/APKBUILD38
-rw-r--r--main/tcl/APKBUILD8
-rw-r--r--main/tcl/restore-fp-control-word.patch106
-rw-r--r--main/tcpflow/APKBUILD2
-rw-r--r--main/tdb/APKBUILD2
-rw-r--r--main/terminus-font/APKBUILD6
-rw-r--r--main/termrec/APKBUILD2
-rw-r--r--main/testdisk/APKBUILD2
-rw-r--r--main/tevent/APKBUILD10
-rw-r--r--main/tevent/fix-public-header.patch13
-rw-r--r--main/tevent/python-3.10.patch34
-rw-r--r--main/texinfo/APKBUILD9
-rw-r--r--main/tftp-hpa/APKBUILD10
-rw-r--r--main/tftp-hpa/fix-prompt-flush.patch13
-rw-r--r--main/thin-provisioning-tools/APKBUILD2
-rw-r--r--main/tiff/APKBUILD24
-rw-r--r--main/tiff/CVE-2022-2056-8.patch180
-rw-r--r--main/tiff/CVE-2022-2519-21.patch132
-rw-r--r--main/tiff/CVE-2022-34526.patch28
-rw-r--r--main/tig/APKBUILD23
-rw-r--r--main/tig/test-git-file-protocol.patch46
-rw-r--r--main/tiny-cloud/APKBUILD4
-rw-r--r--main/tinyproxy/APKBUILD12
-rw-r--r--main/tinyproxy/CVE-2022-40468.patch28
-rw-r--r--main/tinyproxy/tinyproxy.initd2
-rw-r--r--main/tinyxml2/APKBUILD2
-rw-r--r--main/tk/APKBUILD6
-rw-r--r--main/tree/0001-remove-03-cflag.patch25
-rw-r--r--main/tree/APKBUILD16
-rw-r--r--main/ttf-freefont/APKBUILD29
-rw-r--r--main/ttf-tlwg/APKBUILD19
-rw-r--r--main/tzdata/APKBUILD17
-rw-r--r--main/u-boot/APKBUILD28
-rwxr-xr-xmain/u-boot/update-u-boot12
-rw-r--r--main/ucarp/APKBUILD2
-rw-r--r--main/udev-init-scripts/APKBUILD9
-rw-r--r--main/udev-init-scripts/udev-init-scripts.post-install10
l---------main/udev-init-scripts/udev-init-scripts.post-upgrade1
-rw-r--r--main/ulogd/APKBUILD37
-rw-r--r--main/ulogd/musl-fixes.patch10
-rw-r--r--main/umix/APKBUILD8
-rw-r--r--main/unbound/APKBUILD6
-rw-r--r--main/unfs3/APKBUILD4
-rw-r--r--main/unifont/APKBUILD10
-rw-r--r--main/unzip/08-allow-greater-hostver-values.patch14
-rw-r--r--main/unzip/13-remove-build-date.patch17
-rw-r--r--main/unzip/21-fix-warning-messages-on-big-files.patch15
-rw-r--r--main/unzip/APKBUILD45
-rw-r--r--main/unzip/CVE-2014-8139.patch (renamed from main/unzip/fix-CVE-2014-8139.patch)0
-rw-r--r--main/unzip/CVE-2021-4217.patch54
-rw-r--r--main/unzip/CVE-2022-0529-and-CVE-2022-0530.patch173
-rw-r--r--main/unzip/unzip-6.0-exec-shield.patch10
-rw-r--r--main/unzip/unzip-6.0-format-secure.patch90
-rw-r--r--main/unzip/unzip-6.0-timestamp.patch41
-rw-r--r--main/unzip/zipbomb-manpage.patch25
-rw-r--r--main/unzip/zipbomb-part1.patch25
-rw-r--r--main/unzip/zipbomb-part2.patch (renamed from main/unzip/CVE-2019-13232.patch)138
-rw-r--r--main/unzip/zipbomb-part3.patch112
-rw-r--r--main/unzip/zipbomb-part4.patch25
-rw-r--r--main/unzip/zipbomb-part5.patch26
-rw-r--r--main/unzip/zipbomb-part6.patch95
-rw-r--r--main/unzip/zipbomb-switch.patch215
-rw-r--r--main/usb-modeswitch/APKBUILD10
-rw-r--r--main/usbutils/APKBUILD15
-rw-r--r--main/userspace-rcu/APKBUILD4
-rw-r--r--main/util-linux/APKBUILD2
-rw-r--r--main/uvncrepeater/APKBUILD2
-rw-r--r--main/uwsgi/APKBUILD14
-rw-r--r--main/uwsgi/musl-fix-python.patch13
-rw-r--r--main/vala/APKBUILD4
-rw-r--r--main/valgrind/APKBUILD4
-rw-r--r--main/vanessa_logger/APKBUILD2
-rw-r--r--main/varnish/APKBUILD10
-rw-r--r--main/vde2/APKBUILD63
-rw-r--r--main/vde2/inline.patch21
-rw-r--r--main/vde2/musl-build-fix.patch15
-rw-r--r--main/vde2/vde2.post-down37
-rw-r--r--main/vde2/vde2.pre-install6
-rw-r--r--main/vde2/vde2.pre-up74
-rw-r--r--main/vde2/vde_cryptcab-compile-against-openssl-1.1.0.patch92
-rw-r--r--main/vim/APKBUILD31
-rw-r--r--main/vulkan-headers/APKBUILD34
-rw-r--r--main/vulkan-loader/APKBUILD45
-rw-r--r--main/vulkan-tools/APKBUILD50
-rw-r--r--main/wayland-protocols/APKBUILD8
-rw-r--r--main/wayland/APKBUILD6
-rw-r--r--main/wget/APKBUILD4
-rw-r--r--main/which/APKBUILD2
-rw-r--r--main/wipe/APKBUILD4
-rw-r--r--main/wireguard-tools/APKBUILD2
-rw-r--r--main/wireless-regdb/APKBUILD4
-rw-r--r--main/wpa_supplicant/APKBUILD13
-rw-r--r--main/wpa_supplicant/config12
-rw-r--r--main/wpa_supplicant/unsafe-renegotiation-1.patch103
-rw-r--r--main/wpa_supplicant/unsafe-renegotiation-2.patch105
-rw-r--r--main/xcb-proto/APKBUILD6
-rw-r--r--main/xen/APKBUILD65
-rw-r--r--main/xen/xsa401-4.16-1.patch170
-rw-r--r--main/xen/xsa401-4.16-2.patch191
-rw-r--r--main/xen/xsa402-4.16-1.patch43
-rw-r--r--main/xen/xsa402-4.16-2.patch213
-rw-r--r--main/xen/xsa402-4.16-3.patch284
-rw-r--r--main/xen/xsa402-4.16-4.patch83
-rw-r--r--main/xen/xsa402-4.16-5.patch148
-rw-r--r--main/xen/xsa403-4.16-1.patch56
-rw-r--r--main/xen/xsa404-4.16-1.patch239
-rw-r--r--main/xen/xsa404-4.16-2.patch85
-rw-r--r--main/xen/xsa404-4.16-3.patch177
-rw-r--r--main/xen/xsa407-4.16-00.patch823
-rw-r--r--main/xen/xsa407-4.16-1.patch153
-rw-r--r--main/xen/xsa407-4.16-2.patch99
-rw-r--r--main/xen/xsa407-4.16-3.patch86
-rw-r--r--main/xen/xsa407-4.16-4.patch96
-rw-r--r--main/xen/xsa407-4.16-5.patch285
-rw-r--r--main/xen/xsa407-4.16-7.patch94
-rw-r--r--main/xen/xsa407-4.16-8.patch293
-rw-r--r--main/xen/xsa408.patch36
-rw-r--r--main/xen/xsa412-4.16.patch245
-rw-r--r--main/xen/xsa414.patch112
-rw-r--r--main/xen/xsa422-4.16-1.patch (renamed from main/xen/xsa407-4.16-6.patch)75
-rw-r--r--main/xen/xsa422-4.16-2.patch100
-rw-r--r--main/xfsprogs/APKBUILD16
-rw-r--r--main/xkbcomp/APKBUILD2
-rw-r--r--main/xkeyboard-config/APKBUILD13
-rw-r--r--main/xkeyboard-config/fix-syntax-error.patch58
-rw-r--r--main/xl2tpd/APKBUILD4
-rw-r--r--main/xmlindent/APKBUILD4
-rw-r--r--main/xmlrpc-c/APKBUILD4
-rw-r--r--main/xorgproto/APKBUILD6
-rw-r--r--main/xtables-addons-lts/APKBUILD14
-rw-r--r--main/xtables-addons/APKBUILD4
-rw-r--r--main/xz/APKBUILD14
-rw-r--r--main/xz/xzgrep-ZDI-CAN-16587.patch94
-rw-r--r--main/yaml/APKBUILD4
-rw-r--r--main/yash/APKBUILD98
-rw-r--r--main/yash/yash.post-install11
-rw-r--r--main/yash/yash.post-upgrade14
-rw-r--r--main/yash/yash.pre-deinstall3
-rw-r--r--main/zeromq/APKBUILD21
-rw-r--r--main/zfs-lts/APKBUILD14
-rw-r--r--main/zfs-rpi/APKBUILD8
-rw-r--r--main/zfs/APKBUILD8
-rw-r--r--main/zip/APKBUILD2
-rw-r--r--main/zlib/APKBUILD15
-rw-r--r--main/zlib/Fix-CC-logic-in-configure.patch43
-rw-r--r--main/zlib/crc32.patch51
-rw-r--r--main/zonenotify/APKBUILD2
-rw-r--r--main/zstd/APKBUILD29
-rw-r--r--main/zstd/zstdConfig.cmake1
-rw-r--r--main/zstd/zstdConfigVersion.cmake70
-rw-r--r--main/zstd/zstdTargets-release.cmake29
-rw-r--r--main/zstd/zstdTargets.cmake118
1335 files changed, 18806 insertions, 55939 deletions
diff --git a/main/abuild/0001-abuild-fix-amove-corner-cases.patch b/main/abuild/0001-abuild-fix-amove-corner-cases.patch
new file mode 100644
index 0000000000..a7694ef371
--- /dev/null
+++ b/main/abuild/0001-abuild-fix-amove-corner-cases.patch
@@ -0,0 +1,132 @@
+From 5c542377a8f06d9c201d4ade3260dec0b6183630 Mon Sep 17 00:00:00 2001
+From: Natanael Copa <ncopa@alpinelinux.org>
+Date: Fri, 23 Sep 2022 12:31:56 +0200
+Subject: [PATCH] abuild: fix amove corner cases
+
+fix `amove dir` (without leading or trailing /)
+
+add various testcases for amove
+---
+ abuild.in | 8 +++--
+ tests/abuild_test | 79 ++++++++++++++++++++++++++++++++++++++++++++++-
+ 2 files changed, 84 insertions(+), 3 deletions(-)
+
+diff --git a/abuild.in b/abuild.in
+index d013ab1..ac17067 100755
+--- a/abuild.in
++++ b/abuild.in
+@@ -79,11 +79,15 @@ amove() {
+ local pattern f
+ for pattern; do
+ for f in ${pattern#/}; do # let shell expand the pattern
+- # only create dir if needed
++ # strip trailing /
++ f=${f%/}
+ if [ "${f%/*}" != "$f" ]; then
+ mkdir -p "$subpkgdir/${f%/*}"
++ mv -v "$pkgdir"/$f "$subpkgdir/${f%/*}"
++ else
++ mkdir -p "$subpkgdir"
++ mv -v "$pkgdir"/$f "$subpkgdir/"
+ fi
+- mv -v "$pkgdir"/$f "$subpkgdir/${f%/*}"
+ # cleanup
+ rmdir -p "$f" 2>/dev/null || rmdir -p "${f%/*}" 2>/dev/null || true
+ done
+diff --git a/tests/abuild_test b/tests/abuild_test
+index f127abf..7fefae4 100755
+--- a/tests/abuild_test
++++ b/tests/abuild_test
+@@ -24,7 +24,8 @@ init_tests \
+ abuild_multiline_license \
+ abuild_git_ceiling \
+ abuild_package_size_zero \
+- abuild_package_size_nonzero
++ abuild_package_size_nonzero \
++ abuild_amove
+
+ export ABUILD_SHAREDIR=$(atf_get_srcdir)/..
+ export ABUILD_CONF=/dev/null
+@@ -517,3 +518,79 @@ abuild_package_size_nonzero_body() {
+ atf_check -o not-match:'^size = 1$' \
+ cat pkg/.control.test-size/.PKGINFO
+ }
++
++abuild_amove_body() {
++ init_keys
++ mkdir -p test-amove
++
++ cd test-amove
++ cat > APKBUILD <<-EOF
++ # Maintainer: Test User 123 <123@example.com>
++
++ # test package
++ pkgname="test-amove"
++ pkgver="1.0"
++ pkgrel=0
++ pkgdesc='Dummy test package - amove'
++ url='https://gitlab.alpinelinux.org/alpine/aports'
++ arch='noarch'
++ license='MIT'
++ subpackages="\$pkgname-file:_file
++ \$pkgname-etc:_etc
++ \$pkgname-bin:_bin
++ \$pkgname-sbin:_sbin
++ \$pkgname-var:_var
++ \$pkgname-usr:_usr"
++
++ package() {
++ mkdir -p "\$pkgdir"/etc \
++ "\$pkgdir"/bin \
++ "\$pkgdir"/sbin \
++ "\$pkgdir"/var/lib/\$pkgname \
++ "\$pkgdir"/usr/share
++ touch "\$pkgdir"/etc/file \
++ "\$pkgdir"/etc/\$pkgname.conf \
++ "\$pkgdir"/bin/hello \
++ "\$pkgdir"/sbin/shello \
++ "\$pkgdir"/var/lib/\$pkgname/testfile \
++ "\$pkgdir"/usr/share/a \
++ "\$pkgdir"/usr/share/b
++ }
++ _file() {
++ amove etc/file
++ }
++ _etc() {
++ # leading and trailing /
++ amove /etc/
++ }
++ _bin() {
++ # trailing /
++ amove bin/
++ }
++ _sbin() {
++ # no /
++ amove sbin/shello
++ }
++ _var() {
++ # leading /
++ amove /var/lib
++ }
++ _usr() {
++ # glob *
++ amove usr/share/*
++ }
++
++ EOF
++ abuild rootpkg || atf_fail "abuild rootpkg failed"
++ for i in \
++ test-amove-file/etc/file \
++ test-amove-etc/etc/test-amove.conf \
++ test-amove-bin/bin/hello \
++ test-amove-sbin/sbin/shello \
++ test-amove-var/var/lib/test-amove/testfile \
++ test-amove-usr/usr/share/a \
++ test-amove-usr/usr/share/b \
++ ; do \
++ test -f pkg/$i || atf_fail "$i failed"
++ done
++}
+--
+2.37.3
+
diff --git a/main/abuild/0001-make-increase-test-timeout.patch b/main/abuild/0001-make-increase-test-timeout.patch
new file mode 100644
index 0000000000..eb0c2ffd71
--- /dev/null
+++ b/main/abuild/0001-make-increase-test-timeout.patch
@@ -0,0 +1,25 @@
+From 58a9262c480b524ad5489bcf393047c006bef225 Mon Sep 17 00:00:00 2001
+From: Natanael Copa <ncopa@alpinelinux.org>
+Date: Mon, 12 Sep 2022 17:50:35 +0200
+Subject: [PATCH] make: increase test timeout
+
+---
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index 4f36624..2d1ebe7 100644
+--- a/Makefile
++++ b/Makefile
+@@ -106,7 +106,7 @@ tests/Kyuafile: $(wildcard tests/*_test)
+ echo "syntax(2)" > $@
+ echo "test_suite('abuild')" >> $@
+ for i in $(notdir $(wildcard tests/*_test)); do \
+- echo "atf_test_program{name='$$i',timeout=5}" >> $@ ; \
++ echo "atf_test_program{name='$$i',timeout=45}" >> $@ ; \
+ done
+
+ Kyuafile: tests/Kyuafile
+--
+2.37.3
+
diff --git a/main/abuild/APKBUILD b/main/abuild/APKBUILD
index b9f23eaa09..a780d05754 100644
--- a/main/abuild/APKBUILD
+++ b/main/abuild/APKBUILD
@@ -1,8 +1,8 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=abuild
-pkgver=3.9.0
+pkgver=3.10.0_rc1
_ver=${pkgver%_git*}
-pkgrel=5
+pkgrel=2
pkgdesc="Script to build Alpine Packages"
url="https://git.alpinelinux.org/cgit/abuild/"
arch="all"
@@ -15,7 +15,7 @@ fi
makedepends_build="pkgconfig scdoc"
makedepends_host="openssl-dev>3 zlib-dev"
makedepends="$makedepends_host $makedepends_build"
-checkdepends="bats"
+checkdepends="kyua git"
install="$pkgname.pre-install $pkgname.pre-upgrade"
subpackages="
apkbuild-cpan:cpan:noarch
@@ -27,11 +27,8 @@ subpackages="
options="suid"
pkggroups="abuild"
source="https://gitlab.alpinelinux.org/alpine/abuild/-/archive/$pkgver/abuild-$pkgver.tar.gz
- mr60-newapkbuild-use-abuild-meson.patch
- mr128-newapkbuild-fetch-rust-deps-in-prepare.patch
- mr131-newapkbuild-change-cmake-build-type.patch
- mr134-modcacherw.patch
- mr127-doas.patch
+ 0001-make-increase-test-timeout.patch
+ 0001-abuild-fix-amove-corner-cases.patch
"
builddir="$srcdir"/abuild-$pkgver
@@ -89,10 +86,7 @@ _rootbld() {
}
sha512sums="
-a3075b18d4a085ca796d1c2df703c3e7c80e682623175eb0822479f3a6d96ffba571f283bdec8ae3db832e296f9e58bdd0f58097b86b503a91fbb40148084a68 abuild-3.9.0.tar.gz
-a52fa7978d61f1636dbe3d120fee4e3fab6fae018a91f662c082f4eab37e6fd63d74c55124fd50fa3a676a8af71ba858cebf93f3ca21f95b03d3478fa1e55e6b mr60-newapkbuild-use-abuild-meson.patch
-f8d5c131cefb1c10d34962994ee3158fd8155acf68616fe471a7d07ce15e04d184bdfa3c181ec19bd1ca95e0f5acf1664f14a52b29451b2760aa580222e75f73 mr128-newapkbuild-fetch-rust-deps-in-prepare.patch
-56b71c3feff5a17d9550e1947fe316b7c7aa397f9e365532410e492ea992b8bfcfbb97041ddc2128c7bb9772e9e03584a9f5d5f5bcced00a1082e7374f02801a mr131-newapkbuild-change-cmake-build-type.patch
-9a8697819a3c94a968be33eb014a8f59ea15cefd46046b7fb6ef58fcfde37d5a4243f0aaafe51ab6f43766c94775332ea88d4d07cccc3bd0d9443c26651aef21 mr134-modcacherw.patch
-41e68d43db29823305b0496cd35908951a169a7cf4715fb29a6b23c148fc9275cee019e88a7cded45e9ac2d48bdab574f61207d9cdff181efce29a97228e3e29 mr127-doas.patch
+8dccc843cc6b3f53642bb2849d00cc00a283763f2b915c01600b0542ce16a96b2e265498b59ceff250a1c7be22c4a5aeb0cb0926c7498668ded897c64b83b9c0 abuild-3.10.0_rc1.tar.gz
+605e17e99ba24388e278de3a378bf717f6061930a73197bbf5d3462b281fccc242262a7582d0c7106fcf92daa2166e4bc341d3a784868906527e493adfb9bf5f 0001-make-increase-test-timeout.patch
+c979b3f926a4bd5aabe3996473151156f4573040c37a99aa4bf9042743952c46c08286581753c372196ce9da651971879a9e31eed124e65393dab71c96494df9 0001-abuild-fix-amove-corner-cases.patch
"
diff --git a/main/abuild/mr127-doas.patch b/main/abuild/mr127-doas.patch
deleted file mode 100644
index 9a6594cc56..0000000000
--- a/main/abuild/mr127-doas.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From 4dbf8e3756188748d3fff9dce81f93b21085d123 Mon Sep 17 00:00:00 2001
-From: Natanael Copa <ncopa@alpinelinux.org>
-Date: Wed, 22 Jun 2022 16:38:55 +0200
-Subject: [PATCH] abuild-keygen: use doas instead of sudo
-
-fallback to sudo if doas was not found
----
- abuild-keygen.in | 7 ++++---
- tests/abuild_keygen_test | 21 ++++++++++++++++++++-
- 2 files changed, 24 insertions(+), 4 deletions(-)
-
-diff --git a/abuild-keygen.in b/abuild-keygen.in
-index 299d86c..d9ac0bc 100644
---- a/abuild-keygen.in
-+++ b/abuild-keygen.in
-@@ -8,7 +8,7 @@
-
- program_version=@VERSION@
- sharedir=${ABUILD_SHAREDIR:-@sharedir@}
--SUDO="${SUDO-sudo}"
-+SUDO="${SUDO-$(command -v doas || command -v sudo || echo doas)}"
-
- if ! [ -f "$sharedir/functions.sh" ]; then
- echo "$sharedir/functions.sh: not found" >&2
-@@ -98,14 +98,15 @@ usage() {
- -a, --append Set PACKAGER_PRIVKEY=<generated key> in
- $ABUILD_USERCONF
-
-- -i, --install Install public key into /etc/apk/keys using sudo
-+ -i, --install Install public key into /etc/apk/keys using doas
- -n Non-interactive. Use defaults
- -b, --numbits [BITS] The size of the private key to generate in bits.
- -q, --quiet
- -h, --help Show this help
-
- The SUDO variable can be set to pick which tool can be used to
-- elevate privileges, if it is not set it defaults to sudo.
-+ elevate privileges, if it is not set it defaults to doas or sudo if doas
-+ is not found.
-
- __EOF__
- }
diff --git a/main/abuild/mr128-newapkbuild-fetch-rust-deps-in-prepare.patch b/main/abuild/mr128-newapkbuild-fetch-rust-deps-in-prepare.patch
deleted file mode 100644
index 298f717e3b..0000000000
--- a/main/abuild/mr128-newapkbuild-fetch-rust-deps-in-prepare.patch
+++ /dev/null
@@ -1,110 +0,0 @@
-Patch-Source: https://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/128
---
-From 29611f3a6929b4edecd89506e666f963fa25ae52 Mon Sep 17 00:00:00 2001
-From: Jakub Jirutka <jakub@jirutka.cz>
-Date: Thu, 16 Dec 2021 00:19:07 +0100
-Subject: [PATCH 1/2] newapkbuild: fetch rust dependencies in prepare phase
-
-Fetch all dependencies in the prepare phase and do not access network
-in the following phases.
----
- newapkbuild.in | 27 ++++++++++++++++++++++++---
- 1 file changed, 24 insertions(+), 3 deletions(-)
-
-diff --git a/newapkbuild.in b/newapkbuild.in
-index c58d519..0182ad2 100644
---- a/newapkbuild.in
-+++ b/newapkbuild.in
-@@ -30,6 +30,12 @@ is_github_url() {
- return 1
- }
-
-+prepare_rust() {
-+ cat >>APKBUILD<<__EOF__
-+ cargo fetch --locked
-+__EOF__
-+}
-+
- # Build sections
- build_make() {
- cat >>APKBUILD<<__EOF__
-@@ -104,7 +110,7 @@ __EOF__
-
- build_rust() {
- cat >>APKBUILD<<__EOF__
-- cargo build --release --locked
-+ cargo build --frozen --release
- __EOF__
- }
-
-@@ -150,7 +156,7 @@ __EOF__
-
- check_rust() {
- cat >>APKBUILD<<__EOF__
-- cargo test --release --locked
-+ cargo test --frozen --release
- __EOF__
- }
-
-@@ -199,7 +205,7 @@ __EOF__
-
- package_rust() {
- cat >>APKBUILD<<__EOF__
-- cargo install --locked --path . --root="\$pkgdir/usr"
-+ cargo install --frozen --offline --path . --root="\$pkgdir/usr"
- rm "\$pkgdir"/usr/.crates*
- __EOF__
- }
-@@ -333,6 +339,21 @@ __EOF__
- fi
- fi
-
-+ case "$buildtype" in
-+ rust)
-+ cat >>APKBUILD<<__EOF__
-+prepare() {
-+ default_prepare
-+
-+__EOF__
-+ prepare_rust
-+ cat >>APKBUILD<<__EOF__
-+}
-+
-+__EOF__
-+ ;;
-+ esac
-+
- # Create build() function
- cat >>APKBUILD<<__EOF__
- build() {
---
-GitLab
-
-
-From 0a9374e4ffa8202ba011497ea39fb5443d7ef9a5 Mon Sep 17 00:00:00 2001
-From: Jakub Jirutka <jakub@jirutka.cz>
-Date: Thu, 16 Dec 2021 00:23:48 +0100
-Subject: [PATCH 2/2] newapkbuild: do not run cargo test with --release
-
-It takes a longer time to compile and, most importantly, it may cause
-unnecessary rebuild of everything in the package phase (installation).
----
- newapkbuild.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/newapkbuild.in b/newapkbuild.in
-index 0182ad2..9e8643d 100644
---- a/newapkbuild.in
-+++ b/newapkbuild.in
-@@ -156,7 +156,7 @@ __EOF__
-
- check_rust() {
- cat >>APKBUILD<<__EOF__
-- cargo test --frozen --release
-+ cargo test --frozen
- __EOF__
- }
-
---
-GitLab
-
diff --git a/main/abuild/mr131-newapkbuild-change-cmake-build-type.patch b/main/abuild/mr131-newapkbuild-change-cmake-build-type.patch
deleted file mode 100644
index 5b98b499a4..0000000000
--- a/main/abuild/mr131-newapkbuild-change-cmake-build-type.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-Patch-Source: https://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/131
---
-From 6c43d67a053be0476384fcf8252c07fa2a235a87 Mon Sep 17 00:00:00 2001
-From: psykose <alice@ayaya.dev>
-Date: Thu, 30 Dec 2021 21:48:50 +0000
-Subject: [PATCH] newapkbuild: refine default cmake format
-
-MinSizeRel is a better recommended default- of course it can still be
-overriden.
-the dot is redundant- we already specify -B and so the dot is implicitly
-cwd.
----
- newapkbuild.in | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/newapkbuild.in b/newapkbuild.in
-index c58d519..63b387d 100644
---- a/newapkbuild.in
-+++ b/newapkbuild.in
-@@ -65,8 +65,8 @@ build_cmake() {
- -DCMAKE_INSTALL_PREFIX=/usr \\
- -DCMAKE_INSTALL_LIBDIR=lib \\
- -DBUILD_SHARED_LIBS=True \\
-- -DCMAKE_BUILD_TYPE=None \\
-- \$CMAKE_CROSSOPTS .
-+ -DCMAKE_BUILD_TYPE=MinSizeRel \\
-+ \$CMAKE_CROSSOPTS
- cmake --build build
- __EOF__
- }
---
-GitLab
-
diff --git a/main/abuild/mr134-modcacherw.patch b/main/abuild/mr134-modcacherw.patch
deleted file mode 100644
index ceffe6df39..0000000000
--- a/main/abuild/mr134-modcacherw.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-the commit puts it into default config- we put it here to activate it immediately
-diff --git a/abuild.in b/abuild.in
-index 76cd77b..bd38003 100644
---- a/abuild.in
-+++ b/abuild.in
-@@ -462,7 +462,7 @@ initdcheck() {
- local i line
- for i in $source; do
- case $i in
-- *.initd)
-+ *.initd)
- line=$(head -n 1 "$srcdir"/"$(filename_from_uri $i)")
- ;;
- *) continue ;;
-@@ -2793,6 +2793,8 @@ fi
- # for recursive action
- export REPODEST SRCDEST
-
-+export GOFLAGS="$GOFLAGS -modcacherw"
-+
- # add dbg subpackage if its enabled globally
- if [ -n "$DEFAULT_DBG" ] && ! subpackage_types_has "dbg" && ! options_has "!dbg" && [ "$arch" != "noarch" ]; then
- subpackages="$pkgname-dbg $subpackages"
diff --git a/main/abuild/mr60-newapkbuild-use-abuild-meson.patch b/main/abuild/mr60-newapkbuild-use-abuild-meson.patch
deleted file mode 100644
index 44aefd46bf..0000000000
--- a/main/abuild/mr60-newapkbuild-use-abuild-meson.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-Patch-Source: https://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/60
---
-From 55b66b3ad702ba673384126d98026043cdf949ef Mon Sep 17 00:00:00 2001
-From: Leo <thinkabit.ukim@gmail.com>
-Date: Tue, 7 Jul 2020 13:37:31 -0300
-Subject: [PATCH] newapkbuild: use meson-abuild helper instead of meson
-
-abuild-meson is a shellscript that wraps around meson and passes options
-meant for packaging software that uses meson, for Alpine Linux.
----
- newapkbuild.in | 7 +------
- 1 file changed, 1 insertion(+), 6 deletions(-)
-
-diff --git a/newapkbuild.in b/newapkbuild.in
-index c58d519..d7a2eb5 100644
---- a/newapkbuild.in
-+++ b/newapkbuild.in
-@@ -78,12 +78,7 @@ build_meson() {
- # TODO For cross compilation a cross_file needs to be created.
-
- cat >>APKBUILD<<__EOF__
-- meson \\
-- --prefix=/usr \\
-- --sysconfdir=/etc \\
-- --mandir=/usr/share/man \\
-- --localstatedir=/var \\
-- --buildtype=plain \\
-+ abuild-meson \\
- . output
- meson compile \${JOBS:+-j \${JOBS}} -C output
- __EOF__
---
-GitLab
-
diff --git a/main/acf-core/APKBUILD b/main/acf-core/APKBUILD
index b654db9fdc..c7beb8f070 100644
--- a/main/acf-core/APKBUILD
+++ b/main/acf-core/APKBUILD
@@ -3,7 +3,7 @@
_luaversion="5.2"
pkgname=acf-core
pkgver=0.22.0
-pkgrel=2
+pkgrel=3
pkgdesc="Web-based system administration interface framework"
url="https://gitlab.alpinelinux.org/acf/acf-core"
arch="noarch"
diff --git a/main/acf-kamailio/APKBUILD b/main/acf-kamailio/APKBUILD
index 548151f844..a4a094ec77 100644
--- a/main/acf-kamailio/APKBUILD
+++ b/main/acf-kamailio/APKBUILD
@@ -9,7 +9,6 @@ arch="noarch"
license="GPL-2.0-only"
options="!check" # no test suite
depends="acf-core kamailio acf-db-lib"
-makedepends="acf-db-lib"
source="https://gitlab.alpinelinux.org/acf/acf-kamailio/-/archive/v$pkgver/acf-kamailio-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
diff --git a/main/acf-mariadb/APKBUILD b/main/acf-mariadb/APKBUILD
index 99e5ef1382..4d0777a36d 100644
--- a/main/acf-mariadb/APKBUILD
+++ b/main/acf-mariadb/APKBUILD
@@ -9,7 +9,6 @@ arch="noarch"
license="GPL-2.0-only"
options="!check" # no test suite
depends="acf-core mariadb mariadb-client lua-sql-mysql acf-db-lib"
-makedepends="acf-db-lib"
replaces="acf-mysql"
source="https://gitlab.alpinelinux.org/acf/acf-mariadb/-/archive/v$pkgver/acf-mariadb-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
diff --git a/main/acf-postgresql/APKBUILD b/main/acf-postgresql/APKBUILD
index e90e5aad21..0db960e41f 100644
--- a/main/acf-postgresql/APKBUILD
+++ b/main/acf-postgresql/APKBUILD
@@ -9,7 +9,6 @@ arch="noarch"
license="GPL-2.0-only"
options="!check" # no test suite
depends="acf-core postgresql acf-db-lib lua-sql-postgres"
-makedepends="acf-db-lib"
source="https://gitlab.alpinelinux.org/acf/acf-postgresql/-/archive/v$pkgver/acf-postgresql-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
diff --git a/main/acf-weblog/APKBUILD b/main/acf-weblog/APKBUILD
index 679b728167..54cd77a92d 100644
--- a/main/acf-weblog/APKBUILD
+++ b/main/acf-weblog/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Ted Trask <ttrask01@yahoo.com>
pkgname=acf-weblog
pkgver=0.11.1
-pkgrel=3
+pkgrel=4
pkgdesc="ACF for web proxy (squid and dansguardian) logfiles"
url="https://gitlab.alpinelinux.org/acf/acf-weblog"
arch="noarch"
@@ -10,7 +10,7 @@ license="GPL-2.0-only"
options="!check" # no test suite
depends="acf-core lua-sql-postgres wget postgresql-client lua-subprocess"
install="$pkgname.post-upgrade"
-source="https://gitlab.alpinelinux.org/acf/acf-weblog/-/archive/v$pkgver/acf-weblog-v$pkgver.tar.gz
+source="$pkgname-$pkgver.tar.gz::https://gitlab.alpinelinux.org/acf/acf-weblog/-/archive/v$pkgver/acf-weblog-v$pkgver.tar.gz
acf-weblog-update-schema
"
builddir="$srcdir/$pkgname-v$pkgver"
@@ -22,6 +22,6 @@ package() {
}
sha512sums="
-90f2b1c68e4afd849261410105a442ffb3b83cb1e3c70abaef24ede41773c602bd6d743bf5ef805b5b93619dc0ca3215638f8d1beaa071a408f15f2944b6cf51 acf-weblog-v0.11.1.tar.gz
+90f2b1c68e4afd849261410105a442ffb3b83cb1e3c70abaef24ede41773c602bd6d743bf5ef805b5b93619dc0ca3215638f8d1beaa071a408f15f2944b6cf51 acf-weblog-0.11.1.tar.gz
98474adf2b60b30dbe060753db9b8c8d70696e063cfae810f7aab59cba229e45e15abe368609bd9ab3480c594fd6e9545c5c128fcdc81908df4463f86cb475e3 acf-weblog-update-schema
"
diff --git a/main/ack/APKBUILD b/main/ack/APKBUILD
index 567f52036c..0bd3b1b7ab 100644
--- a/main/ack/APKBUILD
+++ b/main/ack/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ack
-pkgver=3.5.0
-pkgrel=1
+pkgver=3.6.0
+pkgrel=0
pkgdesc="A Perl-powered replacement for grep"
url="https://beyondgrep.com/"
arch="noarch"
@@ -28,4 +28,6 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="f5b9321fc62cf2ab86fa7dc933dd44245314ebd26bee2d8769f85c15fc8b4493d0757ca4430708f0ebea5692f9c73ad17cc00bc46d1f611b8489b30811df307d ack-v3.5.0.tar.gz"
+sha512sums="
+1cef0d873be47c8e27d5c3b3b47ea965cf39755d1556c3f653c28d75e1cea9b1ff183297c897d919e220cfcb556e3d5b88eb0b5343d933a05fa2c1fff1234173 ack-v3.6.0.tar.gz
+"
diff --git a/main/aconf/APKBUILD b/main/aconf/APKBUILD
index cd3e537b63..40232e28af 100644
--- a/main/aconf/APKBUILD
+++ b/main/aconf/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Kaarle Ritvanen <kunkku@alpinelinux.org>
pkgname=aconf
pkgver=0.8.1
-pkgrel=1
+pkgrel=2
pkgdesc="Alpine Configurator"
url="https://gitlab.alpinelinux.org/kunkku/aconf/"
arch="noarch"
diff --git a/main/acpi/APKBUILD b/main/acpi/APKBUILD
index 0b92719794..4eb6c50cc0 100644
--- a/main/acpi/APKBUILD
+++ b/main/acpi/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=acpi
pkgver=1.7
-pkgrel=4
+pkgrel=5
pkgdesc="ACPI client for battery, power, and thermal readings"
url="https://sourceforge.net/projects/acpiclient/files/acpiclient/"
arch="all"
diff --git a/main/acpica/APKBUILD b/main/acpica/APKBUILD
index 4129ae6ed5..31cf390c78 100644
--- a/main/acpica/APKBUILD
+++ b/main/acpica/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Roger Pau Monne <roger.pau@entel.upc.edu>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=acpica
-pkgver=20210930
+pkgver=20220331
pkgrel=0
pkgdesc="ACPI Component Architecture utilities"
url="https://www.acpica.org"
@@ -30,6 +30,6 @@ iasl() {
}
sha512sums="
-b02470bdda891eb7ca556ec4eee3387f80535b43b213f61e68e3913f4f8173dbf4c2dadaf28ad181ecc76171d40175d5ea5734dbc1237b3c3d2fba3072314c9e acpica-unix-20210930.tar.gz
+3120ba2a8b63adbf58323e4493222510119248e6b68e6f0f7c9b0eb2f798ba307544fcb148a079cd2647a933f5a39df0da1a3086db9ab22a3134bc788c849a9f acpica-unix-20220331.tar.gz
1f5049568d612d4debf3690e0d918d8d56abbed14ade7b2e6282eba17b25934b695d1a9fe10f99469efe8d4382c4546481d0579afdf5cdb9695fcdc93559fbab disable-werror.patch
"
diff --git a/main/alpine-base/APKBUILD b/main/alpine-base/APKBUILD
index b220989cb6..caa04885eb 100644
--- a/main/alpine-base/APKBUILD
+++ b/main/alpine-base/APKBUILD
@@ -1,28 +1,46 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-base
-pkgver=3.17_alpha20220809
+pkgver=3.17.0
pkgrel=0
pkgdesc="Meta package for minimal alpine base"
url="https://alpinelinux.org"
arch="noarch"
license="MIT"
-depends="alpine-baselayout alpine-conf apk-tools busybox busybox-suid busybox-initscripts
- openrc libc-utils alpine-keys"
+depends="
+ alpine-baselayout
+ alpine-conf
+ alpine-release
+ apk-tools
+ busybox
+ busybox-openrc
+ busybox-suid
+ dev-openrc
+ libc-utils
+ openrc
+ "
makedepends=""
install=""
-subpackages=""
+subpackages="alpine-release:release"
replaces="alpine-baselayout"
source=""
+options="!check"
build() {
return 0
}
package() {
- mkdir -p "$pkgdir"/etc
+ mkdir -p "$pkgdir"
+}
+
+release() {
+ depends="alpine-keys"
+ pkgdesc="Alpine release data"
+
+ mkdir -p "$subpkgdir"/etc
# create /etc/alpine-release
- echo $pkgver > "$pkgdir"/etc/alpine-release
+ echo $pkgver > "$subpkgdir"/etc/alpine-release
local _ver="$(echo "$pkgver" | grep -E -o '^[0-9]+\.[0-9]+')"
local _rel="v$_ver"
case "$pkgver" in
@@ -33,14 +51,14 @@ package() {
esac
# create /etc/issue
- cat >"$pkgdir"/etc/issue<<EOF
+ cat >"$subpkgdir"/etc/issue<<EOF
Welcome to Alpine Linux $_ver
Kernel \\r on an \\m (\\l)
EOF
# create os-release
- cat >"$pkgdir"/etc/os-release<<EOF
+ cat >"$subpkgdir"/etc/os-release<<EOF
NAME="Alpine Linux"
ID=alpine
VERSION_ID=$pkgver
@@ -50,8 +68,8 @@ BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues"
EOF
# create secfixes.d repository list
- mkdir -p "$pkgdir"/etc/secfixes.d
- cat >"$pkgdir"/etc/secfixes.d/alpine<<EOF
+ mkdir -p "$subpkgdir"/etc/secfixes.d
+ cat >"$subpkgdir"/etc/secfixes.d/alpine<<EOF
https://secdb.alpinelinux.org/$_rel/main.json
https://secdb.alpinelinux.org/$_rel/community.json
EOF
diff --git a/main/alpine-baselayout/APKBUILD b/main/alpine-baselayout/APKBUILD
index 58434ab806..b610612163 100644
--- a/main/alpine-baselayout/APKBUILD
+++ b/main/alpine-baselayout/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-baselayout
-pkgver=3.3.0
+pkgver=3.4.0
pkgrel=0
pkgdesc="Alpine base dir structure and init scripts"
url="https://git.alpinelinux.org/cgit/aports/tree/main/alpine-baselayout"
@@ -13,7 +13,7 @@ depends="$pkgname-data=${pkgver}-r${pkgrel}"
subpackages="$pkgname-data"
install="$pkgname.pre-install $pkgname.pre-upgrade $pkgname.post-upgrade
$pkgname.post-install"
-_nbver=6.2
+_nbver=6.4
source="crontab
color_prompt.sh.disabled
locale.sh
@@ -57,6 +57,7 @@ data() {
amove etc/hostname
amove etc/hosts
amove etc/inittab
+ amove etc/nsswitch.conf
amove etc/modules
amove etc/mtab
amove etc/passwd
@@ -230,6 +231,13 @@ package() {
Bourne-compatible shells (like ash, bash or zsh) when started as a
login shell.
EOF
+ cat > "$pkgdir"/etc/nsswitch.conf <<-EOF
+ # musl itself does not support NSS, however some third-party DNS
+ # implementations use the nsswitch.conf file to determine what
+ # policy to follow.
+ # Editing this file is not recommended.
+ hosts: files dns
+ EOF
install -m644 \
"$srcdir"/group \
@@ -260,7 +268,7 @@ bfe947bdd69e7d93b32c8cb4e2cabe5717cb6c1e1f49a74015ac2cfb13e96d1f12c4be23ae93a1d6
806b8f23f823a9471846d12fa6b55690b95eedb4c613b82aefaba7ffef23f83e17552befd891a487864f72ef24e395d8611738933f684a85eb4c336cb20994f8 group
fdab6f8fec2a556ab817d90a73635a927ea04dbc4e0470ed59ee6a62c87393f9534c9b746b09a776d938c25b8af9c9fb1686578e24f8307d1d074921ade1bdc7 inittab
06d12a7b9ca14fe17e412d0f24814620b67d035ae859be7906cbf4782dd69e359a6a555dafb98060b7fb7e4714aaa676c88d9017cded36e6d8398e23369bb290 passwd
-dfc810763c5d94ef6bd149bdb0b152712c0c0aadc7ad3c5c916e2c6e8ed57246e3cdac50d2743b9d009267bdbd47e91b6ad58fe6d068baf132043c38e8fd820d profile
-eadc83e47fcc354ab83fd109bee452bda170886fb684e67faf615930c11480919505f4af60c685b124efc54af0ded9522663132f911eac6622144f8b4c8be695 protocols-6.2
-adfae0d2f569c2a2f413b7e27683a007fc8ca689b8c3349672fe0dcb6208c192ede4402eff09c604b7e7b4fd9d8df93b875efa5bdaa6c14ff1d8022a7caad5cd services-6.2
+a15252a5eb90983775f63e54d37242f4c76c5c358ad6d8c1622c7da35f1b8a722249e7375a07e9f08fbb25318bd1eb033d3927aed82c3f5e9b854ad550dad2ce profile
+3a00083bcdf5a9e884c9d07877d52311e3d99e79cbee656e236ba06e08ba0dddb7ba76494fdc9dd1a826c48e197a790a69e6bb458e9df64832d6b5e904e9fd15 protocols-6.4
+47b0f3ee73af2d259bd206a026204be0ea25531a895a0b035a904b38fe5407bc3dd2beab7f8fcb3d760587e6159702ebdb9cbc4f508942befdf7f10c10c87888 services-6.4
"
diff --git a/main/alpine-baselayout/profile b/main/alpine-baselayout/profile
index 7544958197..e62587b72f 100644
--- a/main/alpine-baselayout/profile
+++ b/main/alpine-baselayout/profile
@@ -34,7 +34,6 @@ else
PS1='${HOSTNAME%%.*}:$PWD'
[ "$(id -u)" -eq 0 ] && PS1="${PS1}# " || PS1="${PS1}\$ "
fi
-export PS1
for script in /etc/profile.d/*.sh ; do
if [ -r "$script" ] ; then
diff --git a/main/alpine-conf/APKBUILD b/main/alpine-conf/APKBUILD
index c02db806b6..f124a3f731 100644
--- a/main/alpine-conf/APKBUILD
+++ b/main/alpine-conf/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-conf
-pkgver=3.14.6
+pkgver=3.15.0
pkgrel=0
pkgdesc="Alpine configuration management scripts"
url="https://git.alpinelinux.org/alpine-conf/about"
@@ -30,5 +30,5 @@ check() {
}
sha512sums="
-d8f59adfce6ff3aa2e6c986c073fc48e1eab52eadd5264db909abd8b7c9cfdb888efa896a928b6c25b8b4ea5a9e66b42c67dbe348cad29432bf68d446c654d97 alpine-conf-3.14.6.tar.gz
+058dd3d68817e2e3abd0598279d6fd202ad7888db95eb6f5c67e681273b28df28aade5dfe3244287556aa6545e1944506ac46e5e18e791c964dc128d76a9b689 alpine-conf-3.15.0.tar.gz
"
diff --git a/main/alpine-ipxe/APKBUILD b/main/alpine-ipxe/APKBUILD
index a54db2b92b..3a33d86799 100644
--- a/main/alpine-ipxe/APKBUILD
+++ b/main/alpine-ipxe/APKBUILD
@@ -56,6 +56,7 @@ build() {
CERT="$srcdir"/alpine-netboot-ca.crt,"$srcdir"/DST_Root_CA_X3.pem \
TRUST="$srcdir"/alpine-netboot-ca.crt,"$srcdir"/DST_Root_CA_X3.pem \
EXTRA_CFLAGS="-fcommon" \
+ NO_WERROR=1 \
$_targets
}
diff --git a/main/alpine-make-rootfs/APKBUILD b/main/alpine-make-rootfs/APKBUILD
index f0d18ef361..d857215751 100644
--- a/main/alpine-make-rootfs/APKBUILD
+++ b/main/alpine-make-rootfs/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=alpine-make-rootfs
-pkgver=0.6.0
+pkgver=0.6.1
pkgrel=0
pkgdesc="Make customized Alpine Linux rootfs (base image) for containers"
url="https://github.com/alpinelinux/alpine-make-rootfs"
@@ -18,5 +18,5 @@ package() {
}
sha512sums="
-2ea723071c469318006a0e5d8fcc22f7cd9ebfb6ebc271e20951f5999a1521811f12850dfcd91533cd3f6572eafaa6b001112a32c8f6c00fd626f9aa1e9a372b alpine-make-rootfs-0.6.0.tar.gz
+4a15b51f716d4d23f758e236ffaa1d192ca8e472a2cdcc591600aeae7681060baad25c88cb52bb4c827fd4d79263e0ba2d2f6ba1cef317ceb57a0306f456c415 alpine-make-rootfs-0.6.1.tar.gz
"
diff --git a/main/alsa-lib/APKBUILD b/main/alsa-lib/APKBUILD
index cba8d72c15..5a381c2431 100644
--- a/main/alsa-lib/APKBUILD
+++ b/main/alsa-lib/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alsa-lib
-pkgver=1.2.7.2
+pkgver=1.2.8
pkgrel=0
pkgdesc="Advanced Linux Sound Architecture (ALSA) library"
url="https://alsa-project.org/"
@@ -39,7 +39,7 @@ package() {
}
sha512sums="
-79e5920384e570a1acd8ecd1eb8812879333c3cedb1d15780080afc40125b97df893c33f4163d9dd863871b628bc6026265f8ace2c8634fc1af5b52b62ac9cfe alsa-lib-1.2.7.2.tar.bz2
+865ff05a8f589996f8d63d43a91c961f1b64144f3e1d17c7074b7ac16f25b3fd1c371d46ed63a8cc20fa01e63c76b75f1a9802b56889ae1073854dd050d27688 alsa-lib-1.2.8.tar.bz2
e15318431fe2d5bd1e42ef793f223e3e5995890d7befe6daa3d7456ccf5cb2f51eb79171539cecae13032a9b8a798ea35e04c89b27c7ef9567e2c03fb8db4512 remove-test.patch
f980d153c2f179e2f8fd90180d19250e5a5e12388f31d86a233d89be72ae7e96b944a8f435f0a11c6140378ac38eaa937175e1c100395ec4f635a9a6a4b1ae25 fix-PATH_MAX-on-ppc64le.patch
"
diff --git a/main/alsa-ucm-conf/APKBUILD b/main/alsa-ucm-conf/APKBUILD
index 438c2609a6..86b888b548 100644
--- a/main/alsa-ucm-conf/APKBUILD
+++ b/main/alsa-ucm-conf/APKBUILD
@@ -1,14 +1,15 @@
# Contributor: Minecrell <minecrell@minecrell.net>
# Maintainer: Minecrell <minecrell@minecrell.net>
pkgname=alsa-ucm-conf
-pkgver=1.2.7.2
-pkgrel=0
+pkgver=1.2.8
+pkgrel=1
pkgdesc="ALSA Use Case Manager configuration"
url="https://alsa-project.org"
arch="noarch"
license="BSD-3-Clause"
source="https://alsa-project.org/files/pub/lib/alsa-ucm-conf-$pkgver.tar.bz2"
options="!check" # no tests
+provider_priority=10
package() {
mkdir -p "$pkgdir"/usr/share/alsa
@@ -16,5 +17,5 @@ package() {
}
sha512sums="
-b6866f1ca6a3f4d69d7923bc1107a64b49944a3a8756f129f39034e5390e08db1c295669e54dfe1437ca934cc11abf407f60fc8319f5cba3f021966e8654c2db alsa-ucm-conf-1.2.7.2.tar.bz2
+a15a9ca52c108ee95a421b91f3fad4329f1e9fb1c004a40d5ff1a57d6701bad19a31d5a296426d26439be9b87d2d543ce51588a98402d24c17f0f92aaf1096ca alsa-ucm-conf-1.2.8.tar.bz2
"
diff --git a/main/alsa-utils/APKBUILD b/main/alsa-utils/APKBUILD
index cb4ca08ede..d3ddf8203b 100644
--- a/main/alsa-utils/APKBUILD
+++ b/main/alsa-utils/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alsa-utils
-pkgver=1.2.7
-pkgrel=1
+pkgver=1.2.8
+pkgrel=0
pkgdesc="Advanced Linux Sound Architecture (ALSA) utilities"
url="https://alsa-project.org/"
arch="all"
@@ -41,7 +41,7 @@ alsaconf() {
}
sha512sums="
-1be8f617315193e6033653ac96a14bd1c3272cd9d8f3776cdb1357f35f5353652acd5975cfc5bd16278cd496f5bf409bb60432818a526282edad9a4c718a97c9 alsa-utils-1.2.7.tar.bz2
+882e6f67467596ed273bf554fcce87d8ef287806bbdabd6c103de4980981f9e2102fb3800c6e8628ee8e86ffb165c1c92f9370c8145f28a6cb7cca563942330b alsa-utils-1.2.8.tar.bz2
f04155e1e391c7f36d44422c8e769bf9370117f6bbea6c0664e9858f7a676cc958e4260e4b4d226e71d0716f6be4e6fdd60f1d07cb7e9922fff378ceec01c47d alsaconf.patch
c66959a4a1a24a727c9c91a455caa5fa093c523d17a563b56ec2449a02ff30c83683db555006954b1fe571446cf4a117cc41de8c8b869a6e875d386595b3cc1f alsa.initd
d7e212e9f624b09168117b46c66289204a23915adf0d1b0c9ae258049430397b8f2d86d3b5f7e3087151948a031c4eab863e8195a6c7b1276704e9cba9c2d2a7 alsa.confd
diff --git a/main/altermime/APKBUILD b/main/altermime/APKBUILD
index b23ad947c6..b6249a1031 100644
--- a/main/altermime/APKBUILD
+++ b/main/altermime/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=altermime
pkgver=0.3.11
-pkgrel=1
+pkgrel=2
pkgdesc="alterMIME - MIME encoded email pack alteration tool"
url="https://pldaniels.com/altermime"
arch="all"
diff --git a/main/amavisd-milter/APKBUILD b/main/amavisd-milter/APKBUILD
index 45299851b6..080d73bcb8 100644
--- a/main/amavisd-milter/APKBUILD
+++ b/main/amavisd-milter/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Noel Kuntze <noel.kuntze@thermi.consulting>
pkgname=amavisd-milter
pkgver=1.7.1
-pkgrel=2
+pkgrel=3
pkgdesc="sendmail milter for amavisd-new using the AM.PDP protocol"
url="https://github.com/prehor/amavisd-milter"
arch="all !x86" #amavis isn't build for x86
diff --git a/main/aom/APKBUILD b/main/aom/APKBUILD
index 7985463181..3aec00d530 100644
--- a/main/aom/APKBUILD
+++ b/main/aom/APKBUILD
@@ -1,13 +1,13 @@
# Contributor: Oleg Titov <oleg.titov@gmail.com>
# Maintainer: Oleg Titov <oleg.titov@gmail.com>
pkgname=aom
-pkgver=3.4.0
+pkgver=3.5.0
pkgrel=0
pkgdesc="Alliance for Open Media (AOM) AV1 codec SDK"
url="https://aomedia.org/"
arch="all"
-license="custom"
-options="net !check" # tests require a lot of time
+license="BSD-2-Clause AND custom"
+options="!check" # tests run for 5+ hours
makedepends="cmake perl python3 yasm samurai"
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
source="$pkgname-$pkgver.tar.gz::https://aomedia.googlesource.com/aom/+archive/v$pkgver.tar.gz
@@ -36,8 +36,7 @@ build() {
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
- -DCMAKE_C_FLAGS="$CFLAGS"
+ -DENABLE_TESTS="$(want_check && echo ON || echo OFF)"
ninja -C build
}
@@ -65,6 +64,6 @@ unpack() {
}
sha512sums="
-cb375445410319aac4149baad5f7b8f2e863a0fc47247b55b640edf8e650a766276bcebe107f2fbe9828990ab3b725fbf553f97f74b5e2d291dd12626a205287 aom-3.4.0.tar.gz
+7499b9ee32e8b687edb82f448ebebca214feaa0a58442307483dd98b63f88f51494f15107cea6e2f0ed8b957526ee16905b2b50668b36e9cb4b71f5cb85c982c aom-3.5.0.tar.gz
573a6c9cd1e9c71a0612f750fb1b69ee65ab86364d3aa78ef51b8fb20633c69b97026d0685dedeabb51f31d0dab7c651d1fe5c72e0dc9f14b8ed2704584934a9 fix-stack-size-e53da0b.patch
"
diff --git a/main/apache2-mod-wsgi/APKBUILD b/main/apache2-mod-wsgi/APKBUILD
index 9be36d92d2..4a320d6e65 100644
--- a/main/apache2-mod-wsgi/APKBUILD
+++ b/main/apache2-mod-wsgi/APKBUILD
@@ -2,8 +2,8 @@
# Maintainer: Matt Smith <mcs@darkregion.net>
pkgname=apache2-mod-wsgi
_realname=mod_wsgi
-pkgver=4.9.3
-pkgrel=0
+pkgver=4.9.4
+pkgrel=1
pkgdesc="Python WSGI Module for Apache2"
url="https://github.com/GrahamDumpleton/mod_wsgi"
arch="all"
@@ -33,6 +33,6 @@ package() {
}
sha512sums="
-75061bee9a7d6b787c822cf396ce5e8c2c51d616648e6795f1ba170a9d771817df365115f633d3112330d800151697974863f1a0242408c511a233434fc3e2ec apache2-mod-wsgi-4.9.3.tar.gz
+0898221d95f0ce374cbd34a1849a6e6b5bd7850644d5fe36f558dcc58095cd535c854cb06798482d312485b8d89b8641d91fa26af3d208e10a6073b885af3199 apache2-mod-wsgi-4.9.4.tar.gz
5b36a458bd3539e58ea61ec405c4f5c5e0001a644263b0e1f8421a5c7fc7884b6df1355674a9d9b610780b5e9db6ce66d0ae1bbc0e512ecb027c3757209152c8 apache2-mod-wsgi.apache2.conf
"
diff --git a/main/apcupsd/APKBUILD b/main/apcupsd/APKBUILD
index fda125aa29..d54f5af53e 100644
--- a/main/apcupsd/APKBUILD
+++ b/main/apcupsd/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=apcupsd
pkgver=3.14.14
-pkgrel=2
+pkgrel=3
pkgdesc="A Daemon to control APC UPSes"
subpackages="$pkgname-doc $pkgname-webif $pkgname-openrc"
url="http://www.apcupsd.org"
diff --git a/main/apk-tools/APKBUILD b/main/apk-tools/APKBUILD
index b99a653325..78b7904f02 100644
--- a/main/apk-tools/APKBUILD
+++ b/main/apk-tools/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=apk-tools
-pkgver=2.12.9
-pkgrel=6
+pkgver=2.12.10
+pkgrel=1
pkgdesc="Alpine Package Keeper - package manager for alpine"
arch="all"
url="https://gitlab.alpinelinux.org/alpine/apk-tools"
@@ -11,7 +11,7 @@ subpackages="$pkgname-dbg $pkgname-dev $pkgname-static $pkgname-doc $pkgname-zsh
# while staying on musl <1.2 causes missing symbols
depends="musl>=1.2"
makedepends_build="openssl>3 lua5.3 lua5.3-lzlib scdoc"
-makedepends_host="zlib-dev openssl-dev>3 zlib-static openssl3-libs-static linux-headers"
+makedepends_host="zlib-dev openssl-dev zlib-static openssl-libs-static linux-headers"
makedepends="$makedepends_build $makedepends_host"
_lua="no"
if [ "$CBUILD" = "$CHOST" ]; then
@@ -23,6 +23,7 @@ if [ "$CBUILD" = "$CHOST" ]; then
depends="$depends ca-certificates-bundle"
fi
source="https://gitlab.alpinelinux.org/alpine/$pkgname/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz
+ increase-index-meta-buffer.patch
_apk
"
builddir="$srcdir/$pkgname-v$pkgver"
@@ -51,7 +52,7 @@ check() {
package() {
make DESTDIR="$pkgdir" LUA="$_lua" install
install -d "$pkgdir"/var/lib/apk \
- "$pkgdir"/var/cache/misc \
+ "$pkgdir"/lib/apk/exec \
"$pkgdir"/etc/apk/keys \
"$pkgdir"/etc/apk/protected_paths.d
@@ -86,6 +87,7 @@ luaapk() {
}
sha512sums="
-2e299e50c5ca8733f04fad971247146ff4bebb697c3589e4692c9a940ede89432dd9fea48004dc947cb493db1206a336ac0ad1e876b02683183d69b4a127d1c6 apk-tools-v2.12.9.tar.gz
+7be1a659e58ced1c2be3d058127391b92078a3560746149e1b53bf7b877ad5ded755e9a7cf2a68d8cdd49bfaf10afb7dfe361ef8ae9590aede8ce422c85ea389 apk-tools-v2.12.10.tar.gz
+3807fe95357855a8b682a13dc6178db9d0396ed905bee694ef923867b1f79c61801ba4d4240adeb27825bc472006a74a5e7898b4683c548ee826e825710ce3e1 increase-index-meta-buffer.patch
7870676720f5007eee9482786e02246f8e3474afb90e76c9c83aebe914747a8e007b5d2eed6441933f4922024b3f0664db270f21981ad6c2db877a110b0cd79e _apk
"
diff --git a/main/apk-tools/increase-index-meta-buffer.patch b/main/apk-tools/increase-index-meta-buffer.patch
new file mode 100644
index 0000000000..d542d96e07
--- /dev/null
+++ b/main/apk-tools/increase-index-meta-buffer.patch
@@ -0,0 +1,13 @@
+diff --git a/src/package.c b/src/package.c
+index 2aeb21c..e317026 100644
+--- a/src/package.c
++++ b/src/package.c
+@@ -1117,7 +1117,7 @@ static int write_depends(struct apk_ostream *os, const char *field,
+ int apk_pkg_write_index_entry(struct apk_package *info,
+ struct apk_ostream *os)
+ {
+- char buf[512];
++ char buf[1024];
+ apk_blob_t bbuf = APK_BLOB_BUF(buf);
+
+ apk_blob_push_blob(&bbuf, APK_BLOB_STR("C:"));
diff --git a/main/aports-build/APKBUILD b/main/aports-build/APKBUILD
index 7e9d595e70..67abeaaa6f 100644
--- a/main/aports-build/APKBUILD
+++ b/main/aports-build/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=aports-build
-pkgver=1.5.3
+pkgver=1.5.4
pkgrel=0
pkgdesc="MQTT based build-on-git-push scripts for Alpine Linux"
url="https://alpinelinux.org"
@@ -46,7 +46,9 @@ package() {
EOF
}
-sha512sums="81c039c6999fddde2489fccdc48b29760c80ea1ff5265cc2d7f73d6575e0173a0f51b89a4d49e5100e2d841b6260adc48e4ab00e8608d52b3b69b17a590467ad aports-build
+sha512sums="
+81c039c6999fddde2489fccdc48b29760c80ea1ff5265cc2d7f73d6575e0173a0f51b89a4d49e5100e2d841b6260adc48e4ab00e8608d52b3b69b17a590467ad aports-build
821035bda47152c341ec94bf960fa67e3377051826712ceb74f39103e6e422777b6e082231bfb87865653d2b93b7d3154cfc24abf65a52e3e66da69412dd7e41 aports-build.initd
62ed5cb6d1fef03fa707512c8c99c572a91e64706ebcc2e7097108811818615618bab908292d0ba0ad2afe93a27333d9c91deb347d6c99703eb8983d1ee5f480 mqtt-exec.aports-build.confd
-cf0d8e65e517857ee781e451a1d3e6404cd72aeb5c7dba25017229ff79c4c43425712d2fcbbaad89af45a358e86f33467ac1df47e8fba0f30f81d84794e1206c report-build-errors.lua"
+939ba54ab4159bc8fcd0cb08f16f67dac05d29c77005da6fca0463048ab991765665b35f2feb978bfd8409bd13fdbdf3d47a7652df842e76504d076ac040c337 report-build-errors.lua
+"
diff --git a/main/aports-build/report-build-errors.lua b/main/aports-build/report-build-errors.lua
index 275b213f86..3621765783 100644
--- a/main/aports-build/report-build-errors.lua
+++ b/main/aports-build/report-build-errors.lua
@@ -6,6 +6,26 @@ local f = io.open("/proc/sys/kernel/hostname")
hostname = f:read()
f:close()
+local function read_mosquitto_conf()
+ local cfg = {}
+ local f = io.open((os.getenv("XDG_CONFIG_HOME") or "").."/mosquitto_pub") or io.open((os.getenv("HOME") or "").."/.config/mosquitto_pub")
+ if f == nil then
+ return cfg
+ end
+ for line in f:lines() do
+ key,value = line:match("^%-%-([^ ]+)%s+(.*)")
+ if key and value then
+ cfg[key] = value
+ end
+ end
+ f:close()
+ return cfg
+end
+local mcfg = read_mosquitto_conf()
+publish.hostname = mcfg.hostname or "localhost"
+publish.username = mcfg.username
+publish.password = mcfg.pw
+
local m = {}
function shell_escape(args)
diff --git a/main/apparmor/0001-Fix-linking-against-gettext-on-musl-libc.patch b/main/apparmor/0001-Fix-linking-against-gettext-on-musl-libc.patch
new file mode 100644
index 0000000000..4180cf6581
--- /dev/null
+++ b/main/apparmor/0001-Fix-linking-against-gettext-on-musl-libc.patch
@@ -0,0 +1,40 @@
+From 183849ec988c7326bcb9bf729d087e262d121b67 Mon Sep 17 00:00:00 2001
+From: allgdante <allan.garret@gmail.com>
+Date: Wed, 4 Jul 2018 16:57:19 +0200
+Subject: [PATCH 1/7] Fix linking against gettext on musl libc
+
+Both parser and binutils must be linked against gettext
+---
+ binutils/Makefile | 2 +-
+ parser/Makefile | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/binutils/Makefile b/binutils/Makefile
+index 7fb71813..52e55f70 100644
+--- a/binutils/Makefile
++++ b/binutils/Makefile
+@@ -52,7 +52,7 @@ SRCS = aa_enabled.c
+ HDRS =
+ TOOLS = aa-enabled aa-exec
+
+-AALIB = -Wl,-Bstatic -lapparmor -Wl,-Bdynamic -lpthread
++AALIB = -Wl,-Bstatic -lapparmor -Wl,-Bdynamic -lpthread -lintl
+
+ ifdef USE_SYSTEM
+ # Using the system libapparmor so Makefile dependencies can't be used
+diff --git a/parser/Makefile b/parser/Makefile
+index 5d799f6a..000540a3 100644
+--- a/parser/Makefile
++++ b/parser/Makefile
+@@ -90,7 +90,7 @@ AAREDIR= libapparmor_re
+ AAREOBJECT = ${AAREDIR}/libapparmor_re.a
+ AAREOBJECTS = $(AAREOBJECT)
+ AARE_LDFLAGS = -static-libgcc -static-libstdc++ -L. $(LDFLAGS)
+-AALIB = -Wl,-Bstatic -lapparmor -Wl,-Bdynamic -lpthread
++AALIB = -Wl,-Bstatic -lapparmor -Wl,-Bdynamic -lpthread -lintl
+
+ ifdef USE_SYSTEM
+ # Using the system libapparmor so Makefile dependencies can't be used
+--
+2.20.1
+
diff --git a/main/apparmor/0006-utils-adjust-rc-functions-for-aa-remove-unknown.patch b/main/apparmor/0006-utils-adjust-rc-functions-for-aa-remove-unknown.patch
new file mode 100644
index 0000000000..14dddeae1e
--- /dev/null
+++ b/main/apparmor/0006-utils-adjust-rc-functions-for-aa-remove-unknown.patch
@@ -0,0 +1,28 @@
+From 72a3291fc94210401e5dac3b2fa328b2bb40998d Mon Sep 17 00:00:00 2001
+From: allgdante <allan.garret@gmail.com>
+Date: Thu, 5 Jul 2018 17:32:46 +0200
+Subject: [PATCH 6/7] utils: adjust rc functions for aa-remove-unknown
+
+Update the path to the rc.apparmor.functions file to the one we can find
+inside Alpine.
+No intended functional changes
+---
+ utils/aa-remove-unknown | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/utils/aa-remove-unknown b/utils/aa-remove-unknown
+index d3bd9144..0b9ead7d 100644
+--- a/utils/aa-remove-unknown
++++ b/utils/aa-remove-unknown
+@@ -15,7 +15,7 @@
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
+ # ----------------------------------------------------------------------
+
+-APPARMOR_FUNCTIONS=/lib/apparmor/rc.apparmor.functions
++APPARMOR_FUNCTIONS=/usr/libexec/apparmor/rc.apparmor.functions
+ APPARMORFS=/sys/kernel/security/apparmor
+ PROFILES="${APPARMORFS}/profiles"
+ REMOVE="${APPARMORFS}/.remove"
+--
+2.20.1
+
diff --git a/main/apparmor/APKBUILD b/main/apparmor/APKBUILD
new file mode 100644
index 0000000000..fc06bea196
--- /dev/null
+++ b/main/apparmor/APKBUILD
@@ -0,0 +1,206 @@
+# Contributor: Allan Garret <allan.garret@gmail.com>
+# Maintainer: Allan Garret <allan.garret@gmail.com>
+pkgname=apparmor
+pkgver=3.1.2
+pkgrel=1
+pkgdesc="Linux application security framework - mandatory access control for programs"
+url="https://gitlab.com/apparmor/apparmor/wikis/home"
+arch="all"
+license="GPL-2.0-only"
+depends="bash"
+makedepends="
+ autoconf
+ automake
+ bison
+ flex
+ gettext-dev
+ libtool
+ linux-headers
+ linux-pam-dev
+ perl-dev
+ py3-setuptools
+ python3-dev
+ sed
+ swig
+ "
+checkdepends="
+ dejagnu
+ py3-notify2
+ py3-psutil
+ py3-pyflakes
+ "
+subpackages="
+ libapparmor:_libapparmor
+ libapparmor-dev
+ py3-$pkgname:_py3_apparmor
+ perl-$pkgname:_perl_apparmor
+ $pkgname-utils:_apparmor_utils
+ $pkgname-utils-lang:_apparmor_utils_lang
+ $pkgname-profiles:_apparmor_profiles:noarch
+ $pkgname-pam:_apparmor_pam
+ $pkgname-vim:_apparmor_vim:noarch
+ $pkgname-openrc
+ $pkgname-doc
+ $pkgname-lang
+ "
+source="
+ https://launchpad.net/apparmor/${pkgver%.*}/$pkgver/+download/apparmor-$pkgver.tar.gz
+
+ apparmor.initd
+
+ 0001-Fix-linking-against-gettext-on-musl-libc.patch
+ 0006-utils-adjust-rc-functions-for-aa-remove-unknown.patch
+ fix-dnsmasq-profile.patch
+ "
+options="!check" # checkdepends in community
+
+# test_entries_since_login fails
+[ "$CARCH" = "s390x" ] && options="!check"
+
+prepare() {
+ default_prepare
+
+ common/list_af_names.sh > parser/base_af_names.h
+}
+
+build() {
+ export PYTHON_VERSION=3
+ export PYTHON_VERSIONS=python3
+ export PYTHON=/usr/bin/python3
+
+ (
+ cd "$builddir"/libraries/libapparmor
+ msg "Building: libapparmor"
+ ./configure \
+ --prefix=/usr \
+ --with-python \
+ --with-perl
+ make
+ )
+
+ msg "Building: apparmor parser"
+ make -C parser
+
+ msg "Building: apparmor-binutils"
+ make -C binutils
+
+ msg "Building: apparmor-utils"
+ make -C utils
+
+ msg "Building: apparmor-profiles"
+ make -C profiles
+
+ msg "Building: apparmor-pam"
+ make -C changehat/pam_apparmor
+
+ msg "Building: apparmor-vim"
+ make -C utils/vim
+}
+
+check() {
+ cd "$builddir"/libraries/libapparmor
+ make check
+
+ cd "$builddir"
+ make -C parser check
+ make -C binutils check
+ make -j1 -e PYFLAKES=pyflakes-3 -C utils check
+}
+
+package() {
+ make -C libraries/libapparmor install DESTDIR="$pkgdir"
+ make -C changehat/pam_apparmor install DESTDIR="$pkgdir"
+ make -C binutils install DESTDIR="$pkgdir" BINDIR="$pkgdir/usr/bin"
+ make -C parser install DESTDIR="$pkgdir" BINDIR="$pkgdir/usr/bin"
+ make -C profiles install DESTDIR="$pkgdir"
+ make -C utils install \
+ DESTDIR="$pkgdir" \
+ BINDIR="$pkgdir/usr/bin" \
+ VIM_INSTALL_PATH="$pkgdir/usr/share/vim/vimfiles/syntax"
+
+ mv "$pkgdir"/lib "$pkgdir"/usr/lib
+
+ mkdir -p "$pkgdir"/usr/libexec/apparmor "$pkgdir"/lib
+ mv "$pkgdir"/usr/lib/lib/apparmor/rc.apparmor.functions \
+ "$pkgdir"/usr/libexec/apparmor/
+ mv "$pkgdir"/usr/lib/lib/security "$pkgdir"/lib
+ rm -r "$pkgdir"/usr/lib/lib/
+
+ install -Dm755 "$srcdir"/apparmor.initd \
+ "$pkgdir"/etc/init.d/apparmor
+
+ install -Dm644 changehat/pam_apparmor/README \
+ "$pkgdir"/usr/share/doc/apparmor/README.pam_apparmor
+}
+
+_libapparmor() {
+ pkgdesc="AppArmor library"
+ depends="bash sed"
+
+ amove usr/lib/libapparmor.so.*
+}
+
+_py3_apparmor() {
+ pkgdesc="Python3 module for apparmor"
+ depends="libapparmor=$pkgver-r$pkgrel python3"
+
+ amove usr/lib/python3*/site-packages/LibAppArmor*
+}
+
+_perl_apparmor() {
+ pkgdesc="Perl module for apparmor"
+ depends="libapparmor=$pkgver-r$pkgrel perl"
+
+ amove usr/lib/perl5
+}
+
+_apparmor_utils() {
+ pkgdesc="AppArmor userspace utilities"
+ depends="py3-apparmor libapparmor=$pkgver-r$pkgrel perl python3 bash"
+
+ amove etc/apparmor/easyprof.conf
+ amove etc/apparmor/logprof.conf
+ amove etc/apparmor/notify.conf
+ amove etc/apparmor/severity.db
+ amove usr/bin
+ amove usr/sbin
+ amove usr/lib/python3*/site-packages/apparmor*
+ amove usr/share/apparmor/easyprof
+}
+
+_apparmor_utils_lang() {
+ pkgdesc="Languages for package $subpkgname"
+ install_if="$pkgname-utils=$pkgver-r$pkgrel lang"
+
+ amove usr/share/locale/*/LC_MESSAGES/*utils.mo
+}
+
+_apparmor_profiles() {
+ pkgdesc="AppArmor sample pre-made profiles"
+ depends="apparmor"
+
+ amove etc/apparmor.d
+ amove usr/share/apparmor/extra-profiles
+}
+
+_apparmor_pam() {
+ pkgdesc="AppArmor PAM library"
+ depends="libapparmor=$pkgver-r$pkgrel linux-pam"
+
+ amove lib/security
+}
+
+_apparmor_vim() {
+ pkgdesc="AppArmor VIM support"
+ install_if="$pkgname-vim=$pkgver-r$pkgrel vim"
+
+ amove usr/share/vim
+}
+
+sha512sums="
+e4fa8e0985472c00d3b68044f4150659787cf15b384b901af32b5aba3f0b2839f33bfe0b0675bf8ea7a1f5727152756a276c75b1dec383a33b92b0a1b8615a11 apparmor-3.1.2.tar.gz
+1a57cc577ba3aedfbe10ef6148c1e8f5d0bbf65c99e60eec80c52409c9dab59ae002024500c6e4fd0e01e8c7aeb0c85e3e6b41cacee08c17fdd869d31bca614e apparmor.initd
+e94f44427ed3c6f64462170939ffc92ce9ac1a58c61c7c7c3483fe16fe8e1c419daade9d56cdd342132e4d823dcac1963a86ad889f10bf71fd52b7f54c4694ed 0001-Fix-linking-against-gettext-on-musl-libc.patch
+38ebb30a0185f8eabd9103925959da365f64ef485f66ffb10180ac596fc172f9c98df39baec0b035138e9ab32056148e69a066faba9faebf9e92bf7a09c150c0 0006-utils-adjust-rc-functions-for-aa-remove-unknown.patch
+cbe6eb9dd46e3ace122d5bc386596d5106a301b82a9ac1681f31a967013d3db67a8d674d54605444f30c3a136677ff3b26fad80f78d0f02dbe18a9f10f64672a fix-dnsmasq-profile.patch
+"
diff --git a/main/apparmor/apparmor.initd b/main/apparmor/apparmor.initd
new file mode 100644
index 0000000000..15058f2895
--- /dev/null
+++ b/main/apparmor/apparmor.initd
@@ -0,0 +1,91 @@
+#!/sbin/openrc-run
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+description="Load all configured profiles for the AppArmor security module."
+description_reload="Reload all profiles"
+
+extra_started_commands="reload"
+
+aa_action() {
+ local arg=$1
+ local return
+
+ shift
+ $*
+ return=$?
+
+ if [ ${return} -eq 0 ]; then
+ aa_log_success_msg $arg
+ else
+ aa_log_failure_msg arg
+ fi
+
+ return $return
+}
+
+aa_log_action_start() {
+ ebegin $1
+}
+
+aa_log_action_end() {
+ eend $1
+}
+
+aa_log_success_msg() {
+ einfo $1
+}
+
+aa_log_warning_msg() {
+ ewarn $1
+}
+
+aa_log_failure_msg() {
+ eerror $1
+}
+
+aa_log_skipped_msg() {
+ einfo $1
+}
+
+aa_log_daemon_msg() {
+ einfo $1
+}
+
+aa_log_end_msg() {
+ eend $1
+}
+
+. /usr/libexec/apparmor/rc.apparmor.functions
+
+start() {
+ ebegin "Starting AppArmor"
+ eindent
+
+ if ! is_apparmor_loaded ; then
+ load_module
+ if [ $? -ne 0 ]; then
+ eerror "AppArmor kernel support is not present"
+ eend 1
+ return 1
+ fi
+ fi
+
+ parse_profiles load
+
+ eoutdent
+}
+
+stop() {
+ ebegin "Stopping AppArmor"
+ eindent
+ apparmor_stop
+ eoutdent
+}
+
+reload() {
+ # todo: split out clean_profiles into its own function upstream
+ # so we can do parse_profiles reload && clean_profiles
+ # and do a proper reload instead of restart
+ apparmor_restart
+}
diff --git a/main/apparmor/fix-dnsmasq-profile.patch b/main/apparmor/fix-dnsmasq-profile.patch
new file mode 100644
index 0000000000..9a92065702
--- /dev/null
+++ b/main/apparmor/fix-dnsmasq-profile.patch
@@ -0,0 +1,12 @@
+diff --git a/profiles/apparmor.d/usr.sbin.dnsmasq b/profiles/apparmor.d/usr.sbin.dnsmasq
+index 7ae9a14..0005b14 100644
+--- a/profiles/apparmor.d/usr.sbin.dnsmasq
++++ b/profiles/apparmor.d/usr.sbin.dnsmasq
+@@ -66,6 +66,7 @@ profile dnsmasq /usr/{bin,sbin}/dnsmasq flags=(attach_disconnected) {
+ /var/lib/misc/dnsmasq.leases rw, # Required only for DHCP server usage
+
+ /{,usr/}bin/{ba,da,}sh ix, # Required to execute --dhcp-script argument
++ /bin/busybox ix, # /bin/sh is a symlink of busybox on Alpine
+
+ # access to iface mtu needed for Router Advertisement messages in IPv6
+ # Neighbor Discovery protocol (RFC 2461)
diff --git a/main/argp-standalone/001-throw-in-funcdef.patch b/main/argp-standalone/001-throw-in-funcdef.patch
deleted file mode 100644
index 4a90751e1e..0000000000
--- a/main/argp-standalone/001-throw-in-funcdef.patch
+++ /dev/null
@@ -1,79 +0,0 @@
-# --- T2-COPYRIGHT-NOTE-BEGIN ---
-# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
-#
-# T2 SDE: package/.../rng-tools/throw-in-funcdef.patch.argp-standalone
-# Copyright (C) 2006 The T2 SDE Project
-#
-# More information can be found in the files COPYING and README.
-#
-# This patch file is dual-licensed. It is available under the license the
-# patched project is licensed under, as long as it is an OpenSource license
-# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
-# of the GNU General Public License as published by the Free Software
-# Foundation; either version 2 of the License, or (at your option) any later
-# version.
-# --- T2-COPYRIGHT-NOTE-END ---
-
-
-No __THROW in function implementation.
- --jsaw
-
---- argp-standalone-1.4-test2/argp.h.orig 2006-01-06 02:29:59.000000000 +0100
-+++ argp-standalone-1.4-test2/argp.h 2006-01-06 02:41:10.000000000 +0100
-@@ -560,17 +560,17 @@
- # endif
-
- # ifndef ARGP_EI
--# define ARGP_EI extern __inline__
-+# define ARGP_EI extern inline
- # endif
-
- ARGP_EI void
--__argp_usage (__const struct argp_state *__state) __THROW
-+__argp_usage (__const struct argp_state *__state)
- {
- __argp_state_help (__state, stderr, ARGP_HELP_STD_USAGE);
- }
-
- ARGP_EI int
--__option_is_short (__const struct argp_option *__opt) __THROW
-+__option_is_short (__const struct argp_option *__opt)
- {
- if (__opt->flags & OPTION_DOC)
- return 0;
-@@ -582,7 +582,7 @@
- }
-
- ARGP_EI int
--__option_is_end (__const struct argp_option *__opt) __THROW
-+__option_is_end (__const struct argp_option *__opt)
- {
- return !__opt->key && !__opt->name && !__opt->doc && !__opt->group;
- }
---- argp-standalone-1.4-test2/argp-parse.c.orig 2006-01-06 02:47:48.000000000 +0100
-+++ argp-standalone-1.4-test2/argp-parse.c 2006-01-06 02:48:16.000000000 +0100
-@@ -1290,13 +1290,13 @@
- /* Defined here, in case a user is not inlining the definitions in
- * argp.h */
- void
--__argp_usage (__const struct argp_state *__state) __THROW
-+__argp_usage (__const struct argp_state *__state)
- {
- __argp_state_help (__state, stderr, ARGP_HELP_STD_USAGE);
- }
-
- int
--__option_is_short (__const struct argp_option *__opt) __THROW
-+__option_is_short (__const struct argp_option *__opt)
- {
- if (__opt->flags & OPTION_DOC)
- return 0;
-@@ -1310,7 +1310,7 @@
- }
-
- int
--__option_is_end (__const struct argp_option *__opt) __THROW
-+__option_is_end (__const struct argp_option *__opt)
- {
- return !__opt->key && !__opt->name && !__opt->doc && !__opt->group;
- }
diff --git a/main/argp-standalone/APKBUILD b/main/argp-standalone/APKBUILD
index bf4b0af1f1..e08b84006d 100644
--- a/main/argp-standalone/APKBUILD
+++ b/main/argp-standalone/APKBUILD
@@ -1,17 +1,15 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=argp-standalone
-pkgver=1.3
-pkgrel=5
+pkgver=1.5.0
+pkgrel=0
pkgdesc="Hierarchial argument parsing library broken out from glibc"
url="http://www.lysator.liu.se/~nisse/misc/"
arch="all"
license="GPL-2.0-or-later"
makedepends="libtool automake autoconf"
-source="http://www.lysator.liu.se/~nisse/misc/argp-standalone-$pkgver.tar.gz
- 001-throw-in-funcdef.patch
- gnu89-inline.patch
- "
+source="$pkgname-$pkgver.tar.gz::https://github.com/argp-standalone/argp-standalone/archive/refs/tags/$pkgver.tar.gz
+ gnu89-inline.patch"
prepare() {
default_prepare
@@ -39,6 +37,7 @@ package() {
install -D -m755 libargp.a "$pkgdir"/usr/lib/libargp.a
}
-sha512sums="58c3feb8852b90248fff39e49b5019bd0dcf646790c3eaf70c3262eb81dda31a61dc0a45963c7b4a010e80fc14b37288dcb3b3ef48d02f2d33dd72c1c62e62d9 argp-standalone-1.3.tar.gz
-5e4cdeeb16e6a4fb46a00ab95f3da9276ee554eec00bb2a05da7467961234ba3f9a630aafa7ceb5feb429a84ece8bf03b869fa996b86468f4716935a914c79a4 001-throw-in-funcdef.patch
-69f1d8a4fcd542346f98bc1fb7151db748483fc2f331c8c35114e0891d867b41c603ddaa5f3130aaaf1c640e02c51ac71cee71b62c09301b146812e9059e9ade gnu89-inline.patch"
+sha512sums="
+fa2eb61ea00f7a13385e5c1e579dd88471d6ba3a13b6353e924fe71914b90b40688b42a9f1789bc246e03417fee1788b1990753cda8c8d4a544e85f26b63f9e2 argp-standalone-1.5.0.tar.gz
+42b2072b68d9287cfde2f5023af0a6c24bc34a7af6df036a313d5c4fa2762688b12476c688caf010176c069184305325f3134756f0c4e19aa4b06278e3f233e0 gnu89-inline.patch
+"
diff --git a/main/argp-standalone/gnu89-inline.patch b/main/argp-standalone/gnu89-inline.patch
index 71978eba58..bcb15d8d55 100644
--- a/main/argp-standalone/gnu89-inline.patch
+++ b/main/argp-standalone/gnu89-inline.patch
@@ -1,12 +1,11 @@
diff --git a/configure.ac b/configure.ac
-index 4658839..09f0267 100644
+index 932b9da..b4f85bb 100644
--- a/configure.ac
+++ b/configure.ac
-@@ -79,16 +79,10 @@ AC_CHECK_DECLS([program_invocation_name, program_invocation_short_name],
-
+@@ -80,15 +80,10 @@ AC_CHECK_DECLS([program_invocation_name, program_invocation_short_name],
# Set these flags *last*, or else the test programs won't compile
if test x$GCC = xyes ; then
-- # Using -ggdb3 makes (some versions of) Redhat's gcc-2.96 dump core
+ # Using -ggdb3 makes (some versions of) Redhat's gcc-2.96 dump core
- if "$CC" --version | grep '^2\.96$' 1>/dev/null 2>&1; then
- true
- else
diff --git a/main/arm-trusted-firmware/APKBUILD b/main/arm-trusted-firmware/APKBUILD
index f8e3ed6691..3e05130070 100644
--- a/main/arm-trusted-firmware/APKBUILD
+++ b/main/arm-trusted-firmware/APKBUILD
@@ -3,44 +3,81 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=arm-trusted-firmware
pkgver=2.7.0
-pkgrel=1
+pkgrel=2
pkgdesc="ARM Trusted Firmware-A (TF-A)"
url="https://github.com/ARM-software/arm-trusted-firmware"
-arch="aarch64"
+# no lld on s390x, but it doesn't matter anyway as this is arm firmware
+arch="all !s390x"
license="BSD-3-Clause"
-makedepends="dtc"
-source="https://github.com/ARM-software/arm-trusted-firmware/archive/v$pkgver/arm-trusted-firmware-v$pkgver.tar.gz"
+makedepends="
+ clang
+ dtc
+ lld
+ llvm
+ openssl-dev
+ "
+subpackages="$pkgname-tools"
+source="https://github.com/ARM-software/arm-trusted-firmware/archive/v$pkgver/arm-trusted-firmware-v$pkgver.tar.gz
+ key_t.patch
+ rk3399.patch
+ "
options="!check" # No tests
_plats="
imx8mq
+ rk3328
+ rk3399
sun50i_a64
sun50i_h6
"
build() {
unset LDFLAGS
- for plat in $_plats; do
- local opts=""
+ if [ "$CARCH" = "aarch64" ]; then
+ for plat in $_plats; do
+ case "$plat" in
+ sun50i_a64)
+ local opts="SUNXI_SETUP_REGULATORS=0 SUNXI_AMEND_DTB=1"
+ ;;
+ esac
- case "$plat" in
- sun50i_a64)
- opts="SUNXI_SETUP_REGULATORS=0 SUNXI_AMEND_DTB=1"
- ;;
- esac
+ msg "Building ATF for $plat (opts='$opts')"
+ LDFLAGS="$LDFLAGS -no-warn-rwx-segment" make E=0 PLAT=$plat bl31 $opts
+ done
+ fi
- msg "Building ATF for $plat (opts='$opts')"
- make PLAT=$plat bl31 $opts
- done
+ make -C tools/fiptool
+ make -C tools/cert_create
}
package() {
- for plat in $_plats; do
- install -D "$builddir"/build/$plat/release/bl31.bin \
- "$pkgdir"/usr/share/$pkgname/$plat/bl31.bin
- done
+ install -d "$pkgdir"/usr/share/$pkgname
+ if [ "$CARCH" = "aarch64" ]; then
+ for plat in $_plats; do
+ case $plat in
+ rk33*)
+ local path="$builddir"/build/$plat/release/bl31/bl31.elf
+ ;;
+ *)
+ local path="$builddir"/build/$plat/release/bl31.bin
+ ;;
+ esac
+ install -D $path -t "$pkgdir"/usr/share/$pkgname/$plat/
+ done
+ fi
+ install -Dm755 -t "$pkgdir"/usr/bin tools/fiptool/fiptool
+ install -Dm755 -t "$pkgdir"/usr/bin tools/cert_create/cert_create
+}
+
+tools() {
+ pkgdesc="$pkgdesc (tools)"
+
+ amove usr/bin/fiptool
+ amove usr/bin/cert_create
}
sha512sums="
3e1e09bcc69a0f080f91b94d9c8da6dd0b27b86292599c280438d7b6f594017a896af7cfc58d9d22053f77b5daa2faecd51a59505c755eac8493e4e0fd1e9203 arm-trusted-firmware-v2.7.0.tar.gz
+f2ff9b6d2b843123e9044af5ead00a1e927e5389e5ab6bdb05ef0eb3a23468a615d6203e14afd05b3e250c9b39836d0d33920833f1211b51671ae5cd3e7e0da8 key_t.patch
+4b26d06cc5f23cd73515927624c164745dd144a0255a717052d80d904a58e001cb7b334ce1fa20cf21ba18b6e0f024da011321cb2c53dfb44ddd52ee24e31a66 rk3399.patch
"
diff --git a/main/arm-trusted-firmware/key_t.patch b/main/arm-trusted-firmware/key_t.patch
new file mode 100644
index 0000000000..af014e352f
--- /dev/null
+++ b/main/arm-trusted-firmware/key_t.patch
@@ -0,0 +1,13 @@
+without it /usr/include/bits/alltypes.h defines key_t as int
+
+--- a/tools/cert_create/Makefile
++++ b/tools/cert_create/Makefile
+@@ -43,7 +43,7 @@
+ include ${PLAT_CERT_CREATE_HELPER_MK}
+ endif
+
+-HOSTCCFLAGS := -Wall -std=c99
++HOSTCCFLAGS := -Wall -std=c99 -D__DEFINED_key_t=1
+
+ ifeq (${DEBUG},1)
+ HOSTCCFLAGS += -g -O0 -DDEBUG -DLOG_LEVEL=40
diff --git a/main/arm-trusted-firmware/rk3399.patch b/main/arm-trusted-firmware/rk3399.patch
new file mode 100644
index 0000000000..ffbb475507
--- /dev/null
+++ b/main/arm-trusted-firmware/rk3399.patch
@@ -0,0 +1,53 @@
+
+
+
+diff --git a/plat/rockchip/rk3399/drivers/m0/Makefile b/plat/rockchip/rk3399/drivers/m0/Makefile
+index 79e09f0..5ab6d28 100644
+--- a/plat/rockchip/rk3399/drivers/m0/Makefile
++++ b/plat/rockchip/rk3399/drivers/m0/Makefile
+@@ -33,16 +33,16 @@ C_SOURCES := src/dram.c \
+ C_SOURCES_PMU := src/suspend.c
+
+ # Flags definition
+-COMMON_FLAGS := -g -mcpu=$(ARCH) -mthumb -Wall -O3 -nostdlib -mfloat-abi=soft
++COMMON_FLAGS := -g -mcpu=$(ARCH) --target=arm-none-eabi -mthumb -Wall -O3 -nostdlib -mfloat-abi=soft
+ CFLAGS := -ffunction-sections -fdata-sections -fomit-frame-pointer -fno-common
+ ASFLAGS := -Wa,--gdwarf-2
+ LDFLAGS := -Wl,--gc-sections -Wl,--build-id=none
+
+ # Cross tool
+-CC := ${M0_CROSS_COMPILE}gcc
++CC := clang
+ CPP := ${M0_CROSS_COMPILE}cpp
+ AR := ${M0_CROSS_COMPILE}ar
+-OC := ${M0_CROSS_COMPILE}objcopy
++OC := llvm-objcopy
+ OD := ${M0_CROSS_COMPILE}objdump
+ NM := ${M0_CROSS_COMPILE}nm
+
+
+Needed to stop linker errors with ldd:
+ld.lld: error: section .ARM.exidx virtual address range overlaps with .m0_bin
+489>>> .ARM.exidx range is [0x0, 0xF]
+490>>> .m0_bin range is [0x0, 0x267]
+491ld.lld: error: section .ARM.exidx load address range overlaps with .m0_bin
+492>>> .ARM.exidx range is [0x0, 0xF]
+493>>> .m0_bin range is [0x0, 0x267]
+494ld.lld: error: section .ARM.exidx virtual address range overlaps with .m0_bin
+495>>> .ARM.exidx range is [0x0, 0xF]
+496>>> .m0_bin range is [0x0, 0x347]
+497ld.lld: error: section .ARM.exidx load address range overlaps with .m0_bin
+498>>> .ARM.exidx range is [0x0, 0xF]
+499>>> .m0_bin range is [0x0, 0x347]
+
+diff --git a/plat/rockchip/rk3399/drivers/m0/src/rk3399m0.ld.S b/plat/rockchip/rk3399/drivers/m0/src/rk3399m0.ld.S
+index bfe054e..fedb012 100644
+--- a/plat/rockchip/rk3399/drivers/m0/src/rk3399m0.ld.S
++++ b/plat/rockchip/rk3399/drivers/m0/src/rk3399m0.ld.S
+@@ -22,5 +22,5 @@ SECTIONS {
+ *(.co_stack*)
+ }
+
+- /DISCARD/ : { *(.comment) *(.note*) }
++ /DISCARD/ : { *(.comment) *(.note*) *(.ARM.exidx) }
+ }
diff --git a/main/asciidoc/APKBUILD b/main/asciidoc/APKBUILD
index 9aafab2c19..6b8c31bf97 100644
--- a/main/asciidoc/APKBUILD
+++ b/main/asciidoc/APKBUILD
@@ -1,45 +1,34 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=asciidoc
-pkgver=9.1.1
-pkgrel=0
+pkgver=10.2.0
+pkgrel=1
pkgdesc="Text based documentation"
url="https://asciidoc.org/"
arch="noarch"
-license="GPL-2.0-or-later and GPL-1.0-or-later"
-depends="python3 libxml2-utils docbook-xsl source-highlight"
-makedepends="autoconf automake"
+license="GPL-2.0-or-later AND GPL-1.0-or-later"
+depends="python3 libxml2-utils docbook-xsl"
+makedepends="py3-setuptools"
+checkdepends="py3-pytest py3-pytest-mock"
subpackages="$pkgname-doc"
-# There is a upstream-created tarball but it has depth=1 which unpacks
-# everything into $srcdir instead of $srcdir/$pkgname-$pkgver
-source="$pkgname-$pkgver.tar.gz::https://github.com/asciidoc/asciidoc-py3/archive/$pkgver.tar.gz"
-builddir="$srcdir/asciidoc-py-$pkgver"
+source="https://github.com/asciidoc-py/asciidoc-py/releases/download/$pkgver/asciidoc-$pkgver.tar.gz"
+options="!check" # py3-pytest-mock
replaces="$pkgname-vim"
-prepare() {
- default_prepare
- autoreconf -fi
-}
-
build() {
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info
- make
+ python3 setup.py build
}
check() {
- make test
+ pytest
}
package() {
- make DESTDIR="$pkgdir" install
+ python3 setup.py install --skip-build --root="$pkgdir"
+ install -Dm644 doc/*.1 -t "$pkgdir"/usr/share/man/man1/
+ install -Dm644 asciidoc/api.py -t "$pkgdir"/usr/lib/python3*/site-packages/asciidoc/
}
sha512sums="
-444de69e3b87af984327873d5be1162157db5f7fb353e1fbbd24b4938ce0238fd474a67c9d3461fb7b069e7b029c63fbaf1ba8dd9cf7b91fbfa81e5429db404c asciidoc-9.1.1.tar.gz
+e8f97559a169504bd2b47a5a4108268d08dbeb98e304486e64761c2603963f4610a0f96c443fdbb8ea289586f015d066681c8ad2946610864662d6df5d7ba9d6 asciidoc-10.2.0.tar.gz
"
diff --git a/main/asciidoctor/APKBUILD b/main/asciidoctor/APKBUILD
index 31e0e5f4ba..200f6b65e2 100644
--- a/main/asciidoctor/APKBUILD
+++ b/main/asciidoctor/APKBUILD
@@ -1,10 +1,10 @@
# Contributor: Seung Soo Mun <hamletmun@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=asciidoctor
-pkgver=2.0.17
-pkgrel=1
+pkgver=2.0.18
+pkgrel=0
pkgdesc="Converter for AsciiDoc to HTML5, DocBook 5 (or 4.5) and other formats"
-url="https://rubygems.org/gems/$pkgname"
+url="https://rubygems.org/gems/asciidoctor"
arch="noarch"
license="MIT"
options="!check"
@@ -34,5 +34,5 @@ package() {
}
sha512sums="
-41ebc833c7b8bded5704034c7fcf7d2f26643a24de24eda57db1a0ac94976e775bf0f093f46faaa99c5007c61af325aa5b02e5321159a88daac3397800adbd03 asciidoctor-2.0.17.gem
+522c0a587a95c7a5c5618f88832c11a547448d12b883ee9a7d9f6e8509b44e2c5c027cf23335790cbc5cd74dc297010141ac535c0ba45622e49eac8d70fe6127 asciidoctor-2.0.18.gem
"
diff --git a/main/aspell/APKBUILD b/main/aspell/APKBUILD
index 92cc7a92e3..5868dad884 100644
--- a/main/aspell/APKBUILD
+++ b/main/aspell/APKBUILD
@@ -2,7 +2,7 @@
# Contributor: Valery Kartel <valery.kartel@gmail.com>
pkgname=aspell
pkgver=0.60.8
-pkgrel=1
+pkgrel=2
pkgdesc="A spell checker designed to eventually replace Ispell"
url="http://aspell.net/"
arch="all"
diff --git a/main/asterisk/APKBUILD b/main/asterisk/APKBUILD
index 1642f028b4..1171c0879a 100644
--- a/main/asterisk/APKBUILD
+++ b/main/asterisk/APKBUILD
@@ -3,8 +3,8 @@
# Contributor: Timo Teras <timo.teras@iki.fi>
# Maintainer: Timo Teras <timo.teras@iki.fi>
pkgname=asterisk
-pkgver=18.13.0
-pkgrel=1
+pkgver=18.15.0
+pkgrel=0
pkgdesc="Modular Open Source PBX System"
pkgusers="asterisk"
pkggroups="asterisk"
@@ -240,7 +240,7 @@ sound_en() {
}
sha512sums="
-085dfcf15f99d7d96b49a720156678c4de5a88b55375257a9a1234f9dd83f21eed1685d4177dae5978272608e690582367c6c34fdef91bbad54299594d0ce9df asterisk-18.13.0.tar.gz
+acf202246e149ddc44ffb688a834455420d6ab53989560568cdccf0da121821ee946c45085c964b52632e24109741908d3f4c00ca00d0b4a9402c128becd9e28 asterisk-18.15.0.tar.gz
aacef3f4796fb1abd33266998b53909cb4b36e7cc5ad2f7bac68bdc43e9a9072d9a4e2e7e681bddfa31f3d04575eb248afe6ea95da780c67e4829c1e22adfe1b asterisk-addon-mp3-r201.patch.gz
69d82b878728f99b7bf7e862025cbc01aa5b6b9332a5372059ea89a788c66fd351f1103989b3573a7a4ba9ff533f3ee2ff5d88de938440e05d6246e41a882306 asterisk-13.7-90e8780faccc79e68c07775c6ab2fe1ffaccfa08.tar.gz
771237ba6d42ab62d914f2702234b23fd0bc8c22f2aa33b0e745c9170163c8046f6d48ecb299faab3d6fb397f1aa046421083c3cc88510c9779861c522f357dd 10-musl-mutex-init.patch
diff --git a/main/at-spi2-core/APKBUILD b/main/at-spi2-core/APKBUILD
index 2ce67c1ca8..6ee2b291c6 100644
--- a/main/at-spi2-core/APKBUILD
+++ b/main/at-spi2-core/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=at-spi2-core
-pkgver=2.45.1
-pkgrel=1
+pkgver=2.46.0
+pkgrel=0
pkgdesc="Protocol definitions and daemon for D-Bus at-spi"
url="https://www.freedesktop.org/wiki/Accessibility/AT-SPI2/"
arch="all"
@@ -32,6 +32,7 @@ replaces="atk at-spi2-atk"
build() {
abuild-meson \
+ -Db_lto=true \
-Dx11=yes \
-Dintrospection=yes \
-Ddocs=true \
@@ -66,5 +67,5 @@ libatk_bridge() {
}
sha512sums="
-989d696aec54b5148f938614c96fbc6c04f72af6ed863ab076b945954c5bf7ce205a41b2739b68968e18c1c014f18273c95bb8967e1cdc853440fffd7a441a77 at-spi2-core-2.45.1.tar.xz
+633af2c02fab3b8cb02e37f929ce80dd5ce28ca5641046ef5e25cb29299530b90028e6c6f318a0c098a4270bed3eab48fb55d6967a76bfadd2520f49de47c770 at-spi2-core-2.46.0.tar.xz
"
diff --git a/main/atf/APKBUILD b/main/atf/APKBUILD
index f0d90dd3e5..e73eccf6d7 100644
--- a/main/atf/APKBUILD
+++ b/main/atf/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Leo <thinkabit.ukim@gmail.com>
-# Maintainer:
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=atf
pkgver=0.21
-pkgrel=2
+pkgrel=4
pkgdesc="libraries to write tests in C, C++ and shell"
url="https://github.com/jmmv/atf"
arch="all"
@@ -16,7 +16,7 @@ prepare() {
}
build() {
- ./configure \
+ ATF_SHELL=/bin/sh ./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
diff --git a/main/audit/APKBUILD b/main/audit/APKBUILD
index d706e91a99..68133d1200 100644
--- a/main/audit/APKBUILD
+++ b/main/audit/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Dermot Bradley <dermot_bradley@yahoo.com>
# Maintainer: Tycho Andersen <tycho@docker.com>
pkgname=audit
-pkgver=3.0.8
+pkgver=3.0.9
pkgrel=0
pkgdesc="User space tools for kernel auditing"
url="https://people.redhat.com/sgrubb/audit/"
@@ -50,7 +50,7 @@ static() {
}
sha512sums="
-8379bf425d68381d182300e628e42de8460d2f3e15b2395e10880f94b9989656852a50a9bece75b632ec8a04c40c9e666ff4c9d6b25ace3a8f50d2011506afab audit-3.0.8.tar.gz
+5219eb0b41746eca3406008a97731c0083e7be50ec88563a39537de22cb69fe88490f5fe5a11535930f360b11a62538e2ff6cbe39e059cd760038363954ef4d6 audit-3.0.9.tar.gz
f3f2c4ee745e99877c981d889c5cbb0379d073a9b7634c1480ae603a21a13045f9978b51f8cb53c8d0ba414d249bb859af7bca7e302c464b3fc3c6463ecca762 0003-all-get-rid-of-strndupa.patch
90c7d213a0b4ef27bf643e046dd2b3c5909706c62fba24ef34ecb32ff07b73fda13ed04c616a7cf8148115fc977aa1096b61e717abd5bd32f72f7bb4ac07999f usr-paths.patch
a347c45cb1cd3c93ece5352218f1e7bc38938f3cbaf060158e4df40e9f027afbc3c6a3651f25e26e45ab9f2c96af2181d2638b09ed747a4348d0fc88af798798 musl.patch
diff --git a/main/autoconf-archive/APKBUILD b/main/autoconf-archive/APKBUILD
index 43f4159b1e..13466f622b 100644
--- a/main/autoconf-archive/APKBUILD
+++ b/main/autoconf-archive/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=autoconf-archive
-pkgver=2022.02.11
+pkgver=2022.09.03
pkgrel=0
pkgdesc="Collection of re-usable GNU Autoconf macros"
url="https://www.gnu.org/software/autoconf-archive"
@@ -28,5 +28,5 @@ package() {
}
sha512sums="
-243e06a356ea2c0fddc527febd4241da49fe4c11fb64b548873744a54e079860739d7a1da842833b99540acde3f6a2ebfddc41897306cc2e61e2c6037a7d22ff autoconf-archive-2022.02.11.tar.xz
+157b5b6a979d5ec5bfab6ddf34422da620fec1e95f4c901821abbb7361544af77747b4a449029b84750d75679d6130a591e98da8772de2c121ecdea163f0340b autoconf-archive-2022.09.03.tar.xz
"
diff --git a/main/autoconf/APKBUILD b/main/autoconf/APKBUILD
index c7fc2f5121..5b5d31aa80 100644
--- a/main/autoconf/APKBUILD
+++ b/main/autoconf/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=autoconf
pkgver=2.71
-pkgrel=0
+pkgrel=2
pkgdesc="GNU tool for automatically configuring source code"
arch="noarch"
license="GPL-2.0-or-later"
@@ -9,7 +9,13 @@ url="https://www.gnu.org/software/autoconf"
depends="m4 perl"
subpackages="$pkgname-doc"
options="!check"
-source="https://ftp.gnu.org/gnu/autoconf/autoconf-$pkgver.tar.gz"
+source="https://ftp.gnu.org/gnu/autoconf/autoconf-$pkgver.tar.gz
+ $pkgname-make-4.4.patch::https://github.com/autotools-mirror/autoconf/commit/31f673434ee402258b45e958c88acc8725d82b1a.patch
+ $pkgname-bigendian-lto.patch::https://github.com/autotools-mirror/autoconf/commit/234fc6c86613ed3f366dd1d88996e4d5d85ee222.patch
+ $pkgname-lang-call-c::https://github.com/autotools-mirror/autoconf/commit/b27bc3e230bb12fdd9a813e38e82bc4c3e22b4cc.patch
+ $pkgname-kr-decl::https://github.com/autotools-mirror/autoconf/commit/8b5e2016c7ed2d67f31b03a3d2e361858ff5299b.patch
+ $pkgname-autom4te-time-hires.patch::https://github.com/autotools-mirror/autoconf/commit/3a9802d60156809c139e9b4620bf04917e143ee2.patch
+ "
build() {
M4=/usr/bin/m4 ./configure \
@@ -30,4 +36,11 @@ package() {
rm -f "$pkgdir"/usr/share/info/standards.info
}
-sha512sums="2bc5331f9807da8754b2ee623a30299cc0d103d6f98068a4c22263aab67ff148b7ad3a1646bd274e604bc08a8ef0ac2601e6422e641ad0cfab2222d60a58c5a8 autoconf-2.71.tar.gz"
+sha512sums="
+2bc5331f9807da8754b2ee623a30299cc0d103d6f98068a4c22263aab67ff148b7ad3a1646bd274e604bc08a8ef0ac2601e6422e641ad0cfab2222d60a58c5a8 autoconf-2.71.tar.gz
+2d1aa08dbb0e896625e36f4aa20153c1ed29dd395f5f680122983a06a484722ad299aade28beefcb431eada9a9f4af8ac13b9627209245d5870d31769bc016eb autoconf-make-4.4.patch
+a6397aaba4e24ab8a527aa26abeee6a047c86257c7317f933de9f3f35217fbac8eca8ee9774ddc7b6706c3d61e7690a408eb87dafc12989802951620241c7faf autoconf-bigendian-lto.patch
+446ecc39a933d6c1dcdfe99986b1610c46d53b68cda16f6383fd5b0cee5cfc7d924ef5d81d90978100889e492a204423e8279bae1e70e7a55ece5b995cb346c9 autoconf-lang-call-c
+aa613927bffc48b95f7aa9d5977b2c2aa2bf550c64fde88ff2b9447b84bc35cd8fbe80ba3f26f98df948f31ade2587c2be37a5c830ebc6347fa3760f7b6296ae autoconf-kr-decl
+049fb92dc661560b731c5e1d993da8848e34cf81b930816b9e4a7f3c04c99b1151fc8e858f75d6fb1ce965b6eac71d2e9e76368a8499bbfd2ef06ea55032eb32 autoconf-autom4te-time-hires.patch
+"
diff --git a/main/automake/APKBUILD b/main/automake/APKBUILD
index 31ab53d03c..62f4606eb3 100644
--- a/main/automake/APKBUILD
+++ b/main/automake/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=automake
pkgver=1.16.5
-pkgrel=0
+pkgrel=1
pkgdesc="GNU tool for automatically creating Makefiles"
url="https://www.gnu.org/software/automake"
arch="noarch"
@@ -10,6 +10,7 @@ depends="perl"
makedepends="autoconf"
subpackages="$pkgname-doc"
source="https://ftp.gnu.org/gnu/automake/automake-$pkgver.tar.xz
+ $pkgname-python3.10.patch::https://github.com/autotools-mirror/automake/commit/930a9a73f4bb776ec334eff4cf6e182802841daa.patch
"
# many tests have bashisms
@@ -33,4 +34,5 @@ package() {
sha512sums="
3084ae543aa3fb5a05104ffb2e66cfa9a53080f2343c44809707fd648516869511500dba50dae67ff10f92a1bf3b5a92b2a0fa01cda30adb69b9da03994d9d88 automake-1.16.5.tar.xz
+cd22baa12751be72b35a926127c85d793d1ccf69c48d4d0911b2cbd2b9f1249d6eecae4f90be60847a7880861abf59cc10b8846367885e1c6aadc4dd2d0219a0 automake-python3.10.patch
"
diff --git a/main/avahi-ui/APKBUILD b/main/avahi-ui/APKBUILD
index 7011a3c558..d5d9e3e3aa 100644
--- a/main/avahi-ui/APKBUILD
+++ b/main/avahi-ui/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=avahi-ui
pkgver=0.8
-pkgrel=2
+pkgrel=3
pkgdesc="Gtk user interface library for Avahi"
url="https://www.avahi.org/"
arch="all"
@@ -11,7 +11,7 @@ makedepends="$depends_dev py3-gobject3-dev py3-dbus-dev intltool libevent-dev
gobject-introspection-dev expat-dev libdaemon-dev glib-dev dbus-dev
libcap-dev python3-dev autoconf automake libtool avahi-dev gtk+3.0-dev"
subpackages="$pkgname-dev $pkgname-tools $pkgname-gtk3"
-source="http://www.avahi.org/download/avahi-$pkgver.tar.gz
+source="https://www.avahi.org/download/avahi-$pkgver.tar.gz
system-avahi.patch
gnome-nettool.png"
_subdirs="avahi-ui avahi-python"
@@ -86,6 +86,8 @@ gtk3() {
"$subpkgdir"/usr/lib/
}
-sha512sums="c6ba76feb6e92f70289f94b3bf12e5f5c66c11628ce0aeb3cadfb72c13a5d1a9bd56d71bdf3072627a76cd103b9b056d9131aa49ffe11fa334c24ab3b596c7de avahi-0.8.tar.gz
+sha512sums="
+c6ba76feb6e92f70289f94b3bf12e5f5c66c11628ce0aeb3cadfb72c13a5d1a9bd56d71bdf3072627a76cd103b9b056d9131aa49ffe11fa334c24ab3b596c7de avahi-0.8.tar.gz
99723e66889601044ac5ca919e79aa328083cb377bb3d270f3e8d2baee27505f967949f72faa0424756e5f18b1359fd7f7fb30636861d47455ff7b92ed48bcfa system-avahi.patch
-d8e92fcdd82759f8de536ebfa356fe208c27b2d998ce5bb51d585dffc163dc16228be4a7108644fe1a11defbe750244bc8105a430b1397297cdef4cb83ab0db5 gnome-nettool.png"
+261183cd4659b2c2fd4df53c109f310f62c726bbd590d158a270a0fe461167c6409460f811c5188435004a4da79b843505921465018a2e57c40c4bac84b3c096 gnome-nettool.png
+"
diff --git a/main/avahi-ui/gnome-nettool.png b/main/avahi-ui/gnome-nettool.png
index 227d0678a3..1603bdafee 100644
--- a/main/avahi-ui/gnome-nettool.png
+++ b/main/avahi-ui/gnome-nettool.png
Binary files differ
diff --git a/main/awall/APKBUILD b/main/awall/APKBUILD
index 5503262464..80c125a605 100644
--- a/main/awall/APKBUILD
+++ b/main/awall/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Kaarle Ritvanen <kunkku@alpinelinux.org>
# Maintainer: Kaarle Ritvanen <kunkku@alpinelinux.org>
pkgname=awall
-pkgver=1.12.0
+pkgver=1.12.1
pkgrel=0
pkgdesc="Alpine Wall"
url="https://gitlab.alpinelinux.org/alpine/awall"
@@ -51,7 +51,7 @@ policies() {
}
sha512sums="
-1e5b2bb3a64229c79959bd44dfa02c3b6230135eb0368bdc83ee5f0ce97ff9c02259442a3e8f9ae4eb62aaab97186537de15e5a548c720c7bed1aac8ecf30aa2 awall-v1.12.0.tar.bz2
+c01494268ad02843262a10aa5e183b52970a4ac75af20f7c394092030c0931af08916d10d923b9795ea1ad800348a6db1bb050b81f82fb865e1a103634a12429 awall-v1.12.1.tar.bz2
e83ea3281c298092530e45fa5b62f6f85b9e5109b11e109799465ea832608294c7d9c4c3f5b0f321dfc0e82040daf3a17d066e9dea65cb0dbae2c453ea9e62cd awall-init
-1cd4b7fa5fc6c9ac6667dff5cc00d96a3cc42aaccafe3c5562d3dcfd9f22ddec9cfe5a9339fee8001b67ccb8e8b81c9417f39a461e5052af9bf74a2753559bf7 setup-firewall
+3a444b0bff5d36c504bc98e71687319778a037240b1170fa7f0bc534d19b3c41a3e4e871a3e3c27304a934e6c2d6b1cd589586a01250244394d014dc858606d9 setup-firewall
"
diff --git a/main/awall/setup-firewall b/main/awall/setup-firewall
index 06e3b769a5..62605e1d1b 100755
--- a/main/awall/setup-firewall
+++ b/main/awall/setup-firewall
@@ -102,7 +102,7 @@ if [ "$DHCP_ZONES" ]; then
enable_policy dhcp
fi
-egrep -q "^https?://" /etc/apk/repositories && enable_policy web-client
+grep -E -q "^https?://" /etc/apk/repositories && enable_policy web-client
enable_if_running ntp-client chronyd ntpd openntpd
enable_if_running ssh-server dropbear sshd
@@ -132,6 +132,6 @@ enable_service() {
}
enable_service iptables
-if ip -o address | egrep -q '^[0-9]+: [^ ]+ +inet6 '; then
+if ip -o address | grep -E -q '^[0-9]+: [^ ]+ +inet6 '; then
enable_service ip6tables
fi
diff --git a/main/awstats/APKBUILD b/main/awstats/APKBUILD
index f7270f008c..44ad31c466 100644
--- a/main/awstats/APKBUILD
+++ b/main/awstats/APKBUILD
@@ -2,9 +2,9 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=awstats
pkgver=7.8
-pkgrel=1
+pkgrel=2
pkgdesc="Free real-time logfile analyzer to get advanced statistics"
-url="http://awstats.sourceforge.net/"
+url="https://awstats.sourceforge.net/"
arch="noarch"
license="GPL-3.0-or-later"
depends="perl perl-uri"
diff --git a/main/b43-fwcutter/APKBUILD b/main/b43-fwcutter/APKBUILD
index 07cca21a00..f2ea4bd775 100644
--- a/main/b43-fwcutter/APKBUILD
+++ b/main/b43-fwcutter/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=b43-fwcutter
pkgver=019
-pkgrel=1
+pkgrel=2
pkgdesc="Tool to extract firmware from Broadcom drivers"
url="https://wireless.wiki.kernel.org/en/users/Drivers/b43"
arch="all"
diff --git a/main/bacula/APKBUILD b/main/bacula/APKBUILD
index e72777775b..fd56547bd3 100644
--- a/main/bacula/APKBUILD
+++ b/main/bacula/APKBUILD
@@ -1,10 +1,10 @@
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=bacula
-pkgver=13.0.0
-pkgrel=1
+pkgver=13.0.1
+pkgrel=0
pkgdesc="Enterprise ready, network based backup program"
-url="https://www.bacula.org"
+url="https://www.bacula.org/"
arch="all"
license="AGPL-3.0-or-later WITH OpenSSL-Exception"
makedepends="autoconf automake libtool mariadb-connector-c-dev ncurses-dev openssl-dev>3 libpq-dev
@@ -157,7 +157,7 @@ client() {
}
sha512sums="
-4049771f0a0a6c9302d73bd9870c0508d339e919077ac7cfabd4df83a24bb734dcaa8b1c655fb2ad44b04ce616cd566c2ff6dbb7567ae5904efb255ad2b7c0be bacula-13.0.0.tar.gz
+fd10857d12bb637b9f6e51a03888d8cc93604ba1e793f888304f3c115d48800d7f0d69e30a843355c6760ff8e9b5481c174a24ace1c2adc106cf4ec73646b426 bacula-13.0.1.tar.gz
bb954bb94bffa68ba80872046782a73012487291f019fb8d7ff77fc7f4325e25bee88612b3279b4db7d3c2002ac7448ffabcda62da7bab54642a7413904abc91 bacula-dir.initd
0505b9a74520af6982d5df4390525976f8e009e641d0acfe8f24b2ec9f155166a65eecbabee9ff70ffe188d523effa64f958acd8f657410b1c002a6d736e8aee bacula-sd.initd
91a53cb566cfd91b42a319bd6ff9947047cae187c6ec198767853d1a0253667d6c2c58f0e72ed43a7b9f40b76e705cafde7a1d6ac86577fa0f64f44b031dec11 bacula-fd.initd
diff --git a/main/bash/APKBUILD b/main/bash/APKBUILD
index e5309b99bc..f46f08a1f2 100644
--- a/main/bash/APKBUILD
+++ b/main/bash/APKBUILD
@@ -2,17 +2,17 @@
# Contributor: TBK <alpine@jjtc.eu>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=bash
-pkgver=5.1.16
+pkgver=5.2.9
_patchlevel=${pkgver##*.}
_myver=${pkgver%.*}
_patchbase=${_myver/./}
-pkgrel=2
+pkgrel=0
pkgdesc="The GNU Bourne Again shell"
url="https://www.gnu.org/software/bash/bash.html"
arch="all"
license="GPL-3.0-or-later"
makedepends_build="bison flex"
-makedepends_host="readline-dev>8 ncurses-dev"
+makedepends_host="readline-dev>8 ncurses-dev musl-libintl"
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.pre-deinstall"
subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc"
source="https://ftp.gnu.org/gnu/bash/bash-$_myver.tar.gz
@@ -95,23 +95,16 @@ dev() {
}
sha512sums="
-c44a0ce381469219548a3a27589af3fea4f22eda1ca4e9434b59fc16da81b471c29ce18e31590e0860a6a251a664b68c2b45e3a17d22cfc02799ffd9a208390c bash-5.1.tar.gz
-4542e19f2c6c31fff1f412379d5e36c65767cf2d91f1311e8d43f2566e2e50ab8dddff6045aec9b0272ed7387aa9b35daf6b0844478c0bda94d961efcf6f3ae3 bashrc
+5647636223ba336bf33e0c65e516d8ebcf6932de8b44f37bc468eedb87579c628ad44213f78534beb10f47aebb9c6fa670cb0bed3b4e7717e5faf7e9a1ef81ae bash-5.2.tar.gz
+3e0ea7dd94ee4bf2967bb0b6c565df4f7f230afe76a69952e881802268db1ab2474d43c2f14441a956b6645b0ee0d524fdd107d28e56ae870bfbb1a6cba22eef bashrc
9d8845491d0fe335bdd8e9a2bd98bda54bfed2ae3c35b2196c6d5a38bdf96c4d97572ba7d6b19ab605ef4e8f001f64cf3312f87dedebb9e37a95ad2c44e33cdb bash-noinfo.patch
-1cd86805a2639614372aec29a710bc456e330abcbbaa0867820c94f714a1fa5fb5c1b18aa2c10263ae0bce9dad7579c7af2f732282315c1c34bfd6a90777bfd2 bash51-001
-923e7822a9629645347d3aea0058fb5e2d52223507159a62369309f264612df44a84931c19e0ccb3852e98ce672dfbd454477090b4041b5a0de477c94eb61088 bash51-002
-01e952dcfdae58624723d64912ea3444eed2fdcd266ba1a929b95ec3abd70f914bf400607c3f7bb7a94ac2925f794f91f37c1929d5bb987de2ba7f60a19cb8bd bash51-003
-10ff24cd91a2cd88818bfa7218050843af6b409e43fcca89f5ec70d8266020c6c2a55132426271f165cd0f154f49eb0f8ec2761b80fc066c921b83120bb543ce bash51-004
-fa83d894fe874a05b9a7d47b8bca8e5b7f4067221d82e8b1af616d17725592c3737c621f2a8ad3c917b29846012c37c85acd34dcbb43eb6b05065ccce89b260c bash51-005
-b9b6e3d71f7b7718e2e8598ec8e337dcc675571fb233c29e5230ebf14eab2249204531f2fe8c4d1459c5fed10acb679048588d1e457e98dbc00ffc4d2cd227e3 bash51-006
-e4ebdc47e780ddc2588ecdfcfe00cb618039c7044e250ab2b836b0735c461ebacd15beaf2145e277c70b7f51cded55bd8dde7757df810f33f8dae306ee5ba571 bash51-007
-97f9558a08a66cc9da62c285bf9118b39328e25ed3b9277728e0539b1ac0adef176a090e39cd96dc03d6fd900d8155bd58040cb3390a09f637bab1de8af3faf6 bash51-008
-2d3c65162ec4e5c3dfeb439891950ef2c43973a84122fcdf6b56c388466c7e671dbc9b236d2253f01411b668c365855263995dbacb8e6f9e9dbcb7e6c2cc518c bash51-009
-aac4a0b72b559566334f1029c52754f4c98185af99e09436e401d83ab81bab7882d0d8050674b30f171733f3628157777a264566e927e93db2ea5a18d26630f1 bash51-010
-bb9e47a570bb9758c365831f9650b9379b60862b8cef572edc3cd833df96ebb8b9612de474bdc2a03ff4efc2275f871d55962295385e38f3658874488e974b81 bash51-011
-59819914b6821d9f4af0aade7b9b7ea92368c2b8eb8407cea11dfeee7208905dd06bdef7a049d7b1c4fac41c44d9a130b95a061957a9649050b37471b3044cf1 bash51-012
-67535155f49a7f54f151e62aba9274f82d01f33a1a1a7e5efd1aa0d63ba2d078765f0b5e22cb24db7132eff2d8c5852a3688298baa5217b8b6e159aae065d748 bash51-013
-f658ab7ef01ba1d26f735e24b23bf35687e15b0d5d20f90da233d000745a55bdba142c11e9fba52e3b84470ec625fab60cc74cd6be533d990496a3795c658e88 bash51-014
-fd4bc85f942a3a16c545f7e951a24f620ff2d884640dea6e05f305aaf88ed41862bfb05eea2258881608de696f9dc7a0fe3bebb51a011f50b720ea7a66699184 bash51-015
-020b3f3db77ca603a27a3423323538db5c9844be17ee428cf7cda80bebdcc715d30eab6c95773541cb8d14f3ad9e6142bf0adcda0e745ee638242508cc0ab05f bash51-016
+d1e5d508a4a1888052434adff551732c4215372174adb19dce9514faa18c78ee690e1c0fd9858e15c76fbb910ccace7e62751c3c266f5db253dbffda8c882409 bash52-001
+2484262d6cb32303c761793af2c352062421054149fcf3f591a590e409bb21985683a1e50669547e396eea46f1081ae0821076c3975357dc6c850f94cdd527c1 bash52-002
+c8dac54c8b1805dc756efd06be3092a4de1c45bc1e97b574ca49bf4152515a545d154a84c1d9a82747c79d676b8330254856380bc929d8e835b10af743d66cbb bash52-003
+64bab53225ab2f0b974988c9b1ad5d2d2bb256ce384bb9d4646d1e75411a8eefc7ce2a7ee470345bff276e71147e9b5149a5d9b25bd5308f7bad77b8f68b5c84 bash52-004
+9971ebef50d2a776226d68dbb11feaac85522f66824a0e54faa97b0a14cc242eb8daae2c4364ec59cea5413824be7cbc149c02d1452f211588c505f030b13ee0 bash52-005
+aa46d8a5523374a269ea3d1b4b75ae4e3d918ef4f6d89331bed5da24505bcfac321864071f29161e56487c611d35fe1351c2a2ea226ccaeecef55d01a5a5f2c7 bash52-006
+a2f5ce78c651ec220852989a8b2325d0f1a3739f6494796124324e5883290f74b7e360f91d540c339e1ca3030e54b91301241bb481e965f9fdf915d5fd5accd1 bash52-007
+1f317f3c2313ede7b67c4e396dfad453787f4a30ff77fc53aae482c7dbb752f60c1f33cb414dcc3055a55b77c8c80aeda9626e5b066a79af8a082c6e056340e2 bash52-008
+71fffb71e5876e7abea7e769f4438f2f8d3843d7dfec13f1ba7e79ead5b001d7543c92eb3a628b393f8652bf136e4768c1d1c7b55c155cafe83886b900396e68 bash52-009
"
diff --git a/main/bash/bashrc b/main/bash/bashrc
index b851cf50b0..0afb7fb7d4 100644
--- a/main/bash/bashrc
+++ b/main/bash/bashrc
@@ -6,6 +6,11 @@ if [[ $- != *i* ]] ; then
return
fi
+# set fallback PS1; only if currently set to upstream bash default
+if [ "$PS1" = '\s-\v\$ ' ]; then
+ PS1='\h:\w\$ '
+fi
+
if [ -d /etc/profile.d/ ]; then
for f in /etc/profile.d/*.sh; do
[ -r "$f" ] && . "$f"
diff --git a/main/batctl/APKBUILD b/main/batctl/APKBUILD
index 8c52d16a38..de7662bf40 100644
--- a/main/batctl/APKBUILD
+++ b/main/batctl/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Ariadne Conill <ariadne@dereferenced.org>
pkgname=batctl
-pkgver=2022.1
+pkgver=2022.3
pkgrel=0
pkgdesc="B.A.T.M.A.N. advanced control and management tool"
url="https://www.open-mesh.org/"
@@ -21,5 +21,5 @@ package() {
}
sha512sums="
-4e268b5ec7cb07fed08b8688e10c603b788ccbe3cc3c84e536ba27cf2e54e306b49d86a9f9c657627c673a48029834d0454db53c0fa46d7fad5e2095823828f5 batctl-2022.1.tar.gz
+8768e8166845b2ecebd419de36015c27badb68036d76b06233a935d9fe8ab781cbb6fe6127c2b5fff5cf96b99b56b0e21cca0dd525feb13bbaa5094248385f52 batctl-2022.3.tar.gz
"
diff --git a/main/bats/APKBUILD b/main/bats/APKBUILD
index 94132766fd..46818e2907 100644
--- a/main/bats/APKBUILD
+++ b/main/bats/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Jose-Luis Rivas <ghostbar@riseup.net>
pkgname=bats
-pkgver=1.7.0
+pkgver=1.8.2
pkgrel=0
pkgdesc="Bash Automated Testing System"
options="!check" # Test passes CI/locally, fails on builders
@@ -19,6 +19,7 @@ check() {
package() {
./install.sh "$pkgdir"/usr
}
+
sha512sums="
-557ba2984a21c02ce5d9d819839866390b190905bb87298e3117e4b41484f5eba8b4f471062d7b647b65f750cc1c774db5d7d33d35a47fe163a7d9e54c591e12 bats-1.7.0.zip
+923de33ae5e38e2943181b1521f28d5884f6801e077f40e72f55e28c31472747366f371e4269632a4c7a66576818814080d9d622f87f3c3349ff76f7c639ea31 bats-1.8.2.zip
"
diff --git a/main/bcache-tools/APKBUILD b/main/bcache-tools/APKBUILD
index d7bf07f508..0de5c5904c 100644
--- a/main/bcache-tools/APKBUILD
+++ b/main/bcache-tools/APKBUILD
@@ -1,13 +1,13 @@
# Maintainer:
pkgname=bcache-tools
pkgver=1.1
-pkgrel=0
+pkgrel=1
pkgdesc="tools for managing bcache"
url="https://bcache.evilpiepirate.org/"
arch="all"
license="GPL-2.0-only"
makedepends="eudev-dev util-linux-dev linux-headers coreutils"
-subpackages="$pkgname-doc"
+subpackages="$pkgname-dbg $pkgname-doc"
source="https://git.kernel.org/pub/scm/linux/kernel/git/colyli/bcache-tools.git/snapshot/bcache-tools-$pkgver.tar.gz"
build() {
@@ -22,4 +22,6 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="4ccbef47255bf3644a50242a79951b1f3720e71a55eb1e07dc6b8486df0245da99a77bba751b50197d489b4c5d738e5284aabc014c2f7f44816ddf6a1bb807ca bcache-tools-1.1.tar.gz"
+sha512sums="
+4ccbef47255bf3644a50242a79951b1f3720e71a55eb1e07dc6b8486df0245da99a77bba751b50197d489b4c5d738e5284aabc014c2f7f44816ddf6a1bb807ca bcache-tools-1.1.tar.gz
+"
diff --git a/main/bctoolbox/APKBUILD b/main/bctoolbox/APKBUILD
index 7a220d8cf3..6096694f89 100644
--- a/main/bctoolbox/APKBUILD
+++ b/main/bctoolbox/APKBUILD
@@ -1,19 +1,19 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=bctoolbox
-pkgver=5.1.45
+pkgver=5.1.64
pkgrel=0
pkgdesc="Utilities library used by Belledonne Communications softwares like belle-sip, mediastreamer2 and linphone"
url="https://github.com/BelledonneCommunications/bctoolbox"
arch="all"
license="GPL-2.0-or-later"
options="!check" # bcunit not available
-makedepends="cmake mbedtls-dev"
+makedepends="cmake mbedtls-dev samurai"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bctoolbox/archive/$pkgver.tar.gz"
build() {
- cmake \
+ cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=MinSizeRel \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_MODULE_PATH=/usr/lib/cmake \
@@ -23,16 +23,16 @@ build() {
-DENABLE_POLARSSL=NO \
-DENABLE_STATIC=NO \
-DENABLE_TESTS_COMPONENT=OFF \
- -DENABLE_SHARED=YES .
- make
+ -DENABLE_SHARED=YES
+ cmake --build build
}
check() {
- make check
+ ctest --test-dir build --output-on-failure
}
package() {
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" cmake --install build
}
dev() {
@@ -40,11 +40,9 @@ dev() {
mkdir -p "$subpkgdir"/usr/lib/cmake/bctoolbox
mv "$pkgdir"/usr/share/bctoolbox/cmake/* "$subpkgdir"/usr/lib/cmake/bctoolbox
# Remove empty dirs
- rmdir "$pkgdir"/usr/share/bctoolbox/cmake
- rmdir "$pkgdir"/usr/share/bctoolbox
- rmdir "$pkgdir"/usr/share
+ rmdir -p "$pkgdir"/usr/share/bctoolbox/cmake || true
}
sha512sums="
-488d296f3d0328858692d865ce4c315bd9f2baa9fbe9577a1fd214735d8bbe83005f082239c277607d8561682d220e0da0f30b695911780b1a7ec27cfea1c247 bctoolbox-5.1.45.tar.gz
+2f1b4600ec7463cf2b858b620859e4a413503edb038911ec1e6068efc8497bc8e93c3f05cc65f479c64128743a15ddeb3f2cbd55b036ddea5631b8f7cd96e832 bctoolbox-5.1.64.tar.gz
"
diff --git a/main/bdftopcf/APKBUILD b/main/bdftopcf/APKBUILD
index 0b54eb32c3..dc4a3c9501 100644
--- a/main/bdftopcf/APKBUILD
+++ b/main/bdftopcf/APKBUILD
@@ -1,15 +1,15 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=bdftopcf
-pkgver=1.1
-pkgrel=1
+pkgver=1.1.1
+pkgrel=0
pkgdesc="X.Org font utility"
url="http://xorg.freedesktop.org"
arch="all"
license="MIT"
options="!check" # No test suite.
-makedepends="libxfont-dev util-macros"
+makedepends="libxfont-dev util-macros xorgproto"
subpackages="$pkgname-doc"
-source="https://www.x.org/releases/individual/app/$pkgname-$pkgver.tar.bz2"
+source="https://www.x.org/releases/individual/util/$pkgname-$pkgver.tar.xz"
build() {
./configure \
@@ -26,4 +26,6 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="7b790e8d512ca2812ac889c156ef91c48798b4744a6857e5b17e0128764b5afa8c5426fe5de05a9819d64745116718db4221b3e657e3c2633465e87179c44bec bdftopcf-1.1.tar.bz2"
+sha512sums="
+257dc9ae29f2cf1496aad91ccba534348d87f881d75431aa6611a8154cb817d17588c464ab6c6c6bc51e6060baa8dcfcb9fd8c037cdaea8d18287651fa6b7ea9 bdftopcf-1.1.1.tar.xz
+"
diff --git a/main/bind/APKBUILD b/main/bind/APKBUILD
index f8bbf37a04..29b41bb4b4 100644
--- a/main/bind/APKBUILD
+++ b/main/bind/APKBUILD
@@ -5,7 +5,7 @@
# Contributor: ungleich <alpinelinux@ungleich.ch>
# Maintainer:
pkgname=bind
-pkgver=9.18.5
+pkgver=9.18.9
_ver=${pkgver%_p*}
_p=${pkgver#*_p}
_major=${pkgver%%.*}
@@ -61,6 +61,13 @@ source="
"
# secfixes:
+# 9.18.7-r0:
+# - CVE-2022-2795
+# - CVE-2022-2881
+# - CVE-2022-2906
+# - CVE-2022-3080
+# - CVE-2022-38177
+# - CVE-2022-38178
# 9.16.27-r0:
# - CVE-2022-0396
# - CVE-2021-25220
@@ -265,7 +272,7 @@ _gpgfingerprints="
"
sha512sums="
-41149e2a225125af0923ac597a31975b0a09eba64c0c4fe2ac6e6d6ae54ef8a72ff95db44d3b516af965871b6bde1b5e20489dd483c120e6f938744f56ab39c3 bind-9.18.5.tar.xz
+7d9bca47e29e8634416ab52819d78ce4ec6196c0dcbd9fe95a24687337f71c69b6472cf20bf49ea0ae1751a861944f354f9122acfb01780f51278ad4a3fdd817 bind-9.18.9.tar.xz
3d1d3e954aaee5e125f6b6f3cb660b51fc91d803df4cad43c47dbe97f19789cef20b5ca2834624668f0d761a5b81ac72db8959745d6eb293ca1154a1b390a007 named.initd
127bdcc0b5079961f0951344bc3fad547450c81aee2149eac8c41a8c0c973ea0ffe3f956684c6fcb735a29c43d2ff48c153b6a71a0f15757819a72c492488ddf named.confd
d2f61d02d7829af51faf14fbe2bafe8bc90087e6b6697c6275a269ebbddcaa14a234fff5c41da793e945e8ff1de3de0858a40334e0d24289eab98df4bb721ac5 named.conf.authoritative
diff --git a/main/binutils/APKBUILD b/main/binutils/APKBUILD
index 311aa78aa5..ea00dbe7ec 100644
--- a/main/binutils/APKBUILD
+++ b/main/binutils/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Ariadne Conill <ariadne@dereferenced.org>
pkgname=binutils
-pkgver=2.38
-pkgrel=4
+pkgver=2.39
+pkgrel=2
pkgdesc="Tools necessary to build programs"
url="https://www.gnu.org/software/binutils/"
makedepends_build="bison flex texinfo"
@@ -17,11 +17,7 @@ source="https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.xz
ld-bfd-mips.patch
0001-Revert-PR25882-.gnu.attributes-are-not-checked-for-s.patch
binutils-mips-disable-assert.patch
- binutils-ppc-fix-machine-options.patch
- binutils-s390x-1.patch
- binutils-s390x-2.patch
- binutils-ppc64le-assertion.patch
- binutils-clang-dwarf-5.patch
+ CVE-2022-38533.patch
"
builddir="$srcdir/$pkgname-$pkgver"
@@ -36,6 +32,10 @@ if [ "$CHOST" != "$CTARGET" ]; then
fi
# secfixes:
+# 2.39-r2:
+# - CVE-2022-38533
+# 2.39-r0:
+# - CVE-2022-38126
# 2.35.2-r1:
# - CVE-2021-3487
# 2.32-r0:
@@ -86,12 +86,14 @@ build() {
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-multilib \
+ --disable-gprofng \
--enable-ld=default \
$_gold_configure \
--enable-64-bit-bfd \
$_plugin_configure \
--enable-relro \
--enable-deterministic-archives \
+ --enable-default-execstack=no \
$_cross_configure \
$_arch_configure \
$_hash_style_configure \
@@ -137,15 +139,11 @@ gold() {
}
sha512sums="
-8bf0b0d193c9c010e0518ee2b2e5a830898af206510992483b427477ed178396cd210235e85fd7bd99a96fc6d5eedbeccbd48317a10f752b7336ada8b2bb826d binutils-2.38.tar.xz
+68e038f339a8c21faa19a57bbc447a51c817f47c2e06d740847c6e9cc3396c025d35d5369fa8c3f8b70414757c89f0e577939ddc0d70f283182504920f53b0a3 binutils-2.39.tar.xz
ecee33b0e435aa704af1c334e560f201638ff79e199aa11ed78a72f7c9b46f85fbb227af5748e735fd681d1965fcc42ac81b0c8824e540430ce0c706c81e8b49 binutils-ld-fix-static-linking.patch
f55cf2e0bf82f97583a1abe10710e4013ecf7d64f1da2ef8659a44a06d0dd8beaf58dab98a183488ea137f03e32d62efc878d95f018f836f8cec870bc448556f gold-mips.patch
314d2ef9071c89940aa6c8118e8a1e2f191a5d0a4bf596da1ad9cc84f884d8bc7dea8bd7b9fc3f8f1bddd3fd41c6eb017e1e804044b3bf084df1ed9e6e095e2d ld-bfd-mips.patch
70ec22bd72ef6dddecfd970613387dd4a8cdc8730dd3cbf03d5a0c3a7c4d839383167bb06dad21bf7c235329fd44b5dc4aefe762f68544f17155cf002bf1be4a 0001-Revert-PR25882-.gnu.attributes-are-not-checked-for-s.patch
609cd90d8b334eb309f586b17b9d335a08d3dbb6def7c3eb5c010028fcb681674031e5b9d853aa7a39a50304356a86afc184b85562b3f228f8197f4d29395c8f binutils-mips-disable-assert.patch
-27ea91e0e406e2ed464fd692cf92a07e338781789f2d968c8b95d9d5545985056a6f7f500df3952e5ab42165db28b741aa33d6b717e880b11a2e41fe406b13c4 binutils-ppc-fix-machine-options.patch
-a9efe2689624865f0ff33d4776a5bd295bcad6484bdd38d0ca490fea43691c4933ab33d17478851998eef12922dbf83d6c3225bb1f8faf92a1367d086390f7d3 binutils-s390x-1.patch
-0e291df80ad279005265634014d0935d2c115a5ed708d25407094b7ad4ddf267d1fb7fcbcb2d9ad73bd305b4e3974628b820bd1f249f56c095e4896872434cc9 binutils-s390x-2.patch
-63e58f45df3570279cb1ee5215ba3de77de012cac20da9cdd23f86a93890056e1efa397521559cfd0716d5239604607c440d8f4d089d83c98b8fbc1b5c5305f8 binutils-ppc64le-assertion.patch
-d76e998cdb68e6beb56ebb5856b1617acb09478596f7a114257e0d027d72be7e408468f83ea023d8cc93e400d9b4e7da0a21b046db70b76fdfeffd4b020a386d binutils-clang-dwarf-5.patch
+631726e557524633ace39c597acbc5ac39bfd25f7b292eee1f0b2a80a503f4ff799f027757d12d5a24b2fa3c07c7e14602d8a86d96e19876d6d0d5d1a02817e7 CVE-2022-38533.patch
"
diff --git a/main/binutils/CVE-2022-38533.patch b/main/binutils/CVE-2022-38533.patch
new file mode 100644
index 0000000000..df948da2e2
--- /dev/null
+++ b/main/binutils/CVE-2022-38533.patch
@@ -0,0 +1,22 @@
+X-Git-Url: https://sourceware.org/git/?p=binutils-gdb.git;a=blobdiff_plain;f=bfd%2Fcoffcode.h;h=52027981c3f052d98e043cd0c877f0bb5da97c7f;hp=67aaf158ca1829fe63f0065f31a0b1009b227b36;hb=ef186fe54aa6d281a3ff8a9528417e5cc614c797;hpb=80075150727d653c39e9d037e15c6b87dcef08cd
+
+diff --git a/bfd/coffcode.h b/bfd/coffcode.h
+index 67aaf158ca1..52027981c3f 100644
+--- a/bfd/coffcode.h
++++ b/bfd/coffcode.h
+@@ -4302,10 +4302,13 @@ coff_set_section_contents (bfd * abfd,
+
+ rec = (bfd_byte *) location;
+ recend = rec + count;
+- while (rec < recend)
++ while (recend - rec >= 4)
+ {
++ size_t len = bfd_get_32 (abfd, rec);
++ if (len == 0 || len > (size_t) (recend - rec) / 4)
++ break;
++ rec += len * 4;
+ ++section->lma;
+- rec += bfd_get_32 (abfd, rec) * 4;
+ }
+
+ BFD_ASSERT (rec == recend);
diff --git a/main/binutils/binutils-clang-dwarf-5.patch b/main/binutils/binutils-clang-dwarf-5.patch
deleted file mode 100644
index 760f6a2993..0000000000
--- a/main/binutils/binutils-clang-dwarf-5.patch
+++ /dev/null
@@ -1,1226 +0,0 @@
-Patch-Source: https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=19c26da69d68d5d863f37c06ad73ab6292d02ffa
-changelog/nonexistent test file trimmed
----
-From 19c26da69d68d5d863f37c06ad73ab6292d02ffa Mon Sep 17 00:00:00 2001
-From: Nick Clifton <nickc@redhat.com>
-Date: Wed, 6 Apr 2022 14:43:37 +0100
-Subject: [PATCH] Add code to display the contents of .debug_loclists sections
- which contain offset entry tables.
-
- PR 28981
- * dwarf.c (fetch_indexed_value): Rename to fecth_indexed_addr and
- return the address, rather than a string.
- (fetch_indexed_value): New function - returns a value indexed by a
- DW_FORM_loclistx or DW_FORM_rnglistx form.
- (read_and_display_attr_value): Add support for DW_FORM_loclistx
- and DW_FORM_rnglistx.
- (process_debug_info): Load the loclists and rnglists sections.
- (display_loclists_list): Add support for DW_LLE_base_addressx,
- DW_LLE_startx_endx, DW_LLE_startx_length and
- DW_LLE_default_location.
- (display_offset_entry_loclists): New function. Displays a
- .debug_loclists section that contains offset entry tables.
- (display_debug_loc): Call the new function.
- (display_debug_rnglists_list): Add support for
- DW_RLE_base_addressx, DW_RLE_startx_endx and DW_RLE_startx_length.
- (display_debug_ranges): Display the contents of the section's
- header.
- * dwarf.h (struct debug_info): Add loclists_base field.
- * testsuite/binutils-all/dw5.W: Update expected output.
- * testsuite/binutils-all/x86-64/pr26808.dump: Likewise.
----
- binutils/ChangeLog | 24 +
- binutils/dwarf.c | 513 +++++++++++++++---
- binutils/dwarf.h | 4 +
- binutils/testsuite/binutils-all/dw5.W | 2 +-
- .../binutils-all/x86-64/pr26808.dump | 82 +--
- gas/ChangeLog | 5 +
- gas/testsuite/gas/elf/dwarf-5-irp.d | 2 +-
- 7 files changed, 517 insertions(+), 115 deletions(-)
-
-diff --git a/binutils/dwarf.c b/binutils/dwarf.c
-index 15b3c81a138..bc862f77c04 100644
---- a/binutils/dwarf.c
-+++ b/binutils/dwarf.c
-@@ -243,7 +243,7 @@ static const char *
- dwarf_vmatoa_1 (const char *fmtch, dwarf_vma value, unsigned num_bytes)
- {
- /* As dwarf_vmatoa is used more then once in a printf call
-- for output, we are cycling through an fixed array of pointers
-+ for output, we are cycling through a fixed array of pointers
- for return address. */
- static int buf_pos = 0;
- static struct dwarf_vmatoa_buf
-@@ -799,24 +799,70 @@ fetch_indexed_string (dwarf_vma idx, struct cu_tu_set *this_set,
- return ret;
- }
-
--static const char *
--fetch_indexed_value (dwarf_vma offset, dwarf_vma bytes)
-+static dwarf_vma
-+fetch_indexed_addr (dwarf_vma offset, uint32_t num_bytes)
- {
- struct dwarf_section *section = &debug_displays [debug_addr].section;
-
- if (section->start == NULL)
-- return (_("<no .debug_addr section>"));
-+ {
-+ warn (_("<no .debug_addr section>"));
-+ return 0;
-+ }
-
-- if (offset + bytes > section->size)
-+ if (offset + num_bytes > section->size)
- {
- warn (_("Offset into section %s too big: 0x%s\n"),
- section->name, dwarf_vmatoa ("x", offset));
-- return "<offset too big>";
-+ return 0;
- }
-
-- return dwarf_vmatoa ("x", byte_get (section->start + offset, bytes));
-+ return byte_get (section->start + offset, num_bytes);
- }
-
-+/* Fetch a value from a debug section that has been indexed by
-+ something in another section (eg DW_FORM_loclistx).
-+ Returns 0 if the value could not be found. */
-+
-+static dwarf_vma
-+fetch_indexed_value (dwarf_vma index,
-+ enum dwarf_section_display_enum sec_enum)
-+{
-+ struct dwarf_section *section = &debug_displays [sec_enum].section;
-+
-+ if (section->start == NULL)
-+ {
-+ warn (_("Unable to locate %s section\n"), section->uncompressed_name);
-+ return 0;
-+ }
-+
-+ uint32_t pointer_size, bias;
-+
-+ if (byte_get (section->start, 4) == 0xffffffff)
-+ {
-+ pointer_size = 8;
-+ bias = 20;
-+ }
-+ else
-+ {
-+ pointer_size = 4;
-+ bias = 12;
-+ }
-+
-+ dwarf_vma offset = index * pointer_size;
-+
-+ /* Offsets are biased by the size of the section header. */
-+ offset += bias;
-+
-+ if (offset + pointer_size > section->size)
-+ {
-+ warn (_("Offset into section %s too big: 0x%s\n"),
-+ section->name, dwarf_vmatoa ("x", offset));
-+ return 0;
-+ }
-+
-+ return byte_get (section->start + offset, pointer_size);
-+}
-
- /* FIXME: There are better and more efficient ways to handle
- these structures. For now though, I just want something that
-@@ -2002,6 +2048,8 @@ skip_attr_bytes (unsigned long form,
- case DW_FORM_strx:
- case DW_FORM_GNU_addr_index:
- case DW_FORM_addrx:
-+ case DW_FORM_loclistx:
-+ case DW_FORM_rnglistx:
- READ_ULEB (uvalue, data, end);
- break;
-
-@@ -2413,9 +2461,6 @@ read_and_display_attr_value (unsigned long attribute,
-
- switch (form)
- {
-- default:
-- break;
--
- case DW_FORM_ref_addr:
- if (dwarf_version == 2)
- SAFE_BYTE_GET_AND_INC (uvalue, data, pointer_size, end);
-@@ -2499,6 +2544,8 @@ read_and_display_attr_value (unsigned long attribute,
- case DW_FORM_udata:
- case DW_FORM_GNU_addr_index:
- case DW_FORM_addrx:
-+ case DW_FORM_loclistx:
-+ case DW_FORM_rnglistx:
- READ_ULEB (uvalue, data, end);
- break;
-
-@@ -2518,6 +2565,9 @@ read_and_display_attr_value (unsigned long attribute,
- case DW_FORM_implicit_const:
- uvalue = implicit_const;
- break;
-+
-+ default:
-+ break;
- }
-
- switch (form)
-@@ -2713,6 +2763,8 @@ read_and_display_attr_value (unsigned long attribute,
- case DW_FORM_addrx2:
- case DW_FORM_addrx3:
- case DW_FORM_addrx4:
-+ case DW_FORM_loclistx:
-+ case DW_FORM_rnglistx:
- if (!do_loc)
- {
- dwarf_vma base;
-@@ -2731,11 +2783,11 @@ read_and_display_attr_value (unsigned long attribute,
- /* We have already displayed the form name. */
- printf (_("%c(index: 0x%s): %s"), delimiter,
- dwarf_vmatoa ("x", uvalue),
-- fetch_indexed_value (offset, pointer_size));
-+ dwarf_vmatoa ("x", fetch_indexed_addr (offset, pointer_size)));
- else
- printf (_("%c(addr_index: 0x%s): %s"), delimiter,
- dwarf_vmatoa ("x", uvalue),
-- fetch_indexed_value (offset, pointer_size));
-+ dwarf_vmatoa ("x", fetch_indexed_addr (offset, pointer_size)));
- }
- break;
-
-@@ -2757,6 +2809,13 @@ read_and_display_attr_value (unsigned long attribute,
- {
- switch (attribute)
- {
-+ case DW_AT_loclists_base:
-+ if (debug_info_p->loclists_base)
-+ warn (_("CU @ 0x%s has multiple loclists_base values"),
-+ dwarf_vmatoa ("x", debug_info_p->cu_offset));
-+ debug_info_p->loclists_base = uvalue;
-+ break;
-+
- case DW_AT_frame_base:
- have_frame_base = 1;
- /* Fall through. */
-@@ -2779,7 +2838,8 @@ read_and_display_attr_value (unsigned long attribute,
- case DW_AT_GNU_call_site_target_clobbered:
- if ((dwarf_version < 4
- && (form == DW_FORM_data4 || form == DW_FORM_data8))
-- || form == DW_FORM_sec_offset)
-+ || form == DW_FORM_sec_offset
-+ || form == DW_FORM_loclistx)
- {
- /* Process location list. */
- unsigned int lmax = debug_info_p->max_loc_offsets;
-@@ -2799,11 +2859,17 @@ read_and_display_attr_value (unsigned long attribute,
- lmax, sizeof (*debug_info_p->have_frame_base));
- debug_info_p->max_loc_offsets = lmax;
- }
-- if (this_set != NULL)
-+
-+ if (form == DW_FORM_loclistx)
-+ uvalue = fetch_indexed_value (uvalue, loclists);
-+ else if (this_set != NULL)
- uvalue += this_set->section_offsets [DW_SECT_LOC];
-+
- debug_info_p->have_frame_base [num] = have_frame_base;
- if (attribute != DW_AT_GNU_locviews)
- {
-+ uvalue += debug_info_p->loclists_base;
-+
- /* Corrupt DWARF info can produce more offsets than views.
- See PR 23062 for an example. */
- if (debug_info_p->num_loc_offsets
-@@ -2847,7 +2913,8 @@ read_and_display_attr_value (unsigned long attribute,
- case DW_AT_ranges:
- if ((dwarf_version < 4
- && (form == DW_FORM_data4 || form == DW_FORM_data8))
-- || form == DW_FORM_sec_offset)
-+ || form == DW_FORM_sec_offset
-+ || form == DW_FORM_rnglistx)
- {
- /* Process range list. */
- unsigned int lmax = debug_info_p->max_range_lists;
-@@ -2861,6 +2928,10 @@ read_and_display_attr_value (unsigned long attribute,
- lmax, sizeof (*debug_info_p->range_lists));
- debug_info_p->max_range_lists = lmax;
- }
-+
-+ if (form == DW_FORM_rnglistx)
-+ uvalue = fetch_indexed_value (uvalue, rnglists);
-+
- debug_info_p->range_lists [num] = uvalue;
- debug_info_p->num_range_lists++;
- }
-@@ -3234,6 +3305,7 @@ read_and_display_attr_value (unsigned long attribute,
- have_frame_base = 1;
- /* Fall through. */
- case DW_AT_location:
-+ case DW_AT_loclists_base:
- case DW_AT_string_length:
- case DW_AT_return_addr:
- case DW_AT_data_member_location:
-@@ -3251,7 +3323,8 @@ read_and_display_attr_value (unsigned long attribute,
- case DW_AT_GNU_call_site_target_clobbered:
- if ((dwarf_version < 4
- && (form == DW_FORM_data4 || form == DW_FORM_data8))
-- || form == DW_FORM_sec_offset)
-+ || form == DW_FORM_sec_offset
-+ || form == DW_FORM_loclistx)
- printf (_(" (location list)"));
- /* Fall through. */
- case DW_AT_allocated:
-@@ -3520,6 +3593,9 @@ process_debug_info (struct dwarf_section * section,
- }
-
- load_debug_section_with_follow (abbrev_sec, file);
-+ load_debug_section_with_follow (loclists, file);
-+ load_debug_section_with_follow (rnglists, file);
-+
- if (debug_displays [abbrev_sec].section.start == NULL)
- {
- warn (_("Unable to locate %s section!\n"),
-@@ -3732,6 +3808,7 @@ process_debug_info (struct dwarf_section * section,
- debug_information [unit].have_frame_base = NULL;
- debug_information [unit].max_loc_offsets = 0;
- debug_information [unit].num_loc_offsets = 0;
-+ debug_information [unit].loclists_base = 0;
- debug_information [unit].range_lists = NULL;
- debug_information [unit].max_range_lists= 0;
- debug_information [unit].num_range_lists = 0;
-@@ -6468,20 +6545,21 @@ display_loc_list (struct dwarf_section *section,
- /* Display a location list from a normal (ie, non-dwo) .debug_loclists section. */
-
- static void
--display_loclists_list (struct dwarf_section *section,
-- unsigned char **start_ptr,
-- unsigned int debug_info_entry,
-- dwarf_vma offset,
-- dwarf_vma base_address,
-- unsigned char **vstart_ptr,
-- int has_frame_base)
--{
-- unsigned char *start = *start_ptr, *vstart = *vstart_ptr;
-- unsigned char *section_end = section->start + section->size;
-- dwarf_vma cu_offset;
-- unsigned int pointer_size;
-- unsigned int offset_size;
-- int dwarf_version;
-+display_loclists_list (struct dwarf_section * section,
-+ unsigned char ** start_ptr,
-+ unsigned int debug_info_entry,
-+ dwarf_vma offset,
-+ dwarf_vma base_address,
-+ unsigned char ** vstart_ptr,
-+ int has_frame_base)
-+{
-+ unsigned char * start = *start_ptr;
-+ unsigned char * vstart = *vstart_ptr;
-+ unsigned char * section_end = section->start + section->size;
-+ dwarf_vma cu_offset;
-+ unsigned int pointer_size;
-+ unsigned int offset_size;
-+ unsigned int dwarf_version;
-
- /* Initialize it due to a false compiler warning. */
- dwarf_vma begin = -1, vbegin = -1;
-@@ -6547,27 +6625,59 @@ display_loclists_list (struct dwarf_section *section,
- case DW_LLE_end_of_list:
- printf (_("<End of list>\n"));
- break;
-+
-+ case DW_LLE_base_addressx:
-+ READ_ULEB (base_address, start, section_end);
-+ print_dwarf_vma (base_address, pointer_size);
-+ printf (_("(index into .debug_addr) "));
-+ base_address = fetch_indexed_addr (base_address, pointer_size);
-+ print_dwarf_vma (base_address, pointer_size);
-+ printf (_("(base address)\n"));
-+ break;
-+
-+ case DW_LLE_startx_endx:
-+ READ_ULEB (begin, start, section_end);
-+ begin = fetch_indexed_addr (begin, pointer_size);
-+ READ_ULEB (end, start, section_end);
-+ end = fetch_indexed_addr (end, pointer_size);
-+ break;
-+
-+ case DW_LLE_startx_length:
-+ READ_ULEB (begin, start, section_end);
-+ begin = fetch_indexed_addr (begin, pointer_size);
-+ READ_ULEB (end, start, section_end);
-+ end += begin;
-+ break;
-+
-+ case DW_LLE_default_location:
-+ begin = end = 0;
-+ break;
-+
- case DW_LLE_offset_pair:
- READ_ULEB (begin, start, section_end);
- begin += base_address;
- READ_ULEB (end, start, section_end);
- end += base_address;
- break;
-+
-+ case DW_LLE_base_address:
-+ SAFE_BYTE_GET_AND_INC (base_address, start, pointer_size,
-+ section_end);
-+ print_dwarf_vma (base_address, pointer_size);
-+ printf (_("(base address)\n"));
-+ break;
-+
- case DW_LLE_start_end:
- SAFE_BYTE_GET_AND_INC (begin, start, pointer_size, section_end);
- SAFE_BYTE_GET_AND_INC (end, start, pointer_size, section_end);
- break;
-+
- case DW_LLE_start_length:
- SAFE_BYTE_GET_AND_INC (begin, start, pointer_size, section_end);
- READ_ULEB (end, start, section_end);
- end += begin;
- break;
-- case DW_LLE_base_address:
-- SAFE_BYTE_GET_AND_INC (base_address, start, pointer_size,
-- section_end);
-- print_dwarf_vma (base_address, pointer_size);
-- printf (_("(base address)\n"));
-- break;
-+
- #ifdef DW_LLE_view_pair
- case DW_LLE_view_pair:
- if (vstart)
-@@ -6581,15 +6691,17 @@ display_loclists_list (struct dwarf_section *section,
- printf (_("views for:\n"));
- continue;
- #endif
-+
- default:
- error (_("Invalid location list entry type %d\n"), llet);
- return;
- }
-+
- if (llet == DW_LLE_end_of_list)
- break;
-- if (llet != DW_LLE_offset_pair
-- && llet != DW_LLE_start_end
-- && llet != DW_LLE_start_length)
-+
-+ if (llet == DW_LLE_base_address
-+ || llet == DW_LLE_base_addressx)
- continue;
-
- if (start == section_end)
-@@ -6830,6 +6942,218 @@ loc_offsets_compar (const void *ap, const void *bp)
- return ret;
- }
-
-+static int
-+display_offset_entry_loclists (struct dwarf_section *section)
-+{
-+ unsigned char * start = section->start;
-+ unsigned char * const end = start + section->size;
-+
-+ introduce (section, false);
-+
-+ do
-+ {
-+ dwarf_vma length;
-+ unsigned short version;
-+ unsigned char address_size;
-+ unsigned char segment_selector_size;
-+ uint32_t offset_entry_count;
-+ uint32_t i;
-+ bool is_64bit;
-+
-+ printf (_("Table at Offset 0x%lx\n"), (long)(start - section->start));
-+
-+ SAFE_BYTE_GET_AND_INC (length, start, 4, end);
-+ if (length == 0xffffffff)
-+ {
-+ is_64bit = true;
-+ SAFE_BYTE_GET_AND_INC (length, start, 8, end);
-+ }
-+ else
-+ is_64bit = false;
-+
-+ SAFE_BYTE_GET_AND_INC (version, start, 2, end);
-+ SAFE_BYTE_GET_AND_INC (address_size, start, 1, end);
-+ SAFE_BYTE_GET_AND_INC (segment_selector_size, start, 1, end);
-+ SAFE_BYTE_GET_AND_INC (offset_entry_count, start, 4, end);
-+
-+ printf (_(" Length: 0x%s\n"), dwarf_vmatoa ("x", length));
-+ printf (_(" DWARF version: %u\n"), version);
-+ printf (_(" Address size: %u\n"), address_size);
-+ printf (_(" Segment size: %u\n"), segment_selector_size);
-+ printf (_(" Offset entries: %u\n"), offset_entry_count);
-+
-+ if (version < 5)
-+ {
-+ warn (_("The %s section contains a corrupt or "
-+ "unsupported version number: %d.\n"),
-+ section->name, version);
-+ return 0;
-+ }
-+
-+ if (segment_selector_size != 0)
-+ {
-+ warn (_("The %s section contains an "
-+ "unsupported segment selector size: %d.\n"),
-+ section->name, segment_selector_size);
-+ return 0;
-+ }
-+
-+ if (offset_entry_count == 0)
-+ {
-+ warn (_("The %s section contains a table without offset\n"),
-+ section->name);
-+ return 0;
-+ }
-+
-+ printf (_("\n Offset Entries starting at 0x%lx:\n"),
-+ (long)(start - section->start));
-+
-+ if (is_64bit)
-+ {
-+ for (i = 0; i < offset_entry_count; i++)
-+ {
-+ dwarf_vma entry;
-+
-+ SAFE_BYTE_GET_AND_INC (entry, start, 8, end);
-+ printf (_(" [%6u] 0x%s\n"), i, dwarf_vmatoa ("x", entry));
-+ }
-+ }
-+ else
-+ {
-+ for (i = 0; i < offset_entry_count; i++)
-+ {
-+ uint32_t entry;
-+
-+ SAFE_BYTE_GET_AND_INC (entry, start, 4, end);
-+ printf (_(" [%6u] 0x%x\n"), i, entry);
-+ }
-+ }
-+
-+ putchar ('\n');
-+
-+ uint32_t j;
-+
-+ for (j = 1, i = 0; i < offset_entry_count;)
-+ {
-+ unsigned char lle;
-+ dwarf_vma base_address = 0;
-+ dwarf_vma begin;
-+ dwarf_vma finish;
-+ dwarf_vma off = start - section->start;
-+
-+ if (j != i)
-+ {
-+ printf (_(" Offset Entry %u\n"), i);
-+ j = i;
-+ }
-+
-+ printf (" ");
-+ print_dwarf_vma (off, 4);
-+
-+ SAFE_BYTE_GET_AND_INC (lle, start, 1, end);
-+
-+ switch (lle)
-+ {
-+ case DW_LLE_end_of_list:
-+ printf (_("<End of list>\n\n"));
-+ i ++;
-+ continue;
-+
-+ case DW_LLE_base_addressx:
-+ READ_ULEB (base_address, start, end);
-+ print_dwarf_vma (base_address, address_size);
-+ printf (_("(index into .debug_addr) "));
-+ base_address = fetch_indexed_addr (base_address, address_size);
-+ print_dwarf_vma (base_address, address_size);
-+ printf (_("(base address)\n"));
-+ continue;
-+
-+ case DW_LLE_startx_endx:
-+ READ_ULEB (begin, start, end);
-+ begin = fetch_indexed_addr (begin, address_size);
-+ READ_ULEB (finish, start, end);
-+ finish = fetch_indexed_addr (finish, address_size);
-+ break;
-+
-+ case DW_LLE_startx_length:
-+ READ_ULEB (begin, start, end);
-+ begin = fetch_indexed_addr (begin, address_size);
-+ READ_ULEB (finish, start, end);
-+ finish += begin;
-+ break;
-+
-+ case DW_LLE_offset_pair:
-+ READ_ULEB (begin, start, end);
-+ begin += base_address;
-+ READ_ULEB (finish, start, end);
-+ finish += base_address;
-+ break;
-+
-+ case DW_LLE_default_location:
-+ begin = finish = 0;
-+ break;
-+
-+ case DW_LLE_base_address:
-+ SAFE_BYTE_GET_AND_INC (base_address, start, address_size, end);
-+ print_dwarf_vma (base_address, address_size);
-+ printf (_("(base address)\n"));
-+ continue;
-+
-+ case DW_LLE_start_end:
-+ SAFE_BYTE_GET_AND_INC (begin, start, address_size, end);
-+ SAFE_BYTE_GET_AND_INC (finish, start, address_size, end);
-+ break;
-+
-+ case DW_LLE_start_length:
-+ SAFE_BYTE_GET_AND_INC (begin, start, address_size, end);
-+ READ_ULEB (finish, start, end);
-+ finish += begin;
-+ break;
-+
-+ default:
-+ error (_("Invalid location list entry type %d\n"), lle);
-+ return 0;
-+ }
-+
-+ if (start == end)
-+ {
-+ warn (_("Location list starting at offset 0x%lx is not terminated.\n"),
-+ (unsigned long) off);
-+ break;
-+ }
-+
-+ print_dwarf_vma (begin, address_size);
-+ print_dwarf_vma (finish, address_size);
-+
-+ if (begin == finish)
-+ fputs (_(" (start == end)"), stdout);
-+ else if (begin > finish)
-+ fputs (_(" (start > end)"), stdout);
-+
-+ /* Read the counted location descriptions. */
-+ READ_ULEB (length, start, end);
-+
-+ if (length > (size_t) (end - start))
-+ {
-+ warn (_("Location list starting at offset 0x%lx is not terminated.\n"),
-+ (unsigned long) off);
-+ break;
-+ }
-+
-+ putchar (' ');
-+ (void) decode_location_expression (start, address_size, address_size,
-+ version, length, 0, section);
-+ start += length;
-+ putchar ('\n');
-+ }
-+
-+ putchar ('\n');
-+ }
-+ while (start < end);
-+
-+ return 1;
-+}
-+
- static int
- display_debug_loc (struct dwarf_section *section, void *file)
- {
-@@ -6896,13 +7220,9 @@ display_debug_loc (struct dwarf_section *section, void *file)
- }
-
- SAFE_BYTE_GET_AND_INC (offset_entry_count, hdrptr, 4, end);
-+
- if (offset_entry_count != 0)
-- {
-- warn (_("The %s section contains "
-- "unsupported offset entry count: %d.\n"),
-- section->name, offset_entry_count);
-- return 0;
-- }
-+ return display_offset_entry_loclists (section);
-
- expected_start = hdrptr - section_begin;
- }
-@@ -6962,9 +7282,10 @@ display_debug_loc (struct dwarf_section *section, void *file)
- if (debug_information [first].num_loc_offsets > 0
- && debug_information [first].loc_offsets [0] != expected_start
- && debug_information [first].loc_views [0] != expected_start)
-- warn (_("Location lists in %s section start at 0x%s\n"),
-+ warn (_("Location lists in %s section start at 0x%s rather than 0x%s\n"),
- section->name,
-- dwarf_vmatoa ("x", debug_information [first].loc_offsets [0]));
-+ dwarf_vmatoa ("x", debug_information [first].loc_offsets [0]),
-+ dwarf_vmatoa ("x", expected_start));
-
- if (!locs_sorted)
- array = (unsigned int *) xcmalloc (num_loc_list, sizeof (unsigned int));
-@@ -7642,24 +7963,44 @@ display_debug_rnglists_list (unsigned char * start,
- case DW_RLE_end_of_list:
- printf (_("<End of list>\n"));
- break;
-- case DW_RLE_base_address:
-- SAFE_BYTE_GET_AND_INC (base_address, start, pointer_size, finish);
-+ case DW_RLE_base_addressx:
-+ READ_ULEB (base_address, start, finish);
-+ print_dwarf_vma (base_address, pointer_size);
-+ printf (_("(base address index) "));
-+ base_address = fetch_indexed_addr (base_address, pointer_size);
- print_dwarf_vma (base_address, pointer_size);
- printf (_("(base address)\n"));
- break;
-- case DW_RLE_start_length:
-- SAFE_BYTE_GET_AND_INC (begin, start, pointer_size, finish);
-+ case DW_RLE_startx_endx:
-+ READ_ULEB (begin, start, finish);
-+ READ_ULEB (end, start, finish);
-+ begin = fetch_indexed_addr (begin, pointer_size);
-+ end = fetch_indexed_addr (begin, pointer_size);
-+ break;
-+ case DW_RLE_startx_length:
-+ READ_ULEB (begin, start, finish);
- READ_ULEB (length, start, finish);
-+ begin = fetch_indexed_addr (begin, pointer_size);
- end = begin + length;
- break;
- case DW_RLE_offset_pair:
- READ_ULEB (begin, start, finish);
- READ_ULEB (end, start, finish);
- break;
-+ case DW_RLE_base_address:
-+ SAFE_BYTE_GET_AND_INC (base_address, start, pointer_size, finish);
-+ print_dwarf_vma (base_address, pointer_size);
-+ printf (_("(base address)\n"));
-+ break;
- case DW_RLE_start_end:
- SAFE_BYTE_GET_AND_INC (begin, start, pointer_size, finish);
- SAFE_BYTE_GET_AND_INC (end, start, pointer_size, finish);
- break;
-+ case DW_RLE_start_length:
-+ SAFE_BYTE_GET_AND_INC (begin, start, pointer_size, finish);
-+ READ_ULEB (length, start, finish);
-+ end = begin + length;
-+ break;
- default:
- error (_("Invalid range list entry type %d\n"), rlet);
- rlet = DW_RLE_end_of_list;
-@@ -7667,7 +8008,7 @@ display_debug_rnglists_list (unsigned char * start,
- }
- if (rlet == DW_RLE_end_of_list)
- break;
-- if (rlet == DW_RLE_base_address)
-+ if (rlet == DW_RLE_base_address || rlet == DW_RLE_base_addressx)
- continue;
-
- /* Only a DW_RLE_offset_pair needs the base address added. */
-@@ -7712,6 +8053,8 @@ display_debug_ranges (struct dwarf_section *section,
- return 0;
- }
-
-+ introduce (section, false);
-+
- if (is_rnglists)
- {
- dwarf_vma initial_length;
-@@ -7748,19 +8091,19 @@ display_debug_ranges (struct dwarf_section *section,
- }
- }
-
-- /* Get and check the version number. */
-+ /* Get the other fields in the header. */
- SAFE_BYTE_GET_AND_INC (version, start, 2, finish);
--
-- if (version != 5)
-- {
-- warn (_("Only DWARF version 5 debug_rnglists info "
-- "is currently supported.\n"));
-- return 0;
-- }
--
- SAFE_BYTE_GET_AND_INC (address_size, start, 1, finish);
--
- SAFE_BYTE_GET_AND_INC (segment_selector_size, start, 1, finish);
-+ SAFE_BYTE_GET_AND_INC (offset_entry_count, start, 4, finish);
-+
-+ printf (_(" Length: 0x%s\n"), dwarf_vmatoa ("x", initial_length));
-+ printf (_(" DWARF version: %u\n"), version);
-+ printf (_(" Address size: %u\n"), address_size);
-+ printf (_(" Segment size: %u\n"), segment_selector_size);
-+ printf (_(" Offset entries: %u\n"), offset_entry_count);
-+
-+ /* Check the fields. */
- if (segment_selector_size != 0)
- {
- warn (_("The %s section contains "
-@@ -7769,16 +8112,39 @@ display_debug_ranges (struct dwarf_section *section,
- return 0;
- }
-
-- SAFE_BYTE_GET_AND_INC (offset_entry_count, start, 4, finish);
-- if (offset_entry_count != 0)
-+ if (version < 5)
- {
-- warn (_("The %s section contains "
-- "unsupported offset entry count: %u.\n"),
-- section->name, offset_entry_count);
-+ warn (_("Only DWARF version 5+ debug_rnglists info "
-+ "is currently supported.\n"));
- return 0;
- }
-- }
-
-+ if (offset_entry_count != 0)
-+ {
-+ printf (_("\n Offsets starting at 0x%lx:\n"), (long)(start - section->start));
-+ if (offset_size == 8)
-+ {
-+ for (i = 0; i < offset_entry_count; i++)
-+ {
-+ dwarf_vma entry;
-+
-+ SAFE_BYTE_GET_AND_INC (entry, start, 8, finish);
-+ printf (_(" [%6u] 0x%s\n"), i, dwarf_vmatoa ("x", entry));
-+ }
-+ }
-+ else
-+ {
-+ for (i = 0; i < offset_entry_count; i++)
-+ {
-+ uint32_t entry;
-+
-+ SAFE_BYTE_GET_AND_INC (entry, start, 4, finish);
-+ printf (_(" [%6u] 0x%x\n"), i, entry);
-+ }
-+ }
-+ }
-+ }
-+
- if (load_debug_info (file) == 0)
- {
- warn (_("Unable to load/parse the .debug_info section, so cannot interpret the %s section.\n"),
-@@ -7837,8 +8203,7 @@ display_debug_ranges (struct dwarf_section *section,
- warn (_("Range lists in %s section start at 0x%lx\n"),
- section->name, (unsigned long) range_entries[0].ranges_offset);
-
-- introduce (section, false);
--
-+ putchar ('\n');
- printf (_(" Offset Begin End\n"));
-
- for (i = 0; i < num_range_list; i++)
-@@ -7898,8 +8263,12 @@ display_debug_ranges (struct dwarf_section *section,
- start = next;
- last_start = next;
-
-- (is_rnglists ? display_debug_rnglists_list : display_debug_ranges_list)
-- (start, finish, pointer_size, offset, base_address);
-+ if (is_rnglists)
-+ display_debug_rnglists_list
-+ (start, finish, pointer_size, offset, base_address);
-+ else
-+ display_debug_ranges_list
-+ (start, finish, pointer_size, offset, base_address);
- }
- putchar ('\n');
-
-diff --git a/binutils/dwarf.h b/binutils/dwarf.h
-index 4fc62abfa4c..ccce2461c81 100644
---- a/binutils/dwarf.h
-+++ b/binutils/dwarf.h
-@@ -181,9 +181,13 @@ typedef struct
- /* This is an array of offsets to the location view table. */
- dwarf_vma * loc_views;
- int * have_frame_base;
-+
-+ /* Information for associating location lists with CUs. */
- unsigned int num_loc_offsets;
- unsigned int max_loc_offsets;
- unsigned int num_loc_views;
-+ dwarf_vma loclists_base;
-+
- /* List of .debug_ranges offsets seen in this .debug_info. */
- dwarf_vma * range_lists;
- unsigned int num_range_lists;
-diff --git a/binutils/testsuite/binutils-all/dw5.W b/binutils/testsuite/binutils-all/dw5.W
-index ebab8b7d3b0..bfcdac175ba 100644
---- a/binutils/testsuite/binutils-all/dw5.W
-+++ b/binutils/testsuite/binutils-all/dw5.W
-@@ -281,7 +281,7 @@ Contents of the .debug_loclists section:
- 00000039 <End of list>
-
- Contents of the .debug_rnglists section:
--
-+#...
- Offset Begin End
- 0000000c 0000000000001234 0000000000001236
- 00000016 0000000000001234 0000000000001239
-diff --git a/binutils/testsuite/binutils-all/x86-64/pr26808.dump b/binutils/testsuite/binutils-all/x86-64/pr26808.dump
-index f64f9d008f9..7ef73b24dc9 100644
---- a/binutils/testsuite/binutils-all/x86-64/pr26808.dump
-+++ b/binutils/testsuite/binutils-all/x86-64/pr26808.dump
-@@ -30,13 +30,13 @@ Contents of the .debug_info.dwo section:
- <a5> DW_AT_decl_file : 1
- <a6> DW_AT_decl_line : 30
- <a7> DW_AT_type : <0x90>
-- <ab> DW_AT_low_pc : (addr_index: 0x0): <no .debug_addr section>
-+ <ab> DW_AT_low_pc : (addr_index: 0x0): 0
- <ac> DW_AT_high_pc : 0x304
- <b4> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
- <b6> DW_AT_GNU_all_tail_call_sites: 1
- <b6> DW_AT_sibling : <0x11b>
- <2><ba>: Abbrev Number: 14 (DW_TAG_lexical_block)
-- <bb> DW_AT_low_pc : (addr_index: 0x1): <no .debug_addr section>
-+ <bb> DW_AT_low_pc : (addr_index: 0x1): 0
- <bc> DW_AT_high_pc : 0x2fa
- <3><c4>: Abbrev Number: 15 (DW_TAG_variable)
- <c5> DW_AT_name : c1
-@@ -56,7 +56,7 @@ Contents of the .debug_info.dwo section:
- <ff> DW_AT_artificial : 1
- <ff> DW_AT_location : 2 byte block: fb 2 (DW_OP_GNU_addr_index <0x2>)
- <3><102>: Abbrev Number: 14 (DW_TAG_lexical_block)
-- <103> DW_AT_low_pc : (addr_index: 0x3): <no .debug_addr section>
-+ <103> DW_AT_low_pc : (addr_index: 0x3): 0
- <104> DW_AT_high_pc : 0x2f
- <4><10c>: Abbrev Number: 17 (DW_TAG_variable)
- <10d> DW_AT_name : i
-@@ -274,7 +274,7 @@ Contents of the .debug_info.dwo section:
- <2dd> DW_AT_decl_file : 1
- <2de> DW_AT_decl_line : 70
- <2df> DW_AT_linkage_name: _Z4f13iv
-- <2e8> DW_AT_low_pc : (addr_index: 0x0): <no .debug_addr section>
-+ <2e8> DW_AT_low_pc : (addr_index: 0x0): 0
- <2e9> DW_AT_high_pc : 0x6
- <2f1> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
- <2f3> DW_AT_GNU_all_call_sites: 1
-@@ -282,7 +282,7 @@ Contents of the .debug_info.dwo section:
- <2f4> DW_AT_specification: <0x219>
- <2f8> DW_AT_decl_file : 2
- <2f9> DW_AT_decl_line : 30
-- <2fa> DW_AT_low_pc : (addr_index: 0x1): <no .debug_addr section>
-+ <2fa> DW_AT_low_pc : (addr_index: 0x1): 0
- <2fb> DW_AT_high_pc : 0x20
- <303> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
- <305> DW_AT_object_pointer: <0x30d>
-@@ -300,7 +300,7 @@ Contents of the .debug_info.dwo section:
- <31d> DW_AT_specification: <0x223>
- <321> DW_AT_decl_file : 2
- <322> DW_AT_decl_line : 38
-- <323> DW_AT_low_pc : (addr_index: 0x2): <no .debug_addr section>
-+ <323> DW_AT_low_pc : (addr_index: 0x2): 0
- <324> DW_AT_high_pc : 0x18
- <32c> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
- <32e> DW_AT_object_pointer: <0x336>
-@@ -316,7 +316,7 @@ Contents of the .debug_info.dwo section:
- <341> DW_AT_specification: <0x22d>
- <345> DW_AT_decl_file : 2
- <346> DW_AT_decl_line : 46
-- <347> DW_AT_low_pc : (addr_index: 0x3): <no .debug_addr section>
-+ <347> DW_AT_low_pc : (addr_index: 0x3): 0
- <348> DW_AT_high_pc : 0x18
- <350> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
- <352> DW_AT_object_pointer: <0x35a>
-@@ -332,7 +332,7 @@ Contents of the .debug_info.dwo section:
- <365> DW_AT_specification: <0x237>
- <369> DW_AT_decl_file : 2
- <36a> DW_AT_decl_line : 54
-- <36b> DW_AT_low_pc : (addr_index: 0x4): <no .debug_addr section>
-+ <36b> DW_AT_low_pc : (addr_index: 0x4): 0
- <36c> DW_AT_high_pc : 0x16
- <374> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
- <376> DW_AT_object_pointer: <0x37e>
-@@ -348,7 +348,7 @@ Contents of the .debug_info.dwo section:
- <389> DW_AT_specification: <0x26b>
- <38d> DW_AT_decl_file : 2
- <38e> DW_AT_decl_line : 62
-- <38f> DW_AT_low_pc : (addr_index: 0x5): <no .debug_addr section>
-+ <38f> DW_AT_low_pc : (addr_index: 0x5): 0
- <390> DW_AT_high_pc : 0x16
- <398> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
- <39a> DW_AT_object_pointer: <0x3a2>
-@@ -366,7 +366,7 @@ Contents of the .debug_info.dwo section:
- <3b2> DW_AT_specification: <0x275>
- <3b6> DW_AT_decl_file : 2
- <3b7> DW_AT_decl_line : 72
-- <3b8> DW_AT_low_pc : (addr_index: 0x6): <no .debug_addr section>
-+ <3b8> DW_AT_low_pc : (addr_index: 0x6): 0
- <3b9> DW_AT_high_pc : 0x1b
- <3c1> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
- <3c3> DW_AT_object_pointer: <0x3cb>
-@@ -382,7 +382,7 @@ Contents of the .debug_info.dwo section:
- <3d6> DW_AT_specification: <0x27f>
- <3da> DW_AT_decl_file : 2
- <3db> DW_AT_decl_line : 82
-- <3dc> DW_AT_low_pc : (addr_index: 0x7): <no .debug_addr section>
-+ <3dc> DW_AT_low_pc : (addr_index: 0x7): 0
- <3dd> DW_AT_high_pc : 0x1b
- <3e5> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
- <3e7> DW_AT_object_pointer: <0x3ef>
-@@ -398,7 +398,7 @@ Contents of the .debug_info.dwo section:
- <3fa> DW_AT_specification: <0x289>
- <3fe> DW_AT_decl_file : 2
- <3ff> DW_AT_decl_line : 92
-- <400> DW_AT_low_pc : (addr_index: 0x8): <no .debug_addr section>
-+ <400> DW_AT_low_pc : (addr_index: 0x8): 0
- <401> DW_AT_high_pc : 0x19
- <409> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
- <40b> DW_AT_object_pointer: <0x413>
-@@ -414,7 +414,7 @@ Contents of the .debug_info.dwo section:
- <41e> DW_AT_specification: <0x2ae>
- <422> DW_AT_decl_file : 2
- <423> DW_AT_decl_line : 102
-- <424> DW_AT_low_pc : (addr_index: 0x9): <no .debug_addr section>
-+ <424> DW_AT_low_pc : (addr_index: 0x9): 0
- <425> DW_AT_high_pc : 0x19
- <42d> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
- <42f> DW_AT_object_pointer: <0x437>
-@@ -432,7 +432,7 @@ Contents of the .debug_info.dwo section:
- <447> DW_AT_specification: <0x2b8>
- <44b> DW_AT_decl_file : 2
- <44c> DW_AT_decl_line : 112
-- <44d> DW_AT_low_pc : (addr_index: 0xa): <no .debug_addr section>
-+ <44d> DW_AT_low_pc : (addr_index: 0xa): 0
- <44e> DW_AT_high_pc : 0x1f
- <456> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
- <458> DW_AT_object_pointer: <0x460>
-@@ -451,7 +451,7 @@ Contents of the .debug_info.dwo section:
- <471> DW_AT_decl_line : 120
- <472> DW_AT_linkage_name: _Z4f11av
- <47b> DW_AT_type : <0x242>
-- <47f> DW_AT_low_pc : (addr_index: 0xb): <no .debug_addr section>
-+ <47f> DW_AT_low_pc : (addr_index: 0xb): 0
- <480> DW_AT_high_pc : 0xb
- <488> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
- <48a> DW_AT_GNU_all_call_sites: 1
-@@ -459,7 +459,7 @@ Contents of the .debug_info.dwo section:
- <48b> DW_AT_specification: <0x2c2>
- <48f> DW_AT_decl_file : 2
- <490> DW_AT_decl_line : 126
-- <491> DW_AT_low_pc : (addr_index: 0xc): <no .debug_addr section>
-+ <491> DW_AT_low_pc : (addr_index: 0xc): 0
- <492> DW_AT_high_pc : 0x20
- <49a> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
- <49c> DW_AT_object_pointer: <0x4a4>
-@@ -478,7 +478,7 @@ Contents of the .debug_info.dwo section:
- <4b4> DW_AT_decl_line : 134
- <4b5> DW_AT_linkage_name: _Z3t12v
- <4bd> DW_AT_type : <0x249>
-- <4c1> DW_AT_low_pc : (addr_index: 0xd): <no .debug_addr section>
-+ <4c1> DW_AT_low_pc : (addr_index: 0xd): 0
- <4c2> DW_AT_high_pc : 0x19
- <4ca> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
- <4cc> DW_AT_GNU_all_tail_call_sites: 1
-@@ -489,7 +489,7 @@ Contents of the .debug_info.dwo section:
- <4d2> DW_AT_decl_line : 142
- <4d3> DW_AT_linkage_name: _Z3t13v
- <4db> DW_AT_type : <0x249>
-- <4df> DW_AT_low_pc : (addr_index: 0xe): <no .debug_addr section>
-+ <4df> DW_AT_low_pc : (addr_index: 0xe): 0
- <4e0> DW_AT_high_pc : 0x14
- <4e8> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
- <4ea> DW_AT_GNU_all_tail_call_sites: 1
-@@ -500,13 +500,13 @@ Contents of the .debug_info.dwo section:
- <4f0> DW_AT_decl_line : 150
- <4f1> DW_AT_linkage_name: _Z3t14v
- <4f9> DW_AT_type : <0x249>
-- <4fd> DW_AT_low_pc : (addr_index: 0xf): <no .debug_addr section>
-+ <4fd> DW_AT_low_pc : (addr_index: 0xf): 0
- <4fe> DW_AT_high_pc : 0x61
- <506> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
- <508> DW_AT_GNU_all_tail_call_sites: 1
- <508> DW_AT_sibling : <0x532>
- <2><50c>: Abbrev Number: 24 (DW_TAG_lexical_block)
-- <50d> DW_AT_low_pc : (addr_index: 0x10): <no .debug_addr section>
-+ <50d> DW_AT_low_pc : (addr_index: 0x10): 0
- <50e> DW_AT_high_pc : 0x57
- <3><516>: Abbrev Number: 25 (DW_TAG_variable)
- <517> DW_AT_name : s1
-@@ -538,13 +538,13 @@ Contents of the .debug_info.dwo section:
- <54b> DW_AT_decl_line : 163
- <54c> DW_AT_linkage_name: _Z3t15v
- <554> DW_AT_type : <0x249>
-- <558> DW_AT_low_pc : (addr_index: 0x11): <no .debug_addr section>
-+ <558> DW_AT_low_pc : (addr_index: 0x11): 0
- <559> DW_AT_high_pc : 0x5d
- <561> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
- <563> DW_AT_GNU_all_tail_call_sites: 1
- <563> DW_AT_sibling : <0x58d>
- <2><567>: Abbrev Number: 24 (DW_TAG_lexical_block)
-- <568> DW_AT_low_pc : (addr_index: 0x12): <no .debug_addr section>
-+ <568> DW_AT_low_pc : (addr_index: 0x12): 0
- <569> DW_AT_high_pc : 0x53
- <3><571>: Abbrev Number: 25 (DW_TAG_variable)
- <572> DW_AT_name : s1
-@@ -576,7 +576,7 @@ Contents of the .debug_info.dwo section:
- <5a9> DW_AT_decl_line : 176
- <5aa> DW_AT_linkage_name: _Z3t16v
- <5b2> DW_AT_type : <0x249>
-- <5b6> DW_AT_low_pc : (addr_index: 0x13): <no .debug_addr section>
-+ <5b6> DW_AT_low_pc : (addr_index: 0x13): 0
- <5b7> DW_AT_high_pc : 0x13
- <5bf> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
- <5c1> DW_AT_GNU_all_tail_call_sites: 1
-@@ -587,13 +587,13 @@ Contents of the .debug_info.dwo section:
- <5c7> DW_AT_decl_line : 184
- <5c8> DW_AT_linkage_name: _Z3t17v
- <5d0> DW_AT_type : <0x249>
-- <5d4> DW_AT_low_pc : (addr_index: 0x14): <no .debug_addr section>
-+ <5d4> DW_AT_low_pc : (addr_index: 0x14): 0
- <5d5> DW_AT_high_pc : 0x5f
- <5dd> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
- <5df> DW_AT_GNU_all_call_sites: 1
- <5df> DW_AT_sibling : <0x612>
- <2><5e3>: Abbrev Number: 24 (DW_TAG_lexical_block)
-- <5e4> DW_AT_low_pc : (addr_index: 0x15): <no .debug_addr section>
-+ <5e4> DW_AT_low_pc : (addr_index: 0x15): 0
- <5e5> DW_AT_high_pc : 0x59
- <3><5ed>: Abbrev Number: 25 (DW_TAG_variable)
- <5ee> DW_AT_name : c
-@@ -602,7 +602,7 @@ Contents of the .debug_info.dwo section:
- <5f2> DW_AT_type : <0x53d>
- <5f6> DW_AT_location : 2 byte block: 91 6f (DW_OP_fbreg: -17)
- <3><5f9>: Abbrev Number: 24 (DW_TAG_lexical_block)
-- <5fa> DW_AT_low_pc : (addr_index: 0x16): <no .debug_addr section>
-+ <5fa> DW_AT_low_pc : (addr_index: 0x16): 0
- <5fb> DW_AT_high_pc : 0x50
- <4><603>: Abbrev Number: 25 (DW_TAG_variable)
- <604> DW_AT_name : i
-@@ -620,13 +620,13 @@ Contents of the .debug_info.dwo section:
- <618> DW_AT_decl_line : 199
- <619> DW_AT_linkage_name: _Z3t18v
- <621> DW_AT_type : <0x249>
-- <625> DW_AT_low_pc : (addr_index: 0x17): <no .debug_addr section>
-+ <625> DW_AT_low_pc : (addr_index: 0x17): 0
- <626> DW_AT_high_pc : 0x5f
- <62e> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
- <630> DW_AT_GNU_all_tail_call_sites: 1
- <630> DW_AT_sibling : <0x67a>
- <2><634>: Abbrev Number: 24 (DW_TAG_lexical_block)
-- <635> DW_AT_low_pc : (addr_index: 0x18): <no .debug_addr section>
-+ <635> DW_AT_low_pc : (addr_index: 0x18): 0
- <636> DW_AT_high_pc : 0x55
- <3><63e>: Abbrev Number: 25 (DW_TAG_variable)
- <63f> DW_AT_name : c
-@@ -635,7 +635,7 @@ Contents of the .debug_info.dwo section:
- <643> DW_AT_type : <0x53d>
- <647> DW_AT_location : 2 byte block: 91 6f (DW_OP_fbreg: -17)
- <3><64a>: Abbrev Number: 24 (DW_TAG_lexical_block)
-- <64b> DW_AT_low_pc : (addr_index: 0x19): <no .debug_addr section>
-+ <64b> DW_AT_low_pc : (addr_index: 0x19): 0
- <64c> DW_AT_high_pc : 0x4c
- <4><654>: Abbrev Number: 25 (DW_TAG_variable)
- <655> DW_AT_name : i
-@@ -644,7 +644,7 @@ Contents of the .debug_info.dwo section:
- <659> DW_AT_type : <0x242>
- <65d> DW_AT_location : 2 byte block: 91 68 (DW_OP_fbreg: -24)
- <4><660>: Abbrev Number: 24 (DW_TAG_lexical_block)
-- <661> DW_AT_low_pc : (addr_index: 0x1a): <no .debug_addr section>
-+ <661> DW_AT_low_pc : (addr_index: 0x1a): 0
- <662> DW_AT_high_pc : 0x34
- <5><66a>: Abbrev Number: 25 (DW_TAG_variable)
- <66b> DW_AT_name : s
-@@ -786,7 +786,7 @@ Contents of the .debug_info.dwo section:
- <7d3> DW_AT_decl_line : 32
- <7d4> DW_AT_linkage_name: _Z4t16av
- <7dd> DW_AT_type : <0x7c4>
-- <7e1> DW_AT_low_pc : (addr_index: 0x0): <no .debug_addr section>
-+ <7e1> DW_AT_low_pc : (addr_index: 0x0): 0
- <7e2> DW_AT_high_pc : 0x13
- <7ea> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
- <7ec> DW_AT_GNU_all_tail_call_sites: 1
-@@ -878,14 +878,14 @@ Contents of the .debug_info.dwo section:
- <908> DW_AT_decl_file : 1
- <909> DW_AT_decl_line : 70
- <90a> DW_AT_linkage_name: _Z4f13iv
-- <913> DW_AT_low_pc : (addr_index: 0x0): <no .debug_addr section>
-+ <913> DW_AT_low_pc : (addr_index: 0x0): 0
- <914> DW_AT_high_pc : 0x6
- <91c> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
- <91e> DW_AT_GNU_all_call_sites: 1
- <1><91e>: Abbrev Number: 17 (DW_TAG_subprogram)
- <91f> DW_AT_specification: <0x8a8>
- <923> DW_AT_decl_file : 2
-- <924> DW_AT_low_pc : (addr_index: 0x1): <no .debug_addr section>
-+ <924> DW_AT_low_pc : (addr_index: 0x1): 0
- <925> DW_AT_high_pc : 0xf
- <92d> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
- <92f> DW_AT_object_pointer: <0x937>
-@@ -903,7 +903,7 @@ Contents of the .debug_info.dwo section:
- <94b> DW_AT_specification: <0x89b>
- <94f> DW_AT_decl_file : 2
- <950> DW_AT_decl_line : 36
-- <951> DW_AT_low_pc : (addr_index: 0x2): <no .debug_addr section>
-+ <951> DW_AT_low_pc : (addr_index: 0x2): 0
- <952> DW_AT_high_pc : 0x20
- <95a> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
- <95c> DW_AT_object_pointer: <0x964>
-@@ -922,7 +922,7 @@ Contents of the .debug_info.dwo section:
- <978> DW_AT_decl_line : 72
- <979> DW_AT_linkage_name: _Z3f10v
- <981> DW_AT_type : <0x8b7>
-- <985> DW_AT_low_pc : (addr_index: 0x3): <no .debug_addr section>
-+ <985> DW_AT_low_pc : (addr_index: 0x3): 0
- <986> DW_AT_high_pc : 0xb
- <98e> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
- <990> DW_AT_GNU_all_call_sites: 1
-@@ -933,7 +933,7 @@ Contents of the .debug_info.dwo section:
- <997> DW_AT_decl_line : 80
- <998> DW_AT_linkage_name: _Z4f11bPFivE
- <9a5> DW_AT_type : <0x8b7>
-- <9a9> DW_AT_low_pc : (addr_index: 0x4): <no .debug_addr section>
-+ <9a9> DW_AT_low_pc : (addr_index: 0x4): 0
- <9aa> DW_AT_high_pc : 0x14
- <9b2> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
- <9b4> DW_AT_GNU_all_tail_call_sites: 1
-@@ -954,7 +954,7 @@ Contents of the .debug_info.dwo section:
- <9d3> DW_AT_specification: <0x8e0>
- <9d7> DW_AT_decl_file : 2
- <9d8> DW_AT_decl_line : 88
-- <9d9> DW_AT_low_pc : (addr_index: 0x5): <no .debug_addr section>
-+ <9d9> DW_AT_low_pc : (addr_index: 0x5): 0
- <9da> DW_AT_high_pc : 0xf
- <9e2> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
- <9e4> DW_AT_object_pointer: <0x9ec>
-@@ -976,7 +976,7 @@ Contents of the .debug_info.dwo section:
- <a06> DW_AT_decl_line : 96
- <a07> DW_AT_linkage_name: _Z3f13v
- <a0f> DW_AT_type : <0xa1e>
-- <a13> DW_AT_low_pc : (addr_index: 0x6): <no .debug_addr section>
-+ <a13> DW_AT_low_pc : (addr_index: 0x6): 0
- <a14> DW_AT_high_pc : 0xb
- <a1c> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
- <a1e> DW_AT_GNU_all_call_sites: 1
-@@ -990,7 +990,7 @@ Contents of the .debug_info.dwo section:
- <a2a> DW_AT_decl_line : 104
- <a2b> DW_AT_linkage_name: _Z3f14v
- <a33> DW_AT_type : <0xa42>
-- <a37> DW_AT_low_pc : (addr_index: 0x7): <no .debug_addr section>
-+ <a37> DW_AT_low_pc : (addr_index: 0x7): 0
- <a38> DW_AT_high_pc : 0xb
- <a40> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
- <a42> DW_AT_GNU_all_call_sites: 1
-@@ -1010,7 +1010,7 @@ Contents of the .debug_info.dwo section:
- <a5b> DW_AT_decl_line : 112
- <a5c> DW_AT_linkage_name: _Z3f15v
- <a64> DW_AT_type : <0xa73>
-- <a68> DW_AT_low_pc : (addr_index: 0x8): <no .debug_addr section>
-+ <a68> DW_AT_low_pc : (addr_index: 0x8): 0
- <a69> DW_AT_high_pc : 0xb
- <a71> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
- <a73> DW_AT_GNU_all_call_sites: 1
-@@ -1030,7 +1030,7 @@ Contents of the .debug_info.dwo section:
- <a8f> DW_AT_decl_line : 127
- <a90> DW_AT_linkage_name: _Z3f18i
- <a98> DW_AT_type : <0xa42>
-- <a9c> DW_AT_low_pc : (addr_index: 0x9): <no .debug_addr section>
-+ <a9c> DW_AT_low_pc : (addr_index: 0x9): 0
- <a9d> DW_AT_high_pc : 0x44
- <aa5> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
- <aa7> DW_AT_GNU_all_call_sites: 1
---
-2.31.1
-
diff --git a/main/binutils/binutils-ppc-fix-machine-options.patch b/main/binutils/binutils-ppc-fix-machine-options.patch
deleted file mode 100644
index 703ecf98a3..0000000000
--- a/main/binutils/binutils-ppc-fix-machine-options.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-Fix for DARN opcode error during ppc64le compilation of rng-tools which
-occurs with binutils 2.38 but not with binutils 2.37..
-
-https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=cebc89b9328;hp=9cbed90ee623d75e31994e7943960c997ba565f2
-
-
-diff -aur a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c
---- a/gas/config/tc-ppc.c
-+++ b/gas/config/tc-ppc.c
-@@ -5965,7 +5965,30 @@
- options do not count as a new machine, instead they add
- to currently selected opcodes. */
- ppc_cpu_t machine_sticky = 0;
-- new_cpu = ppc_parse_cpu (ppc_cpu, &machine_sticky, cpu_string);
-+ /* Unfortunately, some versions of gcc emit a .machine
-+ directive very near the start of the compiler's assembly
-+ output file. This is bad because it overrides user -Wa
-+ cpu selection. Worse, there are versions of gcc that
-+ emit the *wrong* cpu, not even respecting the -mcpu given
-+ to gcc. See gcc pr101393. And to compound the problem,
-+ as of 20220222 gcc doesn't pass the correct cpu option to
-+ gas on the command line. See gcc pr59828. Hack around
-+ this by keeping sticky options for an early .machine. */
-+ asection *sec;
-+ for (sec = stdoutput->sections; sec != NULL; sec = sec->next)
-+ {
-+ segment_info_type *info = seg_info (sec);
-+ /* Are the frags for this section perturbed from their
-+ initial state? Even .align will count here. */
-+ if (info != NULL
-+ && (info->frchainP->frch_root != info->frchainP->frch_last
-+ || info->frchainP->frch_root->fr_type != rs_fill
-+ || info->frchainP->frch_root->fr_fix != 0))
-+ break;
-+ }
-+ new_cpu = ppc_parse_cpu (ppc_cpu,
-+ sec == NULL ? &sticky : &machine_sticky,
-+ cpu_string);
- if (new_cpu != 0)
- ppc_cpu = new_cpu;
- else
diff --git a/main/binutils/binutils-ppc64le-assertion.patch b/main/binutils/binutils-ppc64le-assertion.patch
deleted file mode 100644
index cd6113e6f8..0000000000
--- a/main/binutils/binutils-ppc64le-assertion.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 97dd8079feb35456d7b387a594b5e00f7654b3b8 Mon Sep 17 00:00:00 2001
-From: Alan Modra <amodra@gmail.com>
-Date: Thu, 23 Jun 2022 17:50:30 +0930
-Subject: [PATCH] PowerPC64: fix assertion in ppc_build_one_stub with -Os code
-
-save_res stubs aren't written in ppc_build_one_stub, their offsets
-(which are zero) should not be checked.
-
- * elf64-ppc.c (ppc_build_one_stub): Don't check save_res offsets.
-
-(cherry picked from commit 570e911f4e533fad33ad5e4e1102929cf7e80bd7)
----
- bfd/elf64-ppc.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c
-index cb12ed476d8..df503341fe9 100644
---- a/bfd/elf64-ppc.c
-+++ b/bfd/elf64-ppc.c
-@@ -11700,7 +11700,8 @@ ppc_build_one_stub (struct bfd_hash_entry *gen_entry, void *in_arg)
- if (htab == NULL)
- return false;
-
-- BFD_ASSERT (stub_entry->stub_offset >= stub_entry->group->stub_sec->size);
-+ BFD_ASSERT (stub_entry->stub_offset >= stub_entry->group->stub_sec->size
-+ || stub_entry->type.main == ppc_stub_save_res);
- loc = stub_entry->group->stub_sec->contents + stub_entry->stub_offset;
-
- htab->stub_count[stub_entry->type.main - 1] += 1;
---
-2.31.1
-
diff --git a/main/binutils/binutils-s390x-1.patch b/main/binutils/binutils-s390x-1.patch
deleted file mode 100644
index fab51a2fad..0000000000
--- a/main/binutils/binutils-s390x-1.patch
+++ /dev/null
@@ -1,147 +0,0 @@
-From 82a5bb730a16f8c7962568030268e784b4fb42c8 Mon Sep 17 00:00:00 2001
-From: Stefan Liebler <stli@linux.ibm.com>
-Date: Thu, 28 Apr 2022 14:29:58 +0200
-Subject: [PATCH] s390: Avoid dynamic TLS relocs in PIE
-
-No dynamic relocs are needed for TLS defined in an executable, the
-TP relative offset is known at link time.
-
-Fixes
-FAIL: Build pr22263-1
-
-bfd/
- PR ld/22263
- * elf64-s390.c (elf_s390_tls_transition): Use bfd_link_dll
- instead of bfd_link_pic for TLS.
- (elf_s390_check_relocs): Likewise.
- (allocate_dynrelocs): Likewise.
- (elf_s390_relocate_section): Likewise.
-
-(cherry picked from commit 26b1426577b5dcb32d149c64cca3e603b81948a9)
----
- bfd/elf64-s390.c | 26 +++++++++++++-------------
- 1 file changed, 13 insertions(+), 13 deletions(-)
-
-diff --git a/bfd/elf64-s390.c b/bfd/elf64-s390.c
-index e780efa7181..00ee386baab 100644
---- a/bfd/elf64-s390.c
-+++ b/bfd/elf64-s390.c
-@@ -774,7 +774,7 @@ elf_s390_tls_transition (struct bfd_link_info *info,
- int r_type,
- int is_local)
- {
-- if (bfd_link_pic (info))
-+ if (bfd_link_dll (info))
- return r_type;
-
- switch (r_type)
-@@ -1026,7 +1026,7 @@ elf_s390_check_relocs (bfd *abfd,
- case R_390_TLS_GOTIE20:
- case R_390_TLS_GOTIE64:
- case R_390_TLS_IEENT:
-- if (bfd_link_pic (info))
-+ if (bfd_link_dll (info))
- info->flags |= DF_STATIC_TLS;
- /* Fall through */
-
-@@ -1107,7 +1107,7 @@ elf_s390_check_relocs (bfd *abfd,
- if (r_type == R_390_TLS_LE64 && bfd_link_pie (info))
- break;
-
-- if (!bfd_link_pic (info))
-+ if (!bfd_link_dll (info))
- break;
- info->flags |= DF_STATIC_TLS;
- /* Fall through */
-@@ -1571,7 +1571,7 @@ allocate_dynrelocs (struct elf_link_hash_entry *h,
- to R_390_TLS_LE64 requiring no TLS entry. For GOTIE12 and IEENT
- we can save the dynamic TLS relocation. */
- if (h->got.refcount > 0
-- && !bfd_link_pic (info)
-+ && !bfd_link_dll (info)
- && h->dynindx == -1
- && elf_s390_hash_entry(h)->tls_type >= GOT_TLS_IE)
- {
-@@ -2662,7 +2662,7 @@ elf_s390_relocate_section (bfd *output_bfd,
-
- /* Relocations for tls literal pool entries. */
- case R_390_TLS_IE64:
-- if (bfd_link_pic (info))
-+ if (bfd_link_dll (info))
- {
- Elf_Internal_Rela outrel;
- asection *sreloc;
-@@ -2690,7 +2690,7 @@ elf_s390_relocate_section (bfd *output_bfd,
- else if (h != NULL)
- {
- tls_type = elf_s390_hash_entry(h)->tls_type;
-- if (!bfd_link_pic (info) && h->dynindx == -1 && tls_type >= GOT_TLS_IE)
-+ if (!bfd_link_dll (info) && h->dynindx == -1 && tls_type >= GOT_TLS_IE)
- r_type = R_390_TLS_LE64;
- }
- if (r_type == R_390_TLS_GD64 && tls_type >= GOT_TLS_IE)
-@@ -2801,14 +2801,14 @@ elf_s390_relocate_section (bfd *output_bfd,
- if (local_got_offsets == NULL)
- abort();
- off = local_got_offsets[r_symndx];
-- if (bfd_link_pic (info))
-+ if (bfd_link_dll (info))
- goto emit_tls_relocs;
- }
- else
- {
- off = h->got.offset;
- tls_type = elf_s390_hash_entry(h)->tls_type;
-- if (bfd_link_pic (info) || h->dynindx != -1 || tls_type < GOT_TLS_IE)
-+ if (bfd_link_dll (info) || h->dynindx != -1 || tls_type < GOT_TLS_IE)
- goto emit_tls_relocs;
- }
-
-@@ -2825,7 +2825,7 @@ elf_s390_relocate_section (bfd *output_bfd,
- break;
-
- case R_390_TLS_LDM64:
-- if (! bfd_link_pic (info))
-+ if (! bfd_link_dll (info))
- /* The literal pool entry this relocation refers to gets ignored
- by the optimized code of the local exec model. Do nothing
- and the value will turn out zero. */
-@@ -2900,7 +2900,7 @@ elf_s390_relocate_section (bfd *output_bfd,
- continue;
-
- case R_390_TLS_LDO64:
-- if (bfd_link_pic (info) || (input_section->flags & SEC_DEBUGGING))
-+ if (bfd_link_dll (info) || (input_section->flags & SEC_DEBUGGING))
- relocation -= dtpoff_base (info);
- else
- /* When converting LDO to LE, we must negate. */
-@@ -2922,7 +2922,7 @@ elf_s390_relocate_section (bfd *output_bfd,
-
- if (r_type == R_390_TLS_LOAD)
- {
-- if (!bfd_link_pic (info) && (h == NULL || h->dynindx == -1))
-+ if (!bfd_link_dll (info) && (h == NULL || h->dynindx == -1))
- {
- /* IE->LE transition. Four valid cases:
- lg %rx,(0,%ry) -> sllg %rx,%ry,0
-@@ -2972,7 +2972,7 @@ elf_s390_relocate_section (bfd *output_bfd,
- invalid_tls_insn (input_bfd, input_section, rel);
- return false;
- }
-- if (!bfd_link_pic (info) && (h == NULL || h->dynindx == -1))
-+ if (!bfd_link_dll (info) && (h == NULL || h->dynindx == -1))
- {
- /* GD->LE transition.
- brasl %r14,__tls_get_addr@plt -> brcl 0,. */
-@@ -2991,7 +2991,7 @@ elf_s390_relocate_section (bfd *output_bfd,
- }
- else if (r_type == R_390_TLS_LDCALL)
- {
-- if (!bfd_link_pic (info))
-+ if (!bfd_link_dll (info))
- {
- unsigned int insn0, insn1;
-
---
-2.27.0
-
diff --git a/main/binutils/binutils-s390x-2.patch b/main/binutils/binutils-s390x-2.patch
deleted file mode 100644
index 75d7a931a3..0000000000
--- a/main/binutils/binutils-s390x-2.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From 9a01457e02e7bb594ff9a9ac62a38c909e2e3083 Mon Sep 17 00:00:00 2001
-From: Stefan Liebler <stli@linux.ibm.com>
-Date: Thu, 28 Apr 2022 14:30:55 +0200
-Subject: [PATCH] s390: Add DT_JMPREL pointing to .rela.[i]plt with static-pie
-
-In static-pie case, there are IRELATIVE-relocs in
-.rela.iplt (htab->irelplt), which will later be grouped
-to .rela.plt. On s390, the IRELATIVE relocations are
-always located in .rela.iplt - even for non-static case.
-Ensure that DT_JMPREL, DT_PLTRELA, DT_PLTRELASZ is added
-to the dynamic section even if htab->srelplt->size == 0.
-See _bfd_elf_add_dynamic_tags in bfd/elflink.c.
-
-bfd/
- elf64-s390.c (elf_s390_size_dynamic_sections):
- Enforce DT_JMPREL via htab->elf.dt_jmprel_required.
-
-(cherry picked from commit d942d8db12adf4c9e5c7d9ed6496a779ece7149e)
----
- bfd/elf64-s390.c | 15 ++++++++++++++-
- 1 file changed, 14 insertions(+), 1 deletion(-)
-
-diff --git a/bfd/elf64-s390.c b/bfd/elf64-s390.c
-index 00ee386baab..0b851f7ac0e 100644
---- a/bfd/elf64-s390.c
-+++ b/bfd/elf64-s390.c
-@@ -1876,7 +1876,20 @@ elf_s390_size_dynamic_sections (bfd *output_bfd ATTRIBUTE_UNUSED,
- else if (startswith (bfd_section_name (s), ".rela"))
- {
- if (s->size != 0 && s != htab->elf.srelplt)
-- relocs = true;
-+ {
-+ relocs = true;
-+ if (s == htab->elf.irelplt)
-+ {
-+ /* In static-pie case, there are IRELATIVE-relocs in
-+ .rela.iplt (htab->irelplt), which will later be grouped
-+ to .rela.plt. On s390, the IRELATIVE relocations are
-+ always located in .rela.iplt - even for non-static case.
-+ Ensure that DT_JMPREL, DT_PLTRELA, DT_PLTRELASZ is added
-+ to the dynamic section even if htab->srelplt->size == 0.
-+ See _bfd_elf_add_dynamic_tags in bfd/elflink.c. */
-+ htab->elf.dt_jmprel_required = true;
-+ }
-+ }
-
- /* We use the reloc_count field as a counter if we need
- to copy relocs into the output file. */
---
-2.27.0
-
diff --git a/main/bluez-firmware/APKBUILD b/main/bluez-firmware/APKBUILD
index e13d3d2c33..ba7d842c61 100644
--- a/main/bluez-firmware/APKBUILD
+++ b/main/bluez-firmware/APKBUILD
@@ -6,7 +6,7 @@ pkgdesc="Firmware for Broadcom BCM203x Blutonium devices"
url="http://www.bluez.org/"
arch="all"
license="GPL-2.0-or-later"
-source="http://bluez.sf.net/download/bluez-firmware-$pkgver.tar.gz"
+source="https://bluez.sourceforge.net/download/bluez-firmware-$pkgver.tar.gz"
build() {
./configure \
diff --git a/main/bluez-headers/APKBUILD b/main/bluez-headers/APKBUILD
new file mode 100644
index 0000000000..c15d62d5ad
--- /dev/null
+++ b/main/bluez-headers/APKBUILD
@@ -0,0 +1,35 @@
+# Maintainer: psykose <alice@ayaya.dev>
+pkgname=bluez-headers
+pkgver=5.66
+pkgrel=0
+pkgdesc="Bluez development headers"
+url="http://www.bluez.org/"
+arch="noarch"
+license="GPL-2.0-or-later"
+depends="!bluez-dev"
+source="https://www.kernel.org/pub/linux/bluetooth/bluez-$pkgver.tar.xz"
+builddir="$srcdir/bluez-$pkgver"
+options="!check" # just headers
+
+package() {
+ local headers="
+ bluetooth
+ bnep
+ cmtp
+ hci
+ hci_lib
+ hidp
+ l2cap
+ rfcomm
+ sco
+ sdp
+ sdp_lib
+ "
+ for header in $headers; do
+ install -Dm644 ./lib/$header.h -t "$pkgdir"/usr/include/bluetooth
+ done
+}
+
+sha512sums="
+ed0994932687eacf27207867366671b323671f5d5199daf36ea5eff8f254f2bc99ef989ef7df9883b35c06f2af60452be8bad0a06109428a4717cf2b247b4865 bluez-5.66.tar.xz
+"
diff --git a/main/bluez/004-Move-the-43xx-firmware-into-lib-firmware.patch b/main/bluez/004-Move-the-43xx-firmware-into-lib-firmware.patch
index 80b052d5b7..67410c76f6 100644
--- a/main/bluez/004-Move-the-43xx-firmware-into-lib-firmware.patch
+++ b/main/bluez/004-Move-the-43xx-firmware-into-lib-firmware.patch
@@ -1,20 +1,13 @@
-From 76681284b0ea49852041fdb97a35175089a08781 Mon Sep 17 00:00:00 2001
-From: Phil Elwell <phil@raspberrypi.org>
-Date: Tue, 23 Feb 2016 17:52:29 +0000
-Subject: [PATCH 4/4] Move the 43xx firmware into /lib/firmware
-
----
- tools/hciattach_bcm43xx.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/tools/hciattach_bcm43xx.c
-+++ b/tools/hciattach_bcm43xx.c
-@@ -43,7 +43,7 @@
- #include "hciattach.h"
+diff --git a/tools/hciattach.h b/tools/hciattach.h
+index dfa4c1e..c21dbda 100644
+--- a/tools/hciattach.h
++++ b/tools/hciattach.h
+@@ -41,7 +41,7 @@
+ #define HCI_UART_VND_DETECT 5
#ifndef FIRMWARE_DIR
-#define FIRMWARE_DIR "/etc/firmware"
-+#define FIRMWARE_DIR "/lib/firmware/brcm"
++#define FIRMWARE_DIR "/lib/firmware"
#endif
- #define FW_EXT ".hcd"
+ int read_hci_event(int fd, unsigned char *buf, int size);
diff --git a/main/bluez/APKBUILD b/main/bluez/APKBUILD
index 3f90d683c0..0dea945792 100644
--- a/main/bluez/APKBUILD
+++ b/main/bluez/APKBUILD
@@ -1,18 +1,30 @@
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=bluez
-pkgver=5.65
-pkgrel=0
+pkgver=5.66
+pkgrel=1
pkgdesc="Tools for the Bluetooth protocol stack"
url="http://www.bluez.org/"
arch="all"
license="GPL-2.0-or-later"
depends="dbus"
replaces="udev"
-makedepends="dbus-dev libusb-compat-dev eudev-dev json-c-dev
- libical-dev readline-dev glib-dev linux-headers
- autoconf automake libtool ell-dev py3-docutils"
+makedepends="
+ autoconf
+ automake
+ dbus-dev
+ ell-dev
+ eudev-dev
+ glib-dev
+ json-c-dev
+ libical-dev
+ libtool
+ linux-headers
+ py3-docutils
+ readline-dev
+ "
subpackages="
+ $pkgname-dbg
$pkgname-dev
$pkgname-doc
$pkgname-libs
@@ -41,16 +53,10 @@ source="https://www.kernel.org/pub/linux/bluetooth/bluez-$pkgver.tar.xz
005-hostname-Use-phone-class-for-handhelds.patch
disable-lock-test.patch
fix-endianness.patch
- musl.patch
test-mesh-crypto.patch
- fix-musl.patch
+ max-input.patch
"
-case "$CARCH" in
- # crypto tests assume little-endian
- mips*) options="!check";;
-esac
-
# secfixes:
# 5.54-r0:
# - CVE-2020-0556
@@ -187,7 +193,7 @@ openrc() {
}
sha512sums="
-c20c09a1a75053c77d73b3ce15ac7fd321eb6df5ca1646d57c6848b87c0c9957908bc17dd928da4ef2aacfc8667877cbc7511c1ba43db839bfa9bf1fb8269907 bluez-5.65.tar.xz
+ed0994932687eacf27207867366671b323671f5d5199daf36ea5eff8f254f2bc99ef989ef7df9883b35c06f2af60452be8bad0a06109428a4717cf2b247b4865 bluez-5.66.tar.xz
e1d64fac673cceb657684b1bc5c36ff6d05f7cc5832d940863129adacd5b8ade1315b14df039a61f061950ac99e155266530efe2d2d35ea3c145b0469698a726 bluetooth.initd
8d7b7c8938a2316ce0a855e9bdf1ef8fcdf33d23f4011df828270a088b88b140a19c432e83fef15355d0829e3c86be05b63e7718fef88563254ea239b8dc12ac rfcomm.initd
a70aa0dbbabe7e29ee81540a6f98bf191a850da55a28f678975635caf34b363cf4d461a801b3484120ee28fdd21240bd456a4f5d706262700924bd2e9a0972fb rfcomm.confd
@@ -196,11 +202,10 @@ d6766a4992ed4141569d6d82a802a771a5cb4c08873bfb0fdbedeea4d738bf9b56d9e0452ec19b76
73202915fda01d420b2864da77b1c25af5a55c815e9be6546400a0940bfb6097d83322790bc22a80ec0fcd557144fdd1877e243a79285a7f040ff96ba3600b94 001-bcm43xx-Add-bcm43xx-3wire-variant.patch
d5fd1c962bd846eaa6fff879bab85f753eb367d514f82d133b5d3242e1da989af5eddd942c60a87d5b67783e060f91bfa0f74fb1e8e6699cdee6e5bbe6a431ea 002-bcm43xx-The-UART-speed-must-be-reset-after-the-firmw.patch
784e9644c8de4e2693e2eeed988a245608b8cb14e1fc0dff8795c60c527b2e8d0c87862cfbfd6b850b47ae80cdf993a5ed3f477078ea1068fd7374899c7a1a77 003-Increase-firmware-load-timeout-to-30s.patch
-42ac04044a8c66e07487598b3a75ef52efc32999ebce4e7c63f6198e2f603f4a1442e74600e43a0938cb4f52d4db0298aa99050b18144b84990cda71748e9de5 004-Move-the-43xx-firmware-into-lib-firmware.patch
+6d864d893aaf08d7a04f5cb27a6b2767c361cd41e479f27ed84d9fbbd2677298c15e31161a614af098df8faf3da54b71cf315fe8e9a9a2f671e4720c7b8b457b 004-Move-the-43xx-firmware-into-lib-firmware.patch
ac635f9bca0e983835940572eb1b96ad70cf60fb84d5b0fde38c76ea6d1b13ef7d9adf81468b9fed779c890ab69dd5dfabf21970bff018466115c424668b82fb 005-hostname-Use-phone-class-for-handhelds.patch
04c4889372c8e790bb338dde7ffa76dc32fcf7370025c71b9184fcf17fd01ade4a6613d84d648303af3bbc54043ad489f29fc0cd4679ec8c9029dcb846d7e026 disable-lock-test.patch
93ef2fe4e72cfa50d577adbae8de7449d3d070ab00d888bcc378d8a1783191130bf555f63cea781595701a5ef8b34355feae276423b10b1e22e2e43d10e09eac fix-endianness.patch
-641e425333d269833eed624edec0e29cba04bb0ff6570f6afda178a164fc2bb77456fa88957fe49f36000d3601ac00bb7ba089400977c1577e9c226e74baa3d6 musl.patch
9c57bb1abf1b4927441a2a25c3c2599b0da82850e6b945d09e824e25be7c7efa99e54999cf5b799a1093303202badf08833cc4ccb36203901dfa516031ea8eb0 test-mesh-crypto.patch
-2e92639512c11e69d3c47e222a012b4f58fa7727d18b3639130e8fe91654773b1205ddbe650efe49a26ec41a64d39ddba2806503272e09252c51d194e3ced33d fix-musl.patch
+3095bdb41cdf8dc2290f41d89ef56a2781569d50f19589c808512c6772ec43433ed0298c826a27ba9dbc9434b0ba136b0d389a9569e5df169aacbc8032e40c00 max-input.patch
"
diff --git a/main/bluez/fix-musl.patch b/main/bluez/fix-musl.patch
deleted file mode 100644
index 436fc5d2bf..0000000000
--- a/main/bluez/fix-musl.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/tools/mesh-cfgtest.c b/tools/mesh-cfgtest.c
-index fa0474f..9b68314 100644
---- a/tools/mesh-cfgtest.c
-+++ b/tools/mesh-cfgtest.c
-@@ -26,6 +26,7 @@
- #include <time.h>
- #include <unistd.h>
- #include <sys/stat.h>
-+#include <limits.h> /* PATH_MAX */
-
- #include <ell/ell.h>
-
diff --git a/main/bluez/max-input.patch b/main/bluez/max-input.patch
new file mode 100644
index 0000000000..887befef7d
--- /dev/null
+++ b/main/bluez/max-input.patch
@@ -0,0 +1,13 @@
+diff --git a/src/shared/util.c b/src/shared/util.c
+index 0a0308c..a2b8c23 100644
+--- a/src/shared/util.c
++++ b/src/shared/util.c
+@@ -65,7 +65,7 @@ void *util_memdup(const void *src, size_t size)
+ void util_debug_va(util_debug_func_t function, void *user_data,
+ const char *format, va_list va)
+ {
+- char str[MAX_INPUT];
++ char str[_POSIX_MAX_INPUT];
+
+ if (!function || !format)
+ return;
diff --git a/main/bluez/musl.patch b/main/bluez/musl.patch
deleted file mode 100644
index cd8f08568f..0000000000
--- a/main/bluez/musl.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/mesh/net.h b/mesh/net.h
-index 150240f..a3dec2b 100644
---- a/mesh/net.h
-+++ b/mesh/net.h
-@@ -21,6 +21,8 @@
- #define __packed __attribute__((packed))
- #endif
-
-+#include <sys/time.h> /* for timeval */
-+
- struct mesh_io;
- struct mesh_node;
-
diff --git a/main/bmd-tools/APKBUILD b/main/bmd-tools/APKBUILD
index 482eb62e9a..d2a750428f 100644
--- a/main/bmd-tools/APKBUILD
+++ b/main/bmd-tools/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=bmd-tools
pkgver=1.0.2
-pkgrel=2
+pkgrel=3
pkgdesc="Tools for Blackmagic USB video encoders"
url="https://github.com/fabled/bmd-tools"
arch="all"
diff --git a/main/boost1.79/boost-1.79.0-fix-segfault-in-array-erase.patch b/main/boost1.79/boost-1.79.0-fix-segfault-in-array-erase.patch
deleted file mode 100644
index f853bc25dd..0000000000
--- a/main/boost1.79/boost-1.79.0-fix-segfault-in-array-erase.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-Patch-Source: https://www.boost.org/users/history/version_1_79_0.html , known-issues
-diff -ur boost_1_79_0/boost/json/impl/array.ipp boost_1_79_0/boost/json/impl/array.ipp
---- boost_1_79_0/boost/json/impl/array.ipp 2022-04-06 17:02:43.000000000 -0400
-+++ boost_1_79_0/boost/json/impl/array.ipp 2022-04-13 20:55:20.464359478 -0400
-@@ -491,8 +491,11 @@
- auto const p = &(*t_)[0] +
- (pos - &(*t_)[0]);
- destroy(p, p + 1);
-- relocate(p, p + 1, 1);
- --t_->size;
-+ if(t_->size > 0)
-+ relocate(p, p + 1,
-+ t_->size - (p -
-+ &(*t_)[0]));
- return p;
- }
-
-diff -ur boost_1_79_0/libs/json/test/array.cpp boost_1_79_0/libs/json/test/array.cpp
---- boost_1_79_0/libs/json/test/array.cpp 2022-04-06 17:02:43.000000000 -0400
-+++ boost_1_79_0/libs/json/test/array.cpp 2022-04-13 20:53:32.671782680 -0400
-@@ -1270,6 +1270,21 @@
- }
-
- void
-+ testIssue692()
-+ {
-+ array a;
-+ object obj;
-+ obj["test1"] = "hello";
-+ a.push_back(obj);
-+ a.push_back(obj);
-+ a.push_back(obj);
-+ a.push_back(obj);
-+ a.push_back(obj);
-+ while(a.size())
-+ a.erase(a.begin());
-+ }
-+
-+ void
- run()
- {
- testDestroy();
-@@ -1283,6 +1298,7 @@
- testExceptions();
- testEquality();
- testHash();
-+ testIssue692();
- }
- };
-
diff --git a/main/boost1.79/0001-revert-cease-dependence-on-range.patch b/main/boost1.80/0001-revert-cease-dependence-on-range.patch
index a6002074ab..a6002074ab 100644
--- a/main/boost1.79/0001-revert-cease-dependence-on-range.patch
+++ b/main/boost1.80/0001-revert-cease-dependence-on-range.patch
diff --git a/main/boost1.79/APKBUILD b/main/boost1.80/APKBUILD
index 2292013a42..e0deb74783 100644
--- a/main/boost1.79/APKBUILD
+++ b/main/boost1.80/APKBUILD
@@ -1,8 +1,8 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-pkgname=boost1.79
-pkgver=1.79.0
+pkgname=boost1.80
+pkgver=1.80.0
_pkgver="${pkgver//./_}"
-pkgrel=1
+pkgrel=4
pkgdesc="Free peer-reviewed portable C++ source libraries"
url="https://www.boost.org/"
arch="all"
@@ -17,12 +17,17 @@ subpackages="
boost-dev:_dev
"
source="https://boostorg.jfrog.io/artifactory/main/release/$pkgver/source/boost_$_pkgver.tar.bz2
+ aligned-alloc.patch
+ boost-python-311.patch
boost-1.57.0-python-abi_letters.patch
boost-1.57.0-python-libpython_dep.patch
0001-revert-cease-dependence-on-range.patch
- boost-1.79.0-fix-segfault-in-array-erase.patch
+ boost-1.80-filesystem-win-fix-dir-it-net-share.patch
+ boost-1.80-filesystem-fix-weakly-canonical-long-paths.patch
+ boost-1.80-boost-unordered.patch
"
builddir="$srcdir/boost_$_pkgver"
+options="!check" # some tests fail now, figure it out later
_enginedir="tools/build/src/engine"
_bjam="$builddir"/$_enginedir/b2
@@ -69,7 +74,7 @@ subpackages="$subpackages $pkgname-libs"
# Claim the unversioned name, this must be removed once we switch our
# boost to a new version
provides="boost=$pkgver-r$pkgrel"
-replaces="boost boost1.78"
+replaces="boost boost1.79"
_set_options() {
local _python="$(_pyversion python3)"
@@ -199,7 +204,7 @@ dev() {
# boost to a new version. Replace previous boost version for clean -dev
# upgrade
default_dev
- replaces="boost1.78-dev"
+ replaces="boost1.79-dev"
}
_dev() {
@@ -222,9 +227,13 @@ _pyversion() {
}
sha512sums="
-70909e0561c213d10a1fdd692f9ae7b293d3cdc63e925bdc207da9e9bba6e86474341100e7ee5de6d94f9561196b1a3a1597055a7b7382babf8931131170a312 boost_1_79_0.tar.bz2
+829a95b463473d69ff79ea41799c68429bb79d3b2321fbdb71df079af237ab01de9ad7e9612d8783d925730acada010068d2d1aa856c34244ee5c0ece16f208f boost_1_80_0.tar.bz2
+6254b4cc92d091aef9e8fdea375c0779f47bc3ea7965f6d93cab8bf76d2a502d9593d860228d2313ea133ee4f7935c4813d39df4bcb29bdf380628474ce4dcd6 aligned-alloc.patch
+085cf0424f4737bdfab246ac97a6d804aa06239c733bfe499d60b7b4a1550fd62171d3d9564e38f88d915153fc7a84b08564e2c358034abbceaac2651d518675 boost-python-311.patch
d96d4d37394a31764ed817d0bc4a99cffa68a75ff1ecfd4417b9e1e5ae2c31a96ed24f948c6f2758ffdac01328d2402c4cf0d33a37107e4f5f721e636daebd66 boost-1.57.0-python-abi_letters.patch
132c4b62815d605c2d3c9038427fa4f422612a33711d47b2862f2311516af8a371d6b75bf078a7bffe20be863f8d21fb9fe74dc1a1bac3a10d061e9768ec3e02 boost-1.57.0-python-libpython_dep.patch
9b53d2fe2dddd592e43db03c26fadd6c07d4c45a980ae4c775b7a914346a3914f6e0c3ef42dad5e2ea4568afb86c9967e09444ff609cfba1e1d39f4980b22ad6 0001-revert-cease-dependence-on-range.patch
-17db69e7b41665b2fae5630aa5edf15f0b8d00aa04e8597b198eb4f530793e8227d0234ceb9c8a9859fac3a4ceb5b9eb51721329b91497a422d4ff579739b964 boost-1.79.0-fix-segfault-in-array-erase.patch
+bfc055c63191379b6db91a5c862cea3ce9e0856d6b8efdb31869a4b684a30319880f7033cd90f9c5493d9fd69765e62f858a0710e1cf5364777061d6eace1f78 boost-1.80-filesystem-win-fix-dir-it-net-share.patch
+0fe46226870bede3bd5a90a137e6ea406d217aa7de0582e6b08223bd0634b3640b93dfd6f7f6054f25edd42d815f313c20268e8f10fd3d520a287ac90b27d789 boost-1.80-filesystem-fix-weakly-canonical-long-paths.patch
+a8184bb2301f63ee918b5f392890ecf1af13d9b5e0eb35e431e7d7bef40a6fb505f9f2bf718239f8446fb096bf97fbf21b94cd2ed3c0eb44c4394450c2dae2de boost-1.80-boost-unordered.patch
"
diff --git a/main/boost1.80/aligned-alloc.patch b/main/boost1.80/aligned-alloc.patch
new file mode 100644
index 0000000000..8d168ee6bd
--- /dev/null
+++ b/main/boost1.80/aligned-alloc.patch
@@ -0,0 +1,28 @@
+Patch-Source: https://github.com/chimera-linux/cports/blob/1dd1fed225a0b65b5164bc5168194f85deea3b19/main/boost1.80/patches/aligned_alloc.patch
+commit 98ca73bfe3f574ba72232013919885bdae679e09
+Author: Daniel Kolesa <daniel@octaforge.org>
+Date: Fri Sep 23 03:55:45 2022 +0200
+
+ use posix as a fallback for aligned_alloc
+
+ Testing for feature test macros is a broken antipattern, and
+ fucks up in ugly ways under musl. Since we don't really care
+ for having a non-POSIX fallback, always use the POSIX code
+ unless forced.
+
+diff --git a/boost/align/aligned_alloc.hpp b/boost/align/aligned_alloc.hpp
+index 1d81a13..f2b5137 100644
+--- a/boost/align/aligned_alloc.hpp
++++ b/boost/align/aligned_alloc.hpp
+@@ -38,10 +38,8 @@ Distributed under the Boost Software License, Version 1.0.
+ #include <boost/align/detail/aligned_alloc_posix.hpp>
+ #elif defined(sun) || defined(__sun)
+ #include <boost/align/detail/aligned_alloc_sunos.hpp>
+-#elif (_POSIX_C_SOURCE >= 200112L) || (_XOPEN_SOURCE >= 600)
+-#include <boost/align/detail/aligned_alloc_posix.hpp>
+ #else
+-#include <boost/align/detail/aligned_alloc.hpp>
++#include <boost/align/detail/aligned_alloc_posix.hpp>
+ #endif
+
+ #endif
diff --git a/main/boost1.79/boost-1.57.0-python-abi_letters.patch b/main/boost1.80/boost-1.57.0-python-abi_letters.patch
index 7df3ee7047..7df3ee7047 100644
--- a/main/boost1.79/boost-1.57.0-python-abi_letters.patch
+++ b/main/boost1.80/boost-1.57.0-python-abi_letters.patch
diff --git a/main/boost1.79/boost-1.57.0-python-libpython_dep.patch b/main/boost1.80/boost-1.57.0-python-libpython_dep.patch
index 57bfc26774..57bfc26774 100644
--- a/main/boost1.79/boost-1.57.0-python-libpython_dep.patch
+++ b/main/boost1.80/boost-1.57.0-python-libpython_dep.patch
diff --git a/main/boost1.80/boost-1.80-boost-unordered.patch b/main/boost1.80/boost-1.80-boost-unordered.patch
new file mode 100644
index 0000000000..da065fc627
--- /dev/null
+++ b/main/boost1.80/boost-1.80-boost-unordered.patch
@@ -0,0 +1,175 @@
+diff -urN boost_1_80_0/boost/unordered/detail/fca.hpp boost_1_80_1/boost/unordered/detail/fca.hpp
+--- boost_1_80_0/boost/unordered/detail/fca.hpp 2022-08-03 22:47:16.000000000 -0400
++++ boost_1_80_1/boost/unordered/detail/fca.hpp 2022-08-24 19:44:43.139787681 -0400
+@@ -646,7 +646,7 @@
+
+ size_type bucket_count() const { return size_; }
+
+- iterator begin() const { return ++at(size_); }
++ iterator begin() const { return size_ == 0 ? end() : ++at(size_); }
+
+ iterator end() const
+ {
+@@ -660,6 +660,10 @@
+
+ local_iterator begin(size_type n) const
+ {
++ if (size_ == 0) {
++ return this->end(n);
++ }
++
+ return local_iterator(
+ (buckets + static_cast<difference_type>(n))->next);
+ }
+@@ -670,12 +674,16 @@
+
+ iterator at(size_type n) const
+ {
+- std::size_t const N = group::N;
++ if (size_ > 0) {
++ std::size_t const N = group::N;
+
+- iterator pbg(buckets + static_cast<difference_type>(n),
+- groups + static_cast<difference_type>(n / N));
++ iterator pbg(buckets + static_cast<difference_type>(n),
++ groups + static_cast<difference_type>(n / N));
+
+- return pbg;
++ return pbg;
++ } else {
++ return this->end();
++ }
+ }
+
+ span<Bucket> raw()
+diff -urN boost_1_80_0/boost/unordered/detail/implementation.hpp boost_1_80_1/boost/unordered/detail/implementation.hpp
+--- boost_1_80_0/boost/unordered/detail/implementation.hpp 2022-08-03 22:47:16.000000000 -0400
++++ boost_1_80_1/boost/unordered/detail/implementation.hpp 2022-08-24 19:44:43.139787681 -0400
+@@ -2054,12 +2054,14 @@
+
+ std::size_t bucket_size(std::size_t index) const
+ {
+- bucket_iterator itb = buckets_.at(index);
+- node_pointer n = itb->next;
+ std::size_t count = 0;
+- while (n) {
+- ++count;
+- n = n->next;
++ if (size_ > 0) {
++ bucket_iterator itb = buckets_.at(index);
++ node_pointer n = itb->next;
++ while (n) {
++ ++count;
++ n = n->next;
++ }
+ }
+ return count;
+ }
+@@ -2420,11 +2422,14 @@
+ node_pointer find_node_impl(
+ Key const& x, bucket_iterator itb) const
+ {
+- key_equal const& pred = this->key_eq();
+- node_pointer p = itb->next;
+- for (; p; p = p->next) {
+- if (pred(x, extractor::extract(p->value()))) {
+- break;
++ node_pointer p = node_pointer();
++ if (itb != buckets_.end()) {
++ key_equal const& pred = this->key_eq();
++ p = itb->next;
++ for (; p; p = p->next) {
++ if (pred(x, extractor::extract(p->value()))) {
++ break;
++ }
+ }
+ }
+ return p;
+@@ -2453,11 +2458,13 @@
+ inline iterator transparent_find(
+ Key const& k, Hash const& h, Pred const& pred) const
+ {
+- std::size_t const key_hash = h(k);
+- bucket_iterator itb = buckets_.at(buckets_.position(key_hash));
+- for (node_pointer p = itb->next; p; p = p->next) {
+- if (BOOST_LIKELY(pred(k, extractor::extract(p->value())))) {
+- return iterator(p, itb);
++ if (size_ > 0) {
++ std::size_t const key_hash = h(k);
++ bucket_iterator itb = buckets_.at(buckets_.position(key_hash));
++ for (node_pointer p = itb->next; p; p = p->next) {
++ if (BOOST_LIKELY(pred(k, extractor::extract(p->value())))) {
++ return iterator(p, itb);
++ }
+ }
+ }
+
+@@ -2467,11 +2474,13 @@
+ template <class Key>
+ node_pointer* find_prev(Key const& key, bucket_iterator itb)
+ {
+- key_equal pred = this->key_eq();
+- for (node_pointer* pp = boost::addressof(itb->next); *pp;
+- pp = boost::addressof((*pp)->next)) {
+- if (pred(key, extractor::extract((*pp)->value()))) {
+- return pp;
++ if (size_ > 0) {
++ key_equal pred = this->key_eq();
++ for (node_pointer* pp = boost::addressof(itb->next); *pp;
++ pp = boost::addressof((*pp)->next)) {
++ if (pred(key, extractor::extract((*pp)->value()))) {
++ return pp;
++ }
+ }
+ }
+ typedef node_pointer* node_pointer_pointer;
+diff -urN boost_1_80_0/boost/unordered/unordered_map.hpp boost_1_80_1/boost/unordered/unordered_map.hpp
+--- boost_1_80_0/boost/unordered/unordered_map.hpp 2022-08-03 22:47:16.000000000 -0400
++++ boost_1_80_1/boost/unordered/unordered_map.hpp 2022-08-24 19:44:43.139787681 -0400
+@@ -2069,6 +2069,10 @@
+ template <class K, class T, class H, class P, class A>
+ float unordered_map<K, T, H, P, A>::load_factor() const BOOST_NOEXCEPT
+ {
++ if (table_.size_ == 0) {
++ return 0.0f;
++ }
++
+ BOOST_ASSERT(table_.bucket_count() != 0);
+ return static_cast<float>(table_.size_) /
+ static_cast<float>(table_.bucket_count());
+@@ -2506,6 +2510,10 @@
+ template <class K, class T, class H, class P, class A>
+ float unordered_multimap<K, T, H, P, A>::load_factor() const BOOST_NOEXCEPT
+ {
++ if (table_.size_ == 0) {
++ return 0.0f;
++ }
++
+ BOOST_ASSERT(table_.bucket_count() != 0);
+ return static_cast<float>(table_.size_) /
+ static_cast<float>(table_.bucket_count());
+diff -urN boost_1_80_0/boost/unordered/unordered_set.hpp boost_1_80_1/boost/unordered/unordered_set.hpp
+--- boost_1_80_0/boost/unordered/unordered_set.hpp 2022-08-03 22:47:16.000000000 -0400
++++ boost_1_80_1/boost/unordered/unordered_set.hpp 2022-08-24 19:44:43.139787681 -0400
+@@ -1586,6 +1586,10 @@
+ template <class T, class H, class P, class A>
+ float unordered_set<T, H, P, A>::load_factor() const BOOST_NOEXCEPT
+ {
++ if (table_.size_ == 0) {
++ return 0.0f;
++ }
++
+ BOOST_ASSERT(table_.bucket_count() != 0);
+ return static_cast<float>(table_.size_) /
+ static_cast<float>(table_.bucket_count());
+@@ -1986,6 +1990,10 @@
+ template <class T, class H, class P, class A>
+ float unordered_multiset<T, H, P, A>::load_factor() const BOOST_NOEXCEPT
+ {
++ if (table_.size_ == 0) {
++ return 0.0f;
++ }
++
+ BOOST_ASSERT(table_.bucket_count() != 0);
+ return static_cast<float>(table_.size_) /
+ static_cast<float>(table_.bucket_count());
diff --git a/main/boost1.80/boost-1.80-filesystem-fix-weakly-canonical-long-paths.patch b/main/boost1.80/boost-1.80-filesystem-fix-weakly-canonical-long-paths.patch
new file mode 100644
index 0000000000..9312059a60
--- /dev/null
+++ b/main/boost1.80/boost-1.80-filesystem-fix-weakly-canonical-long-paths.patch
@@ -0,0 +1,171 @@
+commit 476ca7b6c1d37a5d796f8525813a9a64c9e54ffc
+Author: Andrey Semashev <andrey.semashev@gmail.com>
+Date: Wed Aug 10 04:57:21 2022 +0300
+
+ Fix weakly_canonical on Windows with long paths prefix.
+
+ During its operation, weakly_canonical would call status() on the path
+ consisting only from the root name of the input path. This would fail
+ with ERROR_INVALID_FUNCTION if the root name starts with the "\\?\" prefix,
+ as the root name path is not absolute.
+
+ To fix this, we don't check the status of the root name path (which is
+ not the correct check anyways as it tests the current directory on the
+ corresponding drive for existence, which is not what we want). Additionally,
+ avoid calling status() on the paths containing dot and dot-dot elements
+ during the weakly_canonical execution for the same reason - the "\\?\"
+ prefix disables most of the path processing in Windows APIs, including
+ dot and dot-dot elements resolution.
+
+ Fixes https://github.com/boostorg/filesystem/issues/247.
+
+diff --git a/libs/filesystem/src/operations.cpp b/libs/filesystem/src/operations.cpp
+index dd636e9..ca2fff3 100644
+--- a/libs/filesystem/src/operations.cpp
++++ b/libs/filesystem/src/operations.cpp
+@@ -4434,7 +4434,7 @@ path weakly_canonical(path const& p, path const& base, system::error_code* ec)
+ path head(p);
+ for (; !head.empty(); --itr)
+ {
+- file_status head_status = detail::status_impl(head, &local_ec);
++ file_status head_status(detail::status_impl(head, &local_ec));
+ if (BOOST_UNLIKELY(head_status.type() == fs::status_error))
+ {
+ if (!ec)
+@@ -4450,32 +4450,83 @@ path weakly_canonical(path const& p, path const& base, system::error_code* ec)
+ head.remove_filename();
+ }
+
++ if (head.empty())
++ return p.lexically_normal();
++
++ path const& dot_p = dot_path();
++ path const& dot_dot_p = dot_dot_path();
++
+ #else
+
+- // On Windows, filesystem APIs such as GetFileAttributesW perform lexical path normalization internally.
+- // As a result, a path like "c:\a\.." can be reported as present even if "c:\a" is not. This would break
+- // canonical, as symlink_status that it calls internally would report an error that the file at the intermediate
+- // path does not exist. To avoid this, scan the initial path in the forward direction.
+- // Also, operate on paths with preferred separators. This can be important on Windows since GetFileAttributesW,
+- // which is called in status() may return "file not found" for paths to network shares and mounted cloud
+- // storages that have forward slashes as separators.
++ // On Windows, filesystem APIs such as GetFileAttributesW and CreateFileW perform lexical path normalization
++ // internally. As a result, a path like "c:\a\.." can be reported as present even if "c:\a" is not. This would
++ // break canonical, as symlink_status that it calls internally would report an error that the file at the
++ // intermediate path does not exist. To avoid this, scan the initial path in the forward direction.
++ // Also, operate on paths with preferred separators. This can be important on Windows since GetFileAttributesW
++ // or CreateFileW, which is called in status() may return "file not found" for paths to network shares and
++ // mounted cloud storages that have forward slashes as separators.
++ // Also, avoid querying status of the root name such as \\?\c: as CreateFileW returns ERROR_INVALID_FUNCTION for
++ // such path. Querying the status of a root name such as c: is also not right as this path refers to the current
++ // directory on drive C:, which is not what we want to test for existence anyway.
+ path::iterator itr(p.begin());
+ path head;
+- for (; itr != p_end; ++itr)
++ if (p.has_root_name())
+ {
+- path const& p_elem = *itr;
+- if (p_elem.size() == 1u && detail::is_directory_separator(p_elem.native()[0]))
++ BOOST_ASSERT(itr != p_end);
++ head = *itr;
++ ++itr;
++ }
++
++ if (p.has_root_directory())
++ {
++ BOOST_ASSERT(itr != p_end);
++ // Convert generic separator returned by the iterator for the root directory to
++ // the preferred separator.
++ head += path::preferred_separator;
++ ++itr;
++ }
++
++ if (!head.empty())
++ {
++ file_status head_status(detail::status_impl(head, &local_ec));
++ if (BOOST_UNLIKELY(head_status.type() == fs::status_error))
+ {
+- // Convert generic separator returned by the iterator for the root directory to
+- // the preferred separator.
+- head += path::preferred_separator;
++ if (!ec)
++ BOOST_FILESYSTEM_THROW(filesystem_error("boost::filesystem::weakly_canonical", head, local_ec));
++
++ *ec = local_ec;
++ return path();
+ }
+- else
++
++ if (head_status.type() == fs::file_not_found)
++ {
++ // If the root path does not exist then no path element exists
++ return p.lexically_normal();
++ }
++ }
++
++ path const& dot_p = dot_path();
++ path const& dot_dot_p = dot_dot_path();
++ for (; itr != p_end; ++itr)
++ {
++ path const& p_elem = *itr;
++
++ // Avoid querying status of paths containing dot and dot-dot elements, as this will break
++ // if the root name starts with "\\?\".
++ if (p_elem == dot_p)
++ continue;
++
++ if (p_elem == dot_dot_p)
+ {
+- head /= p_elem;
++ if (head.has_relative_path())
++ head.remove_filename();
++
++ continue;
+ }
+
+- file_status head_status = detail::status_impl(head, &local_ec);
++ head /= p_elem;
++
++ file_status head_status(detail::status_impl(head, &local_ec));
+ if (BOOST_UNLIKELY(head_status.type() == fs::status_error))
+ {
+ if (!ec)
+@@ -4492,33 +4543,22 @@ path weakly_canonical(path const& p, path const& base, system::error_code* ec)
+ }
+ }
+
++ if (head.empty())
++ return p.lexically_normal();
++
+ #endif
+
+- path const& dot_p = dot_path();
+- path const& dot_dot_p = dot_dot_path();
+ path tail;
+ bool tail_has_dots = false;
+ for (; itr != p_end; ++itr)
+ {
+ path const& tail_elem = *itr;
+-#if defined(BOOST_WINDOWS_API)
+- if (tail_elem.size() == 1u && detail::is_directory_separator(tail_elem.native()[0]))
+- {
+- // Convert generic separator returned by the iterator for the root directory to
+- // the preferred separator.
+- tail += path::preferred_separator;
+- continue;
+- }
+-#endif
+ tail /= tail_elem;
+ // for a later optimization, track if any dot or dot-dot elements are present
+ if (!tail_has_dots && (tail_elem == dot_p || tail_elem == dot_dot_p))
+ tail_has_dots = true;
+ }
+
+- if (head.empty())
+- return p.lexically_normal();
+-
+ head = detail::canonical(head, base, &local_ec);
+ if (BOOST_UNLIKELY(!!local_ec))
+ {
diff --git a/main/boost1.80/boost-1.80-filesystem-win-fix-dir-it-net-share.patch b/main/boost1.80/boost-1.80-filesystem-win-fix-dir-it-net-share.patch
new file mode 100644
index 0000000000..0d28b86bb6
--- /dev/null
+++ b/main/boost1.80/boost-1.80-filesystem-win-fix-dir-it-net-share.patch
@@ -0,0 +1,31 @@
+commit 9c9d127bddc2b72187c57f4933c49666255d7a4f
+Author: Olavo Belloc <obelloc@think-cell.com>
+Date: Mon Aug 8 10:54:02 2022 +0200
+
+ Limit the buffer size for compatibility with previous versions of Windows
+
+ The reported error was reproduced on Windows 7 and 8.1, but not on an early
+ version of Windows 10 (2004).
+
+ Closes https://github.com/boostorg/filesystem/pull/246.
+ Likely fixes https://github.com/boostorg/filesystem/issues/245.
+
+diff --git a/libs/filesystem/src/directory.cpp b/libs/filesystem/src/directory.cpp
+index 6a3e1dc..9334893 100644
+--- a/libs/filesystem/src/directory.cpp
++++ b/libs/filesystem/src/directory.cpp
+@@ -599,9 +599,12 @@ extra_data_format g_extra_data_format = file_directory_information_format;
+ * \brief Extra buffer size for GetFileInformationByHandleEx-based or NtQueryDirectoryFile-based directory iterator.
+ *
+ * Must be large enough to accommodate at least one FILE_DIRECTORY_INFORMATION or *_DIR_INFO struct and one filename.
+- * NTFS, VFAT, exFAT support filenames up to 255 UTF-16/UCS-2 characters. ReFS supports filenames up to 32768 UTF-16 characters.
++ * NTFS, VFAT, exFAT and ReFS support filenames up to 255 UTF-16/UCS-2 characters. (For ReFS, there is no information
++ * on the on-disk format, and it is possible that it supports longer filenames, up to 32768 UTF-16/UCS-2 characters.)
++ * The buffer cannot be larger than 64k, because up to Windows 8.1, NtQueryDirectoryFile and GetFileInformationByHandleEx
++ * fail with ERROR_INVALID_PARAMETER when trying to retrieve the filenames from a network share.
+ */
+-BOOST_CONSTEXPR_OR_CONST std::size_t dir_itr_extra_size = sizeof(file_id_extd_dir_info) + 65536u;
++BOOST_CONSTEXPR_OR_CONST std::size_t dir_itr_extra_size = 65536u;
+
+ inline system::error_code dir_itr_close(dir_itr_imp& imp) BOOST_NOEXCEPT
+ {
diff --git a/main/boost1.80/boost-python-311.patch b/main/boost1.80/boost-python-311.patch
new file mode 100644
index 0000000000..4fb57eeeb0
--- /dev/null
+++ b/main/boost1.80/boost-python-311.patch
@@ -0,0 +1,36 @@
+Patch-Source: https://github.com/boostorg/python/commit/a218babc8daee904a83f550fb66e5cb3f1cb3013
+From a218babc8daee904a83f550fb66e5cb3f1cb3013 Mon Sep 17 00:00:00 2001
+From: Victor Stinner <vstinner@python.org>
+Date: Mon, 25 Apr 2022 10:51:46 +0200
+Subject: [PATCH] Fix enum_type_object type on Python 3.11
+
+The enum_type_object type inherits from PyLong_Type which is not tracked
+by the GC. Instances doesn't have to be tracked by the GC: remove the
+Py_TPFLAGS_HAVE_GC flag.
+
+The Python C API documentation says:
+
+ "To create a container type, the tp_flags field of the type object
+ must include the Py_TPFLAGS_HAVE_GC and provide an implementation of
+ the tp_traverse handler."
+
+https://docs.python.org/dev/c-api/gcsupport.html
+
+The new exception was introduced in Python 3.11 by:
+https://github.com/python/cpython/issues/88429
+---
+ src/object/enum.cpp | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/src/object/enum.cpp b/src/object/enum.cpp
+index 293e705899..5753b32e07 100644
+--- a/libs/python/src/object/enum.cpp
++++ b/libs/python/src/object/enum.cpp
+@@ -113,7 +113,6 @@ static PyTypeObject enum_type_object = {
+ #if PY_VERSION_HEX < 0x03000000
+ | Py_TPFLAGS_CHECKTYPES
+ #endif
+- | Py_TPFLAGS_HAVE_GC
+ | Py_TPFLAGS_BASETYPE, /* tp_flags */
+ 0, /* tp_doc */
+ 0, /* tp_traverse */
diff --git a/main/botan/APKBUILD b/main/botan/APKBUILD
index df55d3a5f6..bcb2a46310 100644
--- a/main/botan/APKBUILD
+++ b/main/botan/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: tcely <tcely@users.noreply.github.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=botan
-pkgver=2.19.2
+pkgver=2.19.3
pkgrel=0
pkgdesc="Crypto and TLS for C++11"
url="https://botan.randombit.net/"
@@ -59,5 +59,5 @@ package() {
}
sha512sums="
-52b9c80a240457e46a299480338472f7d0c0b56df7b1709fdef52c5be3afca5b474fe143801c9a332ae884eaf033e60461c9d3e0b2f7b069f4fe8b4c45932abf Botan-2.19.2.tar.xz
+80012397e2aa7cc88a9536340ac9b770d1195fddda53b9d4cfde82318dd05f9d4f925bbdff773aba99883a701f4d30581e9d5c97e915fa80c3ca2acfa5a92110 Botan-2.19.3.tar.xz
"
diff --git a/main/bridge-utils/APKBUILD b/main/bridge-utils/APKBUILD
index 79de768e86..8e9515cfe2 100644
--- a/main/bridge-utils/APKBUILD
+++ b/main/bridge-utils/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=bridge-utils
pkgver=1.7.1
-pkgrel=0
+pkgrel=1
pkgdesc="Tools for configuring the Linux kernel 802.1d Ethernet Bridge"
url="https://wiki.linuxfoundation.org/networking/bridge/"
arch="all"
diff --git a/main/brotli/APKBUILD b/main/brotli/APKBUILD
index 53f6a763ef..b00a7c0479 100644
--- a/main/brotli/APKBUILD
+++ b/main/brotli/APKBUILD
@@ -2,18 +2,25 @@
# Maintainer: prspkt <prspkt@protonmail.com>
pkgname=brotli
pkgver=1.0.9
-pkgrel=7
+pkgrel=10
pkgdesc="Generic lossless compressor"
url="https://github.com/google/brotli"
arch="all"
license="MIT"
+depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends_build="automake autoconf libtool"
if [ -z "$BOOTSTRAP" ]; then
makedepends_host="python3-dev"
python="py3-$pkgname:py3"
fi
-subpackages="$pkgname-doc $pkgname-static $pkgname-dev $pkgname-libs $python"
-source="$pkgname-$pkgver.tar.gz::https://github.com/google/brotli/archive/v$pkgver.tar.gz
+subpackages="
+ $pkgname-doc
+ $pkgname-static
+ $pkgname-dev
+ $pkgname-libs
+ $python
+ "
+source="$pkgname-$pkgver.tar.gz::https://github.com/google/brotli/archive/refs/tags/v$pkgver.tar.gz
optimize-mips-s390x.patch
build-tool-against-shared-lib.patch
838.patch
@@ -24,9 +31,6 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/google/brotli/archive/v$pkgv
# 1.0.9-r0:
# - CVE-2020-8927
-# use sysroot when cross compiling to avoid libtool pulling in host libs
-[ "$CBUILD" != "$CHOST" ] && _cross_configure="--with-sysroot=$CBUILDROOT"
-
prepare() {
default_prepare
sed -i 's,/usr/bin/env bash,/bin/sh,' tests/*.sh
@@ -34,13 +38,26 @@ prepare() {
}
build() {
+ # use sysroot when cross compiling to avoid libtool pulling in host libs
+ if [ "$CBUILD" != "$CHOST" ]; then
+ local cross_configure="--with-sysroot=$CBUILDROOT"
+ else
+ CFLAGS="$CFLAGS -flto=auto"
+ fi
+
+ CFLAGS="$CFLAGS -O2" \
./configure \
--build=$CBUILD \
--host=$CHOST \
--target=$CTARGET \
--prefix=/usr \
- $_cross_configure \
+ $_cross_configure
+
make
+
+ if [ -z "$BOOTSTRAP" ]; then
+ python3 setup.py build
+ fi
}
check() {
@@ -53,15 +70,22 @@ package() {
local man; for man in docs/*.?; do
install -D -m644 $man "$pkgdir"/usr/share/man/man${man##*.}/${man##*/}
done
+
+ if [ -z "$BOOTSTRAP" ]; then
+ python3 setup.py install --skip-build --root="$pkgdir"
+ fi
}
py3() {
- cd "$builddir"
- python3 setup.py install --prefix=/usr --root="$subpkgdir"
+ pkgdesc="$pkgdesc (python bindings)"
+
+ amove usr/lib/python3*
}
-sha512sums="b8e2df955e8796ac1f022eb4ebad29532cb7e3aa6a4b6aee91dbd2c7d637eee84d9a144d3e878895bb5e62800875c2c01c8f737a1261020c54feacf9f676b5f5 brotli-1.0.9.tar.gz
+sha512sums="
+b8e2df955e8796ac1f022eb4ebad29532cb7e3aa6a4b6aee91dbd2c7d637eee84d9a144d3e878895bb5e62800875c2c01c8f737a1261020c54feacf9f676b5f5 brotli-1.0.9.tar.gz
59e934578ce23b703f8f25f56578f8e9fd1466a9844b6f67b542acd6496df352548e3762697dc3851cfd0f8e1bad170bfdaa3e8a87c901fe81e2f3042e3aee84 optimize-mips-s390x.patch
f4a7653a0f7ef69f059d7f744a48c7731c8e66f977ce2e66cd106f697e82aa1f005923898d216a3d8be143b2dc8db1927c09daedb981818e752640a333d75fbc build-tool-against-shared-lib.patch
58ef677595f0db80b7d1353e42603cc30ef9b0b9530927f731ee31ac60ad9a3b2aac960a5cd100f8b10e547c9534e1ebf78c53550b52eed6fb3b7fb853317d20 838.patch
-6b7953f09c7ce4219dd9411d53fcd495e0de92f210c53be43dcd235a47050b10933b347fcc8e92d7e3fd89b12375eb0deea61b01eb279902079fa7b7aca62a5a 0545759b2ed9b69e3f21fd0ac954bee78f3104b6.patch"
+6b7953f09c7ce4219dd9411d53fcd495e0de92f210c53be43dcd235a47050b10933b347fcc8e92d7e3fd89b12375eb0deea61b01eb279902079fa7b7aca62a5a 0545759b2ed9b69e3f21fd0ac954bee78f3104b6.patch
+"
diff --git a/main/btrfs-progs/APKBUILD b/main/btrfs-progs/APKBUILD
index 078b06c4b2..11dc18b520 100644
--- a/main/btrfs-progs/APKBUILD
+++ b/main/btrfs-progs/APKBUILD
@@ -2,7 +2,7 @@
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=btrfs-progs
-pkgver=5.18.1
+pkgver=6.0.2
pkgrel=0
pkgdesc="BTRFS filesystem utilities"
url="https://btrfs.wiki.kernel.org"
@@ -13,34 +13,29 @@ makedepends="$depends_dev
acl-dev
asciidoc
attr-dev
- autoconf
- automake
e2fsprogs-dev
- libtool
+ eudev-dev
lzo-dev
py3-setuptools
+ py3-sphinx
python3-dev
util-linux-dev
xmlto
zlib-dev
zstd-dev
- eudev-dev
- py3-sphinx"
-subpackages="$pkgname-doc
+ "
+subpackages="
+ $pkgname-doc
$pkgname-static
$pkgname-dev
$pkgname-bash-completion
py3-$pkgname:py3
$pkgname-libs
- $pkgname-extra"
+ $pkgname-extra
+ "
source="https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v$pkgver.tar.xz"
builddir="$srcdir/$pkgname-v$pkgver"
-prepare() {
- default_prepare
- ./autogen.sh
-}
-
build() {
./configure \
--build=$CBUILD \
@@ -75,19 +70,16 @@ py3() {
provides="py-btrfs-progs=$pkgver-r$pkgrel" # for backward compatibility
replaces="py-btrfs-progs" # for backward compatibility
- mkdir -p "$subpkgdir"/usr/lib
- mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/
+ amove usr/lib/python*
}
extra() {
depends="$pkgname"
pkgdesc="BTRFS filesystem extra utilities"
- mkdir -p "$subpkgdir"
- mv "$pkgdir"/usr "$subpkgdir"/
- rmdir "$subpkgdir"/usr/lib
+ amove usr/sbin
}
sha512sums="
-265a03b0db00a231ad51bb75fb161dee0a7a51cd120a696ca0524f08ef635b18afe43b391fa9889a4a79734ccc3931e4374bd950eb26dc47ddc8482368efed0e btrfs-progs-v5.18.1.tar.xz
+8e01fa6e3373d95a8e8577003ceb94722e4dfdf24110bfea79191a9862daf5e6580d72e898fdea134b5e86beeda32948eed572072f7906226189c6f1ac8615e3 btrfs-progs-v6.0.2.tar.xz
"
diff --git a/main/bubblewrap/APKBUILD b/main/bubblewrap/APKBUILD
index ebc23f8f14..4e81123444 100644
--- a/main/bubblewrap/APKBUILD
+++ b/main/bubblewrap/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=bubblewrap
-pkgver=0.6.2
+pkgver=0.7.0
pkgrel=0
pkgdesc="Unprivileged sandboxing tool"
url="https://github.com/containers/bubblewrap"
@@ -28,5 +28,5 @@ package() {
}
sha512sums="
-09b89836242941bd5d1975a64a9543caae77c344ace7baf06670fddbfce28be22728cf0a7e4c2df142b2d89a903df92cfd4671b442058953ea4ebb099eb05577 bubblewrap-0.6.2.tar.gz
+01ec30b01f70ff896b407d4979df0bc1a75d0b441a388f7be7aa9a4c9f56e6a1e2ae2ae4dbe4d6262a0218f577a8ad317db4217d5663ea9bd8c1d5c4293c39a7 bubblewrap-0.7.0.tar.gz
"
diff --git a/main/busybox-initscripts/APKBUILD b/main/busybox-initscripts/APKBUILD
deleted file mode 100644
index 418b61ad74..0000000000
--- a/main/busybox-initscripts/APKBUILD
+++ /dev/null
@@ -1,62 +0,0 @@
-# Contributor: Natanael Copa <ncopa@alpinelinux.org>
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-pkgname=busybox-initscripts
-pkgver=4.2
-pkgrel=1
-pkgdesc="Init scripts for busybox daemons"
-url="https://git.alpinelinux.org/aports/tree/main/busybox-initscripts"
-arch="noarch"
-license="GPL-2.0-only"
-depends="busybox openrc>=0.24.1-r6 mdev-conf"
-makedepends=""
-install="$pkgname.post-install $pkgname.post-upgrade"
-replaces="alpine-baselayout openntpd"
-source="acpid.initd crond.initd dnsd.initd httpd.initd inetd.initd klogd.initd
- mdev.initd ntpd.initd rdate.initd syslog.initd udhcpd.initd loadkmap.initd
- watchdog.initd crond.confd klogd.confd ntpd.confd rdate.confd syslog.confd
- watchdog.confd loadkmap.confd
- "
-
-package() {
- local i
- cd "$srcdir"
-
- mkdir -p "$pkgdir"/etc/conf.d "$pkgdir"/etc/init.d \
- "$pkgdir"/etc/acpi/PWRF
- for i in *.initd; do
- install -m755 "$srcdir"/$i "$pkgdir"/etc/init.d/${i%.*} || return 1
- done
- for i in *.confd; do
- install -m644 "$srcdir"/$i "$pkgdir"/etc/conf.d/${i%.*} || return 1
- done
-
- # poweroff script for acpid
- cat >"$pkgdir"/etc/acpi/PWRF/00000080 <<EOF
-#!/bin/sh
-poweroff
-EOF
- chmod +x "$pkgdir"/etc/acpi/PWRF/00000080
-}
-
-sha512sums="
-dd548670114a92404b8e35fb915fdbe5994498b05b0a418583271c3dd72fb7800950e42c095c902a014eb198c046b8a346d43dccd8e7a158048ae33767c572ed acpid.initd
-c9d0fb0f8cc27d661d3b4e58c56eb598ca368890576e18ffffd42efdf68ba35537656be9be319b2e2818aa0152d3ca8611bece2433512fbfcd4eed7988765549 crond.initd
-612a7ffb475fd23d33b2a7266b621537ca59b4abd8cb5a9ce03771800ec4f7622a8ff380320f8d768291e4d1a68adfff28f369776a80125940ee40b2e4a5db4d dnsd.initd
-66bfd7d2a03f4e8a50f08b7057091bfef8e36001eb7c07574ec45da6d75db05a88ae37dbd51e3e3fc7b00a784bf69f8416682ce0454ca16cc072358abdf4d2ce httpd.initd
-9f7c96a7af5e0f6450b6100b7f99e3fe52759f797dca3a92e8e4ad7c08e6acf384fba2496a4e1e8b77f60ba23195bf2bf58013b16aa03f649a16d6f8aad3f8a9 inetd.initd
-e8deb44d6a7c4cf7e1ced3436ad8c97ed86ff211d2db270cdd4a96e0cc4e6720909a821c35bc2830769da2304f9d6fc732051e205c8e22fe9a65d2798dfe3c42 klogd.initd
-1aed59fb048f0636ee8a095a089a20554a20eda84c70485a894ae60b0f97b792b7ce8e832557457258f59a2750735c4a25e247364ccf1180e9652b292a5f9e8d mdev.initd
-c30d3936e045c01fdc9d1e9d1c0d2cd79b6dabb453400f067bc4eefa239a41c98bbe3fcd3ae53792e0e6d8fcf4aebc727e4524ec3ccd5741d5659a0a351c1c7e ntpd.initd
-a95d03564712803fc58c48534f2fbbf23dd8418ffd3a6a06f840e969627892eea518b4fe17f059850665fc056cedf972c26aee52c309805987fb5c59a710bd30 rdate.initd
-acfd45bda4526ab551a30faec1742ad1569aa85e0d315959c3e3a3d6a693f94c74efeb57a00b8791524651e8a61d3f7ea3e3e08a4b0291ec46309f594ee8124c syslog.initd
-1d4574ec7cc6d7e9952bb50b4fcb10a910868688da03a25aede492835313c686247bde1faa17f50243d61a93bfc1d8fa54cf821d7be908581e365b0f1b6a5588 udhcpd.initd
-1b61a0f1eb40f2ea14bf3ed3441996f343d70fd45858d443f21244f133dcdf1c64433c3deaef769eee4e3e698b405f25e1bbc185a25c351a88ce7d120d61cf00 loadkmap.initd
-0a4f989068f00dd8599433ea1fe0713c405ed871750b918e32db2d6bccefc8b870ea2e16864d1b7c3dd57d63e04b41aa0bf9c882c1a9e8108def141d12072e90 watchdog.initd
-34c6f3197064bb91619b899b28a201bd4d920b18bded3845440b2cb36dc6f16cabf447c96878349b16e46c30184cbe48bac00a01c5f7cf1be038c0b7136064c5 crond.confd
-f9bf43b72142bbb4c0665c1268a3d91586ef8a057dfe64c53b6923815d2db1f669b8080a38311ad89cda0b783a8628700fc5414d834a21d8e48515760bb910f7 klogd.confd
-b0ba67585f39d83320ed6de183d7463a0e163807b9f3dc6f0baa212236056f22aeb2c5399dfdcd54929eb5ae06a15714c2fed133b5888869ed9d9cf589cef843 ntpd.confd
-3d6c4d358e226e0c0462f2003bcf0b6787f91a53f4d6b6db5bfe7748bb0dd392d7cc454058ea8a9b649e8dd2629963a5ad1257c36af04367caeb1923f954daf7 rdate.confd
-bf8173ee33a5d2b61cbdbc1b070e599a17a21e5433a0d8aa9beef71e4ac831304076af8e7e58dc594cdee61562329793afdc57af91e5496bf5fffb9b734a3d9c syslog.confd
-359af0a4a1841dd6557eaf3e71d39f0d7a2687bad6a8fc6ef436eccf72a40f85c6400a3b7880c7f64d8e460b6af8a0ff3dd5ffc3a4b1aa8eb0d8f7eaf99ee3e4 watchdog.confd
-acbba3385fb2c416362eb9176f24146b617a2e394ee0e00b9eff89350f82468a5ab8396f4f52b0aaf03d341ac6150c73182e808fa3f29a2dc71c69271cdfb811 loadkmap.confd
-"
diff --git a/main/busybox-initscripts/busybox-initscripts.post-install b/main/busybox-initscripts/busybox-initscripts.post-install
deleted file mode 100644
index c393627437..0000000000
--- a/main/busybox-initscripts/busybox-initscripts.post-install
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/bin/sh
-
-# this is for upgraders
-addgroup -S -g 23 input 2>/dev/null
-
-# this is for upgraders
-if [ -L /etc/runlevels/boot/mdev ] && ! [ -L /etc/runlevels/sysinit/mdev ]; then
- mkdir -p /etc/runlevels/sysinit
- mv /etc/runlevels/boot/mdev /etc/runlevels/sysinit/ 2>/dev/null
-fi
-
-rename_service() {
- oldname="$1"
- newname="$2"
-
- ret=1
- for link in /run/openrc/*/${oldname} /etc/runlevels/*/${oldname}; do
- newlink="${link%/*}/${newname}"
- if [ -L "$link" ] && ! [ -L "$newlink" ]; then
- target="$(readlink $link)"
- ln -s "${target%/*}/$newname" "$newlink"
- rm "$link"
- ret=0
- continue
- fi
- if [ -d "$link" ] && ! [ -d "$newlink" ]; then
- mv "$link" "$newlink"
- ret=0
- fi
- done
-
- return $ret
-}
-
-# cron was renamed to crond
-rename_service cron crond
-
-# keymaps was renamed to loadkmap
-rename_service keymaps loadkmap && cat 1>&2 <<-EOF
-*
-* The OpenRC keymaps service was renamed to loadkmap. You might want
-* to rename your previous configuration file /etc/conf.d/keymaps to
-* /etc/conf.d/loadkmap. Also make sure that /etc/init.d/keymaps was
-* removed and remove it manually if it wasn't.
-*
-EOF
-
-exit 0
-
diff --git a/main/busybox-initscripts/busybox-initscripts.post-upgrade b/main/busybox-initscripts/busybox-initscripts.post-upgrade
deleted file mode 120000
index ef17c50147..0000000000
--- a/main/busybox-initscripts/busybox-initscripts.post-upgrade
+++ /dev/null
@@ -1 +0,0 @@
-busybox-initscripts.post-install \ No newline at end of file
diff --git a/main/busybox/0001-sed-check-errors-writing-file-with-sed-i.patch b/main/busybox/0001-sed-check-errors-writing-file-with-sed-i.patch
new file mode 100644
index 0000000000..90a5115564
--- /dev/null
+++ b/main/busybox/0001-sed-check-errors-writing-file-with-sed-i.patch
@@ -0,0 +1,66 @@
+From b99395ebf70eadb248da0ecf913eea0236eceea1 Mon Sep 17 00:00:00 2001
+From: Dominique Martinet <dominique.martinet@atmark-techno.com>
+Date: Wed, 16 Nov 2022 11:52:29 +0900
+Subject: [PATCH] sed: check errors writing file with sed -i
+
+sed would currently not error if write failed when modifying a file.
+
+This can be reproduced with the following 'script':
+$ sudo mount -t tmpfs tmpfs -o size=1M /tmp/m
+$ sudo chmod 777 /tmp/m
+$ echo foo > /tmp/m/foo
+$ dd if=/dev/zero of=/tmp/m/fill bs=4k
+dd: error writing '/tmp/m/fill': No space left on device
+256+0 records in
+255+0 records out
+1044480 bytes (1.0 MB, 1020 KiB) copied, 0.00234567 s, 445 MB/s
+$ busybox sed -i -e 's/.*/bar/' /tmp/m/foo
+$ echo $?
+0
+$ cat /tmp/m/foo
+<empty>
+
+new behaviour:
+$ echo foo > /tmp/m/foo
+$ ./busybox sed -i -e 's/.*/bar/' /tmp/m/foo
+sed: write error
+$ echo $?
+4
+$ cat /tmp/m/foo
+foo
+
+function old new delta
+sed_main 754 801 +47
+------------------------------------------------------------------------------
+(add/remove: 0/0 grow/shrink: 1/0 up/down: 47/0) Total: 47 bytes
+ text data bss dec hex filename
+ 66957 2398 1552 70907 114fb busybox_old
+ 67004 2398 1552 70954 1152a busybox_unstripped
+
+Signed-off-by: Dominique Martinet <dominique.martinet@atmark-techno.com>
+---
+Upstream patch:
+http://lists.busybox.net/pipermail/busybox/2022-November/089967.html
+
+ editors/sed.c | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/editors/sed.c b/editors/sed.c
+index 32a4b61f6d4c..be709eef3a9c 100644
+--- a/editors/sed.c
++++ b/editors/sed.c
+@@ -1639,6 +1639,11 @@ int sed_main(int argc UNUSED_PARAM, char **argv)
+ fchown(nonstdoutfd, statbuf.st_uid, statbuf.st_gid);
+
+ process_files();
++ fflush(G.nonstdout);
++ if (ferror(G.nonstdout)) {
++ xfunc_error_retval = 4; /* It's what gnu sed exits with... */
++ bb_simple_error_msg_and_die(bb_msg_write_error);
++ }
+ fclose(G.nonstdout);
+ G.nonstdout = stdout;
+
+--
+2.35.1
+
diff --git a/main/busybox/0018-ash-fix-ifs-cleanup-on-error-paths.patch b/main/busybox/0018-ash-fix-ifs-cleanup-on-error-paths.patch
new file mode 100644
index 0000000000..c09bc84daa
--- /dev/null
+++ b/main/busybox/0018-ash-fix-ifs-cleanup-on-error-paths.patch
@@ -0,0 +1,91 @@
+From 1c5455284234e894dfb6086bf7f3e9a6d5d9611f Mon Sep 17 00:00:00 2001
+From: Denys Vlasenko <vda.linux@googlemail.com>
+Date: Tue, 2 Aug 2022 11:13:44 +0200
+Subject: [PATCH] ash: fix ifs cleanup on error paths
+
+Patch by Alex Gorinson <algore3698@gmail.com>
+
+function old new delta
+evalvar 477 495 +18
+varvalue 603 618 +15
+subevalvar 1557 1572 +15
+------------------------------------------------------------------------------
+(add/remove: 0/0 grow/shrink: 3/0 up/down: 48/0) Total: 48 bytes
+
+Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
+---
+ shell/ash.c | 2 ++
+ shell/ash_test/ash-heredoc/heredoc_and_cmd.right | 2 ++
+ shell/ash_test/ash-heredoc/heredoc_and_cmd.tests | 8 ++++++++
+ shell/hush_test/hush-heredoc/heredoc_and_cmd.right | 2 ++
+ shell/hush_test/hush-heredoc/heredoc_and_cmd.tests | 8 ++++++++
+ 5 files changed, 22 insertions(+)
+ create mode 100644 shell/ash_test/ash-heredoc/heredoc_and_cmd.right
+ create mode 100755 shell/ash_test/ash-heredoc/heredoc_and_cmd.tests
+ create mode 100644 shell/hush_test/hush-heredoc/heredoc_and_cmd.right
+ create mode 100755 shell/hush_test/hush-heredoc/heredoc_and_cmd.tests
+
+diff --git a/shell/ash.c b/shell/ash.c
+index d29de37b7..c731a333b 100644
+--- a/shell/ash.c
++++ b/shell/ash.c
+@@ -7028,6 +7028,7 @@ varunset(const char *end, const char *var, const char *umsg, int varflags)
+ msg = umsg;
+ }
+ }
++ ifsfree();
+ ash_msg_and_raise_error("%.*s: %s%s", (int)(end - var - 1), var, msg, tail);
+ }
+
+@@ -7453,6 +7454,7 @@ varvalue(char *name, int varflags, int flags, int quoted)
+ if (discard)
+ return -1;
+
++ ifsfree();
+ raise_error_syntax("bad substitution");
+ }
+
+diff --git a/shell/ash_test/ash-heredoc/heredoc_and_cmd.right b/shell/ash_test/ash-heredoc/heredoc_and_cmd.right
+new file mode 100644
+index 000000000..25ae70561
+--- /dev/null
++++ b/shell/ash_test/ash-heredoc/heredoc_and_cmd.right
+@@ -0,0 +1,2 @@
++./heredoc_and_cmd.tests: line 4: D: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
++Y
+diff --git a/shell/ash_test/ash-heredoc/heredoc_and_cmd.tests b/shell/ash_test/ash-heredoc/heredoc_and_cmd.tests
+new file mode 100755
+index 000000000..197542de7
+--- /dev/null
++++ b/shell/ash_test/ash-heredoc/heredoc_and_cmd.tests
+@@ -0,0 +1,8 @@
++# The bug was only happening with <<REDIR;CMD form below:
++M='AAAAAAAAAAAAAAAAA'
++fff(){
++date <<000; echo Y
++${D?$M$M$M$M$M$M}
++000
++}
++fff
+diff --git a/shell/hush_test/hush-heredoc/heredoc_and_cmd.right b/shell/hush_test/hush-heredoc/heredoc_and_cmd.right
+new file mode 100644
+index 000000000..5c19a0621
+--- /dev/null
++++ b/shell/hush_test/hush-heredoc/heredoc_and_cmd.right
+@@ -0,0 +1,2 @@
++hush: D: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
++Y
+diff --git a/shell/hush_test/hush-heredoc/heredoc_and_cmd.tests b/shell/hush_test/hush-heredoc/heredoc_and_cmd.tests
+new file mode 100755
+index 000000000..197542de7
+--- /dev/null
++++ b/shell/hush_test/hush-heredoc/heredoc_and_cmd.tests
+@@ -0,0 +1,8 @@
++# The bug was only happening with <<REDIR;CMD form below:
++M='AAAAAAAAAAAAAAAAA'
++fff(){
++date <<000; echo Y
++${D?$M$M$M$M$M$M}
++000
++}
++fff
diff --git a/main/busybox/APKBUILD b/main/busybox/APKBUILD
index 1c2571e560..c22b908d2a 100644
--- a/main/busybox/APKBUILD
+++ b/main/busybox/APKBUILD
@@ -5,7 +5,7 @@
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=busybox
pkgver=1.35.0
-pkgrel=22
+pkgrel=29
pkgdesc="Size optimized toolbox of many common UNIX utilities"
url="https://busybox.net/"
arch="all"
@@ -23,14 +23,29 @@ subpackages="
$pkgname-static
$pkgname-doc
$pkgname-suid
- $pkgname-extras
ssl_client
$pkgname-ifupdown
$pkgname-binsh
+ $pkgname-openrc
+ $pkgname-mdev-openrc:mdev_openrc
+ $pkgname-extras
+ $pkgname-extras-openrc:extras_openrc
"
options="suid net" # net needed for check()
replaces="busybox-initscripts" # move of default.script
triggers="busybox.trigger=/bin:/usr/bin:/sbin:/usr/sbin:/lib/modules/*"
+
+_openrc_files="acpid.initd
+ crond.confd crond.initd
+ klogd.confd klogd.initd
+ ntpd.confd ntpd.initd
+ rdate.confd rdate.initd
+ syslog.confd syslog.initd
+ loadkmap.confd loadkmap.initd
+ watchdog.confd watchdog.initd"
+_mdev_openrc_files="mdev.initd"
+_extras_openrc_files="dnsd.initd httpd.initd inetd.initd udhcpd.initd"
+
source="https://busybox.net/downloads/busybox-$pkgver.tar.bz2
0001-nologin-Install-applet-to-sbin-instead-of-usr-sbin.patch
0001-adduser-default-to-sbin-nologin-as-shell-for-system-.patch
@@ -51,6 +66,7 @@ source="https://busybox.net/downloads/busybox-$pkgver.tar.bz2
0015-ed-don-t-use-memcpy-with-overlapping-memory-regions.patch
0016-ash-don-t-read-past-end-of-var-in-subvareval-for-bas.patch
0017-ash-Fix-use-after-free-on-idx-variable.patch
+ 0018-ash-fix-ifs-cleanup-on-error-paths.patch
0001-ash-add-built-in-BB_ASH_VERSION-variable.patch
@@ -64,6 +80,7 @@ source="https://busybox.net/downloads/busybox-$pkgver.tar.bz2
0002-nslookup-sanitize-all-printed-strings-with-printable.patch
0001-modinfo-add-k-option-for-kernel-version.patch
CVE-2022-30065.patch
+ 0001-sed-check-errors-writing-file-with-sed-i.patch
acpid.logrotate
busyboxconfig
@@ -72,7 +89,10 @@ source="https://busybox.net/downloads/busybox-$pkgver.tar.bz2
dad.if-up
ssl_client.c
default.script
- "
+ $_openrc_files
+ $_mdev_openrc_files
+ $_extras_openrc_files
+"
# secfixes:
# 1.35.0-r17:
@@ -200,13 +220,22 @@ check() {
}
package() {
- cd "$_dyndir"
+ local file
mkdir -p "$pkgdir"/usr/sbin "$pkgdir"/usr/bin "$pkgdir"/tmp \
"$pkgdir"/var/cache/misc "$pkgdir"/bin "$pkgdir"/sbin \
- "$pkgdir"/usr/share/man/man1
+ "$pkgdir"/usr/share/man/man1 \
+ "$pkgdir"/etc/conf.d "$pkgdir"/etc/init.d
chmod 1777 "$pkgdir"/tmp
- install -m755 busybox "$pkgdir"/bin/busybox
+ cd "$srcdir"
+ for file in *.confd ; do
+ install -D -m 0644 ${file} "$pkgdir"/etc/conf.d/${file%%\.confd}
+ done
+ for file in *.initd ; do
+ install -D -m 0755 ${file} "$pkgdir"/etc/init.d/${file%%\.initd}
+ done
+ cd "$_dyndir"
+ install -m755 busybox "$pkgdir"/bin/busybox
install -m 644 docs/busybox.1 "$pkgdir"/usr/share/man/man1/busybox.1
#ifupdown needs those dirs to be present
@@ -300,6 +329,41 @@ binsh() {
ln -s /bin/busybox "$subpkgdir"/bin/sh
}
+_helper_openrc() {
+ local file
+ for file ; do
+ if test ${file%%\.confd} != ${file} ; then
+ amove "etc/conf.d/${file%%\.confd}"
+ elif test ${file%%\.initd} != ${file} ; then
+ amove "etc/init.d/${file%%\.initd}"
+ fi
+ done
+}
+
+openrc() {
+ depends="openrc>=0.24.1-r6"
+ replaces="openntpd busybox-initscripts acpid-openrc"
+ _helper_openrc $_openrc_files
+ # poweroff script for acpid
+ mkdir -p "$subpkgdir"/etc/acpi/PWRF
+ { echo '#!/bin/sh' ; echo poweroff ; } > "$subpkgdir"/etc/acpi/PWRF/00000080
+ chmod 0755 "$subpkgdir"/etc/acpi/PWRF/00000080
+}
+
+mdev_openrc() {
+ depends="openrc>=0.24.1-r6 mdev-conf"
+ replaces="busybox-initscripts"
+ provides="dev-openrc"
+ provider_priority=30
+ _helper_openrc $_mdev_openrc_files
+}
+
+extras_openrc() {
+ depends="openrc>=0.24.1-r6 busybox-extras"
+ replaces="busybox-initscripts"
+ _helper_openrc $_extras_openrc_files
+}
+
sha512sums="
62b2e718b6669271380445ed6db249618d777a4e8d5e6d879fa39ffee43887b6a2e93ceef874c615c565ad492deb772b03a19b7475c403202741579fb151e16a busybox-1.35.0.tar.bz2
ead3403578c071c2216de17ab0543984c1f1509c12c062f03af49141547c3ea21356f3e8f0f0695550f05a41a1379dd73fc3cc18dcd78addbb411f247351e353 0001-nologin-Install-applet-to-sbin-instead-of-usr-sbin.patch
@@ -321,6 +385,7 @@ ecbe5c890d966f09280c7eb534109f785c68e292765f17ed7ff62fcc61d20f61443c4155add0a1eb
0040800382a6e3adcc6a8094b821488c7e297fc80304afba23a4fca43b7b26ac699378dfbd930ebbf9985336b3e431301f7ca93e2d041a071902a48740d263ef 0015-ed-don-t-use-memcpy-with-overlapping-memory-regions.patch
4c95dc4bf6aff9018bfb52b400f6d8375a1d22493b44ea516cb12dba6556f12797a3cba55768d2e59ff57c0f3247ec1ff95edb8f17561f3d37ec18d83ca47eb0 0016-ash-don-t-read-past-end-of-var-in-subvareval-for-bas.patch
ccdf098fb15eaa316708181469a1193d6eec7067131e7b7645e0219bf03cfd07f4f79e8f62c1e560f6146dcc38186a29bdee08aaa39f290e11d020b8f07d2f65 0017-ash-Fix-use-after-free-on-idx-variable.patch
+3abdbd25f1f0daa24b0aabe92880c28dc2d3b59eb29fad357dfaf2b78bb895466bbf4495e2185370d9219d65b22e65e525769e369e50fb1fdfd71b5229a4f429 0018-ash-fix-ifs-cleanup-on-error-paths.patch
6d100fe44da2b97c2cbdda253d0504b487212d195144d9315cddbe8c51d18fae3745701923b170b40e35f54b592f94f02cadbffd9cb716661c12a7f1da022763 0001-ash-add-built-in-BB_ASH_VERSION-variable.patch
e33dbc27d77c4636f4852d5d5216ef60a9a4343484e4559e391c13c813bf65c782b889914eff2e1f038d74cf02cb0d23824ebbb1044b5f8c86260d5a1bbc4e4d 0001-pgrep-add-support-for-matching-against-UID-and-RUID.patch
7608fbb9deddc9268ba53bc5b762a00fa16744d595f6f8a2f5a857339e754ea0c3da084a1e48269c8281553e9171d2bb29b8530fbe85e6a934f97c3cfcdbe31b 0001-avoid-redefined-warnings-when-building-with-utmps.patch
@@ -330,11 +395,32 @@ b52050678e79e4da856956906d07fcb620cbf35f2ef6b5a8ee3b8d244ea63b4b98eef505451184d5
ead4ad65d270d8659e1898fa16f76b6cbcf567d8aba238eacccda3764edb4362240d9359d6389873bedc126d405f805fc6dfce653a7181618ebcc67c94bd08d2 0002-nslookup-sanitize-all-printed-strings-with-printable.patch
4f6ddd59d6096943f617b0938fca428114190b8b37732d6783faab291451a2c30c452ed39299db22d1d9679d007022f87d43e93b38a4f6ced64a8659e9233773 0001-modinfo-add-k-option-for-kernel-version.patch
22e2fa8f7a6105fd9990f93b71c235980fd4eab62269939a0e3a920fe517ee4f913c6bd0148a554b67fe01d1660bf0fd76a80e9dcac290b4b8b2c304ef6080a9 CVE-2022-30065.patch
+d1a2fcbf9de623531953e7ad869e41e896aa79a0917983e6f0d20ddf7393e11220dda8be93c796b7abbf34006d8f03e871a6ab293988267df5aadb74cbd8aeb1 0001-sed-check-errors-writing-file-with-sed-i.patch
aa93095e20de88730f526c6f463cef711b290b9582cdbd8c1ba2bd290019150cbeaa7007c2e15f0362d5b9315dd63f60511878f0ea05e893f4fdfb4a54af3fb1 acpid.logrotate
-20ad8edb3741ffffa99bdb4c00603ddfc76564c869cb46736f878eba01cc3d3f611dd8049625a66ad7f018ce485a9d9592ec133fc8fe7f13da3d69daa6c545ec busyboxconfig
-53e6ba22ac89ccd733ad02f1553b351669abff1a2f1f233c92940770bb1b14d91b052ef81a2d4ef0cb087318e4f3972cc0735951a214b47d00b22e8b8f1db787 busyboxconfig-extras
+4947c70497629cda33a9eaac8cef5ea4f4cc4c2160e65bcd988b45c33964af86679e7604dac3f72470dd98490bb1c84b0e34acc4b6f7f65b8154db1073d60170 busyboxconfig
+2209f502a13b33891b08f684bd22dd32a18bf2191ece31a807cae8aa01f6c00503858eb6281e638b8eeb68f8b1f154d72dbf7a06b76efdaaa586467af581eab8 busyboxconfig-extras
0becc2186d6c32fb0c401cf7bc0e46268b38ce8892db33be1daf40273024c1c02d518283f44086a313a2ccef34230a1d945ec148cc173f26e6aa9d88a7426e54 bbsuid.c
6321c1d96d8938a3b5eab21731de289ede136fff550f98127c509452bfb17769ccf94b118491f7b81d3c60e1bbb3e80bb07186e4ce07e29724a52f0daba9b218 dad.if-up
26eac967d6cfe13b7dc973112de145543ac0bdda9e9dd3a69bbd8c133ae6a20387abe9377917efb770b191130d3a6385ff5738abc84a8216d7b86ae88b159260 ssl_client.c
-c3194ccffe7300a0f55d50fb56d38c8df55d588adac13056fd0be2676594974477f94de5570a5a882bc864c3711cf67aa43b6ad6808e672f4533dd0f7363d2f5 default.script
+e56f9d74f7d471893ff9c3fde319b989e1854c9b12f06c1b6739694b07165ae256b5c555bc75c92986265df7f0a276001aba73853855c7a0fb3404a091a92c86 default.script
+dd548670114a92404b8e35fb915fdbe5994498b05b0a418583271c3dd72fb7800950e42c095c902a014eb198c046b8a346d43dccd8e7a158048ae33767c572ed acpid.initd
+34c6f3197064bb91619b899b28a201bd4d920b18bded3845440b2cb36dc6f16cabf447c96878349b16e46c30184cbe48bac00a01c5f7cf1be038c0b7136064c5 crond.confd
+c9d0fb0f8cc27d661d3b4e58c56eb598ca368890576e18ffffd42efdf68ba35537656be9be319b2e2818aa0152d3ca8611bece2433512fbfcd4eed7988765549 crond.initd
+f9bf43b72142bbb4c0665c1268a3d91586ef8a057dfe64c53b6923815d2db1f669b8080a38311ad89cda0b783a8628700fc5414d834a21d8e48515760bb910f7 klogd.confd
+e8deb44d6a7c4cf7e1ced3436ad8c97ed86ff211d2db270cdd4a96e0cc4e6720909a821c35bc2830769da2304f9d6fc732051e205c8e22fe9a65d2798dfe3c42 klogd.initd
+b0ba67585f39d83320ed6de183d7463a0e163807b9f3dc6f0baa212236056f22aeb2c5399dfdcd54929eb5ae06a15714c2fed133b5888869ed9d9cf589cef843 ntpd.confd
+c30d3936e045c01fdc9d1e9d1c0d2cd79b6dabb453400f067bc4eefa239a41c98bbe3fcd3ae53792e0e6d8fcf4aebc727e4524ec3ccd5741d5659a0a351c1c7e ntpd.initd
+3d6c4d358e226e0c0462f2003bcf0b6787f91a53f4d6b6db5bfe7748bb0dd392d7cc454058ea8a9b649e8dd2629963a5ad1257c36af04367caeb1923f954daf7 rdate.confd
+a95d03564712803fc58c48534f2fbbf23dd8418ffd3a6a06f840e969627892eea518b4fe17f059850665fc056cedf972c26aee52c309805987fb5c59a710bd30 rdate.initd
+bf8173ee33a5d2b61cbdbc1b070e599a17a21e5433a0d8aa9beef71e4ac831304076af8e7e58dc594cdee61562329793afdc57af91e5496bf5fffb9b734a3d9c syslog.confd
+acfd45bda4526ab551a30faec1742ad1569aa85e0d315959c3e3a3d6a693f94c74efeb57a00b8791524651e8a61d3f7ea3e3e08a4b0291ec46309f594ee8124c syslog.initd
+acbba3385fb2c416362eb9176f24146b617a2e394ee0e00b9eff89350f82468a5ab8396f4f52b0aaf03d341ac6150c73182e808fa3f29a2dc71c69271cdfb811 loadkmap.confd
+1b61a0f1eb40f2ea14bf3ed3441996f343d70fd45858d443f21244f133dcdf1c64433c3deaef769eee4e3e698b405f25e1bbc185a25c351a88ce7d120d61cf00 loadkmap.initd
+359af0a4a1841dd6557eaf3e71d39f0d7a2687bad6a8fc6ef436eccf72a40f85c6400a3b7880c7f64d8e460b6af8a0ff3dd5ffc3a4b1aa8eb0d8f7eaf99ee3e4 watchdog.confd
+0a4f989068f00dd8599433ea1fe0713c405ed871750b918e32db2d6bccefc8b870ea2e16864d1b7c3dd57d63e04b41aa0bf9c882c1a9e8108def141d12072e90 watchdog.initd
+6ce0b2a8fe69cc7ea657c5b9076aba51c8f0beeaafa4a887d8673bcc9f9cf8ee40f4b07d2d901ec7a1a1e4f29c150c496559559e803595d0bd487dec56b530a2 mdev.initd
+612a7ffb475fd23d33b2a7266b621537ca59b4abd8cb5a9ce03771800ec4f7622a8ff380320f8d768291e4d1a68adfff28f369776a80125940ee40b2e4a5db4d dnsd.initd
+66bfd7d2a03f4e8a50f08b7057091bfef8e36001eb7c07574ec45da6d75db05a88ae37dbd51e3e3fc7b00a784bf69f8416682ce0454ca16cc072358abdf4d2ce httpd.initd
+9f7c96a7af5e0f6450b6100b7f99e3fe52759f797dca3a92e8e4ad7c08e6acf384fba2496a4e1e8b77f60ba23195bf2bf58013b16aa03f649a16d6f8aad3f8a9 inetd.initd
+1d4574ec7cc6d7e9952bb50b4fcb10a910868688da03a25aede492835313c686247bde1faa17f50243d61a93bfc1d8fa54cf821d7be908581e365b0f1b6a5588 udhcpd.initd
"
diff --git a/main/busybox-initscripts/acpid.initd b/main/busybox/acpid.initd
index 2e73b777bb..2e73b777bb 100644
--- a/main/busybox-initscripts/acpid.initd
+++ b/main/busybox/acpid.initd
diff --git a/main/busybox/busyboxconfig b/main/busybox/busyboxconfig
index ebf00edc78..0ff2d5e884 100644
--- a/main/busybox/busyboxconfig
+++ b/main/busybox/busyboxconfig
@@ -650,7 +650,7 @@ CONFIG_FEATURE_MDEV_RENAME=y
CONFIG_FEATURE_MDEV_RENAME_REGEXP=y
CONFIG_FEATURE_MDEV_EXEC=y
CONFIG_FEATURE_MDEV_LOAD_FIRMWARE=y
-# CONFIG_FEATURE_MDEV_DAEMON is not set
+CONFIG_FEATURE_MDEV_DAEMON=y
CONFIG_MESG=y
CONFIG_FEATURE_MESG_ENABLE_ONLY_GROUP=y
# CONFIG_MKE2FS is not set
diff --git a/main/busybox/busyboxconfig-extras b/main/busybox/busyboxconfig-extras
index 2d531b94f3..67b8237621 100644
--- a/main/busybox/busyboxconfig-extras
+++ b/main/busybox/busyboxconfig-extras
@@ -938,7 +938,7 @@ CONFIG_FAKEIDENTD=y
# CONFIG_SSL_CLIENT is not set
# CONFIG_TC is not set
# CONFIG_FEATURE_TC_INGRESS is not set
-# CONFIG_TCPSVD is not set
+CONFIG_TCPSVD=y
# CONFIG_UDPSVD is not set
CONFIG_TELNET=y
CONFIG_FEATURE_TELNET_TTYPE=y
diff --git a/main/busybox-initscripts/crond.confd b/main/busybox/crond.confd
index 542af1ed1d..542af1ed1d 100644
--- a/main/busybox-initscripts/crond.confd
+++ b/main/busybox/crond.confd
diff --git a/main/busybox-initscripts/crond.initd b/main/busybox/crond.initd
index afaf384acd..afaf384acd 100644
--- a/main/busybox-initscripts/crond.initd
+++ b/main/busybox/crond.initd
diff --git a/main/busybox/default.script b/main/busybox/default.script
index e2cd5218d6..fd66e830c6 100644
--- a/main/busybox/default.script
+++ b/main/busybox/default.script
@@ -120,7 +120,7 @@ resolvconf() {
echo "nameserver $i" >> "$RESOLV_CONF.$$"
done
chmod a+r "$RESOLV_CONF.$$"
- mv "$RESOLV_CONF.$$" "$RESOLV_CONF"
+ mv -f "$RESOLV_CONF.$$" "$RESOLV_CONF"
}
bound() {
diff --git a/main/busybox-initscripts/dnsd.initd b/main/busybox/dnsd.initd
index dc6ddb730b..dc6ddb730b 100644
--- a/main/busybox-initscripts/dnsd.initd
+++ b/main/busybox/dnsd.initd
diff --git a/main/busybox-initscripts/httpd.initd b/main/busybox/httpd.initd
index 001aeb5a38..001aeb5a38 100644
--- a/main/busybox-initscripts/httpd.initd
+++ b/main/busybox/httpd.initd
diff --git a/main/busybox-initscripts/inetd.initd b/main/busybox/inetd.initd
index 2f0c6fa316..2f0c6fa316 100644
--- a/main/busybox-initscripts/inetd.initd
+++ b/main/busybox/inetd.initd
diff --git a/main/busybox-initscripts/klogd.confd b/main/busybox/klogd.confd
index 100deedaac..100deedaac 100644
--- a/main/busybox-initscripts/klogd.confd
+++ b/main/busybox/klogd.confd
diff --git a/main/busybox-initscripts/klogd.initd b/main/busybox/klogd.initd
index 6f83ca1c30..6f83ca1c30 100644
--- a/main/busybox-initscripts/klogd.initd
+++ b/main/busybox/klogd.initd
diff --git a/main/busybox-initscripts/loadkmap.confd b/main/busybox/loadkmap.confd
index 2bdbc0608c..2bdbc0608c 100644
--- a/main/busybox-initscripts/loadkmap.confd
+++ b/main/busybox/loadkmap.confd
diff --git a/main/busybox-initscripts/loadkmap.initd b/main/busybox/loadkmap.initd
index 7149dd729e..7149dd729e 100644
--- a/main/busybox-initscripts/loadkmap.initd
+++ b/main/busybox/loadkmap.initd
diff --git a/main/busybox-initscripts/mdev.initd b/main/busybox/mdev.initd
index 9dbb994896..630d83777d 100644
--- a/main/busybox-initscripts/mdev.initd
+++ b/main/busybox/mdev.initd
@@ -1,39 +1,40 @@
#!/sbin/openrc-run
+description="the mdev device manager"
+
depend() {
provide dev
need sysfs dev-mount
before checkfs fsck
- keyword -vserver -lxc
+ keyword -containers -vserver -lxc
}
-start() {
- # check if udev is specified on cmd line
- if get_bootparam "udev"; then
- ewarn "Skipping mdev as udev requested in kernel cmdline"
- return 0
- fi
-
+_start_service () {
ebegin "Starting busybox mdev"
mkdir -p /dev
-
- # use mdev for hotplug
echo "/sbin/mdev" > /proc/sys/kernel/hotplug
-
+ eend $?
+}
+
+_start_coldplug () {
+ ebegin "Scanning hardware for mdev"
# mdev -s will not create /dev/usb[1-9] devices with recent kernels
- # so we trigger hotplug events for usb for now
+ # so we manually trigger events for usb
for i in $(find /sys/devices -name 'usb[0-9]*'); do
[ -e $i/uevent ] && echo add > $i/uevent
done
-
- # create devices
+ # trigger the rest of the coldplug
mdev -s
eend $?
}
+start() {
+ _start_service
+ _start_coldplug
+}
+
stop() {
ebegin "Stopping busybox mdev"
- echo "" > /proc/sys/kernel/hotplug
+ echo > /proc/sys/kernel/hotplug
eend
}
-
diff --git a/main/busybox-initscripts/ntpd.confd b/main/busybox/ntpd.confd
index c5b4c1c1d4..c5b4c1c1d4 100644
--- a/main/busybox-initscripts/ntpd.confd
+++ b/main/busybox/ntpd.confd
diff --git a/main/busybox-initscripts/ntpd.initd b/main/busybox/ntpd.initd
index ad738057da..ad738057da 100644
--- a/main/busybox-initscripts/ntpd.initd
+++ b/main/busybox/ntpd.initd
diff --git a/main/busybox-initscripts/rdate.confd b/main/busybox/rdate.confd
index 93c6786169..93c6786169 100644
--- a/main/busybox-initscripts/rdate.confd
+++ b/main/busybox/rdate.confd
diff --git a/main/busybox-initscripts/rdate.initd b/main/busybox/rdate.initd
index 708429f17b..708429f17b 100644
--- a/main/busybox-initscripts/rdate.initd
+++ b/main/busybox/rdate.initd
diff --git a/main/busybox-initscripts/syslog.confd b/main/busybox/syslog.confd
index 2f00667118..2f00667118 100644
--- a/main/busybox-initscripts/syslog.confd
+++ b/main/busybox/syslog.confd
diff --git a/main/busybox-initscripts/syslog.initd b/main/busybox/syslog.initd
index 629d86843b..629d86843b 100644
--- a/main/busybox-initscripts/syslog.initd
+++ b/main/busybox/syslog.initd
diff --git a/main/busybox-initscripts/udhcpd.initd b/main/busybox/udhcpd.initd
index 02c7620d27..02c7620d27 100644
--- a/main/busybox-initscripts/udhcpd.initd
+++ b/main/busybox/udhcpd.initd
diff --git a/main/busybox-initscripts/watchdog.confd b/main/busybox/watchdog.confd
index 5cfd2c2cc4..5cfd2c2cc4 100644
--- a/main/busybox-initscripts/watchdog.confd
+++ b/main/busybox/watchdog.confd
diff --git a/main/busybox-initscripts/watchdog.initd b/main/busybox/watchdog.initd
index 5b0435c920..5b0435c920 100644
--- a/main/busybox-initscripts/watchdog.initd
+++ b/main/busybox/watchdog.initd
diff --git a/main/bwm-ng/APKBUILD b/main/bwm-ng/APKBUILD
index f6878a9bcb..f70482bca8 100644
--- a/main/bwm-ng/APKBUILD
+++ b/main/bwm-ng/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=bwm-ng
pkgver=0.6.3
-pkgrel=0
+pkgrel=1
pkgdesc="A small and simple console-based live bandwidth monitor"
url="http://www.gropp.org/"
arch="all"
diff --git a/main/byacc/APKBUILD b/main/byacc/APKBUILD
index c8293b8524..97667bd2b5 100644
--- a/main/byacc/APKBUILD
+++ b/main/byacc/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Nathan Angelacos <nangel@alpinelinux.org>
pkgname=byacc
-pkgver=20220128
+pkgver=20221106
pkgrel=0
pkgdesc="The Berkeley Yacc general-purpose parser generator"
url="https://invisible-island.net/byacc/byacc.html"
@@ -30,5 +30,5 @@ package() {
}
sha512sums="
-e8ae4c56f5be4cc0ef1d281c43f02c6296fdc40f630269f2a61af511f270ae059ad185b9718190b8133018f7b74b7ca6f84ced5d63a359960b52ea2a3ef562ea byacc-20220128.tgz
+866933b4eb2296565ce70b4ade565e4679f3b652715f0066072bbcc42b95389fa47a2f96cd03de577807dcc49bf453b1d4f7e22b96c80fef1aa66898d3de5d5c byacc-20221106.tgz
"
diff --git a/main/byobu/APKBUILD b/main/byobu/APKBUILD
index 689a1cb4cc..82ee4a7fba 100644
--- a/main/byobu/APKBUILD
+++ b/main/byobu/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=byobu
pkgver=5.133
-pkgrel=1
+pkgrel=2
pkgdesc="An enhancement of the GNU Screen"
url="https://launchpad.net/byobu"
arch="noarch"
diff --git a/main/bzip2/APKBUILD b/main/bzip2/APKBUILD
index 1628eb8d0e..aa4153f12f 100644
--- a/main/bzip2/APKBUILD
+++ b/main/bzip2/APKBUILD
@@ -1,9 +1,9 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=bzip2
pkgver=1.0.8
-pkgrel=2
+pkgrel=4
pkgdesc="A high-quality data compression program"
-url="http://sources.redhat.com/bzip2"
+url="https://sourceware.org/bzip2/"
arch="all"
license="bzip2-1.0.6"
subpackages="$pkgname-static $pkgname-dev $pkgname-doc libbz2"
@@ -13,6 +13,7 @@ source="https://sourceware.org/pub/bzip2/bzip2-$pkgver.tar.gz
bzip2-1.0.2-progress.patch
bzip2-1.0.3-no-test.patch
saneso.patch
+ bzip2.pc.in
"
# secfixes:
@@ -51,6 +52,10 @@ package() {
install -D libbz2.so.$pkgver "$pkgdir"/usr/lib/libbz2.so.$pkgver
ln -s libbz2.so.$pkgver "$pkgdir"/usr/lib/libbz2.so
ln -s libbz2.so.$pkgver "$pkgdir"/usr/lib/libbz2.so.${pkgver%%.*}
+
+ mkdir -p "$pkgdir"/usr/lib/pkgconfig/
+ sed "s|@VERSION@|$pkgver|" "$srcdir"/bzip2.pc.in \
+ > "$pkgdir"/usr/lib/pkgconfig/bzip2.pc
}
libbz2() {
@@ -59,9 +64,12 @@ libbz2() {
mv "$pkgdir"/usr/lib/*.so.* "$subpkgdir"/usr/lib/
}
-sha512sums="083f5e675d73f3233c7930ebe20425a533feedeaaa9d8cc86831312a6581cefbe6ed0d08d2fa89be81082f2a5abdabca8b3c080bf97218a1bd59dc118a30b9f3 bzip2-1.0.8.tar.gz
-58cc37430555520b6e35db2740e699cf37eacdd82989c21a222a593e36288710a0defb003662d4238235c12b3764bfc89cd646e6be9d0a08d54bd2c9baa6ad15 bzip2-1.0.4-makefile-CFLAGS.patch
+sha512sums="
+083f5e675d73f3233c7930ebe20425a533feedeaaa9d8cc86831312a6581cefbe6ed0d08d2fa89be81082f2a5abdabca8b3c080bf97218a1bd59dc118a30b9f3 bzip2-1.0.8.tar.gz
+d0430ae96d7a2d4e658a101c84262ba11048e3e3110ae9d7855b36792abc7827c0daba3cdcdec629130a9d3beb128052de458242e494a35962e903e50eddfe45 bzip2-1.0.4-makefile-CFLAGS.patch
2d9a306bc0f552a58916ebc702d32350a225103c487e070d2082121a54e07f1813d3228f43293cc80a4bee62053fd597294c99a1751b1685cd678f4e5c6a2fe7 bzip2-1.0.4-man-links.patch
b6810c73428f17245e0d7c2decd00c88986cd8ad1cfe4982defe34bdab808d53870ed92cb513b2d00c15301747ceb6ca958fb0e0458d0663b7d8f7c524f7ba4e bzip2-1.0.2-progress.patch
aefcafaaadc7f19b20fe023e0bd161127b9f32e0cd364621f6e5c03e95fb976e7e69e354ec46673a554392519532a3bfe56d982a5cde608c10e0b18c3847a030 bzip2-1.0.3-no-test.patch
-dd624110ce06426d2990ad1de96f5b6a2790c599030fb8848e26b64aa847cf956806f7a539fe61c6005d99bfc135920fc704f274862d2557ab1861adb7391d45 saneso.patch"
+dd624110ce06426d2990ad1de96f5b6a2790c599030fb8848e26b64aa847cf956806f7a539fe61c6005d99bfc135920fc704f274862d2557ab1861adb7391d45 saneso.patch
+e17c6f8f88a89d38667a68cd1397c863663c7996a9f18481f3f6ed35902044220c01e5fe19f114159fceac068a4dd32c2ddc903f0d0901cdf722c841dd9f2b93 bzip2.pc.in
+"
diff --git a/main/bzip2/bzip2-1.0.4-makefile-CFLAGS.patch b/main/bzip2/bzip2-1.0.4-makefile-CFLAGS.patch
index cf146188c3..6acdc28a10 100644
--- a/main/bzip2/bzip2-1.0.4-makefile-CFLAGS.patch
+++ b/main/bzip2/bzip2-1.0.4-makefile-CFLAGS.patch
@@ -8,7 +8,7 @@
BIGFILES=-D_FILE_OFFSET_BITS=64
-CFLAGS=-Wall -Winline -O2 -g $(BIGFILES)
-+CFLAGS+=-Wall -Winline $(BIGFILES) $(CPPFLAGS)
++CFLAGS+=-Wall -Winline $(BIGFILES) $(CPPFLAGS) -O2
# Where you want it installed when you do 'make install'
PREFIX=/usr/local
@@ -19,7 +19,7 @@
CC=gcc
BIGFILES=-D_FILE_OFFSET_BITS=64
-CFLAGS=-fpic -fPIC -Wall -Winline -O2 -g $(BIGFILES)
-+CFLAGS+=-fpic -fPIC -Wall -Winline $(BIGFILES) $(CPPFLAGS)
++CFLAGS+=-fpic -fPIC -Wall -Winline $(BIGFILES) $(CPPFLAGS) -O2
OBJS= blocksort.o \
huffman.o \
diff --git a/main/bzip2/bzip2.pc.in b/main/bzip2/bzip2.pc.in
new file mode 100644
index 0000000000..a4dd68259c
--- /dev/null
+++ b/main/bzip2/bzip2.pc.in
@@ -0,0 +1,11 @@
+prefix=/usr
+exec_prefix=/usr
+bindir=${exec_prefix}/bin
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: bzip2
+Description: A file compression library
+Version: @VERSION@
+Libs: -L${libdir} -lbz2
+Cflags: -I${includedir}
diff --git a/main/c-ares/APKBUILD b/main/c-ares/APKBUILD
index adf9d6de25..51135cabaa 100644
--- a/main/c-ares/APKBUILD
+++ b/main/c-ares/APKBUILD
@@ -2,13 +2,13 @@
# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org>
pkgname=c-ares
pkgver=1.18.1
-pkgrel=0
+pkgrel=1
pkgdesc="An asynchronously DNS/names resolver library"
url="https://c-ares.haxx.se/"
arch="all"
-options="!check"
license="MIT"
-subpackages="$pkgname-doc $pkgname-static $pkgname-dev"
+subpackages="$pkgname-doc $pkgname-dev $pkgname-utils"
+makedepends="cmake samurai"
source="https://c-ares.haxx.se/download/c-ares-$pkgver.tar.gz"
# secfixes:
@@ -16,28 +16,31 @@ source="https://c-ares.haxx.se/download/c-ares-$pkgver.tar.gz"
# - CVE-2021-3672
build() {
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --enable-shared
- make
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
+ cmake -B build \
+ -GNinja \
+ -DCMAKE_BUILD_TYPE=MinSizeRel \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCARES_BUILD_TESTS=ON \
+ $CMAKE_CROSSOPTS
+
+ cmake --build build
}
check() {
- # This is only needed for < 1.14.0, where the .sh file was not
- # distributed properly - see https://da.gd/carestest
- echo "#!/bin/true" > test/fuzzcheck.sh
- chmod a+x test/fuzzcheck.sh
-
- make -C test check
+ ctest --output-on-failure --test-dir build -E "arestest"
}
package() {
- make -j1 DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" cmake --install build
+}
+
+utils() {
+ pkgdesc="Utilities for c-ares"
+ amove usr/bin/*
}
sha512sums="
diff --git a/main/cairo/APKBUILD b/main/cairo/APKBUILD
index 5b075754c3..234b0ebce8 100644
--- a/main/cairo/APKBUILD
+++ b/main/cairo/APKBUILD
@@ -1,14 +1,14 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cairo
pkgver=1.17.6
-pkgrel=2
+pkgrel=3
pkgdesc="A vector graphics library"
url="https://cairographics.org/"
arch="all"
options="!check" # Recursive dependency on gtk+2.0 for check.
license="LGPL-2.0-or-later MPL-1.1"
depends_dev="
- $pkgname-tools
+ $pkgname-tools=$pkgver-r$pkgrel
fontconfig-dev
freetype-dev
libxext-dev
@@ -16,7 +16,8 @@ depends_dev="
pixman-dev
xcb-util-dev
"
-makedepends="$depends_dev
+makedepends="
+ $depends_dev
expat-dev
glib-dev
gtk-doc
@@ -36,7 +37,6 @@ source="https://gitlab.freedesktop.org/cairo/cairo/-/archive/$pkgver/cairo-$pkgv
musl-stacksize.patch
fix-type1-subset-indexing.patch
"
-builddir="$srcdir/$pkgname-$pkgver"
# secfixes:
# 1.17.4-r1:
@@ -48,14 +48,16 @@ builddir="$srcdir/$pkgname-$pkgver"
build() {
abuild-meson \
+ -Db_lto=true \
-Ddefault_library=both \
-Dgtk_doc=true \
- output
+ -Dtests="$(want_check && echo enabled || echo disabled)" \
+ . output
meson compile ${JOBS:+-j ${JOBS}} -C output
}
check() {
- meson test --no-rebuild -v -C output
+ meson test --no-rebuild --print-errorlogs -C output
}
package() {
diff --git a/main/ccache/APKBUILD b/main/ccache/APKBUILD
index a126d2afba..f8ce2d4f65 100644
--- a/main/ccache/APKBUILD
+++ b/main/ccache/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ccache
-pkgver=4.6.1
+pkgver=4.7.4
pkgrel=0
pkgdesc="fast C/C++ compiler cache"
url="https://ccache.dev/"
@@ -20,7 +20,6 @@ checkdepends="bash util-linux-misc python3 redis"
subpackages="$pkgname-doc"
source="https://github.com/ccache/ccache/releases/download/v$pkgver/ccache-$pkgver.tar.xz
ioctl.patch
- gcc12.patch
"
# XXX: https://github.com/ccache/ccache/issues/1014
@@ -38,8 +37,12 @@ build() {
check() {
case $CARCH in
- armhf) echo "SKIP make -C build test on $CARCH" ;;
- *) ninja -C build test ;;
+ armhf)
+ echo "SKIP make -C build test on $CARCH"
+ ;;
+ *)
+ ctest -j4 --output-on-failure --test-dir build
+ ;;
esac
}
@@ -57,7 +60,6 @@ package() {
}
sha512sums="
-361427ccecd74e8c25ca6a98ef3d3c125d81862196767eb383f6f8159fed8e1695cd5bc8731cb591c23c55352f0114a088b32a673717711efbfbb178a6c08c82 ccache-4.6.1.tar.xz
+48c663b51e874cfbd8daf0ef9759d025c2605c36da47ebbc77b52ceb941b810436600429f74204f13e2e2e601af6186a4bdb992f8da239f88cb9df4c6c95d58f ccache-4.7.4.tar.xz
785ce34305a3bb6c24117341157356c2bd2272eca9d58fa20acd14a023abe6f784c88d9c55656d2f37320392bb73a61c52cd8b6bd9ac7c5316c8ed187dd6f5fb ioctl.patch
-418f5a7ccf1fe7a9ea360fc33085f8b63390612f39db1e3b25ad089829b94f44c80485cbf3d5f2eb530a7a455dd9ee8e48a796f51dd82c388391cf39b040a94f gcc12.patch
"
diff --git a/main/ccache/gcc12.patch b/main/ccache/gcc12.patch
deleted file mode 100644
index 96edc1066e..0000000000
--- a/main/ccache/gcc12.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/src/core/Statistics.hpp b/src/core/Statistics.hpp
-index 3e9ed81..0017f20 100644
---- a/src/core/Statistics.hpp
-+++ b/src/core/Statistics.hpp
-@@ -20,6 +20,7 @@
-
- #include <core/StatisticsCounters.hpp>
-
-+#include <ctime>
- #include <string>
- #include <unordered_map>
- #include <vector>
diff --git a/main/cciss_vol_status/APKBUILD b/main/cciss_vol_status/APKBUILD
index 56abfcf517..de1a2e5eaa 100644
--- a/main/cciss_vol_status/APKBUILD
+++ b/main/cciss_vol_status/APKBUILD
@@ -1,9 +1,9 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cciss_vol_status
pkgver=1.12a
-pkgrel=0
+pkgrel=1
pkgdesc="Drivers for the HP (previously Compaq) Smart Array controllers which provide hardware RAID capability"
-url="http://cciss.sourceforge.net/"
+url="https://cciss.sourceforge.net/"
arch="all"
license="GPL-2.0-or-later"
makedepends="linux-headers"
diff --git a/main/cdparanoia/APKBUILD b/main/cdparanoia/APKBUILD
index 2d1c905184..57ecc5992f 100644
--- a/main/cdparanoia/APKBUILD
+++ b/main/cdparanoia/APKBUILD
@@ -2,15 +2,15 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cdparanoia
pkgver=10.2
-pkgrel=10
+pkgrel=11
pkgdesc="An audio CD extraction application"
-url="http://www.xiph.org/paranoia"
+url="https://www.xiph.org/paranoia"
arch="all"
options="!check" # Build system has test suite commented out.
license="LGPL-2.0-or-later"
makedepends="libtool autoconf automake linux-headers"
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
-source="http://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-$pkgver.src.tgz
+source="https://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-$pkgver.src.tgz
gcc.patch
fix-includes.patch"
builddir="$srcdir/$pkgname-III-$pkgver"
diff --git a/main/check/APKBUILD b/main/check/APKBUILD
index f41e34a8ed..ad96d12724 100644
--- a/main/check/APKBUILD
+++ b/main/check/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=check
pkgver=0.15.2
-pkgrel=0
+pkgrel=1
pkgdesc="A unit test framework for C"
url="https://libcheck.github.io/check/"
arch="all"
diff --git a/main/chrony/APKBUILD b/main/chrony/APKBUILD
index 1b2791e0c7..aa61416a00 100644
--- a/main/chrony/APKBUILD
+++ b/main/chrony/APKBUILD
@@ -2,7 +2,7 @@
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=chrony
-pkgver=4.2
+pkgver=4.3
pkgrel=0
pkgdesc="NTP client and server programs"
url="https://chrony.tuxfamily.org"
@@ -15,7 +15,6 @@ makedepends="asciidoctor libcap-dev texinfo nettle-dev gnutls-dev"
checkdepends="bash"
subpackages="$pkgname-doc $pkgname-openrc"
source="https://download.tuxfamily.org/chrony/chrony-$pkgver.tar.gz
- fix-tests.patch
max_resolve_interval.patch
chronyd.confd
@@ -80,8 +79,7 @@ package() {
}
sha512sums="
-7f946b27de605b3ebea62cf23916dfad77c99e8b2338ba239ede6b8216ce436b3d4d87770f371c8d8e006507c51d5c831b51f067957abd2935adfdec3f5aa67d chrony-4.2.tar.gz
-067d47224a8c075ec8f63ffc58e65b030fdf228a72c4f03d50a2f2c17414da65bb5d27c7c2e4ba99e909f452041db83eaebe3c9e34c0c8fce18e05ebb489735e fix-tests.patch
+1394bac3ed684352fe89b7fef7da50e61f9f522abee807627ae1fc4c2dde891017bc8e5b13759fced028f3a1e875d5e4e5a4f85de65c63b5f83d0ca03bb4c5df chrony-4.3.tar.gz
b26581ed32680585edea5b8163a0062a87f648394c0f363c77a7d01a36608fcf4d005d9e6ab179ed2827b8a08f598f7bad4801bb5e135cad5107eb77fb19b247 max_resolve_interval.patch
c1ce577ed1af9f3d88a6a2880a4834ae0c6a7f45870d9396d2aacd7716eb8de346ce458e1a45fdd48b1e8b8f5cd3afcba9534ac47fedb517604c9d910a342fac chronyd.confd
1501161812ad12679d47a1b671d2ddbe94ec5825d5e225729057abc3b8869cb813acd8bdd7adaba0cd786afdf04280228e327a3b83f89a11d06bf3cb826c5269 chronyd.initd
diff --git a/main/chrony/fix-tests.patch b/main/chrony/fix-tests.patch
deleted file mode 100644
index 6291fb0469..0000000000
--- a/main/chrony/fix-tests.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -upr chrony-3.2.orig/test/unit/test.c chrony-3.2/test/unit/test.c
---- chrony-3.2.orig/test/unit/test.c 2017-11-29 11:32:23.610059580 +0100
-+++ chrony-3.2/test/unit/test.c 2017-11-29 11:32:51.213742887 +0100
-@@ -23,6 +23,8 @@
- #include <logging.h>
- #include <localp.h>
-
-+#include <sys/param.h>
-+
- #include "test.h"
-
- void
diff --git a/main/cifs-utils/APKBUILD b/main/cifs-utils/APKBUILD
index 03ccae8f85..0618751fb1 100644
--- a/main/cifs-utils/APKBUILD
+++ b/main/cifs-utils/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=cifs-utils
-pkgver=6.15
+pkgver=7.0
pkgrel=0
pkgdesc="CIFS filesystem user-space tools"
url="https://wiki.samba.org/index.php/LinuxCIFS_utils"
@@ -50,7 +50,7 @@ package() {
}
sha512sums="
-eedb8066563db584595a8ba7cb7a603e6b763ac2c1261430d605c327fcc5a831acd48b58ea55dd243af778dfdc827ab8c6daf4015764ff550dcffc2182773510 cifs-utils-6.15.tar.bz2
+4c57741af0c4567a78f352c73caca998881666a5ed36536275cfa775efd66ff1a44ebe539a8ed96c409c5b08a1378266964ce667a27e9fc7f2d43999c63dd0eb cifs-utils-7.0.tar.bz2
99a2fab05bc2f14a600f89526ae0ed2c183cfa179fe386cb327075f710aee3aed5ae823f7c2f51913d1217c2371990d6d4609fdb8d80288bd3a6139df3c8aebe musl-fix-includes.patch
2a9366ec1ddb0389c535d2fa889f63287cb8374535a47232de102c7e50b6874f67a3d5ef3318df23733300fd8459c7ec4b11f3211508aca7800b756119308e98 xattr_size_max.patch
"
diff --git a/main/ciwiki/APKBUILD b/main/ciwiki/APKBUILD
index aa2ebc8802..bbe6d2d354 100644
--- a/main/ciwiki/APKBUILD
+++ b/main/ciwiki/APKBUILD
@@ -1,10 +1,10 @@
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=ciwiki
-pkgver=2.0.5
-pkgrel=2
+pkgver=2.0.8
+pkgrel=1
pkgdesc="personal lightweight wiki written in C"
-url="http://ciwiki.sourceforge.net/"
+url="https://ciwiki.sourceforge.net/"
arch="all"
license="GPL-2.0-or-later"
options="!check"
@@ -28,5 +28,7 @@ package() {
}
-sha512sums="ce4aefb8fa7cc0630b1d1841260452d50f762a8c8b3e8da1fb0c878cada9ccfc1824d1e20004db8bc8f9c77a0658879e3fa97c4914e73618b404937fb5ea1c29 ciwiki-2.0.5.tar.gz
-d6843ea7a757ad3ebc59f550c8fbebe5c12ddf7345f31c5cac9aca3929f263264d9eb6dbc48c0edb107e2d122b299017da94bf6909a5db565b7a7872ff415ea3 gcc-10.patch"
+sha512sums="
+0686f01837add6d88f21e4f8f81e719515909515274ca7a91032eeaf3cf06b43a0cac6aaff69e088032652646b3602be1f970145a76fb96e05a9fe6fc7b1757d ciwiki-2.0.8.tar.gz
+c023a1e94e5a69c42640b9b0f3cf9ded4201f8116eb815c73cdd93718abe75d5d1e5d8875112acb8fc789664f6fdbcdedd054525185d983c5fec0d34bb0fe3d3 gcc-10.patch
+"
diff --git a/main/ciwiki/gcc-10.patch b/main/ciwiki/gcc-10.patch
index 52aaf26142..9d09f06447 100644
--- a/main/ciwiki/gcc-10.patch
+++ b/main/ciwiki/gcc-10.patch
@@ -1,15 +1,12 @@
Upstream: Should be
Reason: Fixes compilation under gcc-10
-diff --git a/src/wiki.c b/src/wiki.c
-index cb88f72..b2be314 100755
--- a/src/wiki.c
+++ b/src/wiki.c
-@@ -29,8 +29,7 @@ extern int upload_status;
- extern int lgindex;
+@@ -30,7 +30,7 @@ extern int lgindex;
extern int Exec_allowed;
extern int Upload_allowed;
--
+
-int loginform;
+extern int loginform;
diff --git a/main/ckbcomp/APKBUILD b/main/ckbcomp/APKBUILD
index 45013c01a0..b826572d91 100644
--- a/main/ckbcomp/APKBUILD
+++ b/main/ckbcomp/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ckbcomp
-pkgver=1.209
+pkgver=1.210
pkgrel=0
pkgdesc="Compile a XKB keyboard description to a keymap"
url="https://salsa.debian.org/installer-team/console-setup"
@@ -18,5 +18,5 @@ package() {
}
sha512sums="
-4297da451b3efab1b29f83095c1e57e5094f37759581cea9e51d1974f138b9b1700bca9f05a27434345c238e32cea8b8d0f143b79b91059b41b44b87b036eafb console-setup-1.209.tar.gz
+8e4e4eab1406870a7894955f5d03a927f2f1a0d288284decd812c8d44204abbec1a6713a203d750c096b778adf6c7dd6aa1e7ed0a58a25f903035a64180b6aa1 console-setup-1.210.tar.gz
"
diff --git a/main/cksfv/APKBUILD b/main/cksfv/APKBUILD
index a783d2bb5e..d1a5552b76 100644
--- a/main/cksfv/APKBUILD
+++ b/main/cksfv/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org>
pkgname=cksfv
pkgver=1.3.15
-pkgrel=1
+pkgrel=2
pkgdesc="Simple File Verification"
url="http://zakalwe.fi/~shd/foss/cksfv"
arch="all"
diff --git a/main/clang/APKBUILD b/main/clang/APKBUILD
deleted file mode 100644
index 323a03bb87..0000000000
--- a/main/clang/APKBUILD
+++ /dev/null
@@ -1,171 +0,0 @@
-# Contributor Eric Molitor <eric@molitor.org>
-# Contributor Patrick Gansterer <paroga@paroga.com>
-# Contributor Travis Tilley <ttilley@gmail.com>
-# Contributor omni <omni+alpine@hack.org>
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-pkgname=clang
-# Note: Update together with llvm.
-pkgver=14.0.6
-pkgrel=1
-_llvmver=${pkgver%%.*}
-pkgdesc="A C language family front-end for LLVM"
-arch="all"
-url="https://llvm.org/"
-license="Apache-2.0"
-options="!check" # fail to build
-makedepends="
- cmake
- libxml2-dev
- libxml2-utils
- llvm$_llvmver-dev
- llvm$_llvmver-static
- llvm$_llvmver-test-utils
- samurai
- py3-sphinx
- python3
- pythonispython3
- "
-checkdepends="diffutils bash gtest-dev"
-depends_dev="$pkgname=$pkgver-r$pkgrel $pkgname-extra-tools=$pkgver-r$pkgrel"
-subpackages="$pkgname-static $pkgname-doc $pkgname-libs
- $pkgname-analyzer::noarch
- $pkgname-dev
- $pkgname-extra-tools:extra
- py3-$pkgname:python:noarch
- "
-source="https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver/clang-$pkgver.src.tar.xz
- https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver/clang-tools-extra-$pkgver.src.tar.xz
- 10-add-musl-triples.patch
- 30-Enable-stack-protector-by-default-for-Alpine-Linux.patch
- llvm-hello.patch
- "
-builddir="$srcdir/clang-$pkgver.src"
-
-prepare() {
- mv "$srcdir/clang-tools-extra-$pkgver.src" "$builddir/tools/extra"
- default_prepare
-}
-
-build() {
- python_version=$(python3 -V | sed 's/.*\([0-9]\{1,\}\.[0-9]\{1,\}\)\..*/\1/')
-
- # NOTE: DO NOT change CMAKE_BUILD_TYPE! Buildmodes like None will enable
- # debug assertions for LLVM!
- cmake -B build -G Ninja -Wno-dev \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_EXE_LINKER_FLAGS="$LDFLAGS -Wl,-z,stack-size=2097152" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCLANG_VENDOR=Alpine \
- -DCLANG_BUILD_EXAMPLES=OFF \
- -DCLANG_INCLUDE_DOCS=ON \
- -DCLANG_PYTHON_BINDINGS_VERSIONS="$python_version" \
- -DLLVM_BUILD_DOCS=ON \
- -DLLVM_ENABLE_SPHINX=OFF \
- -DSPHINX_WARNINGS_AS_ERRORS=OFF \
- -DCLANG_INCLUDE_TESTS="$(want_check && echo ON || echo OFF)" \
- -DCLANG_PLUGIN_SUPPORT=ON \
- -DLIBCLANG_BUILD_STATIC=ON \
- -DLLVM_ENABLE_EH=ON \
- -DLLVM_ENABLE_RTTI=ON \
- -DCLANG_BUILT_STANDALONE=ON
-
- ninja -C build clang-tblgen
- ninja -C build
-}
-
-check() {
- ninja -C build check-all
-}
-
-package() {
- DESTDIR="$pkgdir" ninja -C build install
- install -Dm644 build/lib/libclang.a -t "$pkgdir"/usr/lib/
-}
-
-dev() {
- default_dev
-
- # move back usr/lib/clang/x.y.z/include with files such as altivec.h, msa.h etc
- # these are needed to build programs *with* clang, not *against* it.
- mv "$subpkgdir"/usr/lib/clang "$pkgdir"/usr/lib/
-}
-
-analyzer() {
- pkgdesc="Clang source code analysis framework"
- depends="$pkgname=$pkgver-r$pkgrel perl python3"
-
- amove \
- usr/bin/scan* \
- usr/bin/analyze-build \
- usr/bin/intercept-build \
- usr/libexec/*-analyzer \
- usr/libexec/analyze-* \
- usr/libexec/intercept-* \
- usr/share/scan-* \
- usr/lib/libear
-}
-
-extra() {
- pkgdesc="Extra tools built using Clang’s tooling APIs"
-
- cd "$pkgdir"
-
- install -dm0755 \
- "$subpkgdir"/usr/share/emacs/site-lisp
-
- # FIXME: Make sure this is the right list of binaries for -extra-tools
- amove \
- usr/bin/clang-apply-replacements \
- usr/bin/clang-change-namespace \
- usr/bin/clang-check \
- usr/bin/clang-doc \
- usr/bin/clang-extdef-mapping \
- usr/bin/clang-format \
- usr/bin/clang-include-fixer \
- usr/bin/clang-move \
- usr/bin/clang-offload-bundler \
- usr/bin/clang-offload-wrapper \
- usr/bin/clang-query \
- usr/bin/clang-refactor \
- usr/bin/clang-rename \
- usr/bin/clang-reorder-fields \
- usr/bin/clang-repl \
- usr/bin/clang-scan-deps \
- usr/bin/clang-tidy \
- usr/bin/clangd* \
- usr/bin/c-index-test \
- usr/bin/diagtool \
- usr/bin/find-all-symbols \
- usr/bin/git-clang-format \
- usr/bin/hmaptool \
- usr/bin/modularize \
- usr/bin/pp-trace \
- usr/bin/run-clang-tidy \
- usr/share/clang/clang-include-fixer* \
- usr/share/clang/clang-format*.py \
- usr/share/clang/*clang-tidy* \
- usr/share/clang/run-find-all-symbols.py
-
- mv usr/share/clang/clang-*.el \
- "$subpkgdir"/usr/share/emacs/site-lisp
-}
-
-python() {
- pkgdesc="Clang Python Bindings"
- depends="$pkgname-libs=$pkgver-r$pkgrel python3"
-
- local sitedir=$(python3 -c "import site; print(site.getsitepackages()[0])")
-
- amove usr/lib/python*
-
- # actually a python module..
- mv "$pkgdir"/usr/lib/libscanbuild "$subpkgdir"/"$sitedir"
-}
-
-sha512sums="
-5f5497b57dd116225e90f321902f1015beb50c0b1bb90d0fc6c026f13aa748feabe44f98eb75e86f98f3b1785ad5e850210732f3eae75b942ecd520527dcd30b clang-14.0.6.src.tar.xz
-b55fd9872e52a27599e27fa665cf39af3d172814c0e7246ea0e57286e9eea42bf816f8b6d350334f3fe5e2fae35a8e59d59e71a3a5de330ecb0622ef7655e63f clang-tools-extra-14.0.6.src.tar.xz
-5809d931656cac13b91bc91aac63df072b0403708ac718bf01546d9d520ff2c4163ee11411439dce5bb683a3bfa044b62443b6f66a1419c9086d20e79a018071 10-add-musl-triples.patch
-b9b5529bcf460767796ddbc6f7d8c479b62d63c74d39297b3c7c79a2f6898272ac52a2f2d1ea2bd601e869cecf23c0cd69fbcd613b8c6299b14a1be8203fd089 30-Enable-stack-protector-by-default-for-Alpine-Linux.patch
-e49ac24ebbd2922374c8f0562ef5ba40f481bfc9531303ff391c43d1e0306df360f1bc0e94093521d278ed33662defacf6e7ce644482fb0150259b20f44bba77 llvm-hello.patch
-"
diff --git a/main/clang/llvm-hello.patch b/main/clang/llvm-hello.patch
deleted file mode 100644
index b5cd37a3ed..0000000000
--- a/main/clang/llvm-hello.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-Taken from https://reviews.llvm.org/D120301
-
-diff --git a/tools/extra/test/CMakeLists.txt b/tools/extra/test/CMakeLists.txt
---- a/tools/extra/test/CMakeLists.txt
-+++ b/tools/extra/test/CMakeLists.txt
-@@ -15,10 +15,15 @@
-
- string(REPLACE ${CMAKE_CFG_INTDIR} ${LLVM_BUILD_MODE} CLANG_TOOLS_DIR ${LLVM_RUNTIME_OUTPUT_INTDIR})
-
-+if (TARGET LLVMHello)
-+ set (LLVM_HAS_LLVM_HELLO 1)
-+endif()
-+
- llvm_canonicalize_cmake_booleans(
- CLANG_TIDY_ENABLE_STATIC_ANALYZER
- CLANG_PLUGIN_SUPPORT
- LLVM_INSTALL_TOOLCHAIN_ONLY
-+ LLVM_HAS_LLVM_HELLO
- )
-
- configure_lit_site_cfg(
-@@ -97,7 +102,10 @@
- endif()
-
- if(TARGET CTTestTidyModule)
-- list(APPEND CLANG_TOOLS_TEST_DEPS CTTestTidyModule LLVMHello)
-+ list(APPEND CLANG_TOOLS_TEST_DEPS CTTestTidyModule)
-+ if (TARGET LLVMHello)
-+ list(APPEND CLANG_TOOLS_TEST_DEPS CTTestTidyModule)
-+ endif()
- target_include_directories(CTTestTidyModule PUBLIC BEFORE "${CLANG_TOOLS_SOURCE_DIR}")
- if(CLANG_PLUGIN_SUPPORT AND (WIN32 OR CYGWIN))
- set(LLVM_LINK_COMPONENTS
-diff --git a/tools/extra/test/clang-tidy/CTTestTidyModule.cpp b/tools/extra/test/clang-tidy/CTTestTidyModule.cpp
---- a/tools/extra/test/clang-tidy/CTTestTidyModule.cpp
-+++ b/tools/extra/test/clang-tidy/CTTestTidyModule.cpp
-@@ -1,4 +1,4 @@
--// REQUIRES: plugins
-+// REQUIRES: plugins, llvm-hello
- // RUN: clang-tidy -checks='-*,mytest*' --list-checks -load %llvmshlibdir/CTTestTidyModule%pluginext -load %llvmshlibdir/LLVMHello%pluginext | FileCheck --check-prefix=CHECK-LIST %s
- // CHECK-LIST: Enabled checks:
- // CHECK-LIST-NEXT: mytest1
-diff --git a/tools/extra/test/lit.cfg.py b/tools/extra/test/lit.cfg.py
---- a/tools/extra/test/lit.cfg.py
-+++ b/tools/extra/test/lit.cfg.py
-@@ -155,3 +155,6 @@
- # Plugins (loadable modules)
- if config.has_plugins and config.llvm_plugin_ext:
- config.available_features.add('plugins')
-+
-+if config.has_llvm_hello:
-+ config.available_features.add("llvm-hello")
-diff --git a/tools/extra/test/lit.site.cfg.py.in b/tools/extra/test/lit.site.cfg.py.in
---- a/tools/extra/test/lit.site.cfg.py.in
-+++ b/tools/extra/test/lit.site.cfg.py.in
-@@ -13,6 +13,7 @@
- config.target_triple = "@TARGET_TRIPLE@"
- config.clang_tidy_staticanalyzer = @CLANG_TIDY_ENABLE_STATIC_ANALYZER@
- config.has_plugins = @CLANG_PLUGIN_SUPPORT@ & ~@LLVM_INSTALL_TOOLCHAIN_ONLY@
-+config.has_llvm_hello = @LLVM_HAS_LLVM_HELLO@
-
- # Support substitution of the tools and libs dirs with user parameters. This is
- # used when we can't determine the tool dir at configuration time.
diff --git a/main/clang/10-add-musl-triples.patch b/main/clang14/10-add-musl-triples.patch
index 0ed9c81675..0ed9c81675 100644
--- a/main/clang/10-add-musl-triples.patch
+++ b/main/clang14/10-add-musl-triples.patch
diff --git a/main/clang/30-Enable-stack-protector-by-default-for-Alpine-Linux.patch b/main/clang14/30-Enable-stack-protector-by-default-for-Alpine-Linux.patch
index bae4532c16..bae4532c16 100644
--- a/main/clang/30-Enable-stack-protector-by-default-for-Alpine-Linux.patch
+++ b/main/clang14/30-Enable-stack-protector-by-default-for-Alpine-Linux.patch
diff --git a/main/clang14/APKBUILD b/main/clang14/APKBUILD
new file mode 100644
index 0000000000..d4d81cdd78
--- /dev/null
+++ b/main/clang14/APKBUILD
@@ -0,0 +1,235 @@
+# Contributor Eric Molitor <eric@molitor.org>
+# Contributor Patrick Gansterer <paroga@paroga.com>
+# Contributor Travis Tilley <ttilley@gmail.com>
+# Contributor omni <omni+alpine@hack.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=clang14
+pkgver=14.0.6
+pkgrel=1
+_llvmver=${pkgver%%.*}
+pkgdesc="A C language family front-end for LLVM"
+arch="all"
+url="https://llvm.org/"
+license="Apache-2.0"
+options="!check" # fail to build
+makedepends="
+ cmake
+ help2man
+ libxml2-dev
+ llvm$_llvmver-dev
+ llvm$_llvmver-static
+ llvm$_llvmver-test-utils
+ samurai
+ python3
+ "
+checkdepends="diffutils bash gtest-dev"
+depends_dev="$pkgname=$pkgver-r$pkgrel"
+subpackages="
+ $pkgname-static
+ $pkgname-libclang
+ $pkgname-libs
+ $pkgname-dev
+ "
+source="https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver/clang-$pkgver.src.tar.xz
+ 10-add-musl-triples.patch
+ 30-Enable-stack-protector-by-default-for-Alpine-Linux.patch
+ "
+builddir="$srcdir/clang-$pkgver.src"
+
+# Whether is this package the default (latest) clang version.
+_default_clang="no"
+
+if [ "$_default_clang" = yes ]; then
+ provides="clang=$pkgver-r$pkgrel"
+ replaces="clang"
+ depends_dev="$depends_dev $pkgname-extra-tools=$pkgver-r$pkgrel"
+fi
+
+build() {
+ local python_version=$(python3 -V | sed 's/.*\([0-9]\{1,\}\.[0-9]\{1,\}\)\..*/\1/')
+
+ if [ $_default_clang = yes ]; then
+ local extras=ON
+ else
+ local extras=OFF
+ fi
+
+ cmake -B build -G Ninja -Wno-dev \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_MODULE_PATH="$srcdir/cmake-$pkgver.src/Modules" \
+ -DCLANG_BUILT_STANDALONE=ON \
+ -DCLANG_ENABLE_ARCMT=$extras \
+ -DCLANG_ENABLE_STATIC_ANALYZER=$extras \
+ -DCLANG_INCLUDE_TESTS="$(want_check && echo ON || echo OFF)" \
+ -DCLANG_LINK_CLANG_DYLIB=ON \
+ -DCLANG_PLUGIN_SUPPORT=ON \
+ -DCLANG_PYTHON_BINDINGS_VERSIONS="$python_version" \
+ -DCLANG_VENDOR=Alpine \
+ -DENABLE_LINKER_BUILD_ID=ON \
+ -DLIBCLANG_BUILD_STATIC=ON
+
+ ninja -C build clang-tblgen
+ ninja -C build
+
+ help2man --no-info \
+ --source "Alpine" \
+ --name "Alpine Clang $pkgver-r$pkgrel" \
+ --version-string "$pkgver-r$pkgrel" \
+ --help-option "--help-hidden" \
+ ./build/bin/clang > clang.1
+}
+
+check() {
+ ninja -C build check-all
+}
+
+package() {
+ depends="libstdc++-dev"
+
+ DESTDIR="$pkgdir" ninja -C build install
+
+ install -Dm644 build/lib/libclang.a -t "$pkgdir"/usr/lib/llvm$_llvmver/lib/
+
+ cd "$pkgdir"/usr/lib
+ # the soname is the majorver but they kept the broken file version
+ rm libclang.so.13
+ ln -sfv libclang.so.$pkgver libclang.so.$_llvmver
+ ln -svf libclang.so.$_llvmver libclang.so
+
+ if [ $_default_clang = "yes" ]; then
+ rm "$pkgdir"/usr/lib/share/clang/clang-format-bbedit.applescript \
+ "$pkgdir"/usr/lib/share/clang/clang-doc-default-stylesheet.css \
+ "$pkgdir"/usr/lib/share/clang/index.js
+
+ install -Dm644 "$builddir"/clang.1 -t "$pkgdir"/usr/share/man/man1/
+
+ mkdir -p "$pkgdir"/usr/share/bash-completion/completions
+ mv "$pkgdir"/usr//share/clang/bash-autocomplete.sh \
+ "$pkgdir"/usr/share/bash-completion/completions/clang
+
+ mkdir -p "$pkgdir"/usr/share/emacs/site-lisp
+ mv "$pkgdir"/usr/share/clang/clang-*.el \
+ "$pkgdir"/usr/share/emacs/site-lisp
+ rmdir -p usr/share/clang || true
+ else
+ # only has things we want to put in the main version
+ rm -rf "$pkgdir"/usr/share
+ rm -rf "$pkgdir"/usr/lib/python3*
+ fi
+}
+
+dev() {
+ default_dev
+ _default_replace
+
+ # move back usr/lib/clang/x.y.z/include with files such as altivec.h, msa.h etc
+ # these are needed to build programs *with* clang, not *against* it.
+ mv "$subpkgdir"/usr/lib/clang "$pkgdir"/usr/lib/
+}
+
+static() {
+ default_static
+ _default_replace
+}
+
+bash() {
+ default_bashcomp
+ _default_replace
+}
+
+libs() {
+ default_libs
+ _default_replace
+}
+
+libclang() {
+ _default_replace
+
+ # we add an extra subpackage for this so things that link to libclang don't
+ # have to pull libclang-cpp too (separate)
+ amove usr/lib/libclang.so.*
+}
+
+analyzer() {
+ pkgdesc="Clang source code analysis framework"
+ depends="$pkgname=$pkgver-r$pkgrel perl python3"
+ _default_replace
+
+ amove \
+ usr/bin/scan* \
+ usr/bin/analyze-build* \
+ usr/bin/intercept-build* \
+ usr/libexec/*-analyzer* \
+ usr/libexec/analyze-* \
+ usr/libexec/intercept-* \
+ usr/share/scan-* \
+ usr/lib/libear*
+}
+
+extra() {
+ pkgdesc="Extra tools built using Clang’s tooling APIs"
+ _default_replace
+
+ amove \
+ usr/bin/clang-apply-replacements* \
+ usr/bin/clang-change-namespace* \
+ usr/bin/clang-check* \
+ usr/bin/clang-doc* \
+ usr/bin/clang-extdef-mapping* \
+ usr/bin/clang-format* \
+ usr/bin/clang-include-fixer* \
+ usr/bin/clang-move* \
+ usr/bin/clang-offload-bundler* \
+ usr/bin/clang-offload-wrapper* \
+ usr/bin/clang-query* \
+ usr/bin/clang-refactor* \
+ usr/bin/clang-rename* \
+ usr/bin/clang-reorder-fields* \
+ usr/bin/clang-repl* \
+ usr/bin/clang-scan-deps* \
+ usr/bin/clang-tidy* \
+ usr/bin/clangd* \
+ usr/bin/c-index-test* \
+ usr/bin/diagtool* \
+ usr/bin/find-all-symbols* \
+ usr/bin/git-clang-format* \
+ usr/bin/hmaptool* \
+ usr/bin/modularize* \
+ usr/bin/pp-trace* \
+ usr/bin/run-clang-tidy* \
+ usr/share/clang/clang-include-fixer* \
+ usr/share/clang/clang-format*.py \
+ usr/share/clang/*clang-tidy* \
+ usr/share/clang/run-find-all-symbols.py
+
+ amove usr/share/emacs
+}
+
+python() {
+ pkgdesc="Clang Python Bindings"
+ depends="$pkgname-libs=$pkgver-r$pkgrel python3"
+ provides="py3-clang=$pkgver-r$pkgrel"
+ replaces="py3-clang"
+
+ local sitedir=$(python3 -c "import site; print(site.getsitepackages()[0])")
+
+ amove usr/lib/python*
+ amove usr/share/clang/clang-rename.py
+
+ # actually a python module..
+ mv "$pkgdir"/usr/lib/libscanbuild "$subpkgdir"/"$sitedir"
+}
+
+_default_replace() {
+ if [ "$_default_clang" = yes ]; then
+ replaces="clang${subpkgname#"$pkgname"}"
+ provides="$replaces=$pkgver-r$pkgrel"
+ fi
+}
+
+sha512sums="
+5f5497b57dd116225e90f321902f1015beb50c0b1bb90d0fc6c026f13aa748feabe44f98eb75e86f98f3b1785ad5e850210732f3eae75b942ecd520527dcd30b clang-14.0.6.src.tar.xz
+5809d931656cac13b91bc91aac63df072b0403708ac718bf01546d9d520ff2c4163ee11411439dce5bb683a3bfa044b62443b6f66a1419c9086d20e79a018071 10-add-musl-triples.patch
+b9b5529bcf460767796ddbc6f7d8c479b62d63c74d39297b3c7c79a2f6898272ac52a2f2d1ea2bd601e869cecf23c0cd69fbcd613b8c6299b14a1be8203fd089 30-Enable-stack-protector-by-default-for-Alpine-Linux.patch
+"
diff --git a/main/clang15/10-add-musl-triples.patch b/main/clang15/10-add-musl-triples.patch
new file mode 100644
index 0000000000..0ed9c81675
--- /dev/null
+++ b/main/clang15/10-add-musl-triples.patch
@@ -0,0 +1,39 @@
+--- a/lib/Driver/ToolChains/Gnu.cpp
++++ b/lib/Driver/ToolChains/Gnu.cpp
+@@ -2073,7 +2073,7 @@
+ static const char *const AArch64LibDirs[] = {"/lib64", "/lib"};
+ static const char *const AArch64Triples[] = {
+ "aarch64-none-linux-gnu", "aarch64-linux-gnu", "aarch64-redhat-linux",
+- "aarch64-suse-linux"};
++ "aarch64-suse-linux", "aarch64-linux-musl"};
+ static const char *const AArch64beLibDirs[] = {"/lib"};
+ static const char *const AArch64beTriples[] = {"aarch64_be-none-linux-gnu",
+ "aarch64_be-linux-gnu"};
+@@ -2085,7 +2085,9 @@
+ "armv7l-linux-musleabihf",
+ "armv7hl-redhat-linux-gnueabi",
+ "armv6hl-suse-linux-gnueabi",
+- "armv7hl-suse-linux-gnueabi"};
++ "armv7hl-suse-linux-gnueabi",
++ "arm-linux-musleabihf",
++ "armv7l-linux-musleabihf"};
+ static const char *const ARMebLibDirs[] = {"/lib"};
+ static const char *const ARMebTriples[] = {"armeb-linux-gnueabi"};
+ static const char *const ARMebHFTriples[] = {
+@@ -2101,7 +2103,7 @@
+ "x86_64-redhat-linux", "x86_64-suse-linux",
+ "x86_64-manbo-linux-gnu", "x86_64-linux-gnu",
+ "x86_64-slackware-linux", "x86_64-unknown-linux",
+- "x86_64-amazon-linux"};
++ "x86_64-amazon-linux", "x86_64-linux-musl"};
+ static const char *const X32Triples[] = {"x86_64-linux-gnux32",
+ "x86_64-pc-linux-gnux32"};
+ static const char *const X32LibDirs[] = {"/libx32", "/lib"};
+@@ -2110,6 +2112,7 @@
+ "i586-linux-gnu", "i686-linux-gnu", "i686-pc-linux-gnu",
+ "i386-redhat-linux6E", "i686-redhat-linux", "i386-redhat-linux",
+ "i586-suse-linux", "i686-montavista-linux", "i686-gnu",
++ "i686-linux-musl",
+ };
+
+ static const char *const M68kLibDirs[] = {"/lib"};
diff --git a/main/clang15/30-Enable-stack-protector-by-default-for-Alpine-Linux.patch b/main/clang15/30-Enable-stack-protector-by-default-for-Alpine-Linux.patch
new file mode 100644
index 0000000000..bae4532c16
--- /dev/null
+++ b/main/clang15/30-Enable-stack-protector-by-default-for-Alpine-Linux.patch
@@ -0,0 +1,82 @@
+--- a/lib/Driver/ToolChains/Linux.h
++++ b/lib/Driver/ToolChains/Linux.h
+@@ -11,6 +11,7 @@
+
+ #include "Gnu.h"
+ #include "clang/Driver/ToolChain.h"
++#include "clang/Basic/LangOptions.h"
+
+ namespace clang {
+ namespace driver {
+@@ -60,6 +61,15 @@
+ llvm::DenormalMode getDefaultDenormalModeForType(
+ const llvm::opt::ArgList &DriverArgs, const JobAction &JA,
+ const llvm::fltSemantics *FPType = nullptr) const override;
++
++ LangOptions::StackProtectorMode
++ GetDefaultStackProtectorLevel(bool KernelOrKext) const override {
++ StringRef VendorName = Linux::getTriple().getVendorName();
++ if (VendorName.compare("alpine") == 0)
++ return LangOptions::SSPStrong;
++
++ return LangOptions::SSPOff;
++ }
+
+ protected:
+ Tool *buildAssembler() const override;
+--- a/test/Driver/fsanitize.c
++++ b/test/Driver/fsanitize.c
+@@ -666,12 +666,12 @@
+ // RUN: %clang -fno-sanitize=safe-stack -### %s 2>&1 | FileCheck %s -check-prefix=NOSP
+ // NOSP-NOT: "-fsanitize=safe-stack"
+
+-// RUN: %clang -target x86_64-linux-gnu -fsanitize=safe-stack -### %s 2>&1 | FileCheck %s -check-prefix=NO-SP
++// RUN: %clang -target x86_64-linux-gnu -fsanitize=safe-stack -### %s 2>&1 | FileCheck %s -check-prefix=SP
+ // RUN: %clang -target x86_64-linux-gnu -fsanitize=address,safe-stack -### %s 2>&1 | FileCheck %s -check-prefix=SP-ASAN
+ // RUN: %clang -target x86_64-linux-gnu -fstack-protector -fsanitize=safe-stack -### %s 2>&1 | FileCheck %s -check-prefix=SP
+ // RUN: %clang -target x86_64-linux-gnu -fsanitize=safe-stack -fstack-protector-all -### %s 2>&1 | FileCheck %s -check-prefix=SP
+-// RUN: %clang -target arm-linux-androideabi -fsanitize=safe-stack -### %s 2>&1 | FileCheck %s -check-prefix=NO-SP
+-// RUN: %clang -target aarch64-linux-android -fsanitize=safe-stack -### %s 2>&1 | FileCheck %s -check-prefix=NO-SP
++// RUN: %clang -target arm-linux-androideabi -fsanitize=safe-stack -### %s 2>&1 | FileCheck %s -check-prefix=SP
++// RUN: %clang -target aarch64-linux-android -fsanitize=safe-stack -### %s 2>&1 | FileCheck %s -check-prefix=SP
+ // RUN: %clang -target i386-contiki-unknown -fsanitize=safe-stack -### %s 2>&1 | FileCheck %s -check-prefix=NO-SP
+ // NO-SP-NOT: stack-protector
+ // NO-SP: "-fsanitize=safe-stack"
+--- a/test/Driver/stack-protector.c
++++ b/test/Driver/stack-protector.c
+@@ -33,6 +33,22 @@
+ // SSP-PS4-BUF: "-stack-protector" "2"
+ // SSP-PS4-BUF: "-stack-protector-buffer-size" "16"
+
++// Test default stack protector values for Alpine
++
++// RUN: %clang -target x86_64-alpine-linux-musl -### %s 2>&1 | FileCheck %s -check-prefix=ALPINE
++// ALPINE: "-stack-protector" "2"
++
++// RUN: %clang -target x86_64-alpine-linux-musl -fstack-protector -### %s 2>&1 | FileCheck %s -check-prefix=ALPINE_SPS
++// ALPINE_SPS: "-stack-protector" "2"
++
++// RUN: %clang -target x86_64-alpine-linux-musl -fstack-protector-all -### %s 2>&1 | FileCheck %s -check-prefix=ALPINE_ALL
++// ALPINE_ALL: "-stack-protector" "3"
++// ALPINE_ALL-NOT: "-stack-protector-buffer-size"
++
++// RUN: %clang -target x86_64-alpine-linux-musl -fno-stack-protector -### %s 2>&1 | FileCheck %s -check-prefix=ALPINE_NOSSP
++// ALPINE_NOSSP-NOT: "-stack-protector"
++// ALPINE_NOSSP-NOT: "-stack-protector-buffer-size"
++
+ // Test default stack protector values for Darwin platforms
+
+ // RUN: %clang -target armv7k-apple-watchos2.0 -### %s 2>&1 | FileCheck %s -check-prefix=SSP_WATCHOS
+--- a/lib/Driver/ToolChains/Gnu.cpp
++++ b/lib/Driver/ToolChains/Gnu.cpp
+@@ -563,6 +563,10 @@
+ // The profile runtime also needs access to system libraries.
+ getToolChain().addProfileRTLibs(Args, CmdArgs);
+
++ if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles, options::OPT_nodefaultlibs)) {
++ CmdArgs.push_back("-lssp_nonshared");
++ }
++
+ if (D.CCCIsCXX() &&
+ !Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs,
+ options::OPT_r)) {
diff --git a/main/clang15/APKBUILD b/main/clang15/APKBUILD
new file mode 100644
index 0000000000..a2b80ebe01
--- /dev/null
+++ b/main/clang15/APKBUILD
@@ -0,0 +1,244 @@
+# Contributor Eric Molitor <eric@molitor.org>
+# Contributor Patrick Gansterer <paroga@paroga.com>
+# Contributor Travis Tilley <ttilley@gmail.com>
+# Contributor omni <omni+alpine@hack.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=clang15
+pkgver=15.0.5
+pkgrel=2
+_llvmver=${pkgver%%.*}
+pkgdesc="A C language family front-end for LLVM"
+arch="all"
+url="https://llvm.org/"
+license="Apache-2.0"
+options="!check" # fail to build
+makedepends="
+ cmake
+ help2man
+ libxml2-dev
+ llvm$_llvmver-dev
+ llvm$_llvmver-static
+ llvm$_llvmver-test-utils
+ samurai
+ python3
+ "
+checkdepends="diffutils bash gtest-dev"
+depends_dev="$pkgname=$pkgver-r$pkgrel"
+subpackages="
+ $pkgname-static
+ $pkgname-doc
+ $pkgname-libclang
+ $pkgname-libs
+ $pkgname-bash-completion:bash:noarch
+ $pkgname-analyzer::noarch
+ $pkgname-dev
+ $pkgname-extra-tools:extra
+ py3-$pkgname:python:noarch
+ "
+source="https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver/clang-$pkgver.src.tar.xz
+ https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver/clang-tools-extra-$pkgver.src.tar.xz
+ https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver/cmake-$pkgver.src.tar.xz
+ 10-add-musl-triples.patch
+ 30-Enable-stack-protector-by-default-for-Alpine-Linux.patch
+ "
+builddir="$srcdir/clang-$pkgver.src"
+
+prepare() {
+ mv "$srcdir/clang-tools-extra-$pkgver.src" "$builddir/tools/extra"
+ default_prepare
+}
+
+# Whether is this package the default (latest) clang version.
+_default_clang="yes"
+
+if [ "$_default_clang" = yes ]; then
+ provides="clang=$pkgver-r$pkgrel"
+ replaces="clang"
+ depends_dev="$depends_dev $pkgname-extra-tools=$pkgver-r$pkgrel"
+fi
+
+build() {
+ local python_version=$(python3 -V | sed 's/.*\([0-9]\{1,\}\.[0-9]\{1,\}\)\..*/\1/')
+
+ if [ $_default_clang = yes ]; then
+ local extras=ON
+ else
+ local extras=OFF
+ fi
+
+ cmake -B build -G Ninja -Wno-dev \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_MODULE_PATH="$srcdir/cmake-$pkgver.src/Modules" \
+ -DCLANG_BUILT_STANDALONE=ON \
+ -DCLANG_ENABLE_ARCMT=$extras \
+ -DCLANG_ENABLE_STATIC_ANALYZER=$extras \
+ -DCLANG_INCLUDE_TESTS="$(want_check && echo ON || echo OFF)" \
+ -DCLANG_LINK_CLANG_DYLIB=ON \
+ -DCLANG_PLUGIN_SUPPORT=ON \
+ -DCLANG_PYTHON_BINDINGS_VERSIONS="$python_version" \
+ -DCLANG_VENDOR=Alpine \
+ -DENABLE_LINKER_BUILD_ID=ON \
+ -DLIBCLANG_BUILD_STATIC=ON
+
+ ninja -C build clang-tblgen
+ ninja -C build
+
+ help2man --no-info \
+ --source "Alpine" \
+ --name "Alpine Clang $pkgver-r$pkgrel" \
+ --version-string "$pkgver-r$pkgrel" \
+ --help-option "--help-hidden" \
+ ./build/bin/clang > clang.1
+}
+
+check() {
+ ninja -C build check-all
+}
+
+package() {
+ # the libraries should always exactly match, not just by soname
+ depends="$pkgname-libs=$pkgver-r$pkgrel libstdc++-dev"
+
+ DESTDIR="$pkgdir" ninja -C build install
+
+ install -Dm644 build/lib/libclang.a -t "$pkgdir"/usr/lib/
+
+ if [ $_default_clang = "yes" ]; then
+ rm "$pkgdir"/usr/share/clang/clang-format-bbedit.applescript \
+ "$pkgdir"/usr/share/clang/clang-doc-default-stylesheet.css \
+ "$pkgdir"/usr/share/clang/index.js
+
+ install -Dm644 "$builddir"/clang.1 -t "$pkgdir"/usr/share/man/man1/
+
+ mkdir -p "$pkgdir"/usr/share/bash-completion/completions
+ mv "$pkgdir"/usr//share/clang/bash-autocomplete.sh \
+ "$pkgdir"/usr/share/bash-completion/completions/clang
+
+ mkdir -p "$pkgdir"/usr/share/emacs/site-lisp
+ mv "$pkgdir"/usr/share/clang/clang-*.el \
+ "$pkgdir"/usr/share/emacs/site-lisp
+ rmdir -p usr/share/clang || true
+ else
+ # only has things we want to put in the main version
+ rm -rf "$pkgdir"/usr/share
+ fi
+}
+
+dev() {
+ default_dev
+ _default_replace
+
+ # move back usr/lib/clang/x.y.z/include with files such as altivec.h, msa.h etc
+ # these are needed to build programs *with* clang, not *against* it.
+ mv "$subpkgdir"/usr/lib/clang "$pkgdir"/usr/lib/
+}
+
+static() {
+ default_static
+ _default_replace
+}
+
+bash() {
+ default_bashcomp
+ _default_replace
+}
+
+libs() {
+ default_libs
+ _default_replace
+}
+
+libclang() {
+ _default_replace
+ replaces="$replaces clang-libs"
+
+ # we add an extra subpackage for this so things that link to libclang don't
+ # have to pull libclang-cpp too (separate)
+ amove usr/lib/libclang.so.*
+}
+
+analyzer() {
+ pkgdesc="Clang source code analysis framework"
+ depends="$pkgname=$pkgver-r$pkgrel py3-$pkgname=$pkgver-r$pkgrel perl python3"
+ _default_replace
+
+ amove \
+ usr/bin/scan* \
+ usr/bin/analyze-build* \
+ usr/bin/intercept-build* \
+ usr/libexec/*-analyzer* \
+ usr/libexec/analyze-* \
+ usr/libexec/intercept-* \
+ usr/share/scan-* \
+ usr/lib/libear*
+}
+
+extra() {
+ pkgdesc="Extra tools built using Clang’s tooling APIs"
+ _default_replace
+
+ amove \
+ usr/bin/clang-apply-replacements* \
+ usr/bin/clang-change-namespace* \
+ usr/bin/clang-check* \
+ usr/bin/clang-doc* \
+ usr/bin/clang-extdef-mapping* \
+ usr/bin/clang-format* \
+ usr/bin/clang-include-fixer* \
+ usr/bin/clang-move* \
+ usr/bin/clang-offload-bundler* \
+ usr/bin/clang-offload-wrapper* \
+ usr/bin/clang-query* \
+ usr/bin/clang-refactor* \
+ usr/bin/clang-rename* \
+ usr/bin/clang-reorder-fields* \
+ usr/bin/clang-repl* \
+ usr/bin/clang-scan-deps* \
+ usr/bin/clang-tidy* \
+ usr/bin/clangd* \
+ usr/bin/c-index-test* \
+ usr/bin/diagtool* \
+ usr/bin/find-all-symbols* \
+ usr/bin/git-clang-format* \
+ usr/bin/hmaptool* \
+ usr/bin/modularize* \
+ usr/bin/pp-trace* \
+ usr/bin/run-clang-tidy* \
+ usr/share/clang/clang-include-fixer* \
+ usr/share/clang/clang-format*.py \
+ usr/share/clang/*clang-tidy* \
+ usr/share/clang/run-find-all-symbols.py
+
+ amove usr/share/emacs
+}
+
+python() {
+ pkgdesc="Clang Python Bindings"
+ depends="$pkgname-libs=$pkgver-r$pkgrel python3"
+ provides="py3-clang=$pkgver-r$pkgrel"
+ replaces="py3-clang"
+
+ local sitedir=$(python3 -c "import site; print(site.getsitepackages()[0])")
+
+ amove usr/lib/python*
+ amove usr/share/clang/clang-rename.py
+
+ # actually a python module..
+ mv "$pkgdir"/usr/lib/libscanbuild "$subpkgdir"/"$sitedir"
+}
+
+_default_replace() {
+ if [ "$_default_clang" = yes ]; then
+ replaces="clang${subpkgname#"$pkgname"}"
+ provides="$replaces=$pkgver-r$pkgrel"
+ fi
+}
+
+sha512sums="
+62b2be15b0e8c1fcfa8c35384e794a89ae13ab195454ce8409f255087abd9cfebea6c70658c794f4daaadfa3f6ecbb046ce6f7ba146afe6e0fc0d7d57471b432 clang-15.0.5.src.tar.xz
+f6b64b48408f456922136ac75b42fd55ea05294381e40120d3716bed919b85948f9274af1e334926fbb04957c5339de1c0807b5549f2a750d9d07b62574421ac clang-tools-extra-15.0.5.src.tar.xz
+493825f1b64abef6d56502d28e30056320bdda5a46a478fc85eec3a631c541da2d318fb9c3e3d3e6234f538121b7a1c60d34cba498fd6b7938d3558d24684fed cmake-15.0.5.src.tar.xz
+5809d931656cac13b91bc91aac63df072b0403708ac718bf01546d9d520ff2c4163ee11411439dce5bb683a3bfa044b62443b6f66a1419c9086d20e79a018071 10-add-musl-triples.patch
+b9b5529bcf460767796ddbc6f7d8c479b62d63c74d39297b3c7c79a2f6898272ac52a2f2d1ea2bd601e869cecf23c0cd69fbcd613b8c6299b14a1be8203fd089 30-Enable-stack-protector-by-default-for-Alpine-Linux.patch
+"
diff --git a/main/cloog/APKBUILD b/main/cloog/APKBUILD
deleted file mode 100644
index 60193f0459..0000000000
--- a/main/cloog/APKBUILD
+++ /dev/null
@@ -1,38 +0,0 @@
-# Contributor: Natanael Copa <ncopa@alpinelinux.org>
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-pkgname=cloog
-pkgver=0.20.0
-pkgrel=2
-pkgdesc="The Chunky Loop Generator"
-url="http://www.cloog.org/"
-arch="all"
-license="GPL-2.0-or-later"
-depends_dev="gmp-dev isl-dev"
-makedepends_host="$depends_dev"
-makedepends="$makedepends_host"
-subpackages="$pkgname-dev"
-source="https://github.com/periscop/cloog/releases/download/cloog-$pkgver/cloog-$pkgver.tar.gz"
-
-build() {
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --localstatedir=/var \
- --with-sysroot=${CBUILDROOT} \
- --with-isl=system
- make
-}
-
-check() {
- make -j1 check
-}
-
-package() {
- make DESTDIR="$pkgdir" INSTALL="install -D" install
-}
-
-sha512sums="d00cbefd348b45d9d482320a088f7ae736440046b99469cbdfbb177a38dcef182c3305f0a567a1f5699c23b7108db6fd5ad6dfbc071d63ccca1d6bfc1b198565 cloog-0.20.0.tar.gz"
diff --git a/main/clucene/APKBUILD b/main/clucene/APKBUILD
index 4e5054e54e..62503fc1b9 100644
--- a/main/clucene/APKBUILD
+++ b/main/clucene/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=clucene
pkgver=2.3.3.4
-pkgrel=14
+pkgrel=16
pkgdesc="A C++ port of Lucene"
url="https://www.sourceforge.net/projects/clucene"
arch="all"
@@ -14,6 +14,7 @@ subpackages="$pkgname-dev $pkgname-contribs"
source="https://downloads.sourceforge.net/clucene/clucene-core-$pkgver.tar.gz
clucene-core-2.3.3.4-pkgconfig.patch
clucene-core-2.3.3.4-install_contribs_lib.patch
+ clucene-pthread.patch
"
builddir="$srcdir/$pkgname-core-$pkgver"
@@ -53,4 +54,5 @@ sha512sums="
1c9da9077edcebd46563bd9e47d330518e0b30061016650a759cfe051e9748fdad8932a472b1cca53a6adafed5f41656527271fc5f55ddfcefb558f0d83286b4 clucene-core-2.3.3.4.tar.gz
b357cb5a1c5d66219f3168724a71af3ebf5c45c752a612d3a69c170b739acc065dc17c261c3a730298ea6c637fe820637a100f73ab03d931734f80bb598fbf55 clucene-core-2.3.3.4-pkgconfig.patch
0aa92635949089196e4e7c579e78761e8751987ef5036320a161a4aaa67da3c63756398c903419c76ea0fbdc8a949e871fcb65be98179a9853a24a5a4cacfde3 clucene-core-2.3.3.4-install_contribs_lib.patch
+bc8f50fda6ccc5baf1783ae138c8e83aa9d0273373a2e4a0ce40797fb2c814defa5105da4586079bdeeb3dff8642e98e4bc7700368c34448ac22085002d2e56f clucene-pthread.patch
"
diff --git a/main/clucene/clucene-pthread.patch b/main/clucene/clucene-pthread.patch
new file mode 100644
index 0000000000..7aed18cce8
--- /dev/null
+++ b/main/clucene/clucene-pthread.patch
@@ -0,0 +1,12 @@
+diff --git a/src/shared/CLucene/LuceneThreads.h b/src/shared/CLucene/LuceneThreads.h
+index 97072ee..4ee241e 100644
+--- a/src/shared/CLucene/LuceneThreads.h
++++ b/src/shared/CLucene/LuceneThreads.h
+@@ -7,6 +7,7 @@
+ #ifndef _LuceneThreads_h
+ #define _LuceneThreads_h
+
++#include <pthread.h>
+
+ CL_NS_DEF(util)
+ class CLuceneThreadIdCompare;
diff --git a/main/cmake/APKBUILD b/main/cmake/APKBUILD
index 523db5a03d..10d5ea101f 100644
--- a/main/cmake/APKBUILD
+++ b/main/cmake/APKBUILD
@@ -1,41 +1,44 @@
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cmake
-pkgver=3.24.0
+pkgver=3.25.0
pkgrel=0
pkgdesc="Cross-platform, open-source make system"
url="https://www.cmake.org/"
arch="all"
license="BSD-3-Clause"
-makedepends="bzip2-dev curl-dev expat-dev libarchive-dev linux-headers
- libuv-dev ncurses-dev rhash-dev xz-dev zlib-dev py3-sphinx"
-options="!check"
+makedepends="
+ bzip2-dev
+ curl-dev
+ expat-dev
+ libarchive-dev
+ libuv-dev
+ linux-headers
+ ncurses-dev
+ py3-sphinx
+ rhash-dev
+ samurai
+ xz-dev
+ zlib-dev
+ "
checkdepends="file musl-utils"
-subpackages="$pkgname-doc $pkgname-bash-completion
+subpackages="
+ $pkgname-doc
+ $pkgname-bash-completion
"
case $pkgver in
*.*.*.*) _v=v${pkgver%.*.*};;
*.*.*) _v=v${pkgver%.*};;
esac
-
-source="https://www.cmake.org/files/$_v/cmake-$pkgver.tar.gz
- "
-
-_parallel_opt() {
- local i n
- for i in $MAKEOPTS; do
- case "$i" in
- -j*) n=${i#-j};;
- esac;
- done
- [ -n "$n" ] && echo "--parallel $n"
-}
+source="https://www.cmake.org/files/$_v/cmake-$pkgver.tar.gz"
+options="!check"
build() {
# jsoncpp needs cmake to build so to avoid recursive build
# dependency, we use the bundled version of jsoncpp.
# Do NOT remove --no-system-jsoncpp unless you consulted
# maintainer
+
./bootstrap \
--prefix=/usr \
--mandir=/share/man \
@@ -44,8 +47,9 @@ build() {
--sphinx-man \
--system-libs \
--no-system-jsoncpp \
- $(_parallel_opt)
- make
+ --generator=Ninja \
+ --parallel="${JOBS:-2}"
+ ninja
}
check() {
@@ -53,9 +57,9 @@ check() {
}
package() {
- cd $startdir/src/$pkgname-$pkgver
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" ninja install
}
+
sha512sums="
-91507fc0643f2de20e37cd8d6a539d8cb38a80b604bf77de8e88c8446b6d7b6d02b7329d58966dc2412c6c75edcb9dfbdae02fe84965fefeb7ca47f87631fe17 cmake-3.24.0.tar.gz
+f6e527161b8501c72b71a95ff7a0cf304ae02a214086ff58dd686543243d939e83faf94780cda477b19e4d42e4b8f1ff96c52f98e8f7f717e102a5229f4dd44c cmake-3.25.0.tar.gz
"
diff --git a/main/cmocka/APKBUILD b/main/cmocka/APKBUILD
index 3ee25dc51a..87f4044219 100644
--- a/main/cmocka/APKBUILD
+++ b/main/cmocka/APKBUILD
@@ -2,13 +2,12 @@
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=cmocka
pkgver=1.1.5
-pkgrel=2
+pkgrel=3
pkgdesc="An elegant unit testing framework for C with support for mock objects"
url="https://cmocka.org/"
arch="all"
license="Apache-2.0"
-depends=""
-makedepends="cmake"
+makedepends="cmake samurai"
subpackages="$pkgname-dev"
source="https://cmocka.org/files/${pkgver%.*}/$pkgname-$pkgver.tar.xz
wordsize.patch
@@ -25,30 +24,28 @@ prepare() {
}
build() {
- mkdir -p "$builddir"/build
- cd "$builddir"/build
-
- cmake .. \
+ cmake -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=MinSizeRel \
- -DCMAKE_C_FLAGS="$CFLAGS" \
-DUNIT_TESTING=ON
- make
+ cmake --build build
}
check() {
cd "$builddir"/build
# If some tests fail, run them again in verbose mode.
- make test || ctest --rerun-failed --extra-verbose
+ ninja test || ctest --rerun-failed --extra-verbose
}
package() {
- make -C "$builddir"/build DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" cmake --install build
}
-sha512sums="cad7f04757183d004f6eaad39036fc0e24c5e0e987f80e85bc43bc66dba22389cb02b08e25531cc28a541d0a24a86b29be134a2d6fc339128e87d66952f502b