remove net/freeradius2; broken & subsumed by net/freeradius

This commit is contained in:
nia 2021-01-13 09:08:06 +00:00
parent 89627fdb41
commit 0df5794938
19 changed files with 1 additions and 1274 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1371 2021/01/09 21:33:56 pin Exp $
# $NetBSD: Makefile,v 1.1372 2021/01/13 09:08:06 nia Exp $
#
COMMENT= Networking tools
@ -166,7 +166,6 @@ SUBDIR+= freeradius-rest
SUBDIR+= freeradius-sqlite3
SUBDIR+= freeradius-unixodbc
SUBDIR+= freeradius-yubikey
SUBDIR+= freeradius2
SUBDIR+= freerdp
SUBDIR+= freerdp2
SUBDIR+= frr

View file

@ -1,23 +0,0 @@
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.

View file

@ -1,17 +0,0 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2008/05/15 19:43:47 adrianp Exp $
Note to users who have been running radiusd as root before:
As radiusd now runs unprivileged by default (as ${RADIUS_USER}:${RADIUS_GROUP}),
you'll have to adapt some permissions:
${CHOWN} -R ${RADIUS_USER}:${RADIUS_GROUP} ${VARBASE}/run/radiusd
${CHOWN} -R ${RADIUS_USER}:${RADIUS_GROUP} ${PKG_SYSCONFDIR}
${FIND} ${PKG_SYSCONFDIR} -type d | ${XARGS} ${CHMOD} 0750
${FIND} ${PKG_SYSCONFDIR} -type f | ${XARGS} ${CHMOD} 0640
In addition to this the base logging directory has now been moved from
${VARBASE}/log to ${VARBASE}/log/radiusd.
===========================================================================

View file

@ -1,21 +0,0 @@
===========================================================================
$NetBSD: MESSAGE.pam,v 1.1.1.1 2008/05/15 19:43:47 adrianp Exp $
Certain PAM modules require that radiusd run as root in order to
perform privileged operations. However, other PAM modules (e.g. pam-dbm),
will work with with radiusd running as non-root if the non-root user is
given the permissions necessary.
If you will be using a PAM module that requires radiusd to run as root
you can set the following in /etc/mk.conf:
RADIUS_USER=root
RADIUS_GROUP=wheel
And then re-install freeradius. Alternatively, you can just change the
following settings in your ${PKG_SYSCONFDIR}/radiusd.conf
user = root
group = wheel
===========================================================================

View file

@ -1,160 +0,0 @@
# $NetBSD: Makefile,v 1.58 2020/08/31 18:10:33 wiz Exp $
DISTNAME= freeradius-server-2.2.10
PKGNAME= ${DISTNAME:S/-server//}
PKGREVISION= 4
CATEGORIES= net
MASTER_SITES= ftp://ftp.freeradius.org/pub/freeradius/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://freeradius.org/
COMMENT= Free RADIUS server implementation
LICENSE= gnu-gpl-v2
BROKEN= "Fails to build with OpenSSL 1.1"
CONFLICTS+= radiusd-cistron-[0-9]*
CONFLICTS+= freeradius<2.0
USE_TOOLS+= gmake perl:run
USE_LANGUAGES+= c c++
USE_LIBTOOL= yes
.include "../../mk/bsd.prefs.mk"
BUILD_DEFS+= VARBASE
FILES_SUBST+= RADIUS_USER=${RADIUS_USER}
FILES_SUBST+= RADIUS_GROUP=${RADIUS_GROUP}
MESSAGE_SRC+= ${PKGDIR}/MESSAGE
MESSAGE_SUBST+= CHOWN=${CHOWN:Q} CHMOD=${CHMOD:Q} VARBASE=${VARBASE}
MESSAGE_SUBST+= RADIUS_USER=${RADIUS_USER} XARGS=${XARGS:Q}
MESSAGE_SUBST+= RADIUS_GROUP=${RADIUS_GROUP} FIND=${FIND:Q}
PKG_SYSCONFSUBDIR= raddb
RCD_SCRIPTS= radiusd
RADIUS_USER?= radius
RADIUS_GROUP?= radius
PKG_GROUPS= ${RADIUS_USER}
PKG_USERS= ${RADIUS_USER}:${RADIUS_GROUP}
PKG_GROUPS_VARS+= RADIUS_GROUP
PKG_USERS_VARS= RADIUS_USER
OWN_DIRS_PERMS+= ${VARBASE}/run/radiusd \
${RADIUS_USER} ${RADIUS_GROUP} 0750
OWN_DIRS_PERMS+= ${VARBASE}/log/radiusd \
${RADIUS_USER} ${RADIUS_GROUP} 0750
OWN_DIRS_PERMS+= ${VARBASE}/log/radiusd/radacct \
${RADIUS_USER} ${RADIUS_GROUP} 0750
EGDIR= ${PREFIX}/share/examples/freeradius
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
CONFIGURE_ARGS+= --quiet
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR}
CONFIGURE_ARGS+= --with-logdir=${VARBASE}/log/radiusd
CONFIGURE_ARGS+= --with-system-libltdl
CONFIGURE_ARGS+= --with-system-libtool
CONFIGURE_ARGS+= --without-rlm_python
CONFIGURE_ARGS+= --without-rlm_smb
CONFIGURE_ARGS+= --without-rlm_sql_oracle
CONFIGURE_ARGS+= --without-rlm_sql_unixodbc
MAKE_ENV+= R=${DESTDIR}
REPLACE_PERL= src/modules/rlm_counter/rad_counter
REPLACE_PERL+= scripts/radsqlrelay
SUBST_CLASSES+= make
SUBST_STAGE.make= pre-configure
SUBST_FILES.make= src/modules/rlm_sql/drivers/rlm_sql_postgresql/Makefile.in
SUBST_SED.make+= -e "s|RLM_SQL_LIBS =|RLM_SQL_LIBS = \
-L${PREFIX}/lib|g"
SUBST_MESSAGE.make= Fixing Makefiles.
SUBST_CLASSES+= config
SUBST_STAGE.config= pre-configure
SUBST_FILES.config= raddb/radiusd.conf.in
SUBST_SED.config= -e "s|@@RADIUS_USER@@|${RADIUS_USER}|g"
SUBST_SED.config+= -e "s|@@RADIUS_GROUP@@|${RADIUS_GROUP}|g"
SUBST_MESSAGE.config= Fixing configuration files.
.include "options.mk"
EGFILES= acct_users attrs attrs.access_reject attrs.accounting_response \
attrs.pre-proxy certs/README certs/Makefile certs/bootstrap \
certs/ca.cnf certs/client.cnf certs/server.cnf \
certs/xpextensions clients.conf dictionary eap.conf experimental.conf \
hints huntgroups ldap.attrmap modules/acct_unique modules/always \
modules/attr_filter modules/attr_rewrite modules/chap modules/checkval \
modules/counter modules/detail modules/detail.example.com \
modules/detail.log modules/digest modules/echo modules/etc_group \
modules/exec modules/expiration modules/expr modules/files \
modules/inner-eap modules/ippool modules/krb5 modules/ldap \
modules/linelog modules/logintime modules/mac2ip modules/mac2vlan \
modules/mschap modules/otp modules/pam modules/pap modules/passwd \
modules/perl modules/policy modules/preprocess modules/radutmp \
modules/realm modules/smbpasswd modules/smsotp modules/sql_log \
modules/sqlcounter_expire_on_login modules/sradutmp modules/unix \
modules/wimax policy.conf policy.txt preproxy_users proxy.conf \
radiusd.conf sites-available/README sites-available/buffered-sql \
sites-available/control-socket \
sites-available/copy-acct-to-home-server \
sites-available/decoupled-accounting sites-available/default \
sites-available/dhcp sites-available/dynamic-clients \
sites-available/example sites-available/inner-tunnel \
sites-available/originate-coa sites-available/proxy-inner-tunnel \
sites-available/robust-proxy-accounting sites-available/status \
sites-available/virtual.example.com sites-available/vmps sql.conf \
sql/mssql/dialup.conf sql/mssql/schema.sql sql/mysql/admin.sql \
sql/mysql/counter.conf sql/mysql/dialup.conf sql/mysql/ippool.conf \
sql/mysql/ippool.sql sql/mysql/nas.sql sql/mysql/schema.sql \
sql/mysql/wimax.conf sql/mysql/wimax.sql sql/oracle/dialup.conf \
sql/oracle/ippool.conf sql/oracle/ippool.sql sql/oracle/msqlippool.txt \
sql/oracle/nas.sql sql/oracle/schema.sql sql/postgresql/admin.sql \
sql/postgresql/cisco_h323_db_schema.sql sql/postgresql/counter.conf \
sql/postgresql/dialup.conf sql/postgresql/ippool.conf \
sql/postgresql/ippool.sql sql/postgresql/nas.sql \
sql/postgresql/schema.sql \
sql/postgresql/update_radacct_group_trigger.sql \
sql/postgresql/voip-postpaid.conf sqlippool.conf templates.conf users
EGDIRS= certs modules sql sql/mssql sql/mysql sql/oracle \
sql/postgresql sites-available sites-enabled
.for f in ${EGFILES}
CONF_FILES_PERMS+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f} \
${RADIUS_USER} ${RADIUS_GROUP} 0640
.endfor
.for d in ${EGDIRS}
INSTALLATION_DIRS+= ${EGDIR}/${d}
OWN_DIRS_PERMS+= ${PKG_SYSCONFDIR}/${d} ${RADIUS_USER} \
${RADIUS_GROUP} 750
.endfor
.include "../../mk/pthread.buildlink3.mk"
.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "none"
CONFIGURE_ARGS+= --without-threads
.endif
.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "pth"
.include "../../devel/pthread-sem/buildlink3.mk"
SUBST_SED.make+= -e 's|@ldap_ldflags@|@ldap_ldflags@ \
${PTHREAD_LDFLAGS:M*:Q} ${PTHREAD_LIBS:M*:Q} -lsemaphore|g'
.endif
.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "native"
SUBST_SED.make+= -e 's|@ldap_ldflags@|@ldap_ldflags@ \
${PTHREAD_LDFLAGS:M*:Q} ${PTHREAD_LIBS:M*:Q}|g'
.endif
post-install:
.for f in ${EGFILES}
${INSTALL_DATA} ${WRKSRC}/raddb/${f} ${DESTDIR}${EGDIR}/${f}
.endfor
${INSTALL_DATA} ${WRKSRC}/src/modules/rlm_perl/example.pl ${DESTDIR}${EGDIR}
.include "../../devel/libexecinfo/buildlink3.mk"
.include "../../devel/libltdl/buildlink3.mk"
.include "../../net/libpcap/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,628 +0,0 @@
@comment $NetBSD: PLIST,v 1.19 2019/07/06 18:40:01 adam Exp $
bin/rad_counter
bin/radclient
bin/radconf2xml
bin/radcrypt
bin/radeapclient
bin/radlast
bin/radsniff
bin/radsqlrelay
bin/radtest
bin/radwho
bin/radzap
${PLIST.dbm}bin/rlm_dbm_cat
${PLIST.dbm}bin/rlm_dbm_parser
bin/rlm_ippool_tool
bin/smbencrypt
include/freeradius/autoconf.h
include/freeradius/base64.h
include/freeradius/conf.h
include/freeradius/conffile.h
include/freeradius/detail.h
include/freeradius/dhcp.h
include/freeradius/event.h
include/freeradius/hash.h
include/freeradius/heap.h
include/freeradius/ident.h
include/freeradius/libradius.h
include/freeradius/md4.h
include/freeradius/md5.h
include/freeradius/missing.h
include/freeradius/modcall.h
include/freeradius/modules.h
include/freeradius/packet.h
include/freeradius/rad_assert.h
include/freeradius/radius.h
include/freeradius/radiusd.h
include/freeradius/radpaths.h
include/freeradius/radutmp.h
include/freeradius/realms.h
include/freeradius/sha1.h
include/freeradius/stats.h
include/freeradius/sysutmp.h
include/freeradius/threads.h
include/freeradius/token.h
include/freeradius/udpfromto.h
include/freeradius/vmps.h
include/freeradius/vqp.h
lib/libfreeradius-eap-${PKGVERSION}.la
lib/libfreeradius-eap.la
lib/libfreeradius-radius-020210.la
lib/libfreeradius-radius.la
lib/rlm_acct_unique-${PKGVERSION}.la
lib/rlm_acct_unique.la
lib/rlm_acctlog-${PKGVERSION}.la
lib/rlm_acctlog.la
lib/rlm_always-${PKGVERSION}.la
lib/rlm_always.la
lib/rlm_attr_filter-${PKGVERSION}.la
lib/rlm_attr_filter.la
lib/rlm_attr_rewrite-${PKGVERSION}.la
lib/rlm_attr_rewrite.la
lib/rlm_cache-${PKGVERSION}.la
lib/rlm_cache.la
lib/rlm_chap-${PKGVERSION}.la
lib/rlm_chap.la
lib/rlm_checkval-${PKGVERSION}.la
lib/rlm_checkval.la
lib/rlm_copy_packet-${PKGVERSION}.la
lib/rlm_copy_packet.la
${PLIST.gdbm}lib/rlm_counter-${PKGVERSION}.la
${PLIST.gdbm}lib/rlm_counter.la
${PLIST.dbm}lib/rlm_dbm-${PKGVERSION}.la
${PLIST.dbm}lib/rlm_dbm.la
lib/rlm_detail-${PKGVERSION}.la
lib/rlm_detail.la
lib/rlm_digest-${PKGVERSION}.la
lib/rlm_digest.la
lib/rlm_dynamic_clients-${PKGVERSION}.la
lib/rlm_dynamic_clients.la
lib/rlm_eap-${PKGVERSION}.la
lib/rlm_eap.la
lib/rlm_eap_gtc-${PKGVERSION}.la
lib/rlm_eap_gtc.la
lib/rlm_eap_leap-${PKGVERSION}.la
lib/rlm_eap_leap.la
lib/rlm_eap_md5-${PKGVERSION}.la
lib/rlm_eap_md5.la
lib/rlm_eap_mschapv2-${PKGVERSION}.la
lib/rlm_eap_mschapv2.la
lib/rlm_eap_peap-${PKGVERSION}.la
lib/rlm_eap_peap.la
lib/rlm_eap_sim-${PKGVERSION}.la
lib/rlm_eap_sim.la
lib/rlm_eap_tls-${PKGVERSION}.la
lib/rlm_eap_tls.la
lib/rlm_eap_ttls-${PKGVERSION}.la
lib/rlm_eap_ttls.la
lib/rlm_exec-${PKGVERSION}.la
lib/rlm_exec.la
lib/rlm_expiration-${PKGVERSION}.la
lib/rlm_expiration.la
lib/rlm_expr-${PKGVERSION}.la
lib/rlm_expr.la
lib/rlm_fastusers-${PKGVERSION}.la
lib/rlm_fastusers.la
lib/rlm_files-${PKGVERSION}.la
lib/rlm_files.la
lib/rlm_ippool-${PKGVERSION}.la
lib/rlm_ippool.la
${PLIST.kerberos}lib/rlm_krb5-${PKGVERSION}.la
${PLIST.kerberos}lib/rlm_krb5.la
${PLIST.ldap}lib/rlm_ldap-${PKGVERSION}.la
${PLIST.ldap}lib/rlm_ldap.la
lib/rlm_linelog-${PKGVERSION}.la
lib/rlm_linelog.la
lib/rlm_logintime-${PKGVERSION}.la
lib/rlm_logintime.la
lib/rlm_mschap-${PKGVERSION}.la
lib/rlm_mschap.la
lib/rlm_otp-${PKGVERSION}.la
lib/rlm_otp.la
${PLIST.pam}lib/rlm_pam-${PKGVERSION}.la
${PLIST.pam}lib/rlm_pam.la
lib/rlm_pap-${PKGVERSION}.la
lib/rlm_pap.la
lib/rlm_passwd-${PKGVERSION}.la
lib/rlm_passwd.la
${PLIST.perl}lib/rlm_perl-${PKGVERSION}.la
${PLIST.perl}lib/rlm_perl.la
lib/rlm_policy-${PKGVERSION}.la
lib/rlm_policy.la
lib/rlm_preprocess-${PKGVERSION}.la
lib/rlm_preprocess.la
lib/rlm_radutmp-${PKGVERSION}.la
lib/rlm_radutmp.la
lib/rlm_realm-${PKGVERSION}.la
lib/rlm_realm.la
lib/rlm_replicate-${PKGVERSION}.la
lib/rlm_replicate.la
lib/rlm_soh-${PKGVERSION}.la
lib/rlm_soh.la
lib/rlm_sql-${PKGVERSION}.la
lib/rlm_sql.la
${PLIST.iodbc}lib/rlm_sql_iodbc-${PKGVERSION}.la
${PLIST.iodbc}lib/rlm_sql_iodbc.la
lib/rlm_sql_log-${PKGVERSION}.la
lib/rlm_sql_log.la
${PLIST.mysql}lib/rlm_sql_mysql-${PKGVERSION}.la
${PLIST.mysql}lib/rlm_sql_mysql.la
${PLIST.pgsql}lib/rlm_sql_postgresql-${PKGVERSION}.la
${PLIST.pgsql}lib/rlm_sql_postgresql.la
${PLIST.unixodbc}lib/rlm_sql_unixodbc-${PKGVERSION}.la
${PLIST.unixodbc}lib/rlm_sql_unixodbc.la
lib/rlm_sqlcounter-${PKGVERSION}.la
lib/rlm_sqlcounter.la
lib/rlm_sqlippool-${PKGVERSION}.la
lib/rlm_sqlippool.la
lib/rlm_unix-${PKGVERSION}.la
lib/rlm_unix.la
lib/rlm_wimax-${PKGVERSION}.la
lib/rlm_wimax.la
man/man1/radclient.1
man/man1/radeapclient.1
man/man1/radlast.1
man/man1/radtest.1
man/man1/radwho.1
man/man1/radzap.1
man/man1/smbencrypt.1
man/man5/acct_users.5
man/man5/checkrad.5
man/man5/clients.conf.5
man/man5/dictionary.5
man/man5/radiusd.conf.5
man/man5/radrelay.conf.5
man/man5/rlm_acct_unique.5
man/man5/rlm_always.5
man/man5/rlm_attr_filter.5
man/man5/rlm_attr_rewrite.5
man/man5/rlm_chap.5
man/man5/rlm_counter.5
man/man5/rlm_detail.5
man/man5/rlm_digest.5
man/man5/rlm_expr.5
man/man5/rlm_files.5
man/man5/rlm_mschap.5
man/man5/rlm_pap.5
man/man5/rlm_passwd.5
man/man5/rlm_policy.5
man/man5/rlm_realm.5
man/man5/rlm_sql.5
man/man5/rlm_sql_log.5
man/man5/rlm_unix.5
man/man5/unlang.5
man/man5/users.5
man/man8/radconf2xml.8
man/man8/radcrypt.8
man/man8/raddebug.8
man/man8/radiusd.8
man/man8/radmin.8
man/man8/radrelay.8
man/man8/radsniff.8
man/man8/radsqlrelay.8
man/man8/radwatch.8
man/man8/rlm_dbm_cat.8
man/man8/rlm_dbm_parser.8
man/man8/rlm_ippool_tool.8
sbin/checkrad
sbin/raddebug
sbin/radiusd
sbin/radmin
sbin/radwatch
sbin/rc.radiusd
share/doc/freeradius/Acct-Type.rst
share/doc/freeradius/Autz-Type.rst
share/doc/freeradius/CYGWIN.rst
share/doc/freeradius/ChangeLog
share/doc/freeradius/DIFFS.rst
share/doc/freeradius/MACOSX
share/doc/freeradius/Makefile.sphinx
share/doc/freeradius/OS2
share/doc/freeradius/Post-Auth-Type
share/doc/freeradius/RADIUS-LDAP-eDirectory
share/doc/freeradius/RADIUS-SQL.schema
share/doc/freeradius/README
share/doc/freeradius/Session-Type
share/doc/freeradius/Simultaneous-Use
share/doc/freeradius/SoH.txt
share/doc/freeradius/aaa.rst
share/doc/freeradius/ascend
share/doc/freeradius/bay
share/doc/freeradius/bugs
share/doc/freeradius/cisco.rst
share/doc/freeradius/coding-methods.rst
share/doc/freeradius/configurable_failover.rst
share/doc/freeradius/examples/iplanet.ldif
share/doc/freeradius/examples/iplanet.schema
share/doc/freeradius/examples/openldap.schema
share/doc/freeradius/examples/postgresql_update_radacct_group_trigger.sql
share/doc/freeradius/index.rst
share/doc/freeradius/ldap_howto.rst
share/doc/freeradius/load-balance.rst
share/doc/freeradius/misc-nas.rst
share/doc/freeradius/module_interface.rst
share/doc/freeradius/mssql
share/doc/freeradius/performance-testing
share/doc/freeradius/processing_users_file.rst
share/doc/freeradius/proxy.rst
share/doc/freeradius/release-method.rst
share/doc/freeradius/rfc/attributes.html
share/doc/freeradius/rfc/draft-kamath-pppext-eap-mschapv2-00.txt
share/doc/freeradius/rfc/draft-sterman-aaa-sip-00.txt
share/doc/freeradius/rfc/leap.txt
share/doc/freeradius/rfc/pppext-eap-sim-12.txt
share/doc/freeradius/rfc/rfc1157.txt
share/doc/freeradius/rfc/rfc1227.txt
share/doc/freeradius/rfc/rfc1448.txt
share/doc/freeradius/rfc/rfc1901.txt
share/doc/freeradius/rfc/rfc1905.txt
share/doc/freeradius/rfc/rfc2243.txt
share/doc/freeradius/rfc/rfc2284.txt
share/doc/freeradius/rfc/rfc2289.txt
share/doc/freeradius/rfc/rfc2433.txt
share/doc/freeradius/rfc/rfc2548.txt
share/doc/freeradius/rfc/rfc2607.txt
share/doc/freeradius/rfc/rfc2618.txt
share/doc/freeradius/rfc/rfc2619.txt
share/doc/freeradius/rfc/rfc2620.txt
share/doc/freeradius/rfc/rfc2621.txt
share/doc/freeradius/rfc/rfc2716.txt
share/doc/freeradius/rfc/rfc2759.txt
share/doc/freeradius/rfc/rfc2809.txt
share/doc/freeradius/rfc/rfc2865.txt
share/doc/freeradius/rfc/rfc2866.txt
share/doc/freeradius/rfc/rfc2867.txt
share/doc/freeradius/rfc/rfc2868.txt
share/doc/freeradius/rfc/rfc2869.txt
share/doc/freeradius/rfc/rfc2924.txt
share/doc/freeradius/rfc/rfc3079.txt
share/doc/freeradius/rfc/rfc3162.txt
share/doc/freeradius/rfc/rfc3575.txt
share/doc/freeradius/rfc/rfc3576.txt
share/doc/freeradius/rfc/rfc3579.txt
share/doc/freeradius/rfc/rfc3580.txt
share/doc/freeradius/rfc/rfc3748.txt
share/doc/freeradius/rfc/rfc4282.txt
share/doc/freeradius/rfc/rfc4372.txt
share/doc/freeradius/rfc/rfc4590.txt
share/doc/freeradius/rfc/rfc4668.txt
share/doc/freeradius/rfc/rfc4669.txt
share/doc/freeradius/rfc/rfc4670.txt
share/doc/freeradius/rfc/rfc4671.txt
share/doc/freeradius/rfc/rfc4672.txt
share/doc/freeradius/rfc/rfc4673.txt
share/doc/freeradius/rfc/rfc4675.txt
share/doc/freeradius/rfc/rfc4679.txt
share/doc/freeradius/rfc/rfc4818.txt
share/doc/freeradius/rfc/rfc4849.txt
share/doc/freeradius/rfc/rfc5080.txt
share/doc/freeradius/rfc/rfc5090.txt
share/doc/freeradius/rfc/rfc5176.txt
share/doc/freeradius/rfc/rfc5247.txt
share/doc/freeradius/rfc/rfc5281.txt
share/doc/freeradius/rfc/rfc5580.txt
share/doc/freeradius/rfc/rfc5607.txt
share/doc/freeradius/rfc/rfc5904.txt
share/doc/freeradius/rfc/rfc5997.txt
share/doc/freeradius/rfc/rfc6158.txt
share/doc/freeradius/rfc/rfc6519.txt
share/doc/freeradius/rfc/rfc6572.txt
share/doc/freeradius/rfc/rfc6677.txt
share/doc/freeradius/rfc/rfc6911.txt
share/doc/freeradius/rfc/rfc6929.txt
share/doc/freeradius/rfc/rfc6930.txt
share/doc/freeradius/rlm_dbm
share/doc/freeradius/rlm_eap
share/doc/freeradius/rlm_expiration
share/doc/freeradius/rlm_fastusers
share/doc/freeradius/rlm_jradius
share/doc/freeradius/rlm_krb5
share/doc/freeradius/rlm_ldap
share/doc/freeradius/rlm_pam
share/doc/freeradius/rlm_passwd
share/doc/freeradius/rlm_python
share/doc/freeradius/rlm_sim_triplets
share/doc/freeradius/rlm_sql
share/doc/freeradius/rlm_sqlcounter
share/doc/freeradius/rlm_sqlippool
share/doc/freeradius/snmp
share/doc/freeradius/supervise-radiusd.rst
share/doc/freeradius/tuning_guide
share/doc/freeradius/variables.rst
share/examples/freeradius/acct_users
share/examples/freeradius/attrs
share/examples/freeradius/attrs.access_reject
share/examples/freeradius/attrs.accounting_response
share/examples/freeradius/attrs.pre-proxy
share/examples/freeradius/certs/Makefile
share/examples/freeradius/certs/README
share/examples/freeradius/certs/bootstrap
share/examples/freeradius/certs/ca.cnf
share/examples/freeradius/certs/client.cnf
share/examples/freeradius/certs/server.cnf
share/examples/freeradius/certs/xpextensions
share/examples/freeradius/clients.conf
share/examples/freeradius/dictionary
share/examples/freeradius/eap.conf
share/examples/freeradius/example.pl
share/examples/freeradius/experimental.conf
share/examples/freeradius/hints
share/examples/freeradius/huntgroups
share/examples/freeradius/ldap.attrmap
share/examples/freeradius/modules/acct_unique
share/examples/freeradius/modules/always
share/examples/freeradius/modules/attr_filter
share/examples/freeradius/modules/attr_rewrite
share/examples/freeradius/modules/chap
share/examples/freeradius/modules/checkval
share/examples/freeradius/modules/counter
share/examples/freeradius/modules/detail
share/examples/freeradius/modules/detail.example.com
share/examples/freeradius/modules/detail.log
share/examples/freeradius/modules/digest
share/examples/freeradius/modules/echo
share/examples/freeradius/modules/etc_group
share/examples/freeradius/modules/exec
share/examples/freeradius/modules/expiration
share/examples/freeradius/modules/expr
share/examples/freeradius/modules/files
share/examples/freeradius/modules/inner-eap
share/examples/freeradius/modules/ippool
share/examples/freeradius/modules/krb5
share/examples/freeradius/modules/ldap
share/examples/freeradius/modules/linelog
share/examples/freeradius/modules/logintime
share/examples/freeradius/modules/mac2ip
share/examples/freeradius/modules/mac2vlan
share/examples/freeradius/modules/mschap
share/examples/freeradius/modules/otp
share/examples/freeradius/modules/pam
share/examples/freeradius/modules/pap
share/examples/freeradius/modules/passwd
share/examples/freeradius/modules/perl
share/examples/freeradius/modules/policy
share/examples/freeradius/modules/preprocess
share/examples/freeradius/modules/radutmp
share/examples/freeradius/modules/realm
share/examples/freeradius/modules/smbpasswd
share/examples/freeradius/modules/smsotp
share/examples/freeradius/modules/sql_log
share/examples/freeradius/modules/sqlcounter_expire_on_login
share/examples/freeradius/modules/sradutmp
share/examples/freeradius/modules/unix
share/examples/freeradius/modules/wimax
share/examples/freeradius/policy.conf
share/examples/freeradius/policy.txt
share/examples/freeradius/preproxy_users
share/examples/freeradius/proxy.conf
share/examples/freeradius/radiusd.conf
share/examples/freeradius/sites-available/README
share/examples/freeradius/sites-available/buffered-sql
share/examples/freeradius/sites-available/control-socket
share/examples/freeradius/sites-available/copy-acct-to-home-server
share/examples/freeradius/sites-available/decoupled-accounting
share/examples/freeradius/sites-available/default
share/examples/freeradius/sites-available/dhcp
share/examples/freeradius/sites-available/dynamic-clients
share/examples/freeradius/sites-available/example
share/examples/freeradius/sites-available/inner-tunnel
share/examples/freeradius/sites-available/originate-coa
share/examples/freeradius/sites-available/proxy-inner-tunnel
share/examples/freeradius/sites-available/robust-proxy-accounting
share/examples/freeradius/sites-available/status
share/examples/freeradius/sites-available/virtual.example.com
share/examples/freeradius/sites-available/vmps
share/examples/freeradius/sql.conf
share/examples/freeradius/sql/mssql/dialup.conf
share/examples/freeradius/sql/mssql/schema.sql
share/examples/freeradius/sql/mysql/admin.sql
share/examples/freeradius/sql/mysql/counter.conf
share/examples/freeradius/sql/mysql/dialup.conf
share/examples/freeradius/sql/mysql/ippool.conf
share/examples/freeradius/sql/mysql/ippool.sql
share/examples/freeradius/sql/mysql/nas.sql
share/examples/freeradius/sql/mysql/schema.sql
share/examples/freeradius/sql/mysql/wimax.conf
share/examples/freeradius/sql/mysql/wimax.sql
share/examples/freeradius/sql/oracle/dialup.conf
share/examples/freeradius/sql/oracle/ippool.conf
share/examples/freeradius/sql/oracle/ippool.sql
share/examples/freeradius/sql/oracle/msqlippool.txt
share/examples/freeradius/sql/oracle/nas.sql
share/examples/freeradius/sql/oracle/schema.sql
share/examples/freeradius/sql/postgresql/admin.sql
share/examples/freeradius/sql/postgresql/cisco_h323_db_schema.sql
share/examples/freeradius/sql/postgresql/counter.conf
share/examples/freeradius/sql/postgresql/dialup.conf
share/examples/freeradius/sql/postgresql/ippool.conf
share/examples/freeradius/sql/postgresql/ippool.sql
share/examples/freeradius/sql/postgresql/nas.sql
share/examples/freeradius/sql/postgresql/schema.sql
share/examples/freeradius/sql/postgresql/update_radacct_group_trigger.sql
share/examples/freeradius/sql/postgresql/voip-postpaid.conf
share/examples/freeradius/sqlippool.conf
share/examples/freeradius/templates.conf
share/examples/freeradius/users
share/freeradius/dictionary
share/freeradius/dictionary.3com
share/freeradius/dictionary.3gpp
share/freeradius/dictionary.3gpp2
share/freeradius/dictionary.acc
share/freeradius/dictionary.acme
share/freeradius/dictionary.aerohive
share/freeradius/dictionary.airespace
share/freeradius/dictionary.alcatel
share/freeradius/dictionary.alcatel-lucent.aaa
share/freeradius/dictionary.alcatel.esam
share/freeradius/dictionary.alcatel.sr
share/freeradius/dictionary.alteon
share/freeradius/dictionary.altiga
share/freeradius/dictionary.alvarion
share/freeradius/dictionary.apc
share/freeradius/dictionary.aptis
share/freeradius/dictionary.aruba
share/freeradius/dictionary.ascend
share/freeradius/dictionary.ascend.illegal
share/freeradius/dictionary.asn
share/freeradius/dictionary.audiocodes
share/freeradius/dictionary.avaya
share/freeradius/dictionary.azaire
share/freeradius/dictionary.bay
share/freeradius/dictionary.bintec
share/freeradius/dictionary.bluecoat
share/freeradius/dictionary.bristol
share/freeradius/dictionary.broadsoft
share/freeradius/dictionary.brocade
share/freeradius/dictionary.bskyb
share/freeradius/dictionary.bt
share/freeradius/dictionary.cablelabs
share/freeradius/dictionary.cabletron
share/freeradius/dictionary.camiant
share/freeradius/dictionary.chillispot
share/freeradius/dictionary.cisco
share/freeradius/dictionary.cisco.bbsm
share/freeradius/dictionary.cisco.vpn3000
share/freeradius/dictionary.cisco.vpn5000
share/freeradius/dictionary.citrix
share/freeradius/dictionary.clavister
share/freeradius/dictionary.colubris
share/freeradius/dictionary.columbia_university
share/freeradius/dictionary.compat
share/freeradius/dictionary.compatible
share/freeradius/dictionary.cosine
share/freeradius/dictionary.dante
share/freeradius/dictionary.dhcp
share/freeradius/dictionary.digium
share/freeradius/dictionary.dlink
share/freeradius/dictionary.dragonwave
share/freeradius/dictionary.efficientip
share/freeradius/dictionary.eltex
share/freeradius/dictionary.epygi
share/freeradius/dictionary.ericsson
share/freeradius/dictionary.ericsson.packet.core.networks
share/freeradius/dictionary.erx
share/freeradius/dictionary.extreme
share/freeradius/dictionary.f5
share/freeradius/dictionary.fdxtended
share/freeradius/dictionary.fortinet
share/freeradius/dictionary.foundry
share/freeradius/dictionary.freeradius
share/freeradius/dictionary.freeradius.internal
share/freeradius/dictionary.freeswitch
share/freeradius/dictionary.gandalf
share/freeradius/dictionary.garderos
share/freeradius/dictionary.gemtek
share/freeradius/dictionary.h3c
share/freeradius/dictionary.hp
share/freeradius/dictionary.huawei
share/freeradius/dictionary.iea
share/freeradius/dictionary.infonet
share/freeradius/dictionary.ipunplugged
share/freeradius/dictionary.issanni
share/freeradius/dictionary.itk
share/freeradius/dictionary.jradius
share/freeradius/dictionary.juniper
share/freeradius/dictionary.karlnet
share/freeradius/dictionary.kineto
share/freeradius/dictionary.lancom
share/freeradius/dictionary.livingston
share/freeradius/dictionary.localweb
share/freeradius/dictionary.lucent
share/freeradius/dictionary.manzara
share/freeradius/dictionary.merit
share/freeradius/dictionary.meru
share/freeradius/dictionary.microsoft
share/freeradius/dictionary.mikrotik
share/freeradius/dictionary.motorola
share/freeradius/dictionary.motorola.illegal
share/freeradius/dictionary.motorola.wimax
share/freeradius/dictionary.navini
share/freeradius/dictionary.netscreen
share/freeradius/dictionary.networkphysics
share/freeradius/dictionary.nexans
share/freeradius/dictionary.nokia
share/freeradius/dictionary.nokia.conflict
share/freeradius/dictionary.nomadix
share/freeradius/dictionary.nortel
share/freeradius/dictionary.ntua
share/freeradius/dictionary.openser
share/freeradius/dictionary.packeteer
share/freeradius/dictionary.paloalto
share/freeradius/dictionary.patton
share/freeradius/dictionary.propel
share/freeradius/dictionary.prosoft
share/freeradius/dictionary.proxim
share/freeradius/dictionary.purewave
share/freeradius/dictionary.quiconnect
share/freeradius/dictionary.quintum
share/freeradius/dictionary.redback
share/freeradius/dictionary.redcreek
share/freeradius/dictionary.rfc2865
share/freeradius/dictionary.rfc2866
share/freeradius/dictionary.rfc2867
share/freeradius/dictionary.rfc2868
share/freeradius/dictionary.rfc2869
share/freeradius/dictionary.rfc3162
share/freeradius/dictionary.rfc3576
share/freeradius/dictionary.rfc3580
share/freeradius/dictionary.rfc4072
share/freeradius/dictionary.rfc4372
share/freeradius/dictionary.rfc4603
share/freeradius/dictionary.rfc4675
share/freeradius/dictionary.rfc4679
share/freeradius/dictionary.rfc4818
share/freeradius/dictionary.rfc4849
share/freeradius/dictionary.rfc5090
share/freeradius/dictionary.rfc5176
share/freeradius/dictionary.rfc5447
share/freeradius/dictionary.rfc5580
share/freeradius/dictionary.rfc5607
share/freeradius/dictionary.rfc5904
share/freeradius/dictionary.rfc6519
share/freeradius/dictionary.rfc6572
share/freeradius/dictionary.rfc6677
share/freeradius/dictionary.rfc6911
share/freeradius/dictionary.rfc6930
share/freeradius/dictionary.rfc7055
share/freeradius/dictionary.rfc7268
share/freeradius/dictionary.riverbed
share/freeradius/dictionary.riverstone
share/freeradius/dictionary.roaringpenguin
share/freeradius/dictionary.ruckus
share/freeradius/dictionary.sg
share/freeradius/dictionary.shasta
share/freeradius/dictionary.shiva
share/freeradius/dictionary.siemens
share/freeradius/dictionary.slipstream
share/freeradius/dictionary.sofaware
share/freeradius/dictionary.sonicwall
share/freeradius/dictionary.springtide
share/freeradius/dictionary.starent
share/freeradius/dictionary.starent.vsa1
share/freeradius/dictionary.symbol
share/freeradius/dictionary.t_systems_nova
share/freeradius/dictionary.telebit
share/freeradius/dictionary.telkom
share/freeradius/dictionary.terena
share/freeradius/dictionary.trapeze
share/freeradius/dictionary.tropos
share/freeradius/dictionary.ukerna
share/freeradius/dictionary.unix
share/freeradius/dictionary.usr
share/freeradius/dictionary.usr.illegal
share/freeradius/dictionary.utstarcom
share/freeradius/dictionary.valemount
share/freeradius/dictionary.versanet
share/freeradius/dictionary.vqp
share/freeradius/dictionary.walabi
share/freeradius/dictionary.waverider
share/freeradius/dictionary.wichorus
share/freeradius/dictionary.wimax
share/freeradius/dictionary.wimax.wichorus
share/freeradius/dictionary.wispr
share/freeradius/dictionary.xedia
share/freeradius/dictionary.xylan
share/freeradius/dictionary.zeus
share/freeradius/dictionary.zte
share/freeradius/dictionary.zyxel
@pkgdir share/examples/freeradius/sites-enabled

View file

@ -1,16 +0,0 @@
$NetBSD: distinfo,v 1.20 2019/07/04 12:26:48 adam Exp $
SHA1 (freeradius-server-2.2.10.tar.bz2) = 63ebd7b2b1526c0536a6754488e8b53b2e267e29
RMD160 (freeradius-server-2.2.10.tar.bz2) = 65734eb9a9ab1671b4d64e0f12d60da4e35ce283
SHA512 (freeradius-server-2.2.10.tar.bz2) = ef51722fbd586f3c85b276e99ae9adcd0d09293e380ffb94104d6256fc655d318fe71a220d3b14ef7559581b591a46fe69def322f41c87ffc43d1e4a321ee2b8
Size (freeradius-server-2.2.10.tar.bz2) = 2794367 bytes
SHA1 (patch-aa) = 07f28084b9d159a52014e31b5314827baaf07716
SHA1 (patch-ab) = 306ee49b886d38341c2a94159ae033d2cff9c577
SHA1 (patch-ac) = 689de3193b34f6ff169287a2512bda9691de6899
SHA1 (patch-ae) = 98be5272791935ed6823165ff53893b352fd6974
SHA1 (patch-ai) = c224f984167747894506e806a5a9775318b47d96
SHA1 (patch-aj) = 99f62341e36932270ea0bce38bca8778a2125624
SHA1 (patch-ak) = 898cc417449e9e5d5513a5d53b538ed320b923a2
SHA1 (patch-al) = e553795702f48c26c41fa00a7fd59c48413c1423
SHA1 (patch-configure.in) = e0fc20374d8600694d7a34e1ecef8e1f03b5816d
SHA1 (patch-man_man5_dictionary.5) = 01242a57f7a2bd6b84313ec578b4650c525b72b8

View file

@ -1,36 +0,0 @@
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: radiusd.sh,v 1.1.1.1 2008/05/15 19:43:47 adrianp Exp $
#
# PROVIDE: radiusd
# REQUIRE: network
#
if [ -f /etc/rc.subr ]
then
. /etc/rc.subr
fi
name="radiusd"
rcvar=${name}
command="@PREFIX@/sbin/radiusd"
pidfile="@VARBASE@/run/radiusd/radiusd.pid"
start_precmd="radiusd_precmd"
radiusd_precmd()
{
if [ ! -d @VARBASE@/run/radiusd ]; then
@MKDIR@ @VARBASE@/run/radiusd
@CHMOD@ 0750 @VARBASE@/run/radiusd
@CHOWN@ @RADIUS_USER@:@RADIUS_GROUP@ @VARBASE@/run/radiusd
fi
}
if [ -f /etc/rc.subr ]
then
load_rc_config $name
run_rc_command "$1"
else
echo -n ' ${name}'
exec ${command} ${radiusd_flags} ${command_args}
fi

View file

@ -1,147 +0,0 @@
# $NetBSD: options.mk,v 1.5 2014/11/02 05:55:43 obache Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.freeradius
PKG_SUPPORTED_OPTIONS= freeradius-simul-use kerberos ldap mysql
PKG_SUPPORTED_OPTIONS+= pam perl pgsql snmp
PKG_OPTIONS_OPTIONAL_GROUPS= dbm odbc
PKG_OPTIONS_GROUP.dbm= bdb gdbm
PKG_OPTIONS_GROUP.odbc= iodbc unixodbc
PKG_SUGGESTED_OPTIONS= freeradius-simul-use gdbm
.include "../../mk/bsd.options.mk"
PLIST_VARS+= dbm gdbm iodbc ldap kerberos mysql pam pgsql unixodbc perl
###
### GDBM or Berkeley DB 1.x support
###
.if !empty(PKG_OPTIONS:Mgdbm)
. include "../../databases/gdbm/buildlink3.mk"
CONFIGURE_ARGS+= --with-rlm_dbm
PLIST.dbm= yes
PLIST.gdbm= yes
.elif !empty(PKG_OPTIONS:Mbdb) && exists(/usr/include/ndbm.h)
BDB_ACCEPTED= db1
. include "../../mk/bdb.buildlink3.mk"
CONFIGURE_ARGS+= --with-rlm_dbm
PLIST.dbm= yes
.else
CONFIGURE_ARGS+= --without-rlm_dbm
.endif
###
### PERL support
###
.if !empty(PKG_OPTIONS:Mperl)
. include "../../lang/perl5/buildlink3.mk"
CONFIGURE_ARGS+= --with-rlm_perl
PLIST.perl= yes
.else
CONFIGURE_ARGS+= --without-rlm_perl
.endif
###
### OpenLDAP support
###
.if !empty(PKG_OPTIONS:Mldap)
. include "../../databases/openldap-client/buildlink3.mk"
CONFIGURE_ARGS+= --with-rlm_ldap
PLIST.ldap= yes
.else
CONFIGURE_ARGS+= --without-rlm_ldap
.endif
###
### IODBC support
###
.if !empty(PKG_OPTIONS:Miodbc)
. include "../../databases/iodbc/buildlink3.mk"
CONFIGURE_ARGS+= --with-rlm_sql_iodbc
PLIST.iodbc= yes
.else
CONFIGURE_ARGS+= --without-rlm_sql_iodbc
.endif
###
### UnixDBC support
###
.if !empty(PKG_OPTIONS:Munixodbc)
. include "../../databases/unixodbc/buildlink3.mk"
CONFIGURE_ARGS+= --with-rlm_sql_unixodbc
PLIST.unixodbc= yes
.else
CONFIGURE_ARGS+= --without-rlm_sql_unixodbc
.endif
###
### PostgreSQL support
###
.if !empty(PKG_OPTIONS:Mpgsql)
. include "../../mk/pgsql.buildlink3.mk"
CONFIGURE_ARGS+= --with-rlm_sql_postgresql
PLIST.pgsql= yes
.else
CONFIGURE_ARGS+= --without-rlm_sql_postgresql
.endif
###
### MySQL support
###
.if !empty(PKG_OPTIONS:Mmysql)
. include "../../mk/mysql.buildlink3.mk"
CONFIGURE_ARGS+= --with-rlm_sql_mysql
PLIST.mysql= yes
.else
CONFIGURE_ARGS+= --without-rlm_sql_mysql
.endif
###
### SNMP support
###
### Please note that snmp support is limited. Freeradius looks like it's
### after the old ucd-snmp (v4.x) headers and ucd-snmp isn't in pkgsrc any
### more. Compatability mode on the current net-snmp (v5.x) does not seem
### to work either. So it will find a few snmp utilites but other than that
### it's limited, at best.
###
.if !empty(PKG_OPTIONS:Msnmp)
. include "../../net/net-snmp/buildlink3.mk"
CONFIGURE_ARGS+= --with-snmp
.else
CONFIGURE_ARGS+= --without-snmp
.endif
###
### Kerberos 5 support
###
.if !empty(PKG_OPTIONS:Mkerberos)
. include "../../mk/krb5.buildlink3.mk"
CONFIGURE_ARGS+= --with-rlm_krb5
. if defined(KRB5_TYPE) && ${KRB5_TYPE} == "heimdal"
CONFIGURE_ARGS+= --enable-heimdal-krb5
. endif
PLIST.kerberos= yes
.else
CONFIGURE_ARGS+= --without-rlm_krb5
.endif
###
### Enable Simultaneous-Use which needs snmpwalk and snmpget
###
.if !empty(PKG_OPTIONS:Mfreeradius-simul-use)
. include "../../net/net-snmp/buildlink3.mk"
.else
CONFIGURE_ENV+= ac_cv_path_SNMPGET=""
CONFIGURE_ENV+= ac_cv_path_SNMPWALK=""
.endif
###
### PAM support
###
.if !empty(PKG_OPTIONS:Mpam)
CONFIGURE_ARGS+= --with-rlm_pam
MESSAGE_SRC+= ${PKGDIR}/MESSAGE.pam
PLIST.pam= yes
.else
CONFIGURE_ARGS+= --without-rlm_pam
.endif

View file

@ -1,16 +0,0 @@
$NetBSD: patch-aa,v 1.2 2016/10/11 14:12:41 sevan Exp $
--- src/lib/log.c.orig 2015-09-30 20:37:13.000000000 +0000
+++ src/lib/log.c
@@ -52,10 +52,10 @@ RCSID("$Id: 73c46d7d3d460adfb424ef70ee4b
* Use pthread keys if we have pthreads. For MAC, which should
* be very fast.
*/
+#endif
#ifdef HAVE_PTHREAD_H
#define USE_PTHREAD_FOR_TLS (1)
#endif
-#endif
#ifndef USE_PTHREAD_FOR_TLS
/*

View file

@ -1,9 +0,0 @@
$NetBSD: patch-ab,v 1.2 2016/10/11 14:12:41 sevan Exp $
--- src/modules/rlm_perl/Makefile.in.orig 2015-09-30 20:37:13.000000000 +0000
+++ src/modules/rlm_perl/Makefile.in
@@ -15,4 +15,3 @@ include ../rules.mak
$(LT_OBJS): $(HEADERS)
install-scripts:
- $(INSTALL) -m 755 example.pl $(R)$(raddbdir)

View file

@ -1,14 +0,0 @@
$NetBSD: patch-ac,v 1.5 2016/10/11 14:12:41 sevan Exp $
--- src/main/modules.c.orig 2015-09-30 20:37:13.000000000 +0000
+++ src/main/modules.c
@@ -1408,9 +1408,6 @@ int setup_modules(int reload, CONF_SECTI
* It's like libtool and libltdl are some kind
* of sick joke.
*/
-#ifdef IE_LIBTOOL_DIE
-#define lt__PROGRAM__LTX_preloaded_symbols lt_libltdl_LTX_preloaded_symbols
-#endif
/*
* Set the default list of preloaded symbols.

View file

@ -1,23 +0,0 @@
$NetBSD: patch-ae,v 1.4 2016/10/11 14:12:41 sevan Exp $
--- Makefile.orig 2015-09-30 20:37:13.000000000 +0000
+++ Makefile
@@ -11,7 +11,7 @@ include Make.inc
.PHONY: all clean install
-SUBDIRS = $(LTDL_SUBDIRS) $(wildcard src raddb scripts doc)
+SUBDIRS = $(LTDL_SUBDIRS) $(wildcard src scripts doc)
WHAT_TO_MAKE = all
all:
@@ -47,9 +47,7 @@ export DESTDIR := $(R)
install:
$(INSTALL) -d -m 755 $(R)$(sbindir)
$(INSTALL) -d -m 755 $(R)$(bindir)
- $(INSTALL) -d -m 755 $(R)$(raddbdir)
$(INSTALL) -d -m 755 $(R)$(mandir)
- $(INSTALL) -d -m 755 $(R)$(RUNDIR)
$(INSTALL) -d -m 700 $(R)$(logdir)
$(INSTALL) -d -m 700 $(R)$(radacctdir)
$(INSTALL) -d -m 755 $(R)$(datadir)

View file

@ -1,48 +0,0 @@
$NetBSD: patch-ai,v 1.7 2016/10/11 14:12:41 sevan Exp $
--- configure.orig 2015-09-30 20:37:13.000000000 +0000
+++ configure
@@ -20177,13 +20177,13 @@ fi
done
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
-$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}" >&5
+$as_echo_n "checking for pthread_create in ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}... " >&6; }
if ${ac_cv_lib_pthread_pthread_create+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpthread $LIBS"
+LIBS="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -20215,7 +20215,7 @@ fi
$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
CFLAGS="$CFLAGS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS"
- LIBS="-lpthread $LIBS"
+ LIBS="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} $LIBS"
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lc_r" >&5
$as_echo_n "checking for pthread_create in -lc_r... " >&6; }
@@ -20525,7 +20525,7 @@ if ${ac_cv_lib_ssl_SSL_new+:} false; the
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lssl $LIBS"
+LIBS="-lssl -lcrypto $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -22529,7 +22529,7 @@ gethostbyaddrrstyle=""
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking gethostbyaddr_r() syntax" >&5
$as_echo_n "checking gethostbyaddr_r() syntax... " >&6; }
case "$host" in
-*-freebsd*)
+*-freebsd* | *-dragonfly*)
ac_fn_c_check_decl "$LINENO" "gethostbyaddr_r" "ac_cv_have_decl_gethostbyaddr_r" "
#ifdef HAVE_NETDB_H
#include <netdb.h>

View file

@ -1,12 +0,0 @@
$NetBSD: patch-aj,v 1.3 2016/10/11 14:12:41 sevan Exp $
--- Make.inc.in.orig 2015-09-30 20:37:13.000000000 +0000
+++ Make.inc.in
@@ -47,6 +47,7 @@ INSTALLSTRIP = @INSTALLSTRIP@
LCRYPT = @CRYPTLIB@
LIBS = @LIBS@
LDFLAGS = @LDFLAGS@
+RLM_LIBS += -lcrypto -L${PREFIX}/lib ${COMPILER_RPATH_FLAG}${PREFIX}/lib
LOGDIR = ${logdir}
RADDBDIR = ${raddbdir}

View file

@ -1,13 +0,0 @@
$NetBSD: patch-ak,v 1.4 2016/10/11 14:12:41 sevan Exp $
--- raddb/radiusd.conf.in.orig 2015-09-30 20:37:13.000000000 +0000
+++ raddb/radiusd.conf.in
@@ -166,6 +166,8 @@ pidfile = ${run_dir}/${name}.pid
#
#user = radius
#group = radius
+user = radius
+group = radius
# panic_action: Command to execute if the server dies unexpectedly.
#

View file

@ -1,65 +0,0 @@
$NetBSD: patch-al,v 1.4 2016/10/11 14:12:41 sevan Exp $
--- src/modules/rlm_preprocess/rlm_preprocess.c.orig 2015-09-30 20:37:13.000000000 +0000
+++ src/modules/rlm_preprocess/rlm_preprocess.c
@@ -128,7 +128,7 @@ static void cisco_vsa_hack(VALUE_PAIR *v
/*
* No weird packing. Ignore it.
*/
- ptr = strchr(vp->vp_strvalue, '='); /* find an '=' */
+ ptr = strchr((char *)vp->vp_strvalue, '='); /* find an '=' */
if (!ptr) continue;
/*
@@ -146,7 +146,7 @@ static void cisco_vsa_hack(VALUE_PAIR *v
const char *p;
DICT_ATTR *dattr;
- p = vp->vp_strvalue;
+ p = (char *)vp->vp_strvalue;
gettoken(&p, newattr, sizeof(newattr));
if ((dattr = dict_attrbyname(newattr)) != NULL) {
@@ -231,10 +231,10 @@ static void rad_mangle(rlm_preprocess_t
*
* FIXME: should we handle this as a REALM ?
*/
- if ((ptr = strchr(namepair->vp_strvalue, '\\')) != NULL) {
+ if ((ptr = strchr((char *)namepair->vp_strvalue, '\\')) != NULL) {
strlcpy(newname, ptr + 1, sizeof(newname));
/* Same size */
- strcpy(namepair->vp_strvalue, newname);
+ strcpy((char *)namepair->vp_strvalue, newname);
namepair->length = strlen(newname);
}
}
@@ -415,9 +415,9 @@ static int huntgroup_access(REQUEST *req
&request->packet->vps,
PW_HUNTGROUP_NAME,
PW_TYPE_STRING);
- strlcpy(vp->vp_strvalue, i->name,
+ strlcpy((char *)vp->vp_strvalue, i->name,
sizeof(vp->vp_strvalue));
- vp->length = strlen(vp->vp_strvalue);
+ vp->length = strlen((char *)vp->vp_strvalue);
}
r = RLM_MODULE_OK;
}
@@ -597,7 +597,7 @@ static int preprocess_authorize(void *in
data->huntgroups)) != RLM_MODULE_OK) {
char buf[1024];
radlog_request(L_AUTH, 0, request, "No huntgroup access: [%s] (%s)",
- request->username ? request->username->vp_strvalue : "<NO User-Name>",
+ request->username ? (char *)request->username->vp_strvalue : "<NO User-Name>",
auth_name(buf, sizeof(buf), request, 1));
return r;
}
@@ -648,7 +648,7 @@ static int preprocess_preaccounting(void
data->huntgroups)) != RLM_MODULE_OK) {
char buf[1024];
radlog_request(L_INFO, 0, request, "No huntgroup access: [%s] (%s)",
- request->username ? request->username->vp_strvalue : "<NO User-Name>",
+ request->username ? (char *)request->username->vp_strvalue : "<NO User-Name>",
auth_name(buf, sizeof(buf), request, 1));
return r;
}

View file

@ -1,12 +0,0 @@
$NetBSD: patch-configure.in,v 1.1 2016/10/11 14:12:41 sevan Exp $
--- configure.in.orig 2015-09-30 20:37:13.000000000 +0000
+++ configure.in
@@ -659,7 +659,6 @@ AC_CHECK_HEADERS( \
unistd.h \
crypt.h \
errno.h \
- execinfo.h \
resource.h \
sys/resource.h \
getopt.h \

View file

@ -1,12 +0,0 @@
$NetBSD: patch-man_man5_dictionary.5,v 1.2 2016/10/11 14:12:41 sevan Exp $
--- man/man5/dictionary.5.orig 2015-09-30 20:37:13.000000000 +0000
+++ man/man5/dictionary.5
@@ -60,7 +60,6 @@ given, the attribute is defined to be a
Alternately, the options may be the a comma-separated list of the
following options:
-.TP 0.5i
.DS
encrypt=[1-3]
.DE