aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2019-05-21 20:39:27 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2019-08-21 14:09:48 +0000
commitaafb402f4f09442d1762bef4429f4a6018d2569b (patch)
tree3ef1f43466dd6d079c5d7c79ad7ee10507b2401c
parentdb105558390dcfcfcc724786cf1b3e99b7e917d3 (diff)
downloadaports-aafb402f4f09442d1762bef4429f4a6018d2569b.tar.gz
aports-aafb402f4f09442d1762bef4429f4a6018d2569b.tar.bz2
aports-aafb402f4f09442d1762bef4429f4a6018d2569b.tar.xz
main/tar: compile against acl
-rw-r--r--main/tar/APKBUILD14
1 files changed, 4 insertions, 10 deletions
diff --git a/main/tar/APKBUILD b/main/tar/APKBUILD
index 6a297c48aa..92e804aa73 100644
--- a/main/tar/APKBUILD
+++ b/main/tar/APKBUILD
@@ -1,14 +1,12 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=tar
pkgver=1.32
-pkgrel=0
+pkgrel=1
pkgdesc="Utility used to store, backup, and transport files"
-url="https://www.gnu.org"
+url="https://www.gnu.org/software/tar/"
arch="all"
-license="GPL"
-depends=""
-install=""
-makedepends=""
+license="GPL-3.0-or-later"
+makedepends="acl-dev"
subpackages="$pkgname-doc"
source="https://ftp.gnu.org/gnu/tar/$pkgname-$pkgver.tar.xz
ignore-apk-tools-checksums.patch"
@@ -19,9 +17,7 @@ source="https://ftp.gnu.org/gnu/tar/$pkgname-$pkgver.tar.xz
# 1.31-r0:
# - CVE-2018-20482
-builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$builddir"
gl_cv_func_gettimeofday_clobber=no \
gl_cv_func_tzset_clobber=no \
./configure \
@@ -35,12 +31,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir/" install
rm -rf "$pkgdir"/usr/lib/charset.alias