aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-04-05 16:13:44 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-05 16:13:44 -0300
commit6f8194876e62f69016a55f327bebc773747eb8cc (patch)
tree03184acb169ec266e9ef7926d2d4cd8971ed0bfe
parentdf89cb7eb628c2cc9316d25d993d7fbee51385ac (diff)
downloadaports-6f8194876e62f69016a55f327bebc773747eb8cc.tar.gz
aports-6f8194876e62f69016a55f327bebc773747eb8cc.tar.bz2
aports-6f8194876e62f69016a55f327bebc773747eb8cc.tar.xz
main/libidn: modernize
-rw-r--r--main/libidn/APKBUILD18
1 files changed, 5 insertions, 13 deletions
diff --git a/main/libidn/APKBUILD b/main/libidn/APKBUILD
index b02d5db3cc..f6043b2267 100644
--- a/main/libidn/APKBUILD
+++ b/main/libidn/APKBUILD
@@ -7,25 +7,19 @@ pkgdesc="Encode/Decode library for internationalized domain names"
url="https://www.gnu.org/software/libidn"
arch="all"
license="GPL-2.0-or-later GPL-3.0-or-later LGPL-3.0-or-later"
-depends=
-makedepends=
checkdepends="diffutils"
-install=
subpackages="$pkgname-dev $pkgname-doc"
-source="https://ftp.gnu.org/gnu/libidn/$pkgname-$pkgver.tar.gz
+source="https://ftp.gnu.org/gnu/libidn/libidn-$pkgver.tar.gz
localename-test-fix.patch"
-builddir="$srcdir/$pkgname-$pkgver"
# secfixes:
# 1.33-r0:
-# - CVE-2015-8948
-# - CVE-2016-6261
-# - CVE-2016-6262
-# - CVE-2016-6263
+# - CVE-2015-8948
+# - CVE-2016-6261
+# - CVE-2016-6262
+# - CVE-2016-6263
build() {
- cd "$builddir"
-
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -38,12 +32,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
# only keep man pages