if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}. This commit doesn't change any versions currently used; it may be that some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those should be cleaned up in the course of updating ports where possible. Python module ports providing py3-* packages should still use FLAVOR=python3 so that we don't have a mixture of dependencies some using ${MODPY_FLAVOR} and others not.
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.20 2021/02/23 19:39:35 sthen Exp $
|
|
|
|
COMMENT = TACACS+ AAA service, often used with network equipment
|
|
|
|
V = 4.0.4.28
|
|
DISTNAME = tacacs-F${V}
|
|
PKGNAME = tacacs+-${V}
|
|
EPOCH = 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
|
|
CONFIGURE_ENV = ac_cv_lib_pam_pam_start=false \
|
|
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>
|