mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
6c6c1c441b
tac_plus is a TACACS+ daemon. It provides Cisco Systems routers and access servers with authentication, authorisation and accounting services. This version is a major rewrite of the original Cisco source code. Key features include: - NAS specific host keys, prompts, enable passwords - NAS- and ACL-dependent group memberships - Flexible external backends for user profiles (e.g. via PERL scripts or C; LDAP (including ActiveDirectory), RADIUS and others are included ) - Connection multiplexing (multiple concurrent NAS clients per process) - Session multiplexing - Scalable, no limit on users, clients or servers - CLI context aware. At the time of writing this, no other TACACS+ daemon is. - Both IPv4 and IPv6 are fully supported. - Compliant to latest TACACS+ protocol specification (draft 1.78) WWW: http://www.pro-bono-publico.de/projects/tac_plus.html PR: 239755 Submitted by: akuz84@gmail.com
66 lines
1.3 KiB
Makefile
66 lines
1.3 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= tacacs
|
|
PORTVERSION= 201906100936
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.pro-bono-publico.de/projects/src/
|
|
|
|
MAINTAINER= akuz84@gmail.com
|
|
COMMENT= This is a TACACS+ daemon from pro-bono
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
USES= gmake perl5 ssl shebangfix
|
|
|
|
WRKSRC= ${WRKDIR}/PROJECTS
|
|
|
|
CONFLICTS= tac_plus4
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-ssl \
|
|
--with-zlib \
|
|
--libdir=${LOCALBASE}/lib \
|
|
--installroot=${STAGEDIR} mavis spawnd mavisd tac_plus
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
OPTIONS_DEFINE= CURL FREERADIUS SCTP PCRE
|
|
OPTIONS_DEFAULT= SCTP
|
|
|
|
MAKE_JOBS_UNSAFE=yes
|
|
|
|
SCTP_DESC= SCTP support
|
|
SCTP_CONFIGURE_WITH= sctp
|
|
|
|
PCRE_DESC= PCRE support
|
|
PCRE_LIB_DEPENDS= libpcre.so:devel/pcre
|
|
PCRE_CONFIGURE_ON= --with-pcre-lib=${LOCALBASE}/lib
|
|
PCRE_CONFIGURE_OFF=
|
|
|
|
CURL_DESC= Curl support
|
|
CURL_LIB_DEPENDS= libcurl.so:ftp/curl
|
|
CURL_CONFIGURE_ON= --with-curl-lib=${LOCALBASE}/lib
|
|
CURL_CONFIGURE_OFF=
|
|
|
|
FREERADIUS_DESC= Freeradius support
|
|
FREERADIUS_LIB_DEPENDS= libfreeradius-radius.so:net/freeradius3
|
|
FREERADIUS_CONFIGURE_ON= --with-pcre-lib=${LOCALBASE}/lib
|
|
FREERADIUS_CONFIGURE_OFF=
|
|
|
|
USERS= tacacs
|
|
GROUPS= tacacs
|
|
|
|
WRKSRC= ${WRKDIR}/PROJECTS
|
|
|
|
SHEBANG_FILES= tac_plus/sample/tac_plus.cfg
|
|
|
|
USE_RC_SUBR?= tac_plus
|
|
|
|
post-build:
|
|
@${REINPLACE_CMD} -e '1d' ${WRKSRC}/tac_plus/sample/tac_plus.cfg
|
|
|
|
post-install:
|
|
|
|
.include <bsd.port.mk>
|