2001-02-12 21:10:57 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.4 2001/02/13 02:10:57 danh Exp $
|
2000-08-17 21:15:03 -04:00
|
|
|
|
|
|
|
DISTNAME= radius21
|
|
|
|
PKGNAME= radiusd-lucent-2.1
|
|
|
|
CATEGORIES= net
|
2000-09-23 15:59:51 -04:00
|
|
|
NEED_VERSION= 1.334
|
2000-08-29 12:47:00 -04:00
|
|
|
MASTER_SITES= ftp://ftp.livingston.com/pub/le/radius/
|
|
|
|
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
|
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}/radius
|
|
|
|
WRKSRC= ${WRKDIST}/src
|
2001-02-12 21:10:57 -05:00
|
|
|
MAKE_FLAGS+= CC="${CC}" CFLAGS="${CFLAGS} -DNOSHADOW -DNDBM" LIBS=""
|
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
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/raddb/clients \
|
|
|
|
${PREFIX}/share/examples/radiusd-lucent/
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/raddb/config.aeg.example \
|
|
|
|
${PREFIX}/share/examples/radiusd-lucent/
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/raddb/dictionary \
|
|
|
|
${PREFIX}/share/examples/radiusd-lucent/
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/raddb/proxy \
|
|
|
|
${PREFIX}/share/examples/radiusd-lucent/
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/raddb/users \
|
|
|
|
${PREFIX}/share/examples/radiusd-lucent/
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/raddb/menus/menu1 \
|
|
|
|
${PREFIX}/share/examples/radiusd-lucent/menus/
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/raddb/menus/menu2 \
|
|
|
|
${PREFIX}/share/examples/radiusd-lucent/menus/
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/radiusd-lucent
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/LICENSE \
|
|
|
|
${PREFIX}/share/doc/radiusd-lucent/
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/README \
|
|
|
|
${PREFIX}/share/doc/radiusd-lucent/
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|