blob: 65b35eb872e75e543a2370630b0b83ed87cc3c69 (
plain)
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
|
# Maintainer: Pawel Krawczyk <https://aur.archlinux.org/account/kravietz>
pkgname=pam-tacplus
pkgver=1.7.0
pkgrel=1
pkgdesc="PAM authentication against TACACS+ server"
arch=("x86_64" "aarch64")
url="https://github.com/kravietz/pam_tacplus/"
license=("GPL")
makedepends=("gnulib-git" "libtool" "autoconf" "automake")
depends=("pam")
source=("https://github.com/kravietz/pam_tacplus/archive/refs/tags/v1.7.0.tar.gz")
sha256sums=("b6c102eef0a42e3946bcdc29bbf7145c6dd13aa1fb6c58f6d282826166391837")
build() {
cd "$srcdir/pam_tacplus-$pkgver"
gnulib-tool --makefile-name=Makefile.gnulib --libtool --import \
fcntl crypto/md5 array-list list xlist getrandom realloc-posix \
explicit_bzero xalloc getopt-gnu
autoreconf -f -v -i
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/pam_tacplus-$pkgver"
make DESTDIR="$pkgdir/" install
rm "$pkgdir/usr/bin/runtests"
}
|