From 12ffbeacf62503c7a9279c6d6c1142ce5c4d3236 Mon Sep 17 00:00:00 2001 From: vodkanull Date: Fri, 24 Jul 2026 07:11:47 -0400 Subject: [PATCH] attr: update to 2.6.0. Co-authored-by: Duncaen --- ...d895dfd779373363c3a4b62ecce5a549efb2.patch | 27 ------------------- srcpkgs/attr/template | 24 +++++++---------- 2 files changed, 10 insertions(+), 41 deletions(-) delete mode 100644 srcpkgs/attr/patches/8a80d895dfd779373363c3a4b62ecce5a549efb2.patch diff --git a/srcpkgs/attr/patches/8a80d895dfd779373363c3a4b62ecce5a549efb2.patch b/srcpkgs/attr/patches/8a80d895dfd779373363c3a4b62ecce5a549efb2.patch deleted file mode 100644 index 818161f1524363..00000000000000 --- a/srcpkgs/attr/patches/8a80d895dfd779373363c3a4b62ecce5a549efb2.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 8a80d895dfd779373363c3a4b62ecce5a549efb2 Mon Sep 17 00:00:00 2001 -From: "Haelwenn (lanodan) Monnier" -Date: Sat, 30 Mar 2024 10:17:10 +0100 -Subject: tools/attr.c: Add missing libgen.h include for basename(3) - -Fixes compilation issue with musl and modern C99 compilers. - -See: https://bugs.gentoo.org/926294 ---- - tools/attr.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/tools/attr.c b/tools/attr.c -index f12e4af..6a3c1e9 100644 ---- a/tools/attr.c -+++ b/tools/attr.c -@@ -28,6 +28,7 @@ - #include - #include - #include -+#include - - #include - --- -cgit v1.1 - diff --git a/srcpkgs/attr/template b/srcpkgs/attr/template index dc2b3e8e14a377..6886a5e2dc270b 100644 --- a/srcpkgs/attr/template +++ b/srcpkgs/attr/template @@ -1,32 +1,27 @@ # Template file for 'attr' pkgname=attr -version=2.5.2 -revision=2 +version=2.6.0 +revision=1 bootstrap=yes build_style=gnu-configure -configure_args="--libdir=/usr/lib${XBPS_TARGET_WORDSIZE} - --libexecdir=/usr/lib${XBPS_TARGET_WORDSIZE}" -make_check_args="-j1" # Tests broken when ran in parallel checkdepends="perl" short_desc="Extended attribute support library for ACL support" maintainer="Orphaned " license="LGPL-2.1-or-later" homepage="http://savannah.nongnu.org/projects/attr" +changelog="https://cgit.git.savannah.nongnu.org/cgit/attr.git/plain/doc/CHANGES" distfiles="${NONGNU_SITE}/attr/attr-${version}.tar.gz" -checksum=39bf67452fa41d0948c2197601053f48b3d78a029389734332a6309a680c6c87 -conf_files="/etc/xattr.conf" +checksum="d42fa374513180bb48cb11a46696f488240e5124ff1e6ad88b0abff706985612" -# The included libtool is rotten and only works with bash; easiest fix. -export CONFIG_SHELL=/bin/bash +conf_files="/etc/xattr.conf" pre_check() { - # Either the test wasn't updated or the package misconfigures/miscompiles - # the error message in musl based systems + # musl error string differ from glibc # EXPECTED: Operation not supported # RECIEVED: Not supported - case "$XBPS_TARGET_MACHINE" in - *-musl* ) sed -i 's|f: Operation n|f: N|g' test/attr.test ;; - esac + if [ "$XBPS_TARGET_LIBC" = "musl" ]; then + vsed -e 's|f: Operation n|f: N|g' -i test/attr.run + fi } attr-devel_package() { @@ -44,6 +39,7 @@ attr-devel_package() { attr-progs_package() { short_desc+=" - utilities" + license="GPL-2.0-or-later" pkg_install() { vmove usr/bin vmove usr/share/man/man1