summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Iooss2023-02-13 18:51:03 +0100
committerNicolas Iooss2023-02-13 18:51:03 +0100
commitdadfdd53c8d061209b93b9f38b0c43e75801a07d (patch)
treedf49becce9d199f3239ecacef26ee1b165f03190 /PKGBUILD
parentb1b48591221a5d1dec143b98f51eb3ca790dae69 (diff)
downloadaur-dadfdd53c8d061209b93b9f38b0c43e75801a07d.tar.gz
iproute2-selinux 6.1.0-5 update
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 8 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b3c4497899e0..5b0bbb114c5a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@
pkgname=iproute2-selinux
pkgver=6.1.0
-pkgrel=4
+pkgrel=5
pkgdesc='IP Routing Utilities with SELinux support'
arch=('x86_64' 'aarch64')
license=('GPL2')
@@ -35,10 +35,12 @@ options=('staticlibs')
validpgpkeys=('9F6FC345B05BE7E766B83C8F80A77F6095CDE47E') # Stephen Hemminger
source=("https://www.kernel.org/pub/linux/utils/net/${pkgname/-selinux}/${pkgname/-selinux}-${pkgver}.tar."{xz,sign}
'0001-make-iproute2-fhs-compliant.patch'
+ 'fix_overlapping_buffers.patch'
'bdb5.3.patch')
sha256sums=('5ce12a0fec6b212725ef218735941b2dab76244db7e72646a76021b0537b43ab'
'SKIP'
'758b82bd61ed7512d215efafd5fab5ae7a28fbfa6161b85e2ce7373285e56a5d'
+ '7d2fb8ba06f3b73a8fa3ab673b8f1ad41c0e4fd85e3c31a8d4002a1b074ec1ae'
'908de44ee99bf78669e7c513298fc2a22ca9d7e816a8f99788b1e9b091035cf4')
prepare() {
@@ -50,6 +52,11 @@ prepare() {
# use Berkeley DB 5.3
patch -Np1 -i "${srcdir}"/bdb5.3.patch
+ # fix overlapping buffers leading to cut off IPv6 adresses since glibc 2.37
+ # See FS#77451 and
+ # https://lore.kernel.org/netdev/0011AC38-4823-4D0A-8580-B108D08959C2@gentoo.org/T/#u
+ patch -Np1 -i "${srcdir}"/fix_overlapping_buffers.patch
+
# do not treat warnings as errors
sed -i 's/-Werror//' Makefile