pkgsrc/net/freeradius/Makefile

53 lines
1.3 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.8 2004/01/24 14:50:05 grant Exp $
Adding freeradius package. Thanks to David Ferlier <david@netbsd-fr.org> for putting this package together. Closes PR pkg/20013. I had originally requested this package even though we already had the Cistern RADIUS package because some terminal servers won't work with one or the other of these packages. This increases the number of terminal servers that can work with NetBSD. from the DESCR file: All code in this server was written from scratch. The server is mostly compatible with livingston radiusd-2.01 (no menus or s/key support though) but with more feautures, such as: o Can limit max. number of simultaneous logins on a per-user basis! o Multiple DEFAULT entries, that can optionally fall-through. o In fact, every entry can fall-through o Deny/permit access based on huntgroup users dials into o Set certain parameters (such as static IP address) based on huntgroup o Extra "hints" file that can select SLIP/PPP/rlogin based on username pattern (Puser or user.ppp is PPP, plain "user" is rlogin etc). o Can execute an external program when user has authenticated (for example to run a sendmail queue). o Can use `$INCLUDE filename' in radiusd.conf, users, and dictionary files o Can act as a proxy server, relaying requests to a remote server o Supports Vendor-Specific attributes o No good documentation at all, just like the original radiusd 1.16! Then of course for general RADIUS questions, especially if you are using Livingston / Lucent RABU equipment, there is the portmaster-radius mailing list. Send mail to portmaster-radius-request@livingston.com to find out how to subscribe.
2003-02-27 09:51:00 +01:00
DISTNAME= freeradius-0.7
CATEGORIES= net
PKGREVISION= 4
Adding freeradius package. Thanks to David Ferlier <david@netbsd-fr.org> for putting this package together. Closes PR pkg/20013. I had originally requested this package even though we already had the Cistern RADIUS package because some terminal servers won't work with one or the other of these packages. This increases the number of terminal servers that can work with NetBSD. from the DESCR file: All code in this server was written from scratch. The server is mostly compatible with livingston radiusd-2.01 (no menus or s/key support though) but with more feautures, such as: o Can limit max. number of simultaneous logins on a per-user basis! o Multiple DEFAULT entries, that can optionally fall-through. o In fact, every entry can fall-through o Deny/permit access based on huntgroup users dials into o Set certain parameters (such as static IP address) based on huntgroup o Extra "hints" file that can select SLIP/PPP/rlogin based on username pattern (Puser or user.ppp is PPP, plain "user" is rlogin etc). o Can execute an external program when user has authenticated (for example to run a sendmail queue). o Can use `$INCLUDE filename' in radiusd.conf, users, and dictionary files o Can act as a proxy server, relaying requests to a remote server o Supports Vendor-Specific attributes o No good documentation at all, just like the original radiusd 1.16! Then of course for general RADIUS questions, especially if you are using Livingston / Lucent RABU equipment, there is the portmaster-radius mailing list. Send mail to portmaster-radius-request@livingston.com to find out how to subscribe.
2003-02-27 09:51:00 +01:00
MASTER_SITES= ftp://ftp.freeradius.org/pub/radius/ \
ftp://ftp.Awfulhak.org/pub/radius/
MAINTAINER= david@netbsd-fr.org
HOMEPAGE= http://www.freeradius.org/
COMMENT= Free RADIUS server implementation
CONFLICTS+= radiusd-cistron*
USE_GNU_TOOLS+= make
Adding freeradius package. Thanks to David Ferlier <david@netbsd-fr.org> for putting this package together. Closes PR pkg/20013. I had originally requested this package even though we already had the Cistern RADIUS package because some terminal servers won't work with one or the other of these packages. This increases the number of terminal servers that can work with NetBSD. from the DESCR file: All code in this server was written from scratch. The server is mostly compatible with livingston radiusd-2.01 (no menus or s/key support though) but with more feautures, such as: o Can limit max. number of simultaneous logins on a per-user basis! o Multiple DEFAULT entries, that can optionally fall-through. o In fact, every entry can fall-through o Deny/permit access based on huntgroup users dials into o Set certain parameters (such as static IP address) based on huntgroup o Extra "hints" file that can select SLIP/PPP/rlogin based on username pattern (Puser or user.ppp is PPP, plain "user" is rlogin etc). o Can execute an external program when user has authenticated (for example to run a sendmail queue). o Can use `$INCLUDE filename' in radiusd.conf, users, and dictionary files o Can act as a proxy server, relaying requests to a remote server o Supports Vendor-Specific attributes o No good documentation at all, just like the original radiusd 1.16! Then of course for general RADIUS questions, especially if you are using Livingston / Lucent RABU equipment, there is the portmaster-radius mailing list. Send mail to portmaster-radius-request@livingston.com to find out how to subscribe.
2003-02-27 09:51:00 +01:00
GNU_CONFIGURE= yes
USE_BUILDLINK2= YES
USE_LIBTOOL= YES
USE_PKGINSTALL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
PTHREAD_OPTS+= native
CONFIGURE_ARGS= --quiet
CONFIGURE_ARGS+= --with-logdir=/var/log
CONFIGURE_ARGS+= --disable-ltdl-install
CONFIGURE_ARGS+= --with-ltdl-lib=${PREFIX}/lib
CONFIGURE_ARGS+= --with-ltdl-include=${PREFIX}/include
CONFIGURE_ARGS+= --localstatedir=/var
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
RCD_SCRIPTS= radiusd
OWN_DIRS= /var/run/radiusd
PKG_SYSCONFSUBDIR= raddb
EGDIR= ${PREFIX}/share/examples/freeradius
CONF_FILES= # Contents set in HEADER file
Adding freeradius package. Thanks to David Ferlier <david@netbsd-fr.org> for putting this package together. Closes PR pkg/20013. I had originally requested this package even though we already had the Cistern RADIUS package because some terminal servers won't work with one or the other of these packages. This increases the number of terminal servers that can work with NetBSD. from the DESCR file: All code in this server was written from scratch. The server is mostly compatible with livingston radiusd-2.01 (no menus or s/key support though) but with more feautures, such as: o Can limit max. number of simultaneous logins on a per-user basis! o Multiple DEFAULT entries, that can optionally fall-through. o In fact, every entry can fall-through o Deny/permit access based on huntgroup users dials into o Set certain parameters (such as static IP address) based on huntgroup o Extra "hints" file that can select SLIP/PPP/rlogin based on username pattern (Puser or user.ppp is PPP, plain "user" is rlogin etc). o Can execute an external program when user has authenticated (for example to run a sendmail queue). o Can use `$INCLUDE filename' in radiusd.conf, users, and dictionary files o Can act as a proxy server, relaying requests to a remote server o Supports Vendor-Specific attributes o No good documentation at all, just like the original radiusd 1.16! Then of course for general RADIUS questions, especially if you are using Livingston / Lucent RABU equipment, there is the portmaster-radius mailing list. Send mail to portmaster-radius-request@livingston.com to find out how to subscribe.
2003-02-27 09:51:00 +01:00
post-install:
${INSTALL_DATA_DIR} ${EGDIR}
cd ${WRKSRC}/raddb && for f in [a-z]*; do \
${INSTALL_DATA} $$f ${EGDIR}/$$f; \
done
Adding freeradius package. Thanks to David Ferlier <david@netbsd-fr.org> for putting this package together. Closes PR pkg/20013. I had originally requested this package even though we already had the Cistern RADIUS package because some terminal servers won't work with one or the other of these packages. This increases the number of terminal servers that can work with NetBSD. from the DESCR file: All code in this server was written from scratch. The server is mostly compatible with livingston radiusd-2.01 (no menus or s/key support though) but with more feautures, such as: o Can limit max. number of simultaneous logins on a per-user basis! o Multiple DEFAULT entries, that can optionally fall-through. o In fact, every entry can fall-through o Deny/permit access based on huntgroup users dials into o Set certain parameters (such as static IP address) based on huntgroup o Extra "hints" file that can select SLIP/PPP/rlogin based on username pattern (Puser or user.ppp is PPP, plain "user" is rlogin etc). o Can execute an external program when user has authenticated (for example to run a sendmail queue). o Can use `$INCLUDE filename' in radiusd.conf, users, and dictionary files o Can act as a proxy server, relaying requests to a remote server o Supports Vendor-Specific attributes o No good documentation at all, just like the original radiusd 1.16! Then of course for general RADIUS questions, especially if you are using Livingston / Lucent RABU equipment, there is the portmaster-radius mailing list. Send mail to portmaster-radius-request@livingston.com to find out how to subscribe.
2003-02-27 09:51:00 +01:00
.include "../../databases/gdbm/buildlink2.mk"
.include "../../devel/libtool/buildlink2.mk"
.include "../../mk/pthread.buildlink2.mk"
.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "none"
CONFIGURE_ARGS+= --with-threads=no
.endif
Adding freeradius package. Thanks to David Ferlier <david@netbsd-fr.org> for putting this package together. Closes PR pkg/20013. I had originally requested this package even though we already had the Cistern RADIUS package because some terminal servers won't work with one or the other of these packages. This increases the number of terminal servers that can work with NetBSD. from the DESCR file: All code in this server was written from scratch. The server is mostly compatible with livingston radiusd-2.01 (no menus or s/key support though) but with more feautures, such as: o Can limit max. number of simultaneous logins on a per-user basis! o Multiple DEFAULT entries, that can optionally fall-through. o In fact, every entry can fall-through o Deny/permit access based on huntgroup users dials into o Set certain parameters (such as static IP address) based on huntgroup o Extra "hints" file that can select SLIP/PPP/rlogin based on username pattern (Puser or user.ppp is PPP, plain "user" is rlogin etc). o Can execute an external program when user has authenticated (for example to run a sendmail queue). o Can use `$INCLUDE filename' in radiusd.conf, users, and dictionary files o Can act as a proxy server, relaying requests to a remote server o Supports Vendor-Specific attributes o No good documentation at all, just like the original radiusd 1.16! Then of course for general RADIUS questions, especially if you are using Livingston / Lucent RABU equipment, there is the portmaster-radius mailing list. Send mail to portmaster-radius-request@livingston.com to find out how to subscribe.
2003-02-27 09:51:00 +01:00
.include "../../mk/bsd.pkg.mk"