Subject: [alpine-aports] [PATCH] testing/netatalk: Enable system shadow passwords, and fix lockfile path

From: Igor Kuznetsov <[email-masked]>
Date: Mon, 1 May 2017 10:57:07 +0000

---
 testing/netatalk/APKBUILD | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/testing/netatalk/APKBUILD b/testing/netatalk/APKBUILD
index f132874..b53969e 100644
--- a/testing/netatalk/APKBUILD
+++ b/testing/netatalk/APKBUILD
@@ -2,12 +2,12 @@
 # Maintainer: Alexander Rigbo <[email-masked]>
 pkgname=netatalk
 pkgver=3.1.10
-pkgrel=0
+pkgrel=1
 pkgdesc="Netatalk is a freely-available Open Source AFP fileserver"
 url="http://netatalk.sourceforge.net/"
 arch="all"
 license="GPL2"
-makedepends="acl-dev attr-dev db-dev libevent-dev libgcrypt-dev tdb-dev"
+makedepends="acl-dev attr-dev db-dev libevent-dev libgcrypt-dev tdb-dev file"
 subpackages="$pkgname-doc $pkgname-dev"
 source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
 	netatalk.initd"
@@ -29,7 +29,7 @@ build() {
 		--enable-overwrite \
 		--without-libiconv \
 		--without-pam \
-		--without-shadow \
+		--with-shadow \
 		--without-kerberos \
 		--without-ldap \
 		--with-acls \
@@ -40,7 +40,7 @@ build() {
 		--without-tdb \
 		--without-dtrace \
 		--without-afpstats \
-		--with-lockfile=/run \
+		--with-lockfile=/var/locks/netatalk \
 		|| return 1
 	make || return 1
 }
@@ -58,5 +58,9 @@ package() {
 		"$pkgdir"/etc/init.d/$pkgname || return 1
 }
 
+md5sums="a6f8faa52028b7180e34672cca3d98aa  netatalk-3.1.10.tar.gz
+b4915dbccbc8362673140a6aff99414a  netatalk.initd"
+sha256sums="66c1a11fc9f37de45a92179fb04b5c72f9c183b335f24f718dced602cb579560  netatalk-3.1.10.tar.gz
+d455ea93e795f0fb506e1d5df008aeadb7c84f1398890474718863078ce178e9  netatalk.initd"
 sha512sums="002aacc87778cd88ce544b69fc44052f32d07fce34858b20e760e771700d10552189a39a43943b193e22737de74e9be6934bf4c54d3207b615a1ceb4ecaf9a9e  netatalk-3.1.10.tar.gz
 c4dc6b1967f4b86ee2f1cfc480edab5467fb1f67fd0cbbed23c8454568d0aaceeedaa23db90f8ca5b47f24d346f72d5e12307557edfeeefcbee003f85c56cced  netatalk.initd"
-- 
2.12.2

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---