head 1.6; access; symbols pkgsrc-2021Q1:1.5.0.90 pkgsrc-2021Q1-base:1.5 pkgsrc-2020Q4:1.5.0.88 pkgsrc-2020Q4-base:1.5 pkgsrc-2020Q3:1.5.0.86 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.5.0.82 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.5.0.62 pkgsrc-2020Q1-base:1.5 pkgsrc-2019Q4:1.5.0.84 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.5.0.80 pkgsrc-2019Q3-base:1.5 pkgsrc-2019Q2:1.5.0.78 pkgsrc-2019Q2-base:1.5 pkgsrc-2019Q1:1.5.0.76 pkgsrc-2019Q1-base:1.5 pkgsrc-2018Q4:1.5.0.74 pkgsrc-2018Q4-base:1.5 pkgsrc-2018Q3:1.5.0.72 pkgsrc-2018Q3-base:1.5 pkgsrc-2018Q2:1.5.0.70 pkgsrc-2018Q2-base:1.5 pkgsrc-2018Q1:1.5.0.68 pkgsrc-2018Q1-base:1.5 pkgsrc-2017Q4:1.5.0.66 pkgsrc-2017Q4-base:1.5 pkgsrc-2017Q3:1.5.0.64 pkgsrc-2017Q3-base:1.5 pkgsrc-2017Q2:1.5.0.60 pkgsrc-2017Q2-base:1.5 pkgsrc-2017Q1:1.5.0.58 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.5.0.56 pkgsrc-2016Q4-base:1.5 pkgsrc-2016Q3:1.5.0.54 pkgsrc-2016Q3-base:1.5 pkgsrc-2016Q2:1.5.0.52 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.5.0.50 pkgsrc-2016Q1-base:1.5 pkgsrc-2015Q4:1.5.0.48 pkgsrc-2015Q4-base:1.5 pkgsrc-2015Q3:1.5.0.46 pkgsrc-2015Q3-base:1.5 pkgsrc-2015Q2:1.5.0.44 pkgsrc-2015Q2-base:1.5 pkgsrc-2015Q1:1.5.0.42 pkgsrc-2015Q1-base:1.5 pkgsrc-2014Q4:1.5.0.40 pkgsrc-2014Q4-base:1.5 pkgsrc-2014Q3:1.5.0.38 pkgsrc-2014Q3-base:1.5 pkgsrc-2014Q2:1.5.0.36 pkgsrc-2014Q2-base:1.5 pkgsrc-2014Q1:1.5.0.34 pkgsrc-2014Q1-base:1.5 pkgsrc-2013Q4:1.5.0.32 pkgsrc-2013Q4-base:1.5 pkgsrc-2013Q3:1.5.0.30 pkgsrc-2013Q3-base:1.5 pkgsrc-2013Q2:1.5.0.28 pkgsrc-2013Q2-base:1.5 pkgsrc-2013Q1:1.5.0.26 pkgsrc-2013Q1-base:1.5 pkgsrc-2012Q4:1.5.0.24 pkgsrc-2012Q4-base:1.5 pkgsrc-2012Q3:1.5.0.22 pkgsrc-2012Q3-base:1.5 pkgsrc-2012Q2:1.5.0.20 pkgsrc-2012Q2-base:1.5 pkgsrc-2012Q1:1.5.0.18 pkgsrc-2012Q1-base:1.5 pkgsrc-2011Q4:1.5.0.16 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q3:1.5.0.14 pkgsrc-2011Q3-base:1.5 pkgsrc-2011Q2:1.5.0.12 pkgsrc-2011Q2-base:1.5 pkgsrc-2011Q1:1.5.0.10 pkgsrc-2011Q1-base:1.5 pkgsrc-2010Q4:1.5.0.8 pkgsrc-2010Q4-base:1.5 pkgsrc-2010Q3:1.5.0.6 pkgsrc-2010Q3-base:1.5 pkgsrc-2010Q2:1.5.0.4 pkgsrc-2010Q2-base:1.5 pkgsrc-2010Q1:1.5.0.2 pkgsrc-2010Q1-base:1.5 pkgsrc-2009Q4:1.4.0.52 pkgsrc-2009Q4-base:1.4 pkgsrc-2009Q3:1.4.0.50 pkgsrc-2009Q3-base:1.4 pkgsrc-2009Q2:1.4.0.48 pkgsrc-2009Q2-base:1.4 pkgsrc-2009Q1:1.4.0.46 pkgsrc-2009Q1-base:1.4 pkgsrc-2008Q4:1.4.0.44 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.42 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.40 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.38 pkgsrc-2008Q2-base:1.4 cwrapper:1.4.0.36 pkgsrc-2008Q1:1.4.0.34 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.32 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.30 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.28 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.26 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.24 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.22 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.20 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.18 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.16 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.14 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.12 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.10 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.8 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.6 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.4 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.2 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.3.0.2 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.2.0.6 netbsd-1-6-1-base:1.2 netbsd-1-6:1.2.0.8 netbsd-1-6-RELEASE-base:1.2 pkgviews:1.2.0.4 pkgviews-base:1.2 buildlink2:1.2.0.2 buildlink2-base:1.2 netbsd-1-5-PATCH003:1.2; locks; strict; comment @# @; 1.6 date 2021.04.24.08.42.48; author wiz; state dead; branches; next 1.5; commitid ihp8gFiOzrvguwQC; 1.5 date 2010.02.11.22.37.49; author joerg; state Exp; branches; next 1.4; 1.4 date 2003.12.16.19.19.41; author martti; state Exp; branches; next 1.3; 1.3 date 2003.05.01.18.35.47; author jmmv; state Exp; branches; next 1.2; 1.2 date 2001.12.20.10.05.50; author martti; state Exp; branches; next 1.1; 1.1 date 2001.10.11.09.57.21; author martti; state Exp; branches; next ; desc @@ 1.6 log @radiusd-cistron: remove Upstream development stopped, recommended to switch to FreeRadius, in 2012. @ text @$NetBSD: patch-aa,v 1.5 2010/02/11 22:37:49 joerg Exp $ --- src/Makefile.BSD.orig Thu Apr 10 13:38:23 2003 +++ src/Makefile.BSD Tue Dec 16 20:15:35 2003 @@@@ -3,9 +3,8 @@@@ # # -CC = gcc -CFLAGS = -Wall -g -DNOSHADOW -LDFLAGS = # -s +CFLAGS = -DNOSHADOW -DPREFIX=\"$(PREFIX)\" -DPKG_SYSCONFDIR=\"$(PKG_SYSCONFDIR)\" +LDFLAGS = -s LIBS = LCRYPT = -lcrypt @@@@ -16,12 +15,12 @@@@ #PAM = -DPAM #PAMLIB = -lpam -INSTALL = install -DINSTALL = mkdir -p +INSTALL = install -c +DINSTALL= install -d -BINDIR = /usr/local/bin -SBINDIR = /usr/local/sbin -MANDIR = /usr/local/man -SHAREDIR = /usr/local/share/radius +BINDIR = ${DESTDIR}$(PREFIX)/bin +SBINDIR = ${DESTDIR}$(PREFIX)/sbin +MANDIR = ${DESTDIR}$(PREFIX)/man +SHAREDIR = ${DESTDIR}$(PREFIX)/share/examples/raddb .include "Make.inc" @ 1.5 log @DESTDIR support @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.4 2003/12/16 19:19:41 martti Exp $ @ 1.4 log @radiusd-cistron (1.6.7) cistron; urgency=medium * Fix checkrad.pl::cisco_snmp and usrhiper_snmp so that communities other than "public" can be used too. * Error out on superflous command line args (optind >= argc) * Encrypt CHAP-Password in radclient so that CHAP can be tested too * Add "wildcard" option to realms - if you set this option, you can match on the entire username using shell wildcards in the realms file. * If the nastype in /etc/raddb/naslist is set to 'none' for a nas, logins on that nas will have no simultaneous use restrictions imposed and those logins will not count towards the total amount of logins. * Removed 'raduse' and manpage. * Can disable radutmp with "-u none" (likewise radwtmp with "-W none", though we already had "-w" for that). * Call checkrad with an extra argument, the framed IP address. * Fix bug where $INCLUDEing a file without any records would cause the rest of the original file to be ignored * Support for 64-bit wide integers (integer8 type). If compiled with gcc, users file can contain both hex and decimal 64-bit values, and 64-bit values are printed in decimal. With other compilers (no "long long" support) only hex 64-bit values are supported. * Change "_" to "-" in dictionary.redback and change the 64 bits values to integer8. * Moved the dictionary files to /usr/local/share/radius. Now only /etc/raddb/dictionary remains that $INCLUDES all the others. For new installs only; existing installations won't be changed * Make integer in the format string of sprintf(buf, "%03d:%.20s", ..) in make_wtmp() unsigned (%u), otherwise the sprintf could in some cases (negative NAS-Port, very long NAS-name) overrun the buffer by one byte, overwriting the least significant byte of the return address on the stack with a \0. Not sure if this is exploitable or not, but it could be a security problem. * Make sure ut.login (struct radutmp member) is treated everywhere as a NON-zero terminated string. * Make sure unsigned integers are used in all places using lvalues (32 bits radius values), especially nas_port. * radrelay: update id of packet when retransmitting. * Print an error and free the request struct if we receive an unknown packet type. * rad_check_multi: if username/NAS/port match, don't count as dup. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.3 2003/05/01 18:35:47 jmmv Exp $ d30 4 a33 4 +BINDIR = $(PREFIX)/bin +SBINDIR = $(PREFIX)/sbin +MANDIR = $(PREFIX)/man +SHAREDIR = $(PREFIX)/share/examples/raddb @ 1.3 log @Convert to use bsd.pkg.install.mk: - Honour PKG_SYSCONFDIR. - Use OWN_DIRS_PERMS to handle the /var/log/radacct directory. - Use RCD_SCRIPTS to install a NetBSD rc.d compatible script. Bump PKGREVISION to 1. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.2 2001/12/20 10:05:50 martti Exp $ d3 2 a4 2 --- src/Makefile.BSD.orig Fri Nov 9 17:03:23 2001 +++ src/Makefile.BSD Thu Dec 20 10:46:40 2001 d17 1 a17 1 @@@@ -16,11 +15,11 @@@@ d28 2 d32 2 a33 1 MANDIR = /usr/local/man @ 1.2 log @Updated to 1.6.5. * Bug fixes * Clean up BSD password file support again * Fixed bug in auth.c wrt decoding of short password attributes. * Server now replies to Status-Server inquiries. * Add "-v" switch to radzap (suggested by Dan Harkless). * Add "-Z" switch to radiusd, prevents logging of passwords for -y (suggested by Dan Harkless). * Change "duplicate detected" message to actually show _what_ authentication packet causes the duplicate * Wrote manualpages for radlast,radzap, radwho, radclient, radtest, radwatch and raduse. Yes, documentation! * Added -P pidfile option to radiusd and radrelay See the doc/ChangeLog file for a comple list of changes! @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.1 2001/10/11 09:57:21 martti Exp $ d12 1 a12 1 +CFLAGS = -DNOSHADOW -DPREFIX=\"$(PREFIX)\" @ 1.1 log @Added radiusd-cistron which was submitted in pkg/13274. @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- src/Makefile.BSD.orig Fri Jun 26 06:00:17 1998 +++ src/Makefile.BSD Fri Oct 23 13:32:18 1998 @@@@ -3,9 +3,9 @@@@ d11 3 a13 4 -LDFLAGS = # -s #tatic +#CC = gcc +CFLAGS += -DNOSHADOW -DPREFIX=\"$(PREFIX)\" +LDFLAGS = -s #tatic d17 1 a17 1 @@@@ -15,7 +15,7 @@@@ d21 5 d30 1 @