Commit 588e5940 authored by Leo's avatar Leo
Browse files

testing/pwauth: modernize

parent 414c1453
...@@ -2,35 +2,28 @@ ...@@ -2,35 +2,28 @@
# Maintainer: Nathan Rennie-Waldock <nathan.renniewaldock@gmail.com> # Maintainer: Nathan Rennie-Waldock <nathan.renniewaldock@gmail.com>
pkgname=pwauth pkgname=pwauth
pkgver=2.3.11 pkgver=2.3.11
pkgrel=0 pkgrel=1
pkgdesc="Authenticator for mod_authnz_external and Apache" pkgdesc="Authenticator for mod_authnz_external and Apache"
url="https://code.google.com/p/pwauth/" url="https://github.com/phokz/pwauth"
arch="all" arch="all"
license="BSD-3-Clause" license="BSD-3-Clause"
depends=""
makedepends=""
install=""
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/pwauth/$pkgname-$pkgver.tar.gz source="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/pwauth/pwauth-$pkgver.tar.gz
10-config.patch 10-config.patch
20-fix-warnings.patch" 20-fix-warnings.patch
builddir="$srcdir/$pkgname-$pkgver" "
options="suid" options="suid"
build() { build() {
cd "$builddir" make
make || return 1
} }
package() { package() {
cd "$builddir" install -Dm4755 pwauth "$pkgdir/usr/sbin/pwauth"
install -Dm4755 pwauth "$pkgdir/usr/sbin/pwauth" || return 1
local f local f; for f in unixgroup INSTALL FORM_AUTH; do
for f in unixgroup INSTALL FORM_AUTH; do
install -Dm644 "$f" \ install -Dm644 "$f" \
"$pkgdir/usr/share/doc/$pkgname/$f" || return 1 "$pkgdir/usr/share/doc/$pkgname/$f"
done done
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment