2002-03-08 10:03:35 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.14 2002/03/08 15:03:35 danh Exp $
|
2001-03-28 14:35:25 -05:00
|
|
|
|
|
|
|
COMMENT= "Lucent remote access RADIUS server"
|
2000-08-17 21:15:03 -04:00
|
|
|
|
|
|
|
DISTNAME= radius21
|
2002-03-08 10:03:35 -05:00
|
|
|
PKGNAME= radiusd-lucent-2.1p3
|
2000-08-17 21:15:03 -04:00
|
|
|
CATEGORIES= net
|
2001-11-13 15:37:45 -05:00
|
|
|
NEED_VERSION= 1.496
|
2002-03-08 10:03:35 -05:00
|
|
|
MASTER_SITES= http://www.vergenet.net/linux/radius/download/
|
|
|
|
PATCHFILES= radius-2.1.comprehensive.2.patch.gz
|
2000-08-29 12:47:00 -04:00
|
|
|
EXTRACT_SUFX= .tar.Z
|
2000-08-17 21:15:03 -04:00
|
|
|
|
2000-09-23 15:59:51 -04:00
|
|
|
MAINTAINER= Dan Harnett <danh@openbsd.org>
|
2000-08-17 21:15:03 -04:00
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2001-08-14 14:05:19 -04:00
|
|
|
WRKDIST= ${WRKDIR}
|
|
|
|
WRKSRC= ${WRKDIST}/radius/src
|
2001-02-12 21:10:57 -05:00
|
|
|
MAKE_FLAGS+= CC="${CC}" CFLAGS="${CFLAGS} -DNOSHADOW -DNDBM" LIBS=""
|
2001-11-13 15:14:39 -05:00
|
|
|
NO_REGRESS= Yes
|
2000-08-17 21:15:03 -04:00
|
|
|
|
|
|
|
do-install:
|
2001-02-12 21:10:57 -05:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/builddbm ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/dbmkeys ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/dbmrec ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/md5test ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/radtest ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/testuser ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/radiusd ${PREFIX}/sbin
|
2000-08-17 21:15:03 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/radiusd-lucent
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/radiusd-lucent/menus
|
2001-08-14 14:05:19 -04:00
|
|
|
${INSTALL_DATA} ${WRKDIST}/radius/raddb/clients \
|
2000-08-17 21:15:03 -04:00
|
|
|
${PREFIX}/share/examples/radiusd-lucent/
|
2001-08-14 14:05:19 -04:00
|
|
|
${INSTALL_DATA} ${WRKDIST}/radius/raddb/config.aeg.example \
|
2000-08-17 21:15:03 -04:00
|
|
|
${PREFIX}/share/examples/radiusd-lucent/
|
2001-08-14 14:05:19 -04:00
|
|
|
${INSTALL_DATA} ${WRKDIST}/radius/raddb/dictionary \
|
2000-08-17 21:15:03 -04:00
|
|
|
${PREFIX}/share/examples/radiusd-lucent/
|
2001-08-14 14:05:19 -04:00
|
|
|
${INSTALL_DATA} ${WRKDIST}/radius/raddb/proxy \
|
2000-08-17 21:15:03 -04:00
|
|
|
${PREFIX}/share/examples/radiusd-lucent/
|
2001-08-14 14:05:19 -04:00
|
|
|
${INSTALL_DATA} ${WRKDIST}/radius/raddb/users \
|
2000-08-17 21:15:03 -04:00
|
|
|
${PREFIX}/share/examples/radiusd-lucent/
|
2001-08-14 14:05:19 -04:00
|
|
|
${INSTALL_DATA} ${WRKDIST}/radius/raddb/menus/menu1 \
|
2000-08-17 21:15:03 -04:00
|
|
|
${PREFIX}/share/examples/radiusd-lucent/menus/
|
2001-08-14 14:05:19 -04:00
|
|
|
${INSTALL_DATA} ${WRKDIST}/radius/raddb/menus/menu2 \
|
2000-08-17 21:15:03 -04:00
|
|
|
${PREFIX}/share/examples/radiusd-lucent/menus/
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/radiusd-lucent
|
2001-08-14 14:05:19 -04:00
|
|
|
${INSTALL_DATA} ${WRKDIST}/radius/LICENSE \
|
|
|
|
${PREFIX}/share/doc/radiusd-lucent/
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/radius/README \
|
2000-08-17 21:15:03 -04:00
|
|
|
${PREFIX}/share/doc/radiusd-lucent/
|
2002-03-08 10:03:35 -05:00
|
|
|
${INSTALL_DATA} ${WRKDIST}/radius/README.patched \
|
2000-08-17 21:15:03 -04:00
|
|
|
${PREFIX}/share/doc/radiusd-lucent/
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|