1996-09-24 11:12:01 -04:00
|
|
|
# New ports collection makefile for: ascend-radius
|
|
|
|
# Date created: August 28th 96
|
|
|
|
# Whom: James FitzGibbon <jfitz@FreeBSD.org>
|
|
|
|
#
|
1999-08-30 10:24:37 -04:00
|
|
|
# $FreeBSD$
|
1996-09-24 11:12:01 -04:00
|
|
|
#
|
|
|
|
|
2000-04-09 14:14:07 -04:00
|
|
|
PORTNAME= ascend-radius
|
|
|
|
PORTVERSION= 980618
|
1996-11-18 06:44:27 -05:00
|
|
|
CATEGORIES= net
|
1996-10-18 07:44:20 -04:00
|
|
|
MASTER_SITES= ftp://ftp.ascend.com/pub/Software-Releases/Radius/Current/ \
|
1997-06-26 22:26:44 -04:00
|
|
|
ftp://ftp.ascend.com/pub/Software-Releases/Radius/Current/doc/ \
|
|
|
|
ftp://ftp.ascend.com/pub/Software-Releases/Radius/Archive/ \
|
|
|
|
ftp://ftp.ascend.com/pub/Software-Releases/Radius/Archive/doc/
|
1999-01-03 23:56:48 -05:00
|
|
|
DISTFILES= radius-980618.tar.gz \
|
1997-06-26 22:26:44 -04:00
|
|
|
radius.ps \
|
|
|
|
radius.pdf \
|
1999-01-03 23:56:48 -05:00
|
|
|
980618.ps \
|
|
|
|
980618.pdf
|
|
|
|
EXTRACT_ONLY= radius-980618.tar.gz
|
1996-09-24 11:12:01 -04:00
|
|
|
|
1999-08-31 02:53:31 -04:00
|
|
|
MAINTAINER= jfitz@FreeBSD.org
|
1996-09-24 11:12:01 -04:00
|
|
|
|
1999-01-03 23:56:48 -05:00
|
|
|
WRKPREFIX= radius-980618/radius-1.16-ascend
|
1996-09-24 11:12:01 -04:00
|
|
|
WRKSRC= ${WRKDIR}/${WRKPREFIX}/ascendd
|
|
|
|
|
|
|
|
ALL_TARGET= all dbm
|
1996-11-30 20:23:27 -05:00
|
|
|
MAN1= builddbm.1 users-file-syntax.1
|
1996-09-24 11:12:01 -04:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/radiusd ${PREFIX}/sbin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/radiusd.dbm ${PREFIX}/sbin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/builddbm ${PREFIX}/sbin
|
|
|
|
${INSTALL_MAN} ${WRKDIR}/${WRKPREFIX}/man1/users-file-syntax.1 ${PREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${WRKDIR}/${WRKPREFIX}/man1/builddbm.1 ${PREFIX}/man/man1
|
|
|
|
.ifndef NOPORTDOCS
|
1996-11-30 20:23:27 -05:00
|
|
|
@ ${MKDIR} ${PREFIX}/share/doc/ascend-radius
|
1996-09-24 11:12:01 -04:00
|
|
|
for file in ascend.doc draft-ietf-radius-accounting-01.txt draft-ietf-radius-radius-03.txt draft-ietf-radius-radius-04.txt; do \
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/${WRKPREFIX}/doc/$$file ${PREFIX}/share/doc/ascend-radius; \
|
|
|
|
done
|
|
|
|
for file in ChangeLog README README.cexample README.dict; do \
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/${WRKPREFIX}/$$file ${PREFIX}/share/doc/ascend-radius; \
|
1997-01-24 07:10:12 -05:00
|
|
|
done
|
1997-06-26 22:26:44 -04:00
|
|
|
${INSTALL_DATA} ${DISTDIR}/radius.ps ${PREFIX}/share/doc/ascend-radius
|
|
|
|
${INSTALL_DATA} ${DISTDIR}/radius.pdf ${PREFIX}/share/doc/ascend-radius
|
1999-01-03 23:56:48 -05:00
|
|
|
${INSTALL_DATA} ${DISTDIR}/980618.ps ${PREFIX}/share/doc/ascend-radius
|
|
|
|
${INSTALL_DATA} ${DISTDIR}/980618.pdf ${PREFIX}/share/doc/ascend-radius
|
1996-09-24 11:12:01 -04:00
|
|
|
.endif
|
1996-11-30 20:23:27 -05:00
|
|
|
@ ${MKDIR} ${PREFIX}/etc/raddb
|
1999-08-22 15:01:07 -04:00
|
|
|
@ ${CHOWN} root.wheel ${PREFIX}/etc/raddb
|
|
|
|
@ ${CHMOD} 700 ${PREFIX}/etc/raddb
|
1996-09-24 11:12:01 -04:00
|
|
|
for file in clients.example dictionary users.example; do \
|
|
|
|
${INSTALL} -c -o root -g wheel -m 0400 ${WRKDIR}/${WRKPREFIX}/raddb/$$file ${PREFIX}/etc/raddb; \
|
|
|
|
done
|
1996-11-30 20:23:27 -05:00
|
|
|
@ ${MKDIR} /var/log/radacct
|
1999-08-22 15:01:07 -04:00
|
|
|
@ ${CHOWN} root.wheel /var/log/radacct
|
|
|
|
@ ${CHMOD} 700 /var/log/radacct
|
1996-09-24 11:12:01 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|