aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-04-05 18:35:59 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-05 18:38:45 -0300
commit858de3b2c3cd1da40393ff12bf76a22a2f249264 (patch)
tree93c616bc36339b93601b8aa36482386b776fc3c9
parentde20df90c0f698d54f97fc2db8ca3b71562e9f77 (diff)
downloadaports-858de3b2c3cd1da40393ff12bf76a22a2f249264.tar.bz2
aports-858de3b2c3cd1da40393ff12bf76a22a2f249264.tar.xz
community/netatalk: modernize, fix license
-rw-r--r--community/netatalk/APKBUILD14
1 files changed, 4 insertions, 10 deletions
diff --git a/community/netatalk/APKBUILD b/community/netatalk/APKBUILD
index c7ef94d895..d7dc48da66 100644
--- a/community/netatalk/APKBUILD
+++ b/community/netatalk/APKBUILD
@@ -2,25 +2,22 @@
# Maintainer: Alexander Rigbo <alex@dnb.nu>
pkgname=netatalk
pkgver=3.1.12
-pkgrel=1
+pkgrel=2
pkgdesc="Netatalk is a freely-available Open Source AFP fileserver"
url="http://netatalk.sourceforge.net/"
arch="all"
-license="GPL-2.0"
+license="GPL-2.0-or-later"
makedepends="acl-dev attr-dev db-dev libevent-dev libgcrypt-dev tdb-dev file"
subpackages="$pkgname-doc $pkgname-dev"
-source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
+source="https://downloads.sourceforge.net/netatalk/netatalk-$pkgver.tar.gz
netatalk.initd"
-builddir="$srcdir/$pkgname-$pkgver"
options="suid" # needed for /usr/bin/afppasswd
# secfixes:
# 3.1.12-r0:
-# - CVE-2018-1160
+# - CVE-2018-1160
build() {
- cd "$builddir"
-
# Notes:
# --without-libevent - don't use *bundled* libevent
# --without-tdb - don't use *bundled* tdb
@@ -53,13 +50,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
-
make DESTDIR="$pkgdir" install
# We don't build with dbug support.