pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net



Module Name:    pkgsrc
Committed By:   fhajny
Date:           Sat Aug 26 10:07:29 UTC 2017

Modified Files:
        pkgsrc/net/freeradius: DESCR MESSAGE Makefile PLIST distinfo
        pkgsrc/net/freeradius/patches: patch-ai
Added Files:
        pkgsrc/net/freeradius: DEINSTALL INSTALL Makefile.common
            Makefile.module
        pkgsrc/net/freeradius-freetds: DESCR Makefile PLIST
        pkgsrc/net/freeradius-iodbc: DESCR Makefile PLIST
        pkgsrc/net/freeradius-krb5: DESCR Makefile PLIST
        pkgsrc/net/freeradius-ldap: DESCR Makefile PLIST
        pkgsrc/net/freeradius-memcached: DESCR Makefile PLIST
        pkgsrc/net/freeradius-mysql: DESCR Makefile PLIST
        pkgsrc/net/freeradius-perl: DESCR Makefile PLIST
        pkgsrc/net/freeradius-pgsql: DESCR Makefile PLIST
        pkgsrc/net/freeradius-python: DESCR Makefile PLIST
        pkgsrc/net/freeradius-rest: DESCR Makefile PLIST
        pkgsrc/net/freeradius-sqlite3: DESCR Makefile PLIST
        pkgsrc/net/freeradius-unixodbc: DESCR Makefile PLIST
        pkgsrc/net/freeradius-yubikey: DESCR Makefile PLIST
        pkgsrc/net/freeradius/files/smf: manifest.xml
        pkgsrc/net/freeradius/patches: patch-main_command.c patch-main_util.c
            patch-rlm_krb5_configure patch-rlm_perl_configure
            patch-rlm_yubikey_configure
Removed Files:
        pkgsrc/net/freeradius: MESSAGE.pam PLIST.dbm PLIST.gdbm PLIST.kerberos
            PLIST.ldap PLIST.mysql PLIST.pam PLIST.pgsql options.mk
        pkgsrc/net/freeradius/patches: patch-ab patch-ae patch-aj patch-ak
            patch-al

Log Message:
Update net/freeradius to 3.0.15.

Based on a PR from @coyhile
(https://github.com/joyent/pkgsrc/issues/18). Splits modules with
external dependencies into separate packages.

The 1.1.x branch was EOL'd in 2008. No upgrade guide from 1.1.x to 3.0.x
seem to exist.

Summary of improvements in 3.x:

- Moved configuration entries in radiusd.conf to make more sense.
- Added the "integer64" and "ipv4prefix" data types.
- Added RADIUS over TLS (i.e. RadSec). See raddb/sites-available/tls.
- Updated internal API to support new attributes and formats.
- Added code to send SNMP Traps. See raddb/trigger.conf.
- Added preliminary support for Apple's Grand Central Dispatch.
- Added provisions for raddb/dictionary.local, for local changes See
  raddb/dictionary for more details.
- Added packet/s tracking. See max_pps in the "listen" section.
- The %{} expansions and "unlang" conditions are now parsed at server
  start. Descriptive errors are produced for syntax and format errors.
- Casting is now supported for "unlang" comparisons. See "man unlang"
  e.g. <ipaddr>127.0.0.1 == Framed-IP-Address.
- Direct comparison of attribute references is now supported e.g. &Foo
  == &Bar. This avoids stringification of the attributes.
- Direct assignment of attributes is now supported e.g. Foo := &Bar. It
  also works for "octets" data types.
- Comparisons of IPv4 and IPv6 prefixes are now supported The "<"
  operator means "within the prefix" for comparisons.
- New sha1 xlat expansion (thanks to Alan Buxey).
- Colourised log messages when logging to stdout. Look for yellow
  warnings and red errors. Doing this will save you a LOT of grief.
- If the PCRE library is available, use it (insted of the POSIX
  functions) to process regular expressions (thanks to Phil Mayers).
- -xv now displays all the features the server was built with, and the
  versions of the core libraries (libtalloc, libssl).

Summary of improvements in 2.x:

- simple policy language (see "man unlang")
- virtual servers ("raddb/sites-available/README")
- IPv6 support
- better proxy support ("raddb/proxy.conf")
- More EAP types
- Debugging output should be <em>much</em> easier to understand
- VMPS support
- More modules have been moved to "stable" status (python, etc.)
- SQL configuration has been cleaned up (see "raddb/sql/*")
- limited support for HUP.  (The configuration for some modules is
  re-loaded on HUP.  Nothing else is reloaded.)
- check configuration and exit ("radiusd -C")
- Server core is now event based (simpler, more powerful)


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/net/freeradius/DEINSTALL \
    pkgsrc/net/freeradius/INSTALL pkgsrc/net/freeradius/Makefile.common \
    pkgsrc/net/freeradius/Makefile.module
cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/freeradius/DESCR \
    pkgsrc/net/freeradius/MESSAGE
cvs rdiff -u -r1.2 -r0 pkgsrc/net/freeradius/MESSAGE.pam \
    pkgsrc/net/freeradius/PLIST.kerberos
cvs rdiff -u -r1.90 -r1.91 pkgsrc/net/freeradius/Makefile
cvs rdiff -u -r1.26 -r1.27 pkgsrc/net/freeradius/PLIST
cvs rdiff -u -r1.4 -r0 pkgsrc/net/freeradius/PLIST.dbm \
    pkgsrc/net/freeradius/PLIST.gdbm pkgsrc/net/freeradius/PLIST.pgsql
cvs rdiff -u -r1.3 -r0 pkgsrc/net/freeradius/PLIST.ldap \
    pkgsrc/net/freeradius/PLIST.mysql
cvs rdiff -u -r1.1 -r0 pkgsrc/net/freeradius/PLIST.pam
cvs rdiff -u -r1.31 -r1.32 pkgsrc/net/freeradius/distinfo
cvs rdiff -u -r1.14 -r0 pkgsrc/net/freeradius/options.mk
cvs rdiff -u -r0 -r1.1 pkgsrc/net/freeradius-freetds/DESCR \
    pkgsrc/net/freeradius-freetds/Makefile \
    pkgsrc/net/freeradius-freetds/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/net/freeradius-iodbc/DESCR \
    pkgsrc/net/freeradius-iodbc/Makefile pkgsrc/net/freeradius-iodbc/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/net/freeradius-krb5/DESCR \
    pkgsrc/net/freeradius-krb5/Makefile pkgsrc/net/freeradius-krb5/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/net/freeradius-ldap/DESCR \
    pkgsrc/net/freeradius-ldap/Makefile pkgsrc/net/freeradius-ldap/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/net/freeradius-memcached/DESCR \
    pkgsrc/net/freeradius-memcached/Makefile \
    pkgsrc/net/freeradius-memcached/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/net/freeradius-mysql/DESCR \
    pkgsrc/net/freeradius-mysql/Makefile pkgsrc/net/freeradius-mysql/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/net/freeradius-perl/DESCR \
    pkgsrc/net/freeradius-perl/Makefile pkgsrc/net/freeradius-perl/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/net/freeradius-pgsql/DESCR \
    pkgsrc/net/freeradius-pgsql/Makefile pkgsrc/net/freeradius-pgsql/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/net/freeradius-python/DESCR \
    pkgsrc/net/freeradius-python/Makefile pkgsrc/net/freeradius-python/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/net/freeradius-rest/DESCR \
    pkgsrc/net/freeradius-rest/Makefile pkgsrc/net/freeradius-rest/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/net/freeradius-sqlite3/DESCR \
    pkgsrc/net/freeradius-sqlite3/Makefile \
    pkgsrc/net/freeradius-sqlite3/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/net/freeradius-unixodbc/DESCR \
    pkgsrc/net/freeradius-unixodbc/Makefile \
    pkgsrc/net/freeradius-unixodbc/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/net/freeradius-yubikey/DESCR \
    pkgsrc/net/freeradius-yubikey/Makefile \
    pkgsrc/net/freeradius-yubikey/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/net/freeradius/files/smf/manifest.xml
cvs rdiff -u -r1.5 -r0 pkgsrc/net/freeradius/patches/patch-ab \
    pkgsrc/net/freeradius/patches/patch-ae
cvs rdiff -u -r1.10 -r1.11 pkgsrc/net/freeradius/patches/patch-ai
cvs rdiff -u -r1.3 -r0 pkgsrc/net/freeradius/patches/patch-aj
cvs rdiff -u -r1.7 -r0 pkgsrc/net/freeradius/patches/patch-ak
cvs rdiff -u -r1.1 -r0 pkgsrc/net/freeradius/patches/patch-al
cvs rdiff -u -r0 -r1.1 pkgsrc/net/freeradius/patches/patch-main_command.c \
    pkgsrc/net/freeradius/patches/patch-main_util.c \
    pkgsrc/net/freeradius/patches/patch-rlm_krb5_configure \
    pkgsrc/net/freeradius/patches/patch-rlm_perl_configure \
    pkgsrc/net/freeradius/patches/patch-rlm_yubikey_configure

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/freeradius/DESCR
diff -u pkgsrc/net/freeradius/DESCR:1.1 pkgsrc/net/freeradius/DESCR:1.2
--- pkgsrc/net/freeradius/DESCR:1.1     Thu Feb 27 08:51:00 2003
+++ pkgsrc/net/freeradius/DESCR Sat Aug 26 10:07:27 2017
@@ -1,23 +1,2 @@
-  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@localhost to find
-  out how to subscribe.
+FreeRADIUS is the most widely deployed RADIUS server in the world.
+It is the basis for multiple commercial offerings.
Index: pkgsrc/net/freeradius/MESSAGE
diff -u pkgsrc/net/freeradius/MESSAGE:1.1 pkgsrc/net/freeradius/MESSAGE:1.2
--- pkgsrc/net/freeradius/MESSAGE:1.1   Thu Aug 10 10:55:52 2006
+++ pkgsrc/net/freeradius/MESSAGE       Sat Aug 26 10:07:28 2017
@@ -1,17 +1,13 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.1 2006/08/10 10:55:52 adrianp Exp $
+$NetBSD: MESSAGE,v 1.2 2017/08/26 10:07:28 fhajny Exp $
 
-Note to users who have been running radiusd as root before:
+This package provides the FreeRADIUS server with certain core modules.
+Other modules such as rest, SQL backends, redis, etc are provided by
+other packages such as net/freeradius3-mysql.
 
-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.
+Some authentication methods require SSL configuration in order to
+work. To bootstrap a self-signed SSL certificate for those
+authentication methods, one can run
 
+      ${BOOTSTRAP}
 ===========================================================================

Index: pkgsrc/net/freeradius/Makefile
diff -u pkgsrc/net/freeradius/Makefile:1.90 pkgsrc/net/freeradius/Makefile:1.91
--- pkgsrc/net/freeradius/Makefile:1.90 Sun Oct  9 21:42:01 2016
+++ pkgsrc/net/freeradius/Makefile      Sat Aug 26 10:07:28 2017
@@ -1,141 +1,215 @@
-# $NetBSD: Makefile,v 1.90 2016/10/09 21:42:01 wiz Exp $
+# $NetBSD: Makefile,v 1.91 2017/08/26 10:07:28 fhajny Exp $
 
-DISTNAME=      freeradius-${RADVER}
-PKGREVISION=   14
-CATEGORIES=    net
-MASTER_SITES=  ftp://ftp.freeradius.org/pub/radius/
+.include "Makefile.common"
 
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://freeradius.org/
-COMMENT=       Free RADIUS server implementation
+PKGNAME=               ${DISTNAME:S/-server//}
+COMMENT=               Free RADIUS server implementation
 
-CONFLICTS+=    freeradius-2.[0-9]*
-
-MAKE_JOBS_SAFE=                no
-
-.include "../../mk/bsd.prefs.mk"
-
-CONFLICTS+=            radiusd-cistron-[0-9]*
-USE_TOOLS+=            gmake perl:run
-GNU_CONFIGURE=         YES
-USE_LIBTOOL=           YES
-USE_OLD_DES_API=       YES
 
 BUILD_DEFS+=           VARBASE
-PLIST_SRC=             ${PKGDIR}/PLIST
-FILES_SUBST+=          RADIUS_USER=${RADIUS_USER}
-FILES_SUBST+=          RADIUS_GROUP=${RADIUS_GROUP}
-PLIST_SUBST+=          RADVER=${RADVER}
-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}
+CONFIGURE_ARGS+=       --localstatedir=${VARBASE}
+CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFBASEDIR}
+CONFIGURE_ARGS+=       --with-logdir=${VARBASE}/log/radiusd
+CONFIGURE_ARGS+=       --without-rlm_eap_ikev2
+CONFIGURE_ARGS+=       --without-rlm_eap_tnc
+CONFIGURE_ARGS+=       --without-rlm_sql_freetds
+CONFIGURE_ARGS+=       --without-rlm_sql_sqlite
+CONFIGURE_ARGS+=       --without-rlm_cache_memcached
+CONFIGURE_ARGS+=       --without-rlm_krb5
+CONFIGURE_ARGS+=       --without-rlm_ldap
+CONFIGURE_ARGS+=       --without-rlm_perl
+CONFIGURE_ARGS+=       --without-rlm_python
+CONFIGURE_ARGS+=       --without-rlm_redis
+CONFIGURE_ARGS+=       --without-rlm_rediswho
+CONFIGURE_ARGS+=       --without-rlm_rest
+CONFIGURE_ARGS+=       --without-rlm_ruby
+CONFIGURE_ARGS+=       --without-rlm_sql_iodbc
+CONFIGURE_ARGS+=       --without-rlm_sql_mysql
+CONFIGURE_ARGS+=       --without-rlm_sql_oracle
+CONFIGURE_ARGS+=       --without-rlm_sql_postgresql
+CONFIGURE_ARGS+=       --without-rlm_sql_unixodbc
 
-PKG_SYSCONFSUBDIR=     raddb
-RCD_SCRIPTS=           radiusd
-RADIUS_USER?=          radius
-RADIUS_GROUP?=         radius
-PKG_GROUPS=            ${RADIUS_USER}
+RADIUS_GROUP?=         radiusd
+RADIUS_USER?=          radiusd
+PKG_GROUPS=            ${RADIUS_GROUP}
 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
+PKG_HOME.${RADIUS_USER}=${VARBASE}/log/radiusd
+
 OWN_DIRS_PERMS+=       ${VARBASE}/log/radiusd \
                        ${RADIUS_USER} ${RADIUS_GROUP} 0750
-OWN_DIRS_PERMS+=       ${VARBASE}/log/radiusd/radacct \
+OWN_DIRS_PERMS+=       ${VARBASE}/run/radiusd \
                        ${RADIUS_USER} ${RADIUS_GROUP} 0750
 
-RADVER=                        1.1.8
-EGDIR=                 ${PREFIX}/share/examples/freeradius
+PKG_SYSCONFSUBDIR=     raddb
 
-BUILDLINK_API_DEPENDS.openssl+=        openssl>=0.9.7
+FILES_SUBST+=          RADIUS_USER=${RADIUS_USER} RADIUS_GROUP=${RADIUS_GROUP}
+MESSAGE_SUBST+=                BOOTSTRAP=${PKG_SYSCONFDIR:Q}/certs/bootstrap
 
-CONFIGURE_ARGS+=       --with-logdir=${VARBASE}/log/radiusd
-CONFIGURE_ARGS+=       --localstatedir=${VARBASE}
-CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFBASEDIR}
-CONFIGURE_ARGS+=       --disable-ltdl-install
-CONFIGURE_ARGS+=       --with-ltdl-lib=${PREFIX}/lib
-CONFIGURE_ARGS+=       --with-ltdl-include=${PREFIX}/include
-CONFIGURE_ARGS+=       --without-rlm_ippool
-CONFIGURE_ARGS+=       --without-rlm_smb
-CONFIGURE_ARGS+=       --without-rlm_sql_iodbc
-CONFIGURE_ARGS+=       --without-rlm_sql_oracle
-CONFIGURE_ARGS+=       --without-rlm_sql_unixodbc
-CONFIGURE_ARGS+=       --quiet
-#CONFIGURE_ARGS+=      --without-rlm_eap_peap
-#CONFIGURE_ARGS+=      --without-rlm_eap_sim
-#CONFIGURE_ARGS+=      --without-rlm_eap_tls
-#CONFIGURE_ARGS+=      --without-rlm_eap_ttls
-
-REPLACE_PERL=          scripts/radsqlrelay
-
-SUBST_CLASSES+=                make
-SUBST_STAGE.make=      post-patch
-SUBST_FILES.make=      src/modules/rlm_mschap/Makefile \
-                       src/modules/rlm_sql/drivers/rlm_sql_postgresql/Makefile.in
-SUBST_SED.make=        -e "s|RLM_LDFLAGS       =|RLM_LDFLAGS   = \
-                               ../../../src/lib/libradius.la|g"
-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=    post-patch
-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 certs/demoCA/index.txt.old \
-               certs/demoCA/cacert.pem certs/demoCA/index.txt \
-               certs/demoCA/serial.old certs/demoCA/serial \
-               certs/newcert.pem certs/README certs/dh \
-               certs/cert-clt.der certs/cert-clt.p12 certs/cert-clt.pem \
-               certs/cert-srv.der certs/cert-srv.p12 certs/cert-srv.pem \
-               certs/newreq.pem certs/random certs/root.der certs/root.p12 \
-               certs/root.pem clients clients.conf dictionary.in eap.conf \
-               experimental.conf hints huntgroups ldap.attrmap mssql.conf \
-               naslist naspasswd oraclesql.conf pgsql-voip.conf \
-               postgresql.conf preproxy_users proxy.conf \
-               realms snmp.conf sql.conf users radiusd.conf dictionary \
-               otp.conf sqlippool.conf
+EGDIR=                 ${PREFIX}/share/examples/freeradius
+
+EGFILES=               certs/ca.cnf certs/client.cnf certs/Makefile \
+                       certs/README certs/server.cnf certs/xpextensions \
+                       clients.conf dictionary experimental.conf \
+                       hints huntgroups \
+                       mods-available/abfab_psk_sql mods-available/always \
+                       mods-available/attr_filter mods-available/cache \
+                       mods-available/cache_eap mods-available/chap \
+                       mods-available/couchbase mods-available/counter \
+                       mods-available/cui mods-available/date \
+                       mods-available/detail mods-available/detail.example.com \
+                       mods-available/detail.log mods-available/dhcp \
+                       mods-available/dhcp_sqlippool mods-available/digest \
+                       mods-available/dynamic_clients mods-available/eap \
+                       mods-available/echo mods-available/etc_group \
+                       mods-available/exec mods-available/expiration \
+                       mods-available/expr mods-available/files \
+                       mods-available/idn mods-available/inner-eap \
+                       mods-available/ippool mods-available/krb5 \
+                       mods-available/ldap mods-available/linelog \
+                       mods-available/logintime mods-available/mac2ip \
+                       mods-available/mac2vlan mods-available/mschap \
+                       mods-available/ntlm_auth mods-available/opendirectory \
+                       mods-available/otp mods-available/pam \
+                       mods-available/pap mods-available/passwd \
+                       mods-available/perl mods-available/preprocess \
+                       mods-available/python mods-available/radutmp \
+                       mods-available/README.rst mods-available/realm \
+                       mods-available/redis mods-available/rediswho \
+                       mods-available/replicate mods-available/rest \
+                       mods-available/smbpasswd mods-available/smsotp \
+                       mods-available/soh mods-available/sometimes \
+                       mods-available/sql mods-available/sqlcounter \
+                       mods-available/sqlippool mods-available/sradutmp \
+                       mods-available/unbound mods-available/unix \
+                       mods-available/unpack mods-available/utf8 \
+                       mods-available/wimax mods-available/yubikey \
+                       mods-config/attr_filter/access_challenge \
+                       mods-config/attr_filter/access_reject \
+                       mods-config/attr_filter/accounting_response \
+                       mods-config/attr_filter/post-proxy \
+                       mods-config/attr_filter/pre-proxy \
+                       mods-config/files/accounting \
+                       mods-config/files/authorize \
+                       mods-config/files/pre-proxy \
+                       mods-config/perl/example.pl \
+                       mods-config/preprocess/hints \
+                       mods-config/preprocess/huntgroups \
+                       mods-config/README.rst \
+                       mods-config/sql/counter/mysql/dailycounter.conf \
+                       mods-config/sql/counter/mysql/expire_on_login.conf \
+                       mods-config/sql/counter/mysql/monthlycounter.conf \
+                       mods-config/sql/counter/mysql/noresetcounter.conf \
+                       mods-config/sql/counter/postgresql/dailycounter.conf \
+                       mods-config/sql/counter/postgresql/expire_on_login.conf \
+                       mods-config/sql/counter/postgresql/monthlycounter.conf \
+                       mods-config/sql/counter/postgresql/noresetcounter.conf \
+                       mods-config/sql/counter/sqlite/dailycounter.conf \
+                       mods-config/sql/counter/sqlite/expire_on_login.conf \
+                       mods-config/sql/counter/sqlite/monthlycounter.conf \
+                       mods-config/sql/counter/sqlite/noresetcounter.conf \
+                       mods-config/sql/cui/mysql/queries.conf \
+                       mods-config/sql/cui/mysql/schema.sql \
+                       mods-config/sql/cui/postgresql/queries.conf \
+                       mods-config/sql/cui/postgresql/schema.sql \
+                       mods-config/sql/cui/sqlite/queries.conf \
+                       mods-config/sql/cui/sqlite/schema.sql \
+                       mods-config/sql/ippool/mysql/queries.conf \
+                       mods-config/sql/ippool/mysql/schema.sql \
+                       mods-config/sql/ippool/oracle/procedures.sql \
+                       mods-config/sql/ippool/oracle/queries.conf \
+                       mods-config/sql/ippool/oracle/schema.sql \
+                       mods-config/sql/ippool/postgresql/queries.conf \
+                       mods-config/sql/ippool/postgresql/schema.sql \
+                       mods-config/sql/ippool/sqlite/queries.conf \
+                       mods-config/sql/ippool/sqlite/schema.sql \
+                       mods-config/sql/ippool-dhcp/mysql/queries.conf \
+                       mods-config/sql/ippool-dhcp/mysql/schema.sql \
+                       mods-config/sql/ippool-dhcp/oracle/queries.conf \
+                       mods-config/sql/ippool-dhcp/oracle/schema.sql \
+                       mods-config/sql/ippool-dhcp/sqlite/queries.conf \
+                       mods-config/sql/ippool-dhcp/sqlite/schema.sql \
+                       mods-config/sql/main/mssql/queries.conf \
+                       mods-config/sql/main/mssql/schema.sql \
+                       mods-config/sql/main/mysql/extras/wimax/queries.conf \
+                       mods-config/sql/main/mysql/extras/wimax/schema.sql \
+                       mods-config/sql/main/mysql/queries.conf \
+                       mods-config/sql/main/mysql/schema.sql \
+                       mods-config/sql/main/mysql/setup.sql \
+                       mods-config/sql/main/ndb/README \
+                       mods-config/sql/main/ndb/schema.sql \
+                       mods-config/sql/main/ndb/setup.sql \
+                       mods-config/sql/main/oracle/queries.conf \
+                       mods-config/sql/main/oracle/schema.sql \
+                       mods-config/sql/main/postgresql/extras/cisco_h323_db_schema.sql \
+                       mods-config/sql/main/postgresql/extras/update_radacct_group.sql \
+                       mods-config/sql/main/postgresql/extras/voip-postpaid.conf \
+                       mods-config/sql/main/postgresql/queries.conf \
+                       mods-config/sql/main/postgresql/schema.sql \
+                       mods-config/sql/main/postgresql/setup.sql \
+                       mods-config/sql/main/sqlite/queries.conf \
+                       mods-config/sql/main/sqlite/schema.sql \
+                       mods-config/unbound/default.conf \
+                       panic.gdb policy.d/abfab-tr policy.d/accounting \
+                       policy.d/canonicalization policy.d/control policy.d/cui \
+                       policy.d/debug policy.d/dhcp policy.d/eap policy.d/filter \
+                       policy.d/moonshot-targeted-ids policy.d/operator-name \
+                       proxy.conf radiusd.conf README.rst \
+                       sites-available/abfab-tls sites-available/abfab-tr-idp \
+                       sites-available/buffered-sql sites-available/challenge \
+                       sites-available/channel_bindings sites-available/check-eap-tls \
+                       sites-available/coa sites-available/control-socket \
+                       sites-available/copy-acct-to-home-server \
+                       sites-available/decoupled-accounting \
+                       sites-available/default \
+                       sites-available/dhcp \
+                       sites-available/dhcp.relay \
+                       sites-available/dynamic-clients \
+                       sites-available/example \
+                       sites-available/inner-tunnel \
+                       sites-available/originate-coa \
+                       sites-available/proxy-inner-tunnel \
+                       sites-available/README \
+                       sites-available/robust-proxy-accounting \
+                       sites-available/soh \
+                       sites-available/status \
+                       sites-available/tls \
+                       sites-available/virtual.example.com \
+                       users templates.conf trigger.conf
+
+EGDIRS=                certs mods-available mods-config mods-config/attr_filter mods-config/files \
+                       mods-config/perl mods-config/preprocess mods-config/sql mods-config/sql/counter  \
+                       mods-config/sql/counter/mysql mods-config/sql/counter/postgresql  \
+                       mods-config/sql/counter/sqlite mods-config/sql/cui mods-config/sql/cui/mysql  \
+                       mods-config/sql/cui/postgresql mods-config/sql/cui/sqlite mods-config/sql/ippool  \
+                       mods-config/sql/ippool-dhcp mods-config/sql/ippool-dhcp/mysql  \
+                       mods-config/sql/ippool-dhcp/oracle mods-config/sql/ippool-dhcp/sqlite  \
+                       mods-config/sql/ippool/mysql mods-config/sql/ippool/oracle  \
+                       mods-config/sql/ippool/postgresql mods-config/sql/ippool/sqlite  \
+                       mods-config/sql/main mods-config/sql/main/mssql mods-config/sql/main/mysql  \
+                       mods-config/sql/main/mysql/extras mods-config/sql/main/mysql/extras/wimax  \
+                       mods-config/sql/main/ndb mods-config/sql/main/oracle  \
+                       mods-config/sql/main/postgresql mods-config/sql/main/postgresql/extras  \
+                       mods-config/sql/main/sqlite mods-config/unbound mods-enabled  \
+                       policy.d sites-available sites-enabled
 
 .for f in ${EGFILES}
 CONF_FILES_PERMS+=     ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f} \
                        ${RADIUS_USER} ${RADIUS_GROUP} 0640
 .endfor
+CONF_FILES_PERMS+=     ${EGDIR}/certs/bootstrap ${PKG_SYSCONFDIR}/certs/bootstrap \
+                       ${RADIUS_USER} ${RADIUS_GROUP} 0750
 
-.include "../../security/openssl/buildlink3.mk"
-.include "../../devel/libltdl/buildlink3.mk"
-.include "../../mk/pthread.buildlink3.mk"
+.for d in ${EGDIRS}
+OWN_DIRS_PERMS+=       ${PKG_SYSCONFDIR}/${d} ${RADIUS_USER} ${RADIUS_GROUP} 0750
+.endfor
+
+INSTALL_MAKE_FLAGS+=   raddbdir=${EGDIR}
 
-.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
-
-INSTALLATION_DIRS+=    ${EGDIR}/certs/demoCA
-INSTALL_ENV+=          R=${DESTDIR}
-MAKE_DIRS_PERMS+=      ${PKG_SYSCONFDIR}/certs ${RADIUS_USER} ${RADIUS_GROUP} 0750
-MAKE_DIRS_PERMS+=      ${PKG_SYSCONFDIR}/certs/demoCA ${RADIUS_USER} ${RADIUS_GROUP} 0750
+TEST_TARGET=           test
+TEST_MAKE_FLAGS+=      EAPOL_TEST=""
 
 post-install:
-.for f in ${EGFILES}
-       ${INSTALL_DATA} ${WRKSRC}/raddb/${f} ${DESTDIR}${EGDIR}/${f}
-.endfor
-       ${INSTALL_SCRIPT} ${WRKSRC}/src/modules/rlm_perl/example.pl ${DESTDIR}${EGDIR}
+       ${RM} -f ${DESTDIR}${PREFIX}/lib/*.a ${DESTDIR}${PREFIX}/lib/*.la
 
+.include "../../security/openssl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/net/freeradius/PLIST
diff -u pkgsrc/net/freeradius/PLIST:1.26 pkgsrc/net/freeradius/PLIST:1.27
--- pkgsrc/net/freeradius/PLIST:1.26    Tue Mar 11 14:05:08 2014
+++ pkgsrc/net/freeradius/PLIST Sat Aug 26 10:07:28 2017
@@ -1,180 +1,242 @@
-@comment $NetBSD: PLIST,v 1.26 2014/03/11 14:05:08 jperkin Exp $
+@comment $NetBSD: PLIST,v 1.27 2017/08/26 10:07:28 fhajny Exp $
+bin/dhcpclient
+bin/map_unit
+bin/rad_counter
+bin/radattr
 bin/radclient
+bin/radcrypt
 bin/radeapclient
 bin/radlast
-bin/radrelay
+bin/radsniff
 bin/radsqlrelay
 bin/radtest
 bin/radwho
 bin/radzap
+bin/rlm_ippool_tool
 bin/smbencrypt
-lib/libeap-${RADVER}.la
-lib/libeap.la
-lib/libradius-${RADVER}.la
-lib/libradius.la
-lib/rlm_acct_unique-${RADVER}.la
-lib/rlm_acct_unique.la
-lib/rlm_always-${RADVER}.la
-lib/rlm_always.la
-lib/rlm_attr_filter-${RADVER}.la
-lib/rlm_attr_filter.la
-lib/rlm_attr_rewrite-${RADVER}.la
-lib/rlm_attr_rewrite.la
-lib/rlm_chap-${RADVER}.la
-lib/rlm_chap.la
-lib/rlm_checkval-${RADVER}.la
-lib/rlm_checkval.la
-lib/rlm_detail-${RADVER}.la
-lib/rlm_detail.la
-lib/rlm_digest-${RADVER}.la
-lib/rlm_digest.la
-lib/rlm_eap-${RADVER}.la
-lib/rlm_eap.la
-lib/rlm_eap_gtc-${RADVER}.la
-lib/rlm_eap_gtc.la
-lib/rlm_eap_leap-${RADVER}.la
-lib/rlm_eap_leap.la
-lib/rlm_eap_md5-${RADVER}.la
-lib/rlm_eap_md5.la
-lib/rlm_eap_mschapv2-${RADVER}.la
-lib/rlm_eap_mschapv2.la
-lib/rlm_eap_peap-${RADVER}.la
-lib/rlm_eap_peap.la
-lib/rlm_eap_sim-${RADVER}.la
-lib/rlm_eap_sim.la
-lib/rlm_eap_tls-${RADVER}.la
-lib/rlm_eap_tls.la
-lib/rlm_eap_ttls-${RADVER}.la
-lib/rlm_eap_ttls.la
-lib/rlm_exec-${RADVER}.la
-lib/rlm_exec.la
-lib/rlm_expr-${RADVER}.la
-lib/rlm_expr.la
-lib/rlm_fastusers-${RADVER}.la
-lib/rlm_fastusers.la
-lib/rlm_files-${RADVER}.la
-lib/rlm_files.la
-lib/rlm_mschap-${RADVER}.la
-lib/rlm_mschap.la
-lib/rlm_ns_mta_md5-${RADVER}.la
-lib/rlm_ns_mta_md5.la
-lib/rlm_otp-${RADVER}.la
-lib/rlm_otp.la
-lib/rlm_pap-${RADVER}.la
-lib/rlm_pap.la
-lib/rlm_passwd-${RADVER}.la
-lib/rlm_passwd.la
-lib/rlm_preprocess-${RADVER}.la
-lib/rlm_preprocess.la
-lib/rlm_radutmp-${RADVER}.la
-lib/rlm_radutmp.la
-lib/rlm_realm-${RADVER}.la
-lib/rlm_realm.la
-lib/rlm_sql-${RADVER}.la
-lib/rlm_sql.la
-lib/rlm_sql_log-${RADVER}.la
-lib/rlm_sql_log.la
-lib/rlm_sqlcounter-${RADVER}.la
-lib/rlm_sqlcounter.la
-lib/rlm_sqlippool-${RADVER}.la
-lib/rlm_sqlippool.la
-lib/rlm_unix-${RADVER}.la
-lib/rlm_unix.la
+include/freeradius/attributes.h
+include/freeradius/base64.h
+include/freeradius/build.h
+include/freeradius/conf.h
+include/freeradius/conffile.h
+include/freeradius/detail.h
+include/freeradius/event.h
+include/freeradius/features.h
+include/freeradius/freeradius.h
+include/freeradius/hash.h
+include/freeradius/heap.h
+include/freeradius/libradius.h
+include/freeradius/map.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/rfc2865.h
+include/freeradius/rfc2866.h
+include/freeradius/rfc2867.h
+include/freeradius/rfc2868.h
+include/freeradius/rfc2869.h
+include/freeradius/rfc3162.h
+include/freeradius/rfc3576.h
+include/freeradius/rfc3580.h
+include/freeradius/rfc4072.h
+include/freeradius/rfc4372.h
+include/freeradius/rfc4603.h
+include/freeradius/rfc4675.h
+include/freeradius/rfc4679.h
+include/freeradius/rfc4818.h
+include/freeradius/rfc4849.h
+include/freeradius/rfc5090.h
+include/freeradius/rfc5176.h
+include/freeradius/rfc5447.h
+include/freeradius/rfc5580.h
+include/freeradius/rfc5607.h
+include/freeradius/rfc5904.h
+include/freeradius/rfc6519.h
+include/freeradius/rfc6572.h
+include/freeradius/rfc6677.h
+include/freeradius/rfc6911.h
+include/freeradius/rfc6929.h
+include/freeradius/rfc6930.h
+include/freeradius/rfc7055.h
+include/freeradius/rfc7155.h
+include/freeradius/rfc7268.h
+include/freeradius/rfc7499.h
+include/freeradius/rfc7930.h
+include/freeradius/sha1.h
+include/freeradius/stats.h
+include/freeradius/sysutmp.h
+include/freeradius/tls.h
+include/freeradius/token.h
+include/freeradius/udpfromto.h
+include/freeradius/vqp.h
+lib/libfreeradius-dhcp.so
+lib/libfreeradius-eap.so
+lib/libfreeradius-radius.so
+lib/libfreeradius-server.so
+lib/proto_dhcp.so
+lib/proto_vmps.so
+lib/rlm_always.so
+lib/rlm_attr_filter.so
+lib/rlm_cache.so
+lib/rlm_cache_rbtree.so
+lib/rlm_chap.so
+lib/rlm_counter.so
+lib/rlm_cram.so
+lib/rlm_date.so
+lib/rlm_detail.so
+lib/rlm_dhcp.so
+lib/rlm_digest.so
+lib/rlm_dynamic_clients.so
+lib/rlm_eap.so
+lib/rlm_eap_fast.so
+lib/rlm_eap_gtc.so
+lib/rlm_eap_leap.so
+lib/rlm_eap_md5.so
+lib/rlm_eap_mschapv2.so
+lib/rlm_eap_peap.so
+lib/rlm_eap_pwd.so
+lib/rlm_eap_sim.so
+lib/rlm_eap_tls.so
+lib/rlm_eap_ttls.so
+lib/rlm_exec.so
+lib/rlm_expiration.so
+lib/rlm_expr.so
+lib/rlm_files.so
+lib/rlm_ippool.so
+lib/rlm_linelog.so
+lib/rlm_logintime.so
+lib/rlm_mschap.so
+lib/rlm_otp.so
+lib/rlm_pam.so
+lib/rlm_pap.so
+lib/rlm_passwd.so
+lib/rlm_preprocess.so
+lib/rlm_radutmp.so
+lib/rlm_realm.so
+lib/rlm_replicate.so
+lib/rlm_soh.so
+lib/rlm_sometimes.so
+lib/rlm_sql.so
+lib/rlm_sql_null.so
+lib/rlm_sqlcounter.so
+lib/rlm_sqlippool.so
+lib/rlm_test.so
+lib/rlm_unix.so
+lib/rlm_unpack.so
+lib/rlm_utf8.so
+lib/rlm_wimax.so
+man/man1/dhcpclient.1
+man/man1/rad_counter.1
 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/man5/acct_users.5
-man/man5/clients.5
+man/man1/smbencrypt.1
+man/man5/checkrad.5
 man/man5/clients.conf.5
 man/man5/dictionary.5
-man/man5/naslist.5
 man/man5/radiusd.conf.5
-man/man5/rlm_acct_unique.5
+man/man5/radrelay.conf.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_idn.5
 man/man5/rlm_mschap.5
 man/man5/rlm_pap.5
 man/man5/rlm_passwd.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/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
-sbin/check-radiusd-config
+man/man8/rlm_ippool_tool.8
 sbin/checkrad
+sbin/raddebug
 sbin/radiusd
-sbin/radwatch
+sbin/radmin
 sbin/rc.radiusd
-share/doc/freeradius/Acct-Type
-share/doc/freeradius/Autz-Type
-share/doc/freeradius/CYGWIN
 share/doc/freeradius/ChangeLog
-share/doc/freeradius/DIFFS
-share/doc/freeradius/MACOSX
-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/Makefile.sphinx
 share/doc/freeradius/README
-share/doc/freeradius/Session-Type
-share/doc/freeradius/Simultaneous-Use
-share/doc/freeradius/aaa.txt
-share/doc/freeradius/ascend
-share/doc/freeradius/bay
 share/doc/freeradius/bugs
-share/doc/freeradius/cisco
-share/doc/freeradius/coding-methods.txt
-share/doc/freeradius/configurable_failover
-share/doc/freeradius/duplicate-users
-share/doc/freeradius/examples/iplanet.ldif
-share/doc/freeradius/examples/iplanet.schema
-share/doc/freeradius/examples/mssql.sql
-share/doc/freeradius/examples/mysql.sql
-share/doc/freeradius/examples/openldap.schema
-share/doc/freeradius/examples/oracle.sql
-share/doc/freeradius/examples/postgresql.sql
-share/doc/freeradius/examples/postgresql.sql.extra
-share/doc/freeradius/ldap_howto.txt
-share/doc/freeradius/load-balance.txt
-share/doc/freeradius/misc-nas
-share/doc/freeradius/module_interface
-share/doc/freeradius/mssql
-share/doc/freeradius/performance-testing
-share/doc/freeradius/processing_users_file
-share/doc/freeradius/proxy
-share/doc/freeradius/radrelay
-share/doc/freeradius/release-method.txt
+share/doc/freeradius/concepts/aaa.rst
+share/doc/freeradius/concepts/proxy.rst
+share/doc/freeradius/configuration/acct_type.rst
+share/doc/freeradius/configuration/autz_type.rst
+share/doc/freeradius/configuration/configurable_failover.rst
+share/doc/freeradius/configuration/load_balance.rst
+share/doc/freeradius/configuration/post_auth_type
+share/doc/freeradius/configuration/session_type
+share/doc/freeradius/configuration/simultaneous_use
+share/doc/freeradius/configuration/snmp
+share/doc/freeradius/configuration/variables.rst
+share/doc/freeradius/deployment/CYGWIN.rst
+share/doc/freeradius/deployment/MACOSX
+share/doc/freeradius/deployment/OS2
+share/doc/freeradius/deployment/performance-testing
+share/doc/freeradius/deployment/supervise-radiusd.rst
+share/doc/freeradius/deployment/tuning_guide
+share/doc/freeradius/developer/coding-methods.rst
+share/doc/freeradius/developer/contributing.rst
+share/doc/freeradius/developer/module_interface.rst
+share/doc/freeradius/developer/release-method.rst
+share/doc/freeradius/index.rst
+share/doc/freeradius/modules/RADIUS-LDAP-eDirectory
+share/doc/freeradius/modules/ldap_howto.rst
+share/doc/freeradius/modules/mschap.rst
+share/doc/freeradius/modules/rlm_dbm
+share/doc/freeradius/modules/rlm_eap
+share/doc/freeradius/modules/rlm_expiration
+share/doc/freeradius/modules/rlm_krb5
+share/doc/freeradius/modules/rlm_pam
+share/doc/freeradius/modules/rlm_passwd
+share/doc/freeradius/modules/rlm_python
+share/doc/freeradius/modules/rlm_soh
+share/doc/freeradius/modules/rlm_sql
+share/doc/freeradius/modules/rlm_sqlcounter
+share/doc/freeradius/modules/rlm_sqlippool
+share/doc/freeradius/rfc/Makefile
 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/genref.pl
 share/doc/freeradius/rfc/leap.txt
-share/doc/freeradius/rfc/pppext-eap-sim-12.txt
+share/doc/freeradius/rfc/per-rfc.pl
+share/doc/freeradius/rfc/rewrite.pl
 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/rfc2058.txt
-share/doc/freeradius/rfc/rfc2059.txt
-share/doc/freeradius/rfc/rfc2138.txt
-share/doc/freeradius/rfc/rfc2139.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
@@ -187,140 +249,428 @@ 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/rfc2882.txt
 share/doc/freeradius/rfc/rfc2924.txt
+share/doc/freeradius/rfc/rfc3079.txt
 share/doc/freeradius/rfc/rfc3162.txt
+share/doc/freeradius/rfc/rfc3539.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/rlm_attr_filter
-share/doc/freeradius/rlm_dbm
-share/doc/freeradius/rlm_digest
-share/doc/freeradius/rlm_eap
-share/doc/freeradius/rlm_fastusers
-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/supervise-radiusd.txt
-share/doc/freeradius/tuning_guide
-share/doc/freeradius/variables.txt
-share/examples/freeradius/acct_users
-share/examples/freeradius/attrs
+share/doc/freeradius/rfc/rfc3748.txt
+share/doc/freeradius/rfc/rfc4072.txt
+share/doc/freeradius/rfc/rfc4186.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/rfc5931.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/rfc6613.txt
+share/doc/freeradius/rfc/rfc6614.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/rfc/rfc7055.txt
+share/doc/freeradius/rfc/rfc7268.txt
+share/doc/freeradius/rfc/rfc7542.txt
+share/doc/freeradius/rfc/rfc7599.txt
+share/doc/freeradius/schemas/ldap/edir/freeradius-clients.ldif
+share/doc/freeradius/schemas/ldap/iplanet/freeradius.ldif
+share/doc/freeradius/schemas/ldap/iplanet/freeradius.schema
+share/doc/freeradius/schemas/ldap/openldap/freeradius-clients.ldif
+share/doc/freeradius/schemas/ldap/openldap/freeradius-clients.schema
+share/doc/freeradius/schemas/ldap/openldap/freeradius.ldif
+share/doc/freeradius/schemas/ldap/openldap/freeradius.schema
+share/doc/freeradius/schemas/logstash/README
+share/doc/freeradius/schemas/logstash/kibana4-dashboard.json
+share/doc/freeradius/schemas/logstash/log-courier.conf
+share/doc/freeradius/schemas/logstash/logstash-radius.conf
+share/doc/freeradius/schemas/logstash/radius-mapping.sh
+share/doc/freeradius/schemas/sql
+share/doc/freeradius/vendor/ascend
+share/doc/freeradius/vendor/bay
+share/doc/freeradius/vendor/cisco.rst
+share/doc/freeradius/vendor/proxim
+share/examples/freeradius/README.rst
+share/examples/freeradius/certs/Makefile
 share/examples/freeradius/certs/README
-share/examples/freeradius/certs/cert-clt.der
-share/examples/freeradius/certs/cert-clt.p12
-share/examples/freeradius/certs/cert-clt.pem
-share/examples/freeradius/certs/cert-srv.der
-share/examples/freeradius/certs/cert-srv.p12
-share/examples/freeradius/certs/cert-srv.pem
-share/examples/freeradius/certs/demoCA/cacert.pem
-share/examples/freeradius/certs/demoCA/index.txt
-share/examples/freeradius/certs/demoCA/index.txt.old
-share/examples/freeradius/certs/demoCA/serial
-share/examples/freeradius/certs/demoCA/serial.old
-share/examples/freeradius/certs/dh
-share/examples/freeradius/certs/newcert.pem
-share/examples/freeradius/certs/newreq.pem
-share/examples/freeradius/certs/random
-share/examples/freeradius/certs/root.der
-share/examples/freeradius/certs/root.p12
-share/examples/freeradius/certs/root.pem
-share/examples/freeradius/clients
+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/dictionary.in
-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/mssql.conf
-share/examples/freeradius/naslist
-share/examples/freeradius/naspasswd
-share/examples/freeradius/oraclesql.conf
-share/examples/freeradius/otp.conf
-share/examples/freeradius/pgsql-voip.conf
-share/examples/freeradius/postgresql.conf
-share/examples/freeradius/preproxy_users
+share/examples/freeradius/mods-available/README.rst
+share/examples/freeradius/mods-available/abfab_psk_sql
+share/examples/freeradius/mods-available/always
+share/examples/freeradius/mods-available/attr_filter
+share/examples/freeradius/mods-available/cache
+share/examples/freeradius/mods-available/cache_eap
+share/examples/freeradius/mods-available/chap
+share/examples/freeradius/mods-available/couchbase
+share/examples/freeradius/mods-available/counter
+share/examples/freeradius/mods-available/cui
+share/examples/freeradius/mods-available/date
+share/examples/freeradius/mods-available/detail
+share/examples/freeradius/mods-available/detail.example.com
+share/examples/freeradius/mods-available/detail.log
+share/examples/freeradius/mods-available/dhcp
+share/examples/freeradius/mods-available/dhcp_sqlippool
+share/examples/freeradius/mods-available/digest
+share/examples/freeradius/mods-available/dynamic_clients
+share/examples/freeradius/mods-available/eap
+share/examples/freeradius/mods-available/echo
+share/examples/freeradius/mods-available/etc_group
+share/examples/freeradius/mods-available/exec
+share/examples/freeradius/mods-available/expiration
+share/examples/freeradius/mods-available/expr
+share/examples/freeradius/mods-available/files
+share/examples/freeradius/mods-available/idn
+share/examples/freeradius/mods-available/inner-eap
+share/examples/freeradius/mods-available/ippool
+share/examples/freeradius/mods-available/krb5
+share/examples/freeradius/mods-available/ldap
+share/examples/freeradius/mods-available/linelog
+share/examples/freeradius/mods-available/logintime
+share/examples/freeradius/mods-available/mac2ip
+share/examples/freeradius/mods-available/mac2vlan
+share/examples/freeradius/mods-available/moonshot-targeted-ids
+share/examples/freeradius/mods-available/mschap
+share/examples/freeradius/mods-available/ntlm_auth
+share/examples/freeradius/mods-available/opendirectory
+share/examples/freeradius/mods-available/otp
+share/examples/freeradius/mods-available/pam
+share/examples/freeradius/mods-available/pap
+share/examples/freeradius/mods-available/passwd
+share/examples/freeradius/mods-available/perl
+share/examples/freeradius/mods-available/preprocess
+share/examples/freeradius/mods-available/python
+share/examples/freeradius/mods-available/radutmp
+share/examples/freeradius/mods-available/realm
+share/examples/freeradius/mods-available/redis
+share/examples/freeradius/mods-available/rediswho
+share/examples/freeradius/mods-available/replicate
+share/examples/freeradius/mods-available/rest
+share/examples/freeradius/mods-available/smbpasswd
+share/examples/freeradius/mods-available/smsotp
+share/examples/freeradius/mods-available/soh
+share/examples/freeradius/mods-available/sometimes
+share/examples/freeradius/mods-available/sql
+share/examples/freeradius/mods-available/sqlcounter
+share/examples/freeradius/mods-available/sqlippool
+share/examples/freeradius/mods-available/sradutmp
+share/examples/freeradius/mods-available/unbound
+share/examples/freeradius/mods-available/unix
+share/examples/freeradius/mods-available/unpack
+share/examples/freeradius/mods-available/utf8
+share/examples/freeradius/mods-available/wimax
+share/examples/freeradius/mods-available/yubikey
+share/examples/freeradius/mods-config/README.rst
+share/examples/freeradius/mods-config/attr_filter/access_challenge
+share/examples/freeradius/mods-config/attr_filter/access_reject
+share/examples/freeradius/mods-config/attr_filter/accounting_response
+share/examples/freeradius/mods-config/attr_filter/post-proxy
+share/examples/freeradius/mods-config/attr_filter/pre-proxy
+share/examples/freeradius/mods-config/files/accounting
+share/examples/freeradius/mods-config/files/authorize
+share/examples/freeradius/mods-config/files/pre-proxy
+share/examples/freeradius/mods-config/perl/example.pl
+share/examples/freeradius/mods-config/preprocess/hints
+share/examples/freeradius/mods-config/preprocess/huntgroups
+share/examples/freeradius/mods-config/sql/counter/mysql/dailycounter.conf
+share/examples/freeradius/mods-config/sql/counter/mysql/expire_on_login.conf
+share/examples/freeradius/mods-config/sql/counter/mysql/monthlycounter.conf
+share/examples/freeradius/mods-config/sql/counter/mysql/noresetcounter.conf
+share/examples/freeradius/mods-config/sql/counter/postgresql/dailycounter.conf
+share/examples/freeradius/mods-config/sql/counter/postgresql/expire_on_login.conf
+share/examples/freeradius/mods-config/sql/counter/postgresql/monthlycounter.conf
+share/examples/freeradius/mods-config/sql/counter/postgresql/noresetcounter.conf
+share/examples/freeradius/mods-config/sql/counter/sqlite/dailycounter.conf
+share/examples/freeradius/mods-config/sql/counter/sqlite/expire_on_login.conf
+share/examples/freeradius/mods-config/sql/counter/sqlite/monthlycounter.conf
+share/examples/freeradius/mods-config/sql/counter/sqlite/noresetcounter.conf
+share/examples/freeradius/mods-config/sql/cui/mysql/queries.conf
+share/examples/freeradius/mods-config/sql/cui/mysql/schema.sql
+share/examples/freeradius/mods-config/sql/cui/postgresql/queries.conf
+share/examples/freeradius/mods-config/sql/cui/postgresql/schema.sql
+share/examples/freeradius/mods-config/sql/cui/sqlite/queries.conf
+share/examples/freeradius/mods-config/sql/cui/sqlite/schema.sql
+share/examples/freeradius/mods-config/sql/ippool-dhcp/mysql/queries.conf
+share/examples/freeradius/mods-config/sql/ippool-dhcp/mysql/schema.sql
+share/examples/freeradius/mods-config/sql/ippool-dhcp/oracle/queries.conf
+share/examples/freeradius/mods-config/sql/ippool-dhcp/oracle/schema.sql
+share/examples/freeradius/mods-config/sql/ippool-dhcp/sqlite/queries.conf
+share/examples/freeradius/mods-config/sql/ippool-dhcp/sqlite/schema.sql
+share/examples/freeradius/mods-config/sql/ippool/mysql/queries.conf
+share/examples/freeradius/mods-config/sql/ippool/mysql/schema.sql
+share/examples/freeradius/mods-config/sql/ippool/oracle/procedures.sql
+share/examples/freeradius/mods-config/sql/ippool/oracle/queries.conf
+share/examples/freeradius/mods-config/sql/ippool/oracle/schema.sql
+share/examples/freeradius/mods-config/sql/ippool/postgresql/queries.conf
+share/examples/freeradius/mods-config/sql/ippool/postgresql/schema.sql
+share/examples/freeradius/mods-config/sql/ippool/sqlite/queries.conf
+share/examples/freeradius/mods-config/sql/ippool/sqlite/schema.sql
+share/examples/freeradius/mods-config/sql/main/mssql/queries.conf
+share/examples/freeradius/mods-config/sql/main/mssql/schema.sql
+share/examples/freeradius/mods-config/sql/main/mysql/extras/wimax/queries.conf
+share/examples/freeradius/mods-config/sql/main/mysql/extras/wimax/schema.sql
+share/examples/freeradius/mods-config/sql/main/mysql/queries.conf
+share/examples/freeradius/mods-config/sql/main/mysql/schema.sql
+share/examples/freeradius/mods-config/sql/main/mysql/setup.sql
+share/examples/freeradius/mods-config/sql/main/ndb/README
+share/examples/freeradius/mods-config/sql/main/ndb/schema.sql
+share/examples/freeradius/mods-config/sql/main/ndb/setup.sql
+share/examples/freeradius/mods-config/sql/main/oracle/queries.conf
+share/examples/freeradius/mods-config/sql/main/oracle/schema.sql
+share/examples/freeradius/mods-config/sql/main/postgresql/extras/cisco_h323_db_schema.sql
+share/examples/freeradius/mods-config/sql/main/postgresql/extras/update_radacct_group.sql
+share/examples/freeradius/mods-config/sql/main/postgresql/extras/voip-postpaid.conf
+share/examples/freeradius/mods-config/sql/main/postgresql/queries.conf
+share/examples/freeradius/mods-config/sql/main/postgresql/schema.sql
+share/examples/freeradius/mods-config/sql/main/postgresql/setup.sql
+share/examples/freeradius/mods-config/sql/main/sqlite/queries.conf
+share/examples/freeradius/mods-config/sql/main/sqlite/schema.sql
+share/examples/freeradius/mods-config/sql/moonshot-targeted-ids/mysql/queries.conf
+share/examples/freeradius/mods-config/sql/moonshot-targeted-ids/mysql/schema.sql
+share/examples/freeradius/mods-config/sql/moonshot-targeted-ids/postgresql/queries.conf
+share/examples/freeradius/mods-config/sql/moonshot-targeted-ids/postgresql/schema.sql
+share/examples/freeradius/mods-config/sql/moonshot-targeted-ids/sqlite/queries.conf
+share/examples/freeradius/mods-config/sql/moonshot-targeted-ids/sqlite/schema.sql
+share/examples/freeradius/mods-config/unbound/default.conf
+share/examples/freeradius/mods-enabled/always
+share/examples/freeradius/mods-enabled/attr_filter
+share/examples/freeradius/mods-enabled/cache_eap
+share/examples/freeradius/mods-enabled/chap
+share/examples/freeradius/mods-enabled/date
+share/examples/freeradius/mods-enabled/detail
+share/examples/freeradius/mods-enabled/detail.log
+share/examples/freeradius/mods-enabled/dhcp
+share/examples/freeradius/mods-enabled/digest
+share/examples/freeradius/mods-enabled/dynamic_clients
+share/examples/freeradius/mods-enabled/eap
+share/examples/freeradius/mods-enabled/echo
+share/examples/freeradius/mods-enabled/exec
+share/examples/freeradius/mods-enabled/expiration
+share/examples/freeradius/mods-enabled/expr
+share/examples/freeradius/mods-enabled/files
+share/examples/freeradius/mods-enabled/linelog
+share/examples/freeradius/mods-enabled/logintime
+share/examples/freeradius/mods-enabled/mschap
+share/examples/freeradius/mods-enabled/ntlm_auth
+share/examples/freeradius/mods-enabled/pap
+share/examples/freeradius/mods-enabled/passwd
+share/examples/freeradius/mods-enabled/preprocess
+share/examples/freeradius/mods-enabled/radutmp
+share/examples/freeradius/mods-enabled/realm
+share/examples/freeradius/mods-enabled/replicate
+share/examples/freeradius/mods-enabled/soh
+share/examples/freeradius/mods-enabled/sradutmp
+share/examples/freeradius/mods-enabled/unix
+share/examples/freeradius/mods-enabled/unpack
+share/examples/freeradius/mods-enabled/utf8
+share/examples/freeradius/panic.gdb
+share/examples/freeradius/policy.d/abfab-tr
+share/examples/freeradius/policy.d/accounting
+share/examples/freeradius/policy.d/canonicalization
+share/examples/freeradius/policy.d/control
+share/examples/freeradius/policy.d/cui
+share/examples/freeradius/policy.d/debug
+share/examples/freeradius/policy.d/dhcp
+share/examples/freeradius/policy.d/eap
+share/examples/freeradius/policy.d/filter
+share/examples/freeradius/policy.d/moonshot-targeted-ids
+share/examples/freeradius/policy.d/operator-name
 share/examples/freeradius/proxy.conf
 share/examples/freeradius/radiusd.conf
-share/examples/freeradius/realms
-share/examples/freeradius/snmp.conf
-share/examples/freeradius/sql.conf
-share/examples/freeradius/sqlippool.conf
+share/examples/freeradius/sites-available/README
+share/examples/freeradius/sites-available/abfab-tls
+share/examples/freeradius/sites-available/abfab-tr-idp
+share/examples/freeradius/sites-available/buffered-sql
+share/examples/freeradius/sites-available/challenge
+share/examples/freeradius/sites-available/channel_bindings
+share/examples/freeradius/sites-available/check-eap-tls
+share/examples/freeradius/sites-available/coa
+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/dhcp.relay
+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/soh
+share/examples/freeradius/sites-available/status
+share/examples/freeradius/sites-available/tls
+share/examples/freeradius/sites-available/virtual.example.com
+share/examples/freeradius/sites-available/vmps
+share/examples/freeradius/sites-enabled/default
+share/examples/freeradius/sites-enabled/inner-tunnel
+share/examples/freeradius/templates.conf
+share/examples/freeradius/trigger.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.actelis
+share/freeradius/dictionary.adtran
+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.alvarion.wimax.v2_2
+share/freeradius/dictionary.apc
+share/freeradius/dictionary.aptilo
 share/freeradius/dictionary.aptis
+share/freeradius/dictionary.arbor
+share/freeradius/dictionary.arista
 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.boingo
 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.checkpoint
+share/freeradius/dictionary.chillispot
 share/freeradius/dictionary.cisco
+share/freeradius/dictionary.cisco.asa
 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.cnergee
 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.dellemc
+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.equallogic
 share/freeradius/dictionary.ericsson
+share/freeradius/dictionary.ericsson.ab
+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.freedhcp
 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.hillstone
 share/freeradius/dictionary.hp
+share/freeradius/dictionary.huawei
+share/freeradius/dictionary.iana
+share/freeradius/dictionary.iea
+share/freeradius/dictionary.infoblox
+share/freeradius/dictionary.infonet
 share/freeradius/dictionary.ipunplugged
 share/freeradius/dictionary.issanni
 share/freeradius/dictionary.itk
 share/freeradius/dictionary.juniper
 share/freeradius/dictionary.karlnet
+share/freeradius/dictionary.kineto
+share/freeradius/dictionary.lancom
+share/freeradius/dictionary.lantronix
 share/freeradius/dictionary.livingston
 share/freeradius/dictionary.localweb
 share/freeradius/dictionary.lucent
+share/freeradius/dictionary.manzara
+share/freeradius/dictionary.meinberg
+share/freeradius/dictionary.meraki
 share/freeradius/dictionary.merit
+share/freeradius/dictionary.meru
+share/freeradius/dictionary.microsemi
 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.perle
 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
@@ -330,32 +680,74 @@ 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.rfc4590
+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.rfc6929
+share/freeradius/dictionary.rfc6930
+share/freeradius/dictionary.rfc7055
+share/freeradius/dictionary.rfc7155
+share/freeradius/dictionary.rfc7268
+share/freeradius/dictionary.rfc7499
+share/freeradius/dictionary.rfc7930
+share/freeradius/dictionary.riverbed
 share/freeradius/dictionary.riverstone
 share/freeradius/dictionary.roaringpenguin
-share/freeradius/dictionary.schulzrinne-sipping
+share/freeradius/dictionary.ruckus
+share/freeradius/dictionary.ruggedcom
+share/freeradius/dictionary.sangoma
+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.surfnet
+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.travelping
 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.wifialliance
+share/freeradius/dictionary.wimax
+share/freeradius/dictionary.wimax.alvarion
+share/freeradius/dictionary.wimax.wichorus
 share/freeradius/dictionary.wispr
 share/freeradius/dictionary.xedia
 share/freeradius/dictionary.xylan
+share/freeradius/dictionary.yubico
+share/freeradius/dictionary.zeus
+share/freeradius/dictionary.zte
 share/freeradius/dictionary.zyxel
-@unexec ${RMDIR} %D/etc/raddb/certs/demoCA 2>/dev/null || ${TRUE}
-@unexec ${RMDIR} %D/etc/raddb/certs 2>/dev/null || ${TRUE}

Index: pkgsrc/net/freeradius/distinfo
diff -u pkgsrc/net/freeradius/distinfo:1.31 pkgsrc/net/freeradius/distinfo:1.32
--- pkgsrc/net/freeradius/distinfo:1.31 Wed Nov  4 00:35:00 2015
+++ pkgsrc/net/freeradius/distinfo      Sat Aug 26 10:07:28 2017
@@ -1,12 +1,12 @@
-$NetBSD: distinfo,v 1.31 2015/11/04 00:35:00 agc Exp $
+$NetBSD: distinfo,v 1.32 2017/08/26 10:07:28 fhajny Exp $
 
-SHA1 (freeradius-1.1.8.tar.gz) = c6dcebd09af1c9e4df75e05c800d8b42bdd5f0af
-RMD160 (freeradius-1.1.8.tar.gz) = a21a50657fc3bc525d837e432a6d867c03276793
-SHA512 (freeradius-1.1.8.tar.gz) = 955bd8e2dde01547a2e2526d1f7e09e7d2bf13716197d5d37d1c0f00ec3fb0e0cce7f26b8a5ca2cbf5bef9ce7bbba505ee93fbda3fae16d9c299ea9f81f8e58a
-Size (freeradius-1.1.8.tar.gz) = 3130766 bytes
-SHA1 (patch-ab) = 7a23eb75a9818b073263fd36cbf17b692fa19a9f
-SHA1 (patch-ae) = 8fa500de8c24ec4a8e3bfa043ebb2fb574b0fe7e
-SHA1 (patch-ai) = 8e74a07cde8134881cfd2e5fe661e42cfa3e9fbf
-SHA1 (patch-aj) = 422c9dfbde08c26acf41a040c57508ab9725004e
-SHA1 (patch-ak) = 7be986e3949a6f8368f7e01ba93521fac48eff7d
-SHA1 (patch-al) = d334e29e475202ab1dc66bd2c77db459c7ea73f4
+SHA1 (freeradius-server-3.0.15.tar.bz2) = f651142a31b514fc80d888fe8ab5040cbfdd546e
+RMD160 (freeradius-server-3.0.15.tar.bz2) = 46d2d491b71516c6db7659e46e1ec44c7fbf9d1f
+SHA512 (freeradius-server-3.0.15.tar.bz2) = a2808f0b70b73f11c4c7d00edcb4a56a2ab8f73ce0ff74a9834c8b613ce5ed75ece372f852b0891f68c6a33f50c1bababb76d2eff9326a7fc29fe6b45ec9af88
+Size (freeradius-server-3.0.15.tar.bz2) = 3038070 bytes
+SHA1 (patch-ai) = 837af388cd6f4f4c41177eb28e2eebdfd74e7d8d
+SHA1 (patch-main_command.c) = 1c79b29eb13df341906c710c8dd41860a27473dd
+SHA1 (patch-main_util.c) = b9cefdb9bc30df0906184e8c0bb883e5258767c3
+SHA1 (patch-rlm_krb5_configure) = e97f0efe85c449d3b8a9aa450b6b7d1d0e4c6b89
+SHA1 (patch-rlm_perl_configure) = 577d6f0df7322ee12a99aafcdcc2d0b40e89eb69
+SHA1 (patch-rlm_yubikey_configure) = ea62cc0e87da014befbd0ad79f68dc852dc0f254

Index: pkgsrc/net/freeradius/patches/patch-ai
diff -u pkgsrc/net/freeradius/patches/patch-ai:1.10 pkgsrc/net/freeradius/patches/patch-ai:1.11
--- pkgsrc/net/freeradius/patches/patch-ai:1.10 Tue Sep 18 22:15:08 2007
+++ pkgsrc/net/freeradius/patches/patch-ai      Sat Aug 26 10:07:28 2017
@@ -1,57 +1,42 @@
-$NetBSD: patch-ai,v 1.10 2007/09/18 22:15:08 adrianp Exp $
+$NetBSD: patch-ai,v 1.11 2017/08/26 10:07:28 fhajny Exp $
 
---- configure.orig     2007-07-21 15:01:34.000000000 +0100
+Portable test syntax
+
+--- configure.orig     2016-09-29 15:19:48.000000000 +0000
 +++ configure
-@@ -20022,13 +20022,13 @@ fi
- done
+@@ -9031,7 +9031,7 @@ fi
+ 
+ smart_prefix=
+ 
+-  if test "x$ac_cv_header_pcap_h" == "xyes"; then
++  if test "x$ac_cv_header_pcap_h" = "xyes"; then
+ 
+ $as_echo "#define HAVE_PCAP_H 1" >>confdefs.h
+ 
+@@ -9274,7 +9274,7 @@ fi
+ 
+ smart_prefix=
+ 
+-  if test "x$ac_cv_header_collectd_client_h" == "xyes"; then
++  if test "x$ac_cv_header_collectd_client_h" = "xyes"; then
+ 
+ $as_echo "#define HAVE_COLLECTDC_H 1" >>confdefs.h
+ 
+@@ -9517,7 +9517,7 @@ fi
+ 
+ smart_prefix=
+ 
+-  if test "x$ac_cv_header_sys_capability_h" == "xyes"; then
++  if test "x$ac_cv_header_sys_capability_h" = "xyes"; then
+ 
+ $as_echo "#define HAVE_CAPABILITY_H 1" >>confdefs.h
+ 
+@@ -12640,7 +12640,7 @@ subdirs="$subdirs $mysubdirs"
+ 
+ 
  
+-if test "x$werror" == "xyes"; then
++if test "x$werror" = "xyes"; then
+   CFLAGS="-Werror $CFLAGS"
+ fi
  
--  { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
--echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
-+  { echo "$as_me:$LINENO: checking for pthread_create in ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}" >&5
-+echo $ECHO_N "checking for pthread_create in ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}... $ECHO_C" >&6; }
- if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   ac_check_lib_save_LIBS=$LIBS
--LIBS="-lpthread  $LIBS"
-+LIBS="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}  $LIBS"
- cat >conftest.$ac_ext <<_ACEOF
- /* confdefs.h.  */
- _ACEOF
-@@ -20085,7 +20085,7 @@ fi
- echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
- if test $ac_cv_lib_pthread_pthread_create = yes; then
-    CFLAGS="$CFLAGS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS"
--                  LIBS="$LIBS -lpthread"
-+                  LIBS="$LIBS ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
- else
-   { echo "$as_me:$LINENO: checking for pthread_create in -lc_r" >&5
- echo $ECHO_N "checking for pthread_create in -lc_r... $ECHO_C" >&6; }
-@@ -20194,7 +20194,7 @@ return sem_init ();
-   return 0;
- }
- _ACEOF
--for ac_lib in '' pthread sem posix4 rt; do
-+for ac_lib in '' pthread sem posix4 rt semaphore; do
-   if test -z "$ac_lib"; then
-     ac_res="none required"
-   else
-@@ -20552,7 +20552,7 @@ if test "${ac_cv_lib_ssl_SSL_new+set}" =
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   ac_check_lib_save_LIBS=$LIBS
--LIBS="-lssl  $LIBS"
-+LIBS="-lssl -lcrypto  $LIBS"
- cat >conftest.$ac_ext <<_ACEOF
- /* confdefs.h.  */
- _ACEOF
-@@ -23623,7 +23623,7 @@ gethostbyaddrrstyle=""
- { echo "$as_me:$LINENO: checking gethostbyaddr_r() syntax" >&5
- echo $ECHO_N "checking gethostbyaddr_r() syntax... $ECHO_C" >&6; }
- case "$host" in
--*-freebsd*)
-+*-freebsd* | *-dragonfly*)
-       { echo "$as_me:$LINENO: checking whether gethostbyaddr_r is declared" >&5
- echo $ECHO_N "checking whether gethostbyaddr_r is declared... $ECHO_C" >&6; }
- if test "${ac_cv_have_decl_gethostbyaddr_r+set}" = set; then

Added files:

Index: pkgsrc/net/freeradius/DEINSTALL
diff -u /dev/null pkgsrc/net/freeradius/DEINSTALL:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius/DEINSTALL     Sat Aug 26 10:07:27 2017
@@ -0,0 +1,24 @@
+# $NetBSD: DEINSTALL,v 1.1 2017/08/26 10:07:27 fhajny Exp $
+#
+# Remove default symlinks in ${PKG_SYSCONFDIR} for enabled modules/sites
+#
+
+SITES_ENABLED="default inner-tunnel"
+MODS_ENABLED="always attr_filter cache_eap chap date detail detail.log
+             dhcp digest dynamic_clients eap echo exec expiration expr
+             files linelog logintime mschap ntlm_auth pap passwd preprocess
+             radutmp realm replicate soh sradutmp unix unpack utf8"
+
+case ${STAGE} in
+DEINSTALL)
+       ${ECHO} "Removing default modules and sites"
+       for s in ${SITES_ENABLED}; do
+            ${RM} -f @PKG_SYSCONFDIR@/sites-enabled/${s}
+       done
+       for m in ${MODS_ENABLED}; do
+           ${RM} -f @PKG_SYSCONFDIR@/mods-enabled/${m}
+       done
+       ${RMDIR} @PKG_SYSCONFDIR@/sites-enabled
+       ${RMDIR} @PKG_SYSCONFDIR@/mods-enabled  
+       ;;
+esac
Index: pkgsrc/net/freeradius/INSTALL
diff -u /dev/null pkgsrc/net/freeradius/INSTALL:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius/INSTALL       Sat Aug 26 10:07:27 2017
@@ -0,0 +1,25 @@
+# $NetBSD: INSTALL,v 1.1 2017/08/26 10:07:27 fhajny Exp $
+#
+# Create default symlinks in ${PKG_SYSCONFDIR} for enabled modules/sites
+#
+
+SITES_ENABLED="default inner-tunnel"
+MODS_ENABLED="always attr_filter cache_eap chap date detail detail.log
+             dhcp digest dynamic_clients eap echo exec expiration expr
+             files linelog logintime mschap ntlm_auth pap passwd preprocess
+             radutmp realm replicate soh sradutmp unix unpack utf8"
+
+case ${STAGE} in
+POST-INSTALL)
+       ${ECHO} "Enabling default modules and sites"
+       ${LN} -sf ./mods-config/preprocess/hints @PKG_SYSCONFDIR@/hints
+       ${LN} -sf ./mods-config/preprocess/huntgroups @PKG_SYSCONFDIR@/huntgroups
+       ${LN} -sf ./mods-config/files/authorize @PKG_SYSCONFDIR@/users
+       for s in ${SITES_ENABLED}; do
+           ${LN} -sf ../sites-available/${s} @PKG_SYSCONFDIR@/sites-enabled/${s}
+       done
+       for m in ${MODS_ENABLED}; do
+           ${LN} -sf ../mods-available/${m} @PKG_SYSCONFDIR@/mods-enabled/${m}
+       done
+       ;;
+esac
Index: pkgsrc/net/freeradius/Makefile.common
diff -u /dev/null pkgsrc/net/freeradius/Makefile.common:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius/Makefile.common       Sat Aug 26 10:07:28 2017
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile.common,v 1.1 2017/08/26 10:07:28 fhajny Exp $
+# used by net/freeradius/Makefile.module
+
+DISTNAME=              freeradius-server-3.0.15
+CATEGORIES=            net
+MASTER_SITES=          ftp://ftp.freeradius.org/pub/freeradius/
+EXTRACT_SUFX=          .tar.bz2
+
+MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=              http://www.freeradius.org/
+LICENSE=               gnu-gpl-v2
+
+GNU_CONFIGURE=         yes
+USE_TOOLS+=            gmake perl
+USE_LANGUAGES+=                c c++
+
+CONFIGURE_ARGS+=       --without-rlm_yubikey
+
+CFLAGS.SunOS+=         -D_XPG4_2 -D__EXTENSIONS__
+LIBS.SunOS+=           -lnsl -lresolv -lsocket
+
+MAKE_ENV+=             R=${DESTDIR}
+MAKE_ENV+=             PACKAGE=yes
+
+INSTALLATION_DIRS+=    lib
+
+.include "../../databases/gdbm/buildlink3.mk"
+.include "../../devel/talloc/buildlink3.mk"
+.include "../../net/libpcap/buildlink3.mk"
Index: pkgsrc/net/freeradius/Makefile.module
diff -u /dev/null pkgsrc/net/freeradius/Makefile.module:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius/Makefile.module       Sat Aug 26 10:07:28 2017
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile.module,v 1.1 2017/08/26 10:07:28 fhajny Exp $
+
+.include "../../net/freeradius/Makefile.common"
+
+DEPENDS+=              freeradius>=${PKGVERSION_NOREV}:../../net/freeradius
+
+DISTINFO_FILE=         ${.CURDIR}/../../net/freeradius/distinfo
+PATCHDIR=              ${.CURDIR}/../../net/freeradius/patches
+
+BUILDLINK_DEPMETHOD.gdbm?=     build
+BUILDLINK_DEPMETHOD.libpcap?=  build
+BUILDLINK_DEPMETHOD.openssl?=  build
+BUILDLINK_DEPMETHOD.talloc?=   build

Index: pkgsrc/net/freeradius-freetds/DESCR
diff -u /dev/null pkgsrc/net/freeradius-freetds/DESCR:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-freetds/DESCR Sat Aug 26 10:07:28 2017
@@ -0,0 +1 @@
+FreeRADIUS FreeTDS support
Index: pkgsrc/net/freeradius-freetds/Makefile
diff -u /dev/null pkgsrc/net/freeradius-freetds/Makefile:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-freetds/Makefile      Sat Aug 26 10:07:28 2017
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2017/08/26 10:07:28 fhajny Exp $
+
+.include "../../net/freeradius/Makefile.module"
+
+PKGNAME=               ${DISTNAME:S/-server/-freetds/}
+COMMENT=               Free RADIUS FreeTDS support
+CATEGORIES=            net
+
+CONFIGURE_ARGS+=    --with-rlm_sql_freetds
+
+do-install:
+       ${INSTALL_LIB} ${WRKSRC}/build/lib/.libs/rlm_sql_freetds.so ${DESTDIR}${PREFIX}/lib
+
+.include "../../databases/freetds/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/net/freeradius-freetds/PLIST
diff -u /dev/null pkgsrc/net/freeradius-freetds/PLIST:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-freetds/PLIST Sat Aug 26 10:07:28 2017
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/26 10:07:28 fhajny Exp $
+lib/rlm_sql_freetds.so

Index: pkgsrc/net/freeradius-iodbc/DESCR
diff -u /dev/null pkgsrc/net/freeradius-iodbc/DESCR:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-iodbc/DESCR   Sat Aug 26 10:07:28 2017
@@ -0,0 +1 @@
+FreeRADIUS UNIX ODBC support
Index: pkgsrc/net/freeradius-iodbc/Makefile
diff -u /dev/null pkgsrc/net/freeradius-iodbc/Makefile:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-iodbc/Makefile        Sat Aug 26 10:07:28 2017
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2017/08/26 10:07:28 fhajny Exp $
+
+.include "../../net/freeradius/Makefile.module"
+
+PKGNAME=               ${DISTNAME:S/-server/-iodbc/}
+COMMENT=               Free RADIUS iODBC support
+CATEGORIES=            net
+
+CONFIGURE_ARGS+=    --with-rlm_sql_iodbc
+
+do-install:
+       ${INSTALL_LIB} ${WRKSRC}/build/lib/.libs/rlm_sql_iodbc.so ${DESTDIR}${PREFIX}/lib
+
+.include "../../databases/iodbc/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/net/freeradius-iodbc/PLIST
diff -u /dev/null pkgsrc/net/freeradius-iodbc/PLIST:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-iodbc/PLIST   Sat Aug 26 10:07:28 2017
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/26 10:07:28 fhajny Exp $
+lib/rlm_sql_iodbc.so

Index: pkgsrc/net/freeradius-krb5/DESCR
diff -u /dev/null pkgsrc/net/freeradius-krb5/DESCR:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-krb5/DESCR    Sat Aug 26 10:07:28 2017
@@ -0,0 +1 @@
+Kerberos v5 support for FreeRADIUS
Index: pkgsrc/net/freeradius-krb5/Makefile
diff -u /dev/null pkgsrc/net/freeradius-krb5/Makefile:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-krb5/Makefile Sat Aug 26 10:07:28 2017
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2017/08/26 10:07:28 fhajny Exp $
+
+.include "../../net/freeradius/Makefile.module"
+
+PKGNAME=               ${DISTNAME:S/-server/-krb5/}
+COMMENT=               Free RADIUS rlm_krb5 module
+CATEGORIES=            net
+
+CONFIGURE_ARGS+=    --with-rlm_krb5
+
+do-install:
+       ${INSTALL_LIB} ${WRKSRC}/build/lib/.libs/rlm_krb5.so ${DESTDIR}${PREFIX}/lib
+
+.include "../../mk/krb5.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/net/freeradius-krb5/PLIST
diff -u /dev/null pkgsrc/net/freeradius-krb5/PLIST:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-krb5/PLIST    Sat Aug 26 10:07:28 2017
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/26 10:07:28 fhajny Exp $
+lib/rlm_krb5.so

Index: pkgsrc/net/freeradius-ldap/DESCR
diff -u /dev/null pkgsrc/net/freeradius-ldap/DESCR:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-ldap/DESCR    Sat Aug 26 10:07:28 2017
@@ -0,0 +1 @@
+LDAP support for FreeRADIUS
Index: pkgsrc/net/freeradius-ldap/Makefile
diff -u /dev/null pkgsrc/net/freeradius-ldap/Makefile:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-ldap/Makefile Sat Aug 26 10:07:28 2017
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2017/08/26 10:07:28 fhajny Exp $
+
+.include "../../net/freeradius/Makefile.module"
+
+PKGNAME=               ${DISTNAME:S/-server/-ldap/}
+COMMENT=               Free RADIUS rlm_ldap module
+CATEGORIES=            net
+
+CONFIGURE_ARGS+=    --with-rlm_ldap
+
+do-install:
+       ${INSTALL_LIB} ${WRKSRC}/build/lib/.libs/rlm_ldap.so ${DESTDIR}${PREFIX}/lib
+
+.include "../../databases/openldap-client/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/net/freeradius-ldap/PLIST
diff -u /dev/null pkgsrc/net/freeradius-ldap/PLIST:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-ldap/PLIST    Sat Aug 26 10:07:28 2017
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/26 10:07:28 fhajny Exp $
+lib/rlm_ldap.so

Index: pkgsrc/net/freeradius-memcached/DESCR
diff -u /dev/null pkgsrc/net/freeradius-memcached/DESCR:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-memcached/DESCR       Sat Aug 26 10:07:28 2017
@@ -0,0 +1 @@
+Memcached support for FreeRADIUS
Index: pkgsrc/net/freeradius-memcached/Makefile
diff -u /dev/null pkgsrc/net/freeradius-memcached/Makefile:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-memcached/Makefile    Sat Aug 26 10:07:28 2017
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2017/08/26 10:07:28 fhajny Exp $
+
+.include "../../net/freeradius/Makefile.module"
+
+PKGNAME=               ${DISTNAME:S/-server/-memcached/}
+COMMENT=               Free RADIUS support for memcached
+CATEGORIES=            net
+
+CONFIGURE_ARGS+=    --with-rlm_cache_memcached
+
+do-install:
+       ${INSTALL_LIB} ${WRKSRC}/build/lib/.libs/rlm_cache_memcached.so ${DESTDIR}${PREFIX}/lib
+
+.include "../../devel/libmemcached/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/net/freeradius-memcached/PLIST
diff -u /dev/null pkgsrc/net/freeradius-memcached/PLIST:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-memcached/PLIST       Sat Aug 26 10:07:28 2017
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/26 10:07:28 fhajny Exp $
+lib/rlm_cache_memcached.so

Index: pkgsrc/net/freeradius-mysql/DESCR
diff -u /dev/null pkgsrc/net/freeradius-mysql/DESCR:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-mysql/DESCR   Sat Aug 26 10:07:28 2017
@@ -0,0 +1 @@
+FreeRADIUS MySQL support
Index: pkgsrc/net/freeradius-mysql/Makefile
diff -u /dev/null pkgsrc/net/freeradius-mysql/Makefile:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-mysql/Makefile        Sat Aug 26 10:07:28 2017
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2017/08/26 10:07:28 fhajny Exp $
+
+.include "../../net/freeradius/Makefile.module"
+
+PKGNAME=               ${DISTNAME:S/-server/-mysql/}
+COMMENT=               Free RADIUS MySQL support
+CATEGORIES=            net
+
+CONFIGURE_ARGS+=    --with-rlm_sql_mysql
+
+do-install:
+       ${INSTALL_LIB} ${WRKSRC}/build/lib/.libs/rlm_sql_mysql.so ${DESTDIR}${PREFIX}/lib
+
+.include "../../mk/mysql.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/net/freeradius-mysql/PLIST
diff -u /dev/null pkgsrc/net/freeradius-mysql/PLIST:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-mysql/PLIST   Sat Aug 26 10:07:28 2017
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/26 10:07:28 fhajny Exp $
+lib/rlm_sql_mysql.so

Index: pkgsrc/net/freeradius-perl/DESCR
diff -u /dev/null pkgsrc/net/freeradius-perl/DESCR:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-perl/DESCR    Sat Aug 26 10:07:28 2017
@@ -0,0 +1 @@
+FreeRADIUS rlm_perl module
Index: pkgsrc/net/freeradius-perl/Makefile
diff -u /dev/null pkgsrc/net/freeradius-perl/Makefile:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-perl/Makefile Sat Aug 26 10:07:28 2017
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2017/08/26 10:07:28 fhajny Exp $
+
+.include "../../net/freeradius/Makefile.module"
+
+PKGNAME=               ${DISTNAME:S/-server/-perl/}
+COMMENT=               Free RADIUS rlm_perl module
+CATEGORIES=            net
+
+CONFIGURE_ARGS+=    --with-rlm_perl
+
+do-install:
+       ${INSTALL_LIB} ${WRKSRC}/build/lib/.libs/rlm_perl.so ${DESTDIR}${PREFIX}/lib
+
+.include "../../lang/perl5/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/net/freeradius-perl/PLIST
diff -u /dev/null pkgsrc/net/freeradius-perl/PLIST:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-perl/PLIST    Sat Aug 26 10:07:28 2017
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/26 10:07:28 fhajny Exp $
+lib/rlm_perl.so

Index: pkgsrc/net/freeradius-pgsql/DESCR
diff -u /dev/null pkgsrc/net/freeradius-pgsql/DESCR:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-pgsql/DESCR   Sat Aug 26 10:07:28 2017
@@ -0,0 +1 @@
+FreeRADIUS MySQL support
Index: pkgsrc/net/freeradius-pgsql/Makefile
diff -u /dev/null pkgsrc/net/freeradius-pgsql/Makefile:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-pgsql/Makefile        Sat Aug 26 10:07:28 2017
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2017/08/26 10:07:28 fhajny Exp $
+
+.include "../../net/freeradius/Makefile.module"
+
+PKGNAME=               ${DISTNAME:S/-server/-pgsql/}
+COMMENT=               Free RADIUS PostgreSQL support
+CATEGORIES=            net
+
+CONFIGURE_ARGS+=    --with-rlm_sql_postgresql
+
+do-install:
+       ${INSTALL_LIB} ${WRKSRC}/build/lib/.libs/rlm_sql_postgresql.so ${DESTDIR}${PREFIX}/lib
+
+.include "../../mk/pgsql.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/net/freeradius-pgsql/PLIST
diff -u /dev/null pkgsrc/net/freeradius-pgsql/PLIST:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-pgsql/PLIST   Sat Aug 26 10:07:28 2017
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/26 10:07:28 fhajny Exp $
+lib/rlm_sql_postgresql.so

Index: pkgsrc/net/freeradius-python/DESCR
diff -u /dev/null pkgsrc/net/freeradius-python/DESCR:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-python/DESCR  Sat Aug 26 10:07:29 2017
@@ -0,0 +1,3 @@
+FreeRADIUS rlm_python module
+
+This package provides python support for FreeRADIUS
Index: pkgsrc/net/freeradius-python/Makefile
diff -u /dev/null pkgsrc/net/freeradius-python/Makefile:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-python/Makefile       Sat Aug 26 10:07:29 2017
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2017/08/26 10:07:29 fhajny Exp $
+
+.include "../../net/freeradius/Makefile.module"
+
+PKGNAME=               ${DISTNAME:S/-server/-python/}
+COMMENT=               Free RADIUS rlm_python module
+CATEGORIES=            net
+
+PYTHON_VERSIONS_ACCEPTED=      27
+
+CONFIGURE_ARGS+=    --with-rlm_python
+
+do-install:
+       ${INSTALL_LIB} ${WRKSRC}/build/lib/.libs/rlm_python.so ${DESTDIR}${PREFIX}/lib
+
+.include "../../lang/python/pyversion.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/net/freeradius-python/PLIST
diff -u /dev/null pkgsrc/net/freeradius-python/PLIST:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-python/PLIST  Sat Aug 26 10:07:29 2017
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/26 10:07:29 fhajny Exp $
+lib/rlm_python.so

Index: pkgsrc/net/freeradius-rest/DESCR
diff -u /dev/null pkgsrc/net/freeradius-rest/DESCR:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-rest/DESCR    Sat Aug 26 10:07:29 2017
@@ -0,0 +1 @@
+FreeRADIUS rlm_rest module
Index: pkgsrc/net/freeradius-rest/Makefile
diff -u /dev/null pkgsrc/net/freeradius-rest/Makefile:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-rest/Makefile Sat Aug 26 10:07:29 2017
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2017/08/26 10:07:29 fhajny Exp $
+
+.include "../../net/freeradius/Makefile.module"
+
+PKGNAME=               ${DISTNAME:S/-server/-rest/}
+COMMENT=               Free RADIUS rlm_rest module
+CATEGORIES=            net
+
+CONFIGURE_ARGS+=    --with-rlm_rest
+
+do-install:
+       ${INSTALL_LIB} ${WRKSRC}/build/lib/.libs/rlm_rest.so ${DESTDIR}${PREFIX}/lib
+
+.include "../../textproc/json-c/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/net/freeradius-rest/PLIST
diff -u /dev/null pkgsrc/net/freeradius-rest/PLIST:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-rest/PLIST    Sat Aug 26 10:07:29 2017
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/26 10:07:29 fhajny Exp $
+lib/rlm_rest.so

Index: pkgsrc/net/freeradius-sqlite3/DESCR
diff -u /dev/null pkgsrc/net/freeradius-sqlite3/DESCR:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-sqlite3/DESCR Sat Aug 26 10:07:29 2017
@@ -0,0 +1 @@
+FreeRADIUS SQLite support
Index: pkgsrc/net/freeradius-sqlite3/Makefile
diff -u /dev/null pkgsrc/net/freeradius-sqlite3/Makefile:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-sqlite3/Makefile      Sat Aug 26 10:07:29 2017
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2017/08/26 10:07:29 fhajny Exp $
+
+.include "../../net/freeradius/Makefile.module"
+
+PKGNAME=               ${DISTNAME:S/-server/-sqlite3/}
+COMMENT=               Free RADIUS SQLite support
+CATEGORIES=            net
+
+CONFIGURE_ARGS+=    --with-rlm_sql_iodbc
+
+do-install:
+       ${INSTALL_LIB} ${WRKSRC}/build/lib/.libs/rlm_sql_sqlite.so ${DESTDIR}${PREFIX}/lib
+
+.include "../../databases/sqlite3/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/net/freeradius-sqlite3/PLIST
diff -u /dev/null pkgsrc/net/freeradius-sqlite3/PLIST:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-sqlite3/PLIST Sat Aug 26 10:07:29 2017
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/26 10:07:29 fhajny Exp $
+lib/rlm_sql_sqlite.so

Index: pkgsrc/net/freeradius-unixodbc/DESCR
diff -u /dev/null pkgsrc/net/freeradius-unixodbc/DESCR:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-unixodbc/DESCR        Sat Aug 26 10:07:29 2017
@@ -0,0 +1 @@
+FreeRADIUS UNIX ODBC support
Index: pkgsrc/net/freeradius-unixodbc/Makefile
diff -u /dev/null pkgsrc/net/freeradius-unixodbc/Makefile:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-unixodbc/Makefile     Sat Aug 26 10:07:29 2017
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2017/08/26 10:07:29 fhajny Exp $
+
+.include "../../net/freeradius/Makefile.module"
+
+PKGNAME=               ${DISTNAME:S/-server/-unixodbc/}
+COMMENT=               Free RADIUS UNIXODBC support
+CATEGORIES=            net
+
+CONFIGURE_ARGS+=    --with-rlm_sql_unixodbc
+
+do-install:
+       ${INSTALL_LIB} ${WRKSRC}/build/lib/.libs/rlm_sql_unixodbc.so ${DESTDIR}${PREFIX}/lib
+
+.include "../../databases/unixodbc/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/net/freeradius-unixodbc/PLIST
diff -u /dev/null pkgsrc/net/freeradius-unixodbc/PLIST:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-unixodbc/PLIST        Sat Aug 26 10:07:29 2017
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/26 10:07:29 fhajny Exp $
+lib/rlm_sql_unixodbc.so

Index: pkgsrc/net/freeradius-yubikey/DESCR
diff -u /dev/null pkgsrc/net/freeradius-yubikey/DESCR:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-yubikey/DESCR Sat Aug 26 10:07:29 2017
@@ -0,0 +1 @@
+Yubikey support for FreeRADIUS
Index: pkgsrc/net/freeradius-yubikey/Makefile
diff -u /dev/null pkgsrc/net/freeradius-yubikey/Makefile:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-yubikey/Makefile      Sat Aug 26 10:07:29 2017
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2017/08/26 10:07:29 fhajny Exp $
+
+.include "../../net/freeradius/Makefile.module"
+
+PKGNAME=               ${DISTNAME:S/-server/-yubikey/}
+COMMENT=               Free RADIUS rlm_yubikey module
+CATEGORIES=            net
+
+CONFIGURE_ARGS+=    --with-rlm_yubikey
+
+do-install:
+       ${INSTALL_LIB} ${WRKSRC}/build/lib/.libs/rlm_yubikey.so ${DESTDIR}${PREFIX}/lib
+
+.include "../../security/libyubikey/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/net/freeradius-yubikey/PLIST
diff -u /dev/null pkgsrc/net/freeradius-yubikey/PLIST:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius-yubikey/PLIST Sat Aug 26 10:07:29 2017
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/26 10:07:29 fhajny Exp $
+lib/rlm_yubikey.so

Index: pkgsrc/net/freeradius/files/smf/manifest.xml
diff -u /dev/null pkgsrc/net/freeradius/files/smf/manifest.xml:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius/files/smf/manifest.xml        Sat Aug 26 10:07:28 2017
@@ -0,0 +1,40 @@
+<?xml version='1.0'?>
+<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
+<service_bundle type='manifest' name='export'>
+  <service name='@SMF_PREFIX@/@SMF_NAME@' type='service' version='1'>
+    <create_default_instance enabled="false" />
+    <single_instance />
+    <dependency name='fs-local' grouping='require_all' restart_on='none' type='service'>
+      <service_fmri value='svc:/system/filesystem/local' />
+    </dependency>
+    <dependency name='loopback' grouping='require_all' restart_on='error' type='service'>
+      <service_fmri value='svc:/network/loopback:default' />
+    </dependency>
+    <dependency name='physical' grouping='require_all' restart_on='error' type='service'>
+      <service_fmri value='svc:/network/physical:default' />
+    </dependency>
+    <dependency name='name-services' grouping='require_all'  restart_on='refresh' type='service'>
+      <service_fmri value='svc:/milestone/name-services' />
+    </dependency>
+    <dependency name='system-log' grouping='optional_all' restart_on='none' type='service'>
+      <service_fmri value='svc:/system/system-log' />
+    </dependency>
+    <method_context>
+      <method_credential user='@RADIUS_USER@' group='@RADIUS_GROUP@' />
+    </method_context>
+    <exec_method name='start' type='method' exec='@PREFIX@/sbin/radiusd' timeout_seconds='60' />
+    <exec_method name='stop' type='method' exec=':kill' timeout_seconds='60' />
+    <property_group name='startd' type='framework'>
+      <propval name='ignore_error' type='astring' value='core,signal' />
+    </property_group>
+    <template>
+      <common_name>
+        <loctext xml:lang='C'>FreeRADIUS Server</loctext>
+      </common_name>
+      <documentation>
+        <manpage title='radiusd' section='8' manpath='@PREFIX@/@PKGMANDIR@'/>
+        <doc_link name='freeradius.org' uri='http://freeradius.org/doc/' />
+      </documentation>
+    </template>
+  </service>
+</service_bundle>

Index: pkgsrc/net/freeradius/patches/patch-main_command.c
diff -u /dev/null pkgsrc/net/freeradius/patches/patch-main_command.c:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius/patches/patch-main_command.c  Sat Aug 26 10:07:28 2017
@@ -0,0 +1,23 @@
+$NetBSD: patch-main_command.c,v 1.1 2017/08/26 10:07:28 fhajny Exp $
+
+O_DIRECTORY is a Linuxism and O_NOFOLLOW is a BSDism ported to Linux
+
+--- src/main/command.c.orig    2016-09-29 15:19:48.000000000 +0000
++++ src/main/command.c
+@@ -21,6 +21,16 @@
+  * Copyright 2008 Alan DeKok <aland%deployingradius.com@localhost>
+  */
+ 
++/* 
++ * Not every implementation knows what O_DIRECTORY and O_NOFOLLOW are
++ */
++#ifndef O_DIRECTORY
++#define O_DIRECTORY 0
++#endif
++#ifndef O_NOFOLLOW
++#define O_NOFOLLOW 0
++#endif
++
+ #ifdef WITH_COMMAND_SOCKET
+ 
+ #include <freeradius-devel/parser.h>
Index: pkgsrc/net/freeradius/patches/patch-main_util.c
diff -u /dev/null pkgsrc/net/freeradius/patches/patch-main_util.c:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius/patches/patch-main_util.c     Sat Aug 26 10:07:28 2017
@@ -0,0 +1,20 @@
+$NetBSD: patch-main_util.c,v 1.1 2017/08/26 10:07:28 fhajny Exp $
+O_DIRECTORY to open(2) is a Linuxism.
+
+--- src/main/util.c.orig       2016-09-29 15:19:48.000000000 +0000
++++ src/main/util.c
+@@ -31,6 +31,14 @@ RCSID("$Id: 22299f8c8d6bc98616fa025ee3da
+ #include <fcntl.h>
+ 
+ /*
++ *      Not all libc implmenetations have O_DIRECTORY to pass to
++ *      open(2)
++ */
++#ifndef O_DIRECTORY
++#define O_DIRECTORY 0
++#endif
++
++/*
+  *    The signal() function in Solaris 2.5.1 sets SA_NODEFER in
+  *    sa_flags, which causes grief if signal() is called in the
+  *    handler before the cause of the signal has been cleared.
Index: pkgsrc/net/freeradius/patches/patch-rlm_krb5_configure
diff -u /dev/null pkgsrc/net/freeradius/patches/patch-rlm_krb5_configure:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius/patches/patch-rlm_krb5_configure      Sat Aug 26 10:07:28 2017
@@ -0,0 +1,50 @@
+$NetBSD: patch-rlm_krb5_configure,v 1.1 2017/08/26 10:07:28 fhajny Exp $
+
+Portable test syntax
+
+--- src/modules/rlm_krb5/configure.orig        2016-09-29 15:19:48.000000000 +0000
++++ src/modules/rlm_krb5/configure
+@@ -3913,7 +3913,7 @@ if test "x$smart_lib" != "x"; then
+   SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
+ fi
+ 
+-              if test "x$ac_cv_lib_krb5_krb5_verify_user_opt" == xyes; then
++              if test "x$ac_cv_lib_krb5_krb5_verify_user_opt" = xyes; then
+                       krb5_api_type='heimdal'
+               else
+                       krb5_api_type='mit'
+@@ -4114,13 +4114,13 @@ _ACEOF
+ fi
+ done
+ 
+-      if test "x$ac_cv_func_krb5_get_error_message" == xyes; then
++      if test "x$ac_cv_func_krb5_get_error_message" = xyes; then
+               krb5mod_cflags="${krb5mod_cflags} -DHAVE_KRB5_GET_ERROR_MESSAGE"
+       fi
+-      if test "x$ac_cv_func_krb5_free_error_message" == xyes; then
++      if test "x$ac_cv_func_krb5_free_error_message" = xyes; then
+               krb5mod_cflags="${krb5mod_cflags} -DHAVE_KRB5_FREE_ERROR_MESSAGE"
+       fi
+-      if test "x$ac_cv_func_krb5_free_error_string" == xyes; then
++      if test "x$ac_cv_func_krb5_free_error_string" = xyes; then
+               krb5mod_cflags="${krb5mod_cflags} -DHAVE_KRB5_FREE_ERROR_STRING"
+       fi
+ 
+@@ -4301,7 +4301,7 @@ if test "x$smart_lib" != "x"; then
+   SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
+ fi
+ 
+-              if test "x$ac_cv_lib_krb5_krb5_is_thread_safe" == xyes; then
++              if test "x$ac_cv_lib_krb5_krb5_is_thread_safe" = xyes; then
+                       if test "$cross_compiling" = yes; then :
+   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+ $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+@@ -4334,7 +4334,7 @@ fi
+               krb5threadsafe=""
+       fi
+ 
+-      if test "$krb5_api_type" == "mit"; then
++      if test "$krb5_api_type" = "mit"; then
+ 
+ 
+ ac_safe=`echo "com_err.h" | sed 'y%./+-%__pm%'`
Index: pkgsrc/net/freeradius/patches/patch-rlm_perl_configure
diff -u /dev/null pkgsrc/net/freeradius/patches/patch-rlm_perl_configure:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius/patches/patch-rlm_perl_configure      Sat Aug 26 10:07:28 2017
@@ -0,0 +1,24 @@
+$NetBSD: patch-rlm_perl_configure,v 1.1 2017/08/26 10:07:28 fhajny Exp $
+
+Portable test syntax
+
+--- src/modules/rlm_perl/configure.orig        2016-09-29 15:19:48.000000000 +0000
++++ src/modules/rlm_perl/configure
+@@ -3451,7 +3451,7 @@ rm -f core conftest.err conftest.$ac_obj
+ 
+               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINKS" >&5
+ $as_echo "$LINKS" >&6; }
+-              if test "x$LINKS" == "xno"; then
++              if test "x$LINKS" = "xno"; then
+                       fail="$fail libperl.so"
+                       targetname=
+               fi
+@@ -3482,7 +3482,7 @@ rm -f core conftest.err conftest.$ac_obj
+ 
+               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINKS" >&5
+ $as_echo "$LINKS" >&6; }
+-              if test "x$LINKS" == "xno"; then
++              if test "x$LINKS" = "xno"; then
+                       fail="$fail libperl.so"
+                       targetname=
+               fi
Index: pkgsrc/net/freeradius/patches/patch-rlm_yubikey_configure
diff -u /dev/null pkgsrc/net/freeradius/patches/patch-rlm_yubikey_configure:1.1
--- /dev/null   Sat Aug 26 10:07:29 2017
+++ pkgsrc/net/freeradius/patches/patch-rlm_yubikey_configure   Sat Aug 26 10:07:28 2017
@@ -0,0 +1,15 @@
+$NetBSD: patch-rlm_yubikey_configure,v 1.1 2017/08/26 10:07:28 fhajny Exp $
+
+Portable test syntax
+
+--- src/modules/rlm_yubikey/configure.orig     2016-09-29 15:19:48.000000000 +0000
++++ src/modules/rlm_yubikey/configure
+@@ -3704,7 +3704,7 @@ if test "x$smart_lib" != "x"; then
+   SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
+ fi
+ 
+-      if test "x$ac_cv_lib_ykclient_ykclient_request" == "xyes"; then
++      if test "x$ac_cv_lib_ykclient_ykclient_request" = "xyes"; then
+           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libykclient missing ykclient_request_process. A later version of libykclient is required." >&5
+ $as_echo "$as_me: WARNING: libykclient missing ykclient_request_process. A later version of libykclient is required." >&2;}
+       else



Home | Main Index | Thread Index | Old Index