Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

24 changes: 10 additions & 14 deletions srcpkgs/attr/template
Original file line number Diff line number Diff line change
@@ -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 <orphan@voidlinux.org>"
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() {
Expand All @@ -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
Expand Down