c4096e6659
If we need to make an exception we can do it and properly document the reason but by default we should just use the default login class. rc.d uses daemon or the login class provided in login.conf.d so this has no impact there. discussed with sthen@, tb@ and robert@ praying that my grep/sed skills did not break anything and still believing in portbump :-)
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
COMMENT = TACACS+ AAA service, often used with network equipment
|
|
|
|
V = 4.0.4.28
|
|
DISTNAME = tacacs-F${V}
|
|
PKGNAME = tacacs+-${V}
|
|
EPOCH = 0
|
|
REVISION = 0
|
|
|
|
SHARED_LIBS += tacacs 1.0
|
|
|
|
CATEGORIES = net security
|
|
HOMEPAGE = https://www.shrubbery.net/tac_plus/
|
|
MAINTAINER = Jan Vlach <janus@volny.cz>
|
|
|
|
# BSD style, but without fee
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += c pthread
|
|
|
|
MASTER_SITES = ftp://ftp.shrubbery.net/pub/tac_plus/
|
|
|
|
MODULES = lang/python
|
|
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_2}
|
|
MODPY_ADJ_FILES = do_auth.py
|
|
|
|
BUILD_DEPENDS = devel/bison
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ARGS = --with-libwrap=no \
|
|
--with-acctfile=/var/log/tac_plus/tac.acct \
|
|
--with-logfile=var/log/tac_plus/tac.log \
|
|
--with-whologfile=/var/log/tac_plus/tacwho.log
|
|
|
|
# don't allow picking up pam, gmake
|
|
CONFIGURE_ENV = ac_cv_lib_pam_pam_start=false \
|
|
MAKE=/usr/bin/make \
|
|
YACC=bison
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${FILESDIR}/tac_plus.conf.sample ${PREFIX}/share/tacacs
|
|
rm ${PREFIX}/bin/tac_pwd ${PREFIX}/man/man8/tac_pwd.8 # only works with des/md5 crypt
|
|
|
|
.include <bsd.port.mk>
|