head 1.2; access; symbols pkgsrc-2013Q1:1.2.0.8 pkgsrc-2013Q1-base:1.2 pkgsrc-2012Q4:1.2.0.6 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.2.0.4 pkgsrc-2012Q3-base:1.2 pkgsrc-2012Q2:1.2.0.2 pkgsrc-2012Q2-base:1.2 pkgsrc-2012Q1:1.1.1.1.0.4 pkgsrc-2012Q1-base:1.1.1.1 pkgsrc-2011Q4:1.1.1.1.0.2 pkgsrc-2011Q4-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.2 date 2012.05.10.19.01.08; author schwarz; state Exp; branches; next 1.1; 1.1 date 2011.11.30.23.47.29; author pettai; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2011.11.30.23.47.29; author pettai; state Exp; branches; next ; desc @@ 1.2 log @Updated net/tacacs-shrubbery to 4.0.4.25 @ text @# $NetBSD: options.mk,v 1.1.1.1 2011/11/30 23:47:29 pettai Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.tacacs-shrubbery PKG_SUPPORTED_OPTIONS= tacacs-shrubbery-acls-support tacacs-shrubbery-drop-root-privileges tcpwrappers skey PKG_SUGGESTED_OPTIONS= tacacs-shrubbery-acls-support tcpwrappers skey .include "../../mk/bsd.options.mk" .if !empty(PKG_OPTIONS:Mtacacs-shrubbery-acls-support) CONFIGURE_ARGS+= --enable-acls .else CONFIGURE_ARGS+= --disable-acls .endif .if !empty(PKG_OPTIONS:Mtacacs-shrubbery-drop-root-privileges) # tac_plus code requires numeric UID, GID DEFAULT_TACACS_USER!= ${ID} -u nobody DEFAULT_TACACS_GROUP!= ${ID} -g nobody TACACS_USER?= ${DEFAULT_TACACS_USER} TACACS_GROUP?= ${DEFAULT_TACACS_GROUP} PKG_USERS= ${TACACS_USER}:${TACACS_GROUP} PKG_GROUPS= ${TACACS_GROUP} CONFIGURE_ARGS+= --with-userid=${TACACS_USER:Q} CONFIGURE_ARGS+= --with-groupid=${TACACS_GROUP:Q} .endif .if !empty(PKG_OPTIONS:Mtcpwrappers) CONFIGURE_ARGS+= --with-libwrap=${BUILDLINK_PREFIX.tcp_wrappers} . include "../../security/tcp_wrappers/buildlink3.mk" .else CONFIGURE_ARGS+= --without-libwrap .endif .if !empty(PKG_OPTIONS:Mskey) CONFIGURE_ARGS+= --with-skey=${BUILDLINK_PREFIX.skey} CHECK_BUILTIN.skey:=yes . include "../../security/skey/builtin.mk" CHECK_BUILTIN.skey:=no . if !empty(USE_BUILTIN.skey:M[nN][oO]) || ${OPSYS} == "OpenBSD" # pkgsrc's version uses three arguments only, as does OpenBSD's CPPFLAGS+= -DOLDSKEY . endif . include "../../security/skey/buildlink3.mk" .else CONFIGURE_ARGS+= --without-skey .endif @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ d36 4 a39 2 . include "../../security/skey/buildlink3.mk" . if (defined(IS_BUILTIN.skey) && ${IS_BUILTIN.skey} == no ) || ${OPSYS} == "OpenBSD" d43 1 @ 1.1.1.1 log @Tacacs+ (or tac_plus) is a freely distributable daemon from Cisco Systems. It is used in conjunction with Cisco routers for authorization, authentication, and accounting services. Tac_plus is configured via a single configuration file. This particular version is derived from the original Cisco sources and is maintained by Shrubbery Networks, Inc. @ text @@