aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-04-05 16:16:09 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-05 16:16:09 -0300
commit0f3ab97c0f3374b26288ae98ad03c1f5aad44fa8 (patch)
tree3864d6a26ba2c930951c1b65e18fc5e20f797321
parent4419df124ef7246a020c4a10fb36e08e7f06d350 (diff)
downloadaports-0f3ab97c0f3374b26288ae98ad03c1f5aad44fa8.tar.gz
aports-0f3ab97c0f3374b26288ae98ad03c1f5aad44fa8.tar.bz2
aports-0f3ab97c0f3374b26288ae98ad03c1f5aad44fa8.tar.xz
main/confuse: modernize, fix license
-rw-r--r--main/confuse/APKBUILD10
1 files changed, 3 insertions, 7 deletions
diff --git a/main/confuse/APKBUILD b/main/confuse/APKBUILD
index 05cfeeddf8..fa1575fd2d 100644
--- a/main/confuse/APKBUILD
+++ b/main/confuse/APKBUILD
@@ -1,23 +1,21 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=confuse
pkgver=3.2.2
-pkgrel=0
+pkgrel=1
pkgdesc="C library for parsing configuration files"
url="https://github.com/martinh/libconfuse"
arch="all"
-license="BSD"
+license="ISC"
makedepends="flex bison"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/martinh/libconfuse/releases/download/v$pkgver/confuse-$pkgver.tar.xz"
-builddir="$srcdir/$pkgname-$pkgver"
# secfixes:
# 3.2.2-r0:
-# - CVE-2018-14447
+# - CVE-2018-14447
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -28,13 +26,11 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
install -D -m644 libconfuse.pc "$pkgdir"/usr/lib/pkgconfig/libconfuse.pc
}