blob: 45b6bae58fa6b8f7e5eff0fd1c0815f08c051c10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# $NetBSD: Makefile,v 1.5 2012/10/03 21:57:11 wiz Exp $
#
DISTNAME= tacacs+-F4.0.4.25
PKGNAME= ${DISTNAME:S,-F,-,}
PKGREVISION= 1
CATEGORIES= net security
MASTER_SITES= ftp://ftp.shrubbery.net/pub/tac_plus/
MAINTAINER= schwarz@NetBSD.org
HOMEPAGE= http://www.shrubbery.net/tac_plus/
COMMENT= Cisco AAA protocol (tacacs+) daemon (Shrubbery Networks version)
LICENSE= cisco-license
CONFLICTS+= tacacs-[0-9]*
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= id # used in options.mk
MAKE_JOBS_SAFE= no
.include "../../mk/bsd.prefs.mk"
.include "options.mk"
GNU_CONFIGURE= yes
USE_TOOLS+= bison flex perl
USE_LIBTOOL= yes
USE_LANGUAGES= c c++
USE_FEATURES+= snprintf
CONFIGURE_ARGS+= --with-acctfile=${VARBASE:Q}/log/tac_plus.acct
CONFIGURE_ARGS+= --with-logfile=${VARBASE:Q}/log/tac_plus.log
CONFIGURE_ARGS+= --with-pidfile=${VARBASE:Q}/run/tac_plus.pid
CONFIGURE_ENV+= PERLV_PATH=${PERL5:Q}
BUILD_DEFS+= VARBASE
.if !empty(LOWER_OPSYS:Mirix5*)
CPPFLAGS+= -Duint16_t=u_int16_t -Duint32_t=u_int32_t
.endif
INSTALLATION_DIRS= lib sbin ${PKGMANDIR}/man3 ${PKGMANDIR}/man5 \
${PKGMANDIR}/man8 share/doc/tacacs
do-install:
${LIBTOOL} --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/tac_plus ${DESTDIR}${PREFIX}/sbin
${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC}/libtacacs.la ${DESTDIR}${PREFIX}/lib
${INSTALL_PROGRAM} ${WRKSRC}/tac_pwd ${DESTDIR}${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKSRC}/tac_convert ${DESTDIR}${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/tac_plus.conf.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
${INSTALL_MAN} ${WRKSRC}/tac_plus.8 ${WRKSRC}/tac_pwd.8 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
${INSTALL_DATA} ${WRKSRC}/users_guide ${DESTDIR}${PREFIX}/share/doc/tacacs
.include "../../mk/bsd.pkg.mk"
|