Remove super old unmaintained radius server. If people really wants to
use softwares with obvious security implication, we shoud not help them. Use freeradius if you want a maintained RADIUS server. ok rpointel@
This commit is contained in:
parent
c6196f84ab
commit
3674adb0c3
@ -1,51 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.32 2013/03/11 11:35:56 espie Exp $
|
||||
|
||||
COMMENT= Cistron RADIUS server
|
||||
|
||||
VERSION= 1.6.7
|
||||
DISTNAME= radiusd-cistron-${VERSION}
|
||||
REVISION= 3
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ftp://ftp.radius.cistron.nl/pub/radius/ \
|
||||
ftp://ftp.freeradius.org/pub/radius/ \
|
||||
ftp://ftp.mma.com.br/pub/cistron-radius/
|
||||
|
||||
HOMEPAGE= http://www.radius.cistron.nl/
|
||||
|
||||
RUN_DEPENDS= net/p5-Net-Telnet \
|
||||
net/p5-SNMP_Session
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
|
||||
WANTLIB= c
|
||||
|
||||
WRKSRC= ${WRKDIST}/src
|
||||
MAKE_FILE= Makefile.BSD
|
||||
MAKE_FLAGS+= CC="${CC}" LCRYPT="" DBM="-DUSE_DB1" DBMLIBS="" \
|
||||
CFLAGS="${CFLAGS} -DNOSHADOW -DUSE_SYSLOG -fno-builtin-log"
|
||||
FAKE_FLAGS+= BINDIR='${WRKINST}${PREFIX}/bin' \
|
||||
SBINDIR='${WRKINST}${PREFIX}/sbin' \
|
||||
MANDIR='${WRKINST}${PREFIX}/man' \
|
||||
RADIUS_DIR='${WRKINST}${PREFIX}/share/examples/radiusd-cistron'
|
||||
USE_GROFF = Yes
|
||||
NO_TEST= Yes
|
||||
|
||||
post-install:
|
||||
${INSTALL_MAN} ${WRKDIST}/doc/clients.5rad ${PREFIX}/man/man5/clients.5
|
||||
${INSTALL_MAN} ${WRKDIST}/doc/naslist.5rad ${PREFIX}/man/man5/naslist.5
|
||||
${INSTALL_MAN} ${WRKDIST}/doc/builddbm.8rad \
|
||||
${PREFIX}/man/man8/builddbm.8
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/radiusd-cistron
|
||||
@for file in ${WRKDIST}/doc/README* ; do \
|
||||
${INSTALL_DATA} $$file ${PREFIX}/share/doc/radiusd-cistron; \
|
||||
done
|
||||
@perl -pi -e "s#[ ]SHAREDIR# ${SYSCONFDIR}/raddb#g" \
|
||||
${WRKDIST}/raddb/dictionary
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/radiusd-cistron
|
||||
@for file in ${WRKDIST}/raddb/* ; do \
|
||||
${INSTALL_DATA} $$file \
|
||||
${PREFIX}/share/examples/radiusd-cistron; \
|
||||
done
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,5 +0,0 @@
|
||||
MD5 (radiusd-cistron-1.6.7.tar.gz) = WuMN1Vu78gWE8d/n+o9rBg==
|
||||
RMD160 (radiusd-cistron-1.6.7.tar.gz) = Eiktd8ZEsfk1qI5kE1876QN7z28=
|
||||
SHA1 (radiusd-cistron-1.6.7.tar.gz) = VMbgigyCqNFpKMFBC/UPalDvfZk=
|
||||
SHA256 (radiusd-cistron-1.6.7.tar.gz) = Td458gj1ec8COjIyTdoYwR17aNy7xOUt1bUtV/YGyps=
|
||||
SIZE (radiusd-cistron-1.6.7.tar.gz) = 198927
|
@ -1,37 +0,0 @@
|
||||
$OpenBSD: patch-src_Make_inc,v 1.3 2004/07/12 13:32:11 danh Exp $
|
||||
--- src/Make.inc.orig Thu Apr 10 06:51:47 2003
|
||||
+++ src/Make.inc Mon Jul 12 09:03:02 2004
|
||||
@@ -115,15 +115,13 @@ clean:
|
||||
|
||||
install:
|
||||
# Install the binaries
|
||||
- $(DINSTALL) $(SBINDIR)
|
||||
- $(DINSTALL) $(BINDIR)
|
||||
$(DINSTALL) $(RADIUS_DIR)
|
||||
$(INSTALL) -m 755 -s radiusd $(SBINDIR)/radiusd
|
||||
$(INSTALL) -m 755 -s radrelay $(SBINDIR)/radrelay
|
||||
$(INSTALL) -m 755 -s radwho $(BINDIR)
|
||||
$(INSTALL) -m 755 -s radzap $(BINDIR)
|
||||
$(INSTALL) -m 755 -s radclient $(BINDIR)
|
||||
- test -z "$(DBM)" || $(INSTALL) -m 755 -s builddbm $(BINDIR)
|
||||
+ $(INSTALL) -m 755 -s builddbm $(BINDIR)
|
||||
$(INSTALL) -m 755 checkrad.pl $(SBINDIR)/checkrad
|
||||
$(INSTALL) -m 755 radlast $(BINDIR)
|
||||
$(INSTALL) -m 755 radtest $(BINDIR)
|
||||
@@ -135,16 +133,3 @@ install:
|
||||
$(INSTALL) -m 644 $$manfile $(MANDIR)/man$$section; \
|
||||
done ; \
|
||||
done
|
||||
- test -n "$(DBM)" || rm -f $(MANDIR)/man8/builddbm.8rad
|
||||
- @if [ -d /etc/pam.d/ ] && [ ! -f /etc/pam.d/radius ]; then \
|
||||
- $(INSTALL) -m 644 ../redhat/radiusd-pam /etc/pam.d/radius;\
|
||||
- fi
|
||||
- @# Install the config files
|
||||
- @echo; echo "Creating/updating files in $(RADIUS_DIR)"; \
|
||||
- cd ../raddb; \
|
||||
- for i in [a-c]* [e-z]*; do \
|
||||
- [ ! -f $(RADIUS_DIR)/$$i ] && cp $$i $(RADIUS_DIR)/$$i; \
|
||||
- done; true
|
||||
- @# Install the dictionary files
|
||||
- @sh dict-install.sh ../raddb $(RADIUS_DIR) $(SHAREDIR)
|
||||
-
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-src_md5_h,v 1.1 2002/09/30 15:19:40 danh Exp $
|
||||
--- src/md5.h.orig Sun Sep 29 23:43:44 2002
|
||||
+++ src/md5.h Sun Sep 29 23:44:05 2002
|
||||
@@ -21,7 +21,7 @@ typedef unsigned char *POINTER;
|
||||
typedef unsigned short int UINT2;
|
||||
|
||||
/* UINT4 defines a four byte word */
|
||||
-#if defined(__alpha) && (defined(__osf__) || defined(__linux__))
|
||||
+#if defined(__alpha) && (defined(__osf__) || defined(__linux__)) || defined(__OpenBSD__)
|
||||
typedef unsigned int UINT4;
|
||||
#else
|
||||
typedef unsigned long int UINT4;
|
@ -1,11 +0,0 @@
|
||||
$OpenBSD: patch-src_radiusd_h,v 1.1 2010/05/23 16:30:03 espie Exp $
|
||||
--- src/radiusd.h.orig Sun May 23 18:28:21 2010
|
||||
+++ src/radiusd.h Sun May 23 18:28:35 2010
|
||||
@@ -204,7 +204,6 @@ extern char *radutmp_path;
|
||||
extern char *radwtmp_path;
|
||||
extern UINT4 expiration_seconds;
|
||||
extern UINT4 warning_seconds;
|
||||
-extern int radius_pid;
|
||||
extern int use_dbm;
|
||||
extern int use_dns;
|
||||
extern int use_wtmp;
|
@ -1,35 +0,0 @@
|
||||
$OpenBSD: patch-src_sysdep_h,v 1.5 2004/07/12 13:32:11 danh Exp $
|
||||
--- src/sysdep.h.orig Wed Jun 4 11:45:28 2003
|
||||
+++ src/sysdep.h Mon Jul 12 08:26:45 2004
|
||||
@@ -28,7 +28,7 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
-#if defined(__alpha) && (defined(__osf__) || defined(__linux__))
|
||||
+#if defined(__alpha) && (defined(__osf__) || defined(__linux__)) || defined(__OpenBSD__)
|
||||
typedef unsigned int UINT4;
|
||||
#else
|
||||
typedef unsigned long UINT4;
|
||||
@@ -44,7 +44,7 @@ typedef unsigned long long UINT8;
|
||||
#include <string.h>
|
||||
#endif
|
||||
|
||||
-#if defined(__FreeBSD__) || defined(bsdi)
|
||||
+#if defined(__FreeBSD__) || defined(bsdi) || defined(__OpenBSD__)
|
||||
# include <stdlib.h>
|
||||
#else
|
||||
# include <malloc.h>
|
||||
@@ -86,6 +86,13 @@ typedef unsigned long long UINT8;
|
||||
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(bsdi)
|
||||
# ifndef UTMP_FILE
|
||||
# define UTMP_FILE "/var/run/utmp"
|
||||
+# endif
|
||||
+# define ut_user ut_name
|
||||
+#endif
|
||||
+#if defined(__OpenBSD__)
|
||||
+# include <utmp.h>
|
||||
+# ifndef UTMP_FILE
|
||||
+# define UTMP_FILE _PATH_UTMP
|
||||
# endif
|
||||
# define ut_user ut_name
|
||||
#endif
|
@ -1,13 +0,0 @@
|
||||
$OpenBSD: patch-src_version_c,v 1.4 2004/07/12 13:32:11 danh Exp $
|
||||
--- src/version.c.orig Mon Jul 21 07:18:38 2003
|
||||
+++ src/version.c Mon Jul 12 08:26:45 2004
|
||||
@@ -95,6 +95,9 @@ void version(void)
|
||||
#if defined(bsdi)
|
||||
fprintf(stderr," bsdi");
|
||||
#endif
|
||||
+#if defined(__OpenBSD__)
|
||||
+ fprintf(stderr," openbsd");
|
||||
+#endif
|
||||
#if defined(sun)
|
||||
fprintf(stderr," sun");
|
||||
#endif
|
@ -1,17 +0,0 @@
|
||||
The server is mostly compatible with livingston radiusd-2.01
|
||||
(no menus or s/key support though) but with more features,
|
||||
such as:
|
||||
|
||||
o Limit max. number of simultaneous logins.
|
||||
o Multiple DEFAULT entries.
|
||||
o Every entry can fall-through.
|
||||
o Huntgroup based access and configuration.
|
||||
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 authenti-
|
||||
cated (for example to run a sendmail queue).
|
||||
o Can include multiple files in users and dictionary files.
|
||||
o Can act as a proxy server, relaying requests to a remote
|
||||
server.
|
||||
o Supports Vendor-Specific attributes.
|
@ -1,15 +0,0 @@
|
||||
The RADIUS configuration files belong in ${SYSCONFDIR}/raddb. Examples
|
||||
and extra documentation can be found in the following locations:
|
||||
|
||||
${PREFIX}/share/examples/radiusd-cistron
|
||||
${PREFIX}/share/doc/radiusd-cistron
|
||||
|
||||
To have the daemon start at boot time, you will need to edit
|
||||
/etc/rc.local as appropriate and add a section similar to the following:
|
||||
|
||||
if [ -x ${PREFIX}/sbin/radiusd ]; then
|
||||
${PREFIX}/sbin/radiusd -y && echo -n ' radiusd'
|
||||
fi
|
||||
|
||||
See radiusd(8) for more available options. RADIUS accounting
|
||||
information is created in /var/log/radacct.
|
@ -1,91 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.13 2011/05/11 12:03:19 jasper Exp $
|
||||
@conflict freeradius-*
|
||||
@conflict radiusd-lucent-*
|
||||
@extraunexec rm -rf ${SYSCONFDIR}/raddb/*
|
||||
@extraunexec rm -rf /var/log/radacct/*
|
||||
bin/builddbm
|
||||
bin/radclient
|
||||
bin/radlast
|
||||
bin/radtest
|
||||
bin/radwho
|
||||
bin/radzap
|
||||
@man man/man1/radclient.1
|
||||
@man man/man1/radlast.1
|
||||
@man man/man1/radtest.1
|
||||
@man man/man1/radwho.1
|
||||
@man man/man1/radzap.1
|
||||
@man man/man5/clients.5
|
||||
man/man5/clients.5rad
|
||||
@man man/man5/naslist.5
|
||||
man/man5/naslist.5rad
|
||||
@man man/man8/builddbm.8
|
||||
man/man8/builddbm.8rad
|
||||
@man man/man8/radiusd.8
|
||||
@man man/man8/radrelay.8
|
||||
@man man/man8/radwatch.8
|
||||
sbin/checkrad
|
||||
sbin/radiusd
|
||||
sbin/radrelay
|
||||
share/doc/radiusd-cistron/
|
||||
share/doc/radiusd-cistron/README
|
||||
share/doc/radiusd-cistron/README.CVX
|
||||
share/doc/radiusd-cistron/README.Y2K
|
||||
share/doc/radiusd-cistron/README.cisco
|
||||
share/doc/radiusd-cistron/README.makefile
|
||||
share/doc/radiusd-cistron/README.pam
|
||||
share/doc/radiusd-cistron/README.proxy
|
||||
share/doc/radiusd-cistron/README.radrelay
|
||||
share/doc/radiusd-cistron/README.simul
|
||||
share/doc/radiusd-cistron/README.tunnel
|
||||
share/doc/radiusd-cistron/README.usersfile
|
||||
share/examples/radiusd-cistron/
|
||||
@sample ${SYSCONFDIR}/raddb/
|
||||
share/examples/radiusd-cistron/clients
|
||||
@mode 0640
|
||||
@sample ${SYSCONFDIR}/raddb/clients
|
||||
@mode
|
||||
share/examples/radiusd-cistron/dictionary
|
||||
@sample ${SYSCONFDIR}/raddb/dictionary
|
||||
share/examples/radiusd-cistron/dictionary.ascend
|
||||
@sample ${SYSCONFDIR}/raddb/dictionary.ascend
|
||||
share/examples/radiusd-cistron/dictionary.bay
|
||||
@sample ${SYSCONFDIR}/raddb/dictionary.bay
|
||||
share/examples/radiusd-cistron/dictionary.cisco
|
||||
@sample ${SYSCONFDIR}/raddb/dictionary.cisco
|
||||
share/examples/radiusd-cistron/dictionary.cistron
|
||||
@sample ${SYSCONFDIR}/raddb/dictionary.cistron
|
||||
share/examples/radiusd-cistron/dictionary.compat
|
||||
@sample ${SYSCONFDIR}/raddb/dictionary.compat
|
||||
share/examples/radiusd-cistron/dictionary.erx
|
||||
@sample ${SYSCONFDIR}/raddb/dictionary.erx
|
||||
share/examples/radiusd-cistron/dictionary.livingston
|
||||
@sample ${SYSCONFDIR}/raddb/dictionary.livingston
|
||||
share/examples/radiusd-cistron/dictionary.redback
|
||||
@sample ${SYSCONFDIR}/raddb/dictionary.redback
|
||||
share/examples/radiusd-cistron/dictionary.shiva
|
||||
@sample ${SYSCONFDIR}/raddb/dictionary.shiva
|
||||
share/examples/radiusd-cistron/dictionary.standard
|
||||
@sample ${SYSCONFDIR}/raddb/dictionary.standard
|
||||
share/examples/radiusd-cistron/dictionary.tunnel
|
||||
@sample ${SYSCONFDIR}/raddb/dictionary.tunnel
|
||||
share/examples/radiusd-cistron/dictionary.usr
|
||||
@sample ${SYSCONFDIR}/raddb/dictionary.usr
|
||||
share/examples/radiusd-cistron/dictionary.versanet
|
||||
@sample ${SYSCONFDIR}/raddb/dictionary.versanet
|
||||
share/examples/radiusd-cistron/hints
|
||||
@sample ${SYSCONFDIR}/raddb/hints
|
||||
share/examples/radiusd-cistron/huntgroups
|
||||
@sample ${SYSCONFDIR}/raddb/huntgroups
|
||||
share/examples/radiusd-cistron/naslist
|
||||
@sample ${SYSCONFDIR}/raddb/naslist
|
||||
share/examples/radiusd-cistron/naspasswd
|
||||
@mode 0640
|
||||
@sample ${SYSCONFDIR}/raddb/naspasswd
|
||||
@mode
|
||||
share/examples/radiusd-cistron/realms
|
||||
@sample ${SYSCONFDIR}/raddb/realms
|
||||
share/examples/radiusd-cistron/users
|
||||
@mode 0640
|
||||
@sample ${SYSCONFDIR}/raddb/users
|
||||
@mode
|
||||
@sample /var/log/radacct/
|
Loading…
x
Reference in New Issue
Block a user