aboutsummaryrefslogtreecommitdiffstats
path: root/main/acl/APKBUILD
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-08-02 11:13:22 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2019-08-05 06:26:16 +0000
commitf0279d8db81b45e9d97a6a213a29e9f5a7d6df4d (patch)
tree61614ac8717d6ae6d19e8e2c80e6ee41a6d7b20e /main/acl/APKBUILD
parent654c8976252f508114c2d655af63ee207cc11b00 (diff)
downloadaports-f0279d8db81b45e9d97a6a213a29e9f5a7d6df4d.tar.gz
aports-f0279d8db81b45e9d97a6a213a29e9f5a7d6df4d.tar.bz2
aports-f0279d8db81b45e9d97a6a213a29e9f5a7d6df4d.tar.xz
main/acl: upgrade to 2.2.53
Diffstat (limited to 'main/acl/APKBUILD')
-rw-r--r--main/acl/APKBUILD44
1 files changed, 11 insertions, 33 deletions
diff --git a/main/acl/APKBUILD b/main/acl/APKBUILD
index c98b776493..50d750d514 100644
--- a/main/acl/APKBUILD
+++ b/main/acl/APKBUILD
@@ -1,54 +1,34 @@
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=acl
-pkgver=2.2.52
-pkgrel=6
+pkgver=2.2.53
+pkgrel=0
pkgdesc="Access control list utilities"
url="https://savannah.nongnu.org/projects/acl"
arch="all"
license="LGPL-2.1-or-later AND GPL-2.0-or-later"
-depends=""
-makedepends_build=""
makedepends_host="attr-dev"
-makedepends="$makedepends_build $makedepends_host"
-subpackages="$pkgname-dev $pkgname-doc libacl"
+makedepends="$makedepends_host"
+subpackages="$pkgname-static $pkgname-dev $pkgname-doc libacl"
# depends on order of nftw, and requires test machine to have ACLs enabled on FS
options="!check"
-source="http://download.savannah.nongnu.org/releases/acl/acl-$pkgver.src.tar.gz
- 0001-fix-compilation-with-latest-xattr.patch
- busybox-gzip.patch"
-
-prepare() {
- cd "$builddir"
- default_prepare
- update_config_sub
- sed -i \
- -e '/^as_dummy=/s:=":="$PATH$PATH_SEPARATOR:' \
- configure # hack PATH with AC_PATH_PROG
- sed -i \
- -e "/^PKG_DOC_DIR/s:@pkg_name@:$pkgname:" \
- -e '/HAVE_ZIPPED_MANPAGES/s:=.*:=false:' \
- include/builddefs.in
-}
+source="https://download.savannah.nongnu.org/releases/acl/acl-$pkgver.tar.gz"
build() {
cd "$builddir"
- unset PLATFORM
- export OPTIMIZER="${CFLAGS}"
- export DEBUG=-DNDEBUG
- CONFIG_SHELL=/bin/sh ./configure \
+ ./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--libdir=/lib \
- --libexecdir=/usr/lib \
- --disable-gettext
+ --libexecdir=/usr/libexec
make
}
package() {
cd "$builddir"
- make DIST_ROOT="$pkgdir" install install-lib install-dev
- chown -R root:root "$pkgdir"/*
+ DESTDIR="$pkgdir" make install
}
libacl() {
@@ -57,6 +37,4 @@ libacl() {
mv "$pkgdir"/lib/libacl.so.* "$subpkgdir"/lib/
}
-sha512sums="59973199d371cd0b2368e95bc829a1b47f04e808a174fefba4c6854e766158bd19a71d9dbcc8d6fdc1573a1f971cdda39c453f7fa243bce02c1ab97c6e7c72e7 acl-2.2.52.src.tar.gz
-55f866dec1d23ece5ffc6d276756853aa0c3ea119e9860ed01b406e5d4f761b7ad1064e6cd15c9b66d2226de3a898b0e2016e32a65f7d97bcb28bf998edc32f4 0001-fix-compilation-with-latest-xattr.patch
-00a929f0079714b38956f0680d33a2b288ecfc97784192f91d8ce738f7e590201b2ca7e905dff7b853d724f6c4803710f6b37fc721eab88d29abbfca47691291 busybox-gzip.patch"
+sha512sums="176b7957fe0e7618e0b7bf2ac5071f7fa29417df718cce977661a576fa184e4af9d303b591c9d556b6ba8923e799457343afa401f5a9f7ecd9022185a4e06716 acl-2.2.53.tar.gz"