1 # Maintainer: Michael Asher < michael [at] wesolveeverything dot com >
2 # Contributor: Michael Asher < michael [at] wesolveeverything dot com >
6 pkgdesc="TACACS+ daemon"
8 url="http://www.shrubbery.net/tac_plus/"
10 source=(ftp://ftp.shrubbery.net/pub/tac_plus/tacacs+-F${pkgver}.tar.gz)
11 optdepends=('tcp_wrappers')
14 cd ${srcdir}/tacacs+-F${pkgver}
16 if [ ! -e "/usr/lib/libwrap.a" ] ; then
17 msg2 "Configuring without tcp_wrappers"
18 ./configure --prefix=/usr --with-libwrap=no >>/dev/null 2>&1
20 msg2 "Configuring with tcp_wrappers"
21 ./configure --prefix=/usr >>/dev/null 2>&1
25 make all 2>&1 >>/dev/null
26 msg2 "Installing to ${pkgdir}"
27 make DESTDIR=${pkgdir} install >>/dev/null 2>&1
28 msg2 "Copying License File..."
29 install -D -m644 ${srcdir}/tacacs+-F${pkgver}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE >>/dev/null
32 md5sums=('35b1081de86d0e8f2f99ba40844ceb31')
33 sha1sums=('233d3762357c8e59ec217102af53f2e7430300d7')