1998-04-24 15:35:03 +02:00
|
|
|
# New ports collection makefile for: radiusd-cistron
|
1999-01-18 04:10:35 +01:00
|
|
|
# Date created: 15 Jan 1999
|
1998-04-24 15:35:03 +02:00
|
|
|
# Whom: john@nlc.net.au
|
|
|
|
#
|
1999-08-30 16:24:37 +02:00
|
|
|
# $FreeBSD$
|
1998-04-24 15:35:03 +02:00
|
|
|
#
|
|
|
|
|
2000-04-09 20:14:07 +02:00
|
|
|
PORTNAME= radiusd-cistron
|
2001-01-11 08:59:56 +01:00
|
|
|
PORTVERSION= 1.6.4
|
1998-04-24 15:35:03 +02:00
|
|
|
CATEGORIES= net
|
2000-05-04 01:04:49 +02:00
|
|
|
MASTER_SITES= ftp://ftp.cistron.nl/pub/people/miquels/radius/ \
|
|
|
|
ftp://ftp.freeradius.org/pub/radius/
|
1998-04-24 15:35:03 +02:00
|
|
|
|
2002-01-29 16:56:57 +01:00
|
|
|
FORBIDDEN= "Remotely exploitable buffer overflow"
|
|
|
|
|
1998-04-24 15:35:03 +02:00
|
|
|
MAINTAINER= john@nlc.net.au
|
|
|
|
|
|
|
|
MAKEFILE= Makefile.BSD
|
|
|
|
|
1999-01-18 04:10:35 +01:00
|
|
|
MAN1= radlast.1 radtest.1 raduse.1 radwho.1 radzap.1
|
1998-04-24 15:35:03 +02:00
|
|
|
MAN5= clients.5rad naslist.5rad
|
1999-01-18 04:10:35 +01:00
|
|
|
MAN8= radiusd.8 radwatch.8
|
1998-04-24 15:35:03 +02:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${MAKE} -f ${MAKEFILE}
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${MAKE} -f ${MAKEFILE} install
|
|
|
|
@${MKDIR} -m 700 /var/log/radacct
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/radiusd-cistron
|
1999-01-18 04:10:35 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/COPYRIGHT.Cistron ${PREFIX}/share/doc/radiusd-cistron
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/COPYRIGHT.Livingston ${PREFIX}/share/doc/radiusd-cistron
|
1998-04-24 15:35:03 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/ChangeLog ${PREFIX}/share/doc/radiusd-cistron
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/INSTALL.OLD ${PREFIX}/share/doc/radiusd-cistron
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/README ${PREFIX}/share/doc/radiusd-cistron
|
1999-05-01 05:15:12 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/README.Y2K ${PREFIX}/share/doc/radiusd-cistron
|
1999-01-18 04:10:35 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/README.cisco ${PREFIX}/share/doc/radiusd-cistron
|
1998-04-24 15:35:03 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/README.pam ${PREFIX}/share/doc/radiusd-cistron
|
1999-01-18 04:10:35 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/README.proxy ${PREFIX}/share/doc/radiusd-cistron
|
1998-04-24 15:35:03 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/README.simul ${PREFIX}/share/doc/radiusd-cistron
|
1999-01-18 04:10:35 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/README.usersfile ${PREFIX}/share/doc/radiusd-cistron
|
1998-04-24 15:35:03 +02:00
|
|
|
.endif
|
1999-01-18 04:10:35 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/radlast.1 ${MANPREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/radtest.1 ${MANPREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/raduse.1 ${MANPREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/radwho.1 ${MANPREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/radzap.1 ${MANPREFIX}/man/man1
|
1998-04-24 15:35:03 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/clients.5rad ${MANPREFIX}/man/man5
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/naslist.5rad ${MANPREFIX}/man/man5
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/radiusd.8 ${MANPREFIX}/man/man8
|
1999-01-18 04:10:35 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/radwatch.8 ${MANPREFIX}/man/man8
|
1998-04-24 15:35:03 +02:00
|
|
|
|
|
|
|
post-install:
|
1999-01-18 04:10:35 +01:00
|
|
|
@${SED} -e "s=!!PREFIX!!=${PREFIX}=g" ${FILESDIR}/radiusd.sh.tmpl \
|
|
|
|
> ${PREFIX}/etc/rc.d/radiusd.sh
|
1999-08-22 21:01:07 +02:00
|
|
|
@${CHMOD} 555 ${PREFIX}/etc/rc.d/radiusd.sh
|
2001-06-01 08:05:18 +02:00
|
|
|
@${CHOWN} root:wheel ${PREFIX}/etc/rc.d/radiusd.sh
|
1998-04-24 15:35:03 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|