aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pwauth/APKBUILD
blob: 3789422566aa66929a099c7e245bb5f04a6b7baa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Contributor: Nathan Rennie-Waldock <nathan.renniewaldock@gmail.com>
# Maintainer: Nathan Rennie-Waldock <nathan.renniewaldock@gmail.com>
pkgname=pwauth
pkgver=2.3.11
pkgrel=1
pkgdesc="Authenticator for mod_authnz_external and Apache"
url="https://github.com/phokz/pwauth"
arch="all"
license="BSD-3-Clause"
subpackages="$pkgname-doc"
source="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/pwauth/pwauth-$pkgver.tar.gz
	10-config.patch
	20-fix-warnings.patch
	"
options="suid"

build() {
	make
}

package() {
	install -Dm4755 pwauth "$pkgdir/usr/sbin/pwauth"

	local f; for f in unixgroup INSTALL FORM_AUTH; do
		install -Dm644 "$f" \
			"$pkgdir/usr/share/doc/$pkgname/$f"
	done
}

sha512sums="e34542179785600262d046aa2d49f3fb3980ab5506e8108081c869617aa750adeee976ce9d3496fcb8e96150dddfc69bc240970865d6955e458152d72c1c8bc7  pwauth-2.3.11.tar.gz
8a04786d8cdf51af75fac1a0baa7a75fdb7c4cd5ef3f846a8d865f2d105013543392e11b0ba59a4ef487c6e69ac38876f892d44c1feb1c349b9674b66c1dd5b8  10-config.patch
37820302838297b73a5c2ad571f5872136cb76a18f6af88ff0a0681b4d0d030b9d94b6025c3ad1f7128114e0b369c668c30a022c4f1ce4273c698d7c75ac9e79  20-fix-warnings.patch"