aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorzi <zi@FreeBSD.org>2013-10-14 07:53:57 +0800
committerzi <zi@FreeBSD.org>2013-10-14 07:53:57 +0800
commit8d67cae96125a009f1497ce3578351855a370cc4 (patch)
tree8fbb9720ab5fc12d37976d347a3a419281cd5acb /net
parent55131af5d5513123f44cb5dd54a40b57bc073c83 (diff)
downloadfreebsd-ports-gnome-8d67cae96125a009f1497ce3578351855a370cc4.tar.gz
freebsd-ports-gnome-8d67cae96125a009f1497ce3578351855a370cc4.tar.zst
freebsd-ports-gnome-8d67cae96125a009f1497ce3578351855a370cc4.zip
- Copy from net/freeradius2
- Update to 3.0.0 PR: ports/182822 Requested by: Dewayne <dewayne.geraghty@heuristicsystems.com.au>
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/freeradius3/Makefile451
-rw-r--r--net/freeradius3/distinfo2
-rw-r--r--net/freeradius3/files/patch-openssl_fix79
-rw-r--r--net/freeradius3/files/patch-radsqlrelay32
-rw-r--r--net/freeradius3/files/pkg-install.in97
-rw-r--r--net/freeradius3/files/pkg-message.in53
-rw-r--r--net/freeradius3/files/radiusd.in49
-rw-r--r--net/freeradius3/pkg-descr7
-rw-r--r--net/freeradius3/pkg-plist820
10 files changed, 1591 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index f0bf9ae5787e..5a37f2b78f74 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -146,6 +146,7 @@
SUBDIR += freenx
SUBDIR += freeradius-client
SUBDIR += freeradius2
+ SUBDIR += freeradius3
SUBDIR += freerdp
SUBDIR += freeswitch
SUBDIR += freeswitch-core
diff --git a/net/freeradius3/Makefile b/net/freeradius3/Makefile
new file mode 100644
index 000000000000..a7b1090a2e80
--- /dev/null
+++ b/net/freeradius3/Makefile
@@ -0,0 +1,451 @@
+# Created by: Ryan Steinmetz <zi@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= freeradius
+DISTVERSION= 3.0.0
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.freeradius.org/pub/freeradius/%SUBDIR%/ \
+ ftp://ftp.ntua.gr/pub/net/radius/freeradius/%SUBDIR%/ \
+ ftp://ftp.uk.freeradius.org/pub/radius/%SUBDIR%/ \
+ http://ftp.cc.uoc.gr/mirrors/ftp.freeradius.org/%SUBDIR%/ \
+ http://freeradius.portal-to-web.de/%SUBDIR%/ \
+ http://mirrors.rit.edu/zi/
+MASTER_SITE_SUBDIR= . old
+DISTNAME= freeradius-server-${DISTVERSION}
+
+MAINTAINER= zi@FreeBSD.org
+COMMENT= A free RADIUS server implementation
+
+LICENSE= GPLv2
+
+LIB_DEPENDS= gdbm:${PORTSDIR}/databases/gdbm \
+ talloc:${PORTSDIR}/devel/talloc
+
+LOGDIR?= /var/log
+KRB5_CONFIG?= /usr/bin/krb5-config --libs
+
+CONFLICTS= gnu-radius-[0-9].* openradius-[0-9].* radiusd-cistron-[0-9].* \
+ freeradius-mysql-[0-9].* freeradius-[0124-9].*
+
+USE_RC_SUBR= radiusd
+
+USES= gmake
+HAS_CONFIGURE= yes
+USE_AUTOTOOLS= libltdl libtool autoconf
+USE_BZIP2= yes
+USE_OPENSSL= yes
+MAKE_ARGS+= LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
+MAKE_JOBS_SAFE= yes
+
+PLIST_SUB= PORTVERSION=${DISTVERSION} LIBVER=0${PORTVERSION:C/\./0/g}
+
+OPTIONS_DEFINE= USER KERBEROS HEIMDAL HEIMDAL_PORT LDAP MYSQL \
+ PGSQL UNIXODBC FIREBIRD REDIS PYTHON RUBY DHCP \
+ EXPERIMENTAL UDPFROMTO DEVELOPER EDIR PERL REST \
+ FREETDS IDN
+OPTIONS_DEFAULT=USER PERL
+
+DHCP_DESC= With DHCP support (EXPERIMENTAL)
+USER_DESC= Run as user freeradius, group freeradius
+HEIMDAL_DESC= With Heimdal Kerberos support
+HEIMDAL_PORT_DESC= With Heimdal Kerberos from ports
+UNIXODBC_DESC= With unixODBC database support
+FIREBIRD_DESC= With Firebird database support (EXPERIMENTAL)
+EXPERIMENTAL_DESC= Build experimental modules
+UDPFROMTO_DESC= Compile in UDPFROMTO support
+DEVELOPER_DESC= Enable developer options
+EDIR_DESC= Enable eDirectory support (implies LDAP)
+REST_DESC= Enable RESTful API support
+
+NO_STAGE= yes
+
+.include <bsd.port.options.mk>
+
+# Default requirements for rc script
+_REQUIRE= NETWORKING SERVERS
+
+.if ${PORT_OPTIONS:MUSER}
+SUB_LIST+= RUN_AS_USER="yes"
+.else
+SUB_LIST+= RUN_AS_USER="no"
+.endif
+
+# User and group to use if USER option is chosen
+RADIUS_USER= freeradius
+RADIUS_GROUP= freeradius
+
+USERS= ${RADIUS_USER}
+GROUPS= ${RADIUS_GROUP}
+
+.if ${PORT_OPTIONS:MHEIMDAL} && empty(PORT_OPTIONS:MKERBEROS)
+${UNIQUENAME}_SET+= KERBEROS
+.endif
+
+.if ${PORT_OPTIONS:MKERBEROS}
+.if ${PORT_OPTIONS:MHEIMDAL}
+.if ${PORT_OPTIONS:MHEIMDAL_PORT}
+LIB_DEPENDS+= krb5:${PORTSDIR}/security/heimdal
+.endif
+CONFIGURE_ARGS+=--enable-heimdal-krb5
+.else
+LIB_DEPENDS+= krb5:${PORTSDIR}/security/krb5
+.endif
+CONFIGURE_ARGS+=--with-rlm_krb5
+.if ${PORT_OPTIONS:MHEIMDAL} && empty(PORT_OPTIONS:MHEIMDAL_PORT)
+CONFIGURE_ARGS+=--with-rlm-krb5-lib-dir=/usr/lib
+CONFIGURE_ARGS+=--with-rlm-krb5-include-dir=/usr/include
+CONFIGURE_ENV+= KRB5LIBS="$$(${KRB5_CONFIG})"
+.else
+CONFIGURE_ARGS+=--with-rlm-krb5-lib-dir=${LOCALBASE}/lib
+CONFIGURE_ARGS+=--with-rlm-krb5-include-dir=${LOCALBASE}/include
+.endif
+PLIST_SUB+= KRB5=""
+.else
+CONFIGURE_ARGS+=--without-rlm_krb5
+PLIST_SUB+= KRB5="@comment "
+.endif
+
+.if ${PORT_OPTIONS:MEDIR}
+CONFIGURE_ARGS+=--with-edir
+.if empty(PORT_OPTIONS:MLDAP)
+PORT_OPTIONS+= LDAP
+.endif
+.else
+CONFIGURE_ARGS+=--without-edir
+.endif
+
+.if ${PORT_OPTIONS:MLDAP}
+USE_OPENLDAP= YES
+CONFIGURE_ARGS+=--with-rlm_ldap
+PLIST_SUB+= LDAP=""
+_REQUIRE+= slapd
+.else
+CONFIGURE_ARGS+=--without-rlm_ldap
+PLIST_SUB+= LDAP="@comment "
+.endif
+
+.if ${PORT_OPTIONS:MMYSQL}
+USE_MYSQL= YES
+CONFIGURE_ARGS+=--with-rlm_sql_mysql
+PLIST_SUB+= MYSQL=""
+_REQUIRE+= mysql
+.else
+CONFIGURE_ARGS+=--without-rlm_sql_mysql
+PLIST_SUB+= MYSQL="@comment "
+.endif
+
+.if ${PORT_OPTIONS:MPGSQL}
+USE_PGSQL= YES
+CONFIGURE_ARGS+=--with-rlm_sql_postgresql
+PLIST_SUB+= PGSQL=""
+_REQUIRE+= postgresql
+.else
+CONFIGURE_ARGS+=--without-rlm_sql_postgresql
+PLIST_SUB+= PGSQL="@comment "
+.endif
+
+.if ${PORT_OPTIONS:MUNIXODBC}
+CONFIGURE_ARGS+=--with-rlm_sql_unixodbc
+PLIST_SUB+= UNIXODBC=""
+LIB_DEPENDS+= odbc:${PORTSDIR}/databases/unixODBC
+.else
+CONFIGURE_ARGS+=--without-rlm_sql_unixodbc
+PLIST_SUB+= UNIXODBC="@comment "
+.endif
+
+.if ${PORT_OPTIONS:MFIREBIRD}
+USE_FIREBIRD= YES
+CONFIGURE_ARGS+=--with-rlm_sql_firebird
+PLIST_SUB+= FIREBIRD=""
+.else
+CONFIGURE_ARGS+=--without-rlm_sql_firebird
+PLIST_SUB+= FIREBIRD="@comment "
+.endif
+
+# Firebird module is still experimental
+.if ${PORT_OPTIONS:MFIREBIRD} && empty(PORT_OPTIONS:MEXPERIMENTAL)
+EXPM= yes
+.endif
+
+.if ${PORT_OPTIONS:MPERL}
+USES+= perl5
+CONFIGURE_ARGS+=--with-rlm_perl
+PLIST_SUB+= RLMPERL=""
+.else
+CONFIGURE_ARGS+=--without-perl --without-rlm_perl
+PLIST_SUB+= RLMPERL="@comment "
+.endif
+
+.if ${PORT_OPTIONS:MPYTHON}
+USE_PYTHON= yes
+CONFIGURE_ARGS+=--with-rlm_python \
+ --with-rlm-python-lib-dir=${PYTHON_LIBDIR} \
+ --with-rlm-python-include-dir=${PYTHON_INCLUDEDIR}
+PLIST_SUB+= RLMPYTHON=""
+.else
+CONFIGURE_ARGS+=--without-rlm_python
+PLIST_SUB+= RLMPYTHON="@comment "
+.endif
+
+.if ${PORT_OPTIONS:MRUBY}
+USE_RUBY= yes
+CONFIGURE_ARGS+=--with-rlm_ruby
+PLIST_SUB+= RLMRUBY=""
+.else
+CONFIGURE_ARGS+=--without-rlm_ruby --with-ruby=no
+PLIST_SUB+= RLMRUBY="@comment "
+.endif
+
+# rlm_ruby module is still experimental
+.if ${PORT_OPTIONS:MRUBY} && empty(PORT_OPTIONS:MEXPERIMENTAL)
+EXPM= yes
+.endif
+
+.if ${PORT_OPTIONS:MDHCP}
+IGNORE= currently fails to build properly with DHCP support
+CONFIGURE_ARGS+=--with-dhcp
+.else
+CONFIGURE_ARGS+=--without-dhcp --without-rlm_dhcp --without-proto_dhcp
+.endif
+
+# DHCP is still experimental
+.if ${PORT_OPTIONS:MDHCP} && empty(PORT_OPTIONS:MEXPERIMENTAL)
+EXPM= yes
+.endif
+
+# No SMB option yet; rlm_smb is still unbuildable
+.if ${PORT_OPTIONS:MSMB}
+LIB_DEPENDS= smbclient:${PORTSDIR}/net/samba-libsmbclient
+CONFIGURE_ARGS+=--with-rlm_smb
+CONFIGURE_ARGS+=--with-rlm-smb-lib-dir=${LOCALBASE}/lib
+CONFIGURE_ARGS+=--with-rlm-smb-include-dir=${LOCALBASE}/include
+PLIST_SUB+= SMB=""
+.else
+CONFIGURE_ARGS+=--without-rlm_smb
+PLIST_SUB+= SMB="@comment "
+.endif
+
+# SMB module is still experimental
+.if ${PORT_OPTIONS:MSMB} && empty(PORT_OPTIONS:MEXPERIMENTAL)
+EXPM= yes
+.endif
+
+.if ${PORT_OPTIONS:MREDIS}
+LIB_DEPENDS+= hiredis:${PORTSDIR}/databases/hiredis
+CONFIGURE_ARGS+=--with-rlm_redis --with-rlm_rediswho
+PLIST_SUB+= RLMREDIS=""
+.else
+CONFIGURE_ARGS+=--without-rlm_redis --without-rlm_rediswho
+PLIST_SUB+= RLMREDIS="@comment "
+.endif
+
+# redis module is still experimental
+.if ${PORT_OPTIONS:MREDIS} && empty(PORT_OPTIONS:MEXPERIMENTAL)
+EXPM= yes
+.endif
+
+.if ${PORT_OPTIONS:MREST}
+IGNORE= requires devel/json-c to be updated to 0.11 to build with RESTful support
+LIB_DEPENDS+= json:${PORTSDIR}/devel/json-c \
+ curl:${PORTSDIR}/ftp/curl
+CONFIGURE_ARGS+=--with-rlm_rest \
+ --with-libcurl=${LOCALBASE} \
+ --with-jsonc-lib-dir=${LOCALBASE}/lib \
+ --with-jsonc-include-dir=${LOCALBASE}/include
+PLIST_SUB+= RLMREST=""
+.else
+CONFIGURE_ARGS+=--without-rlm_rest
+PLIST_SUB+= RLMREST="@comment "
+.endif
+
+# rest module is still experimental
+.if ${PORT_OPTIONS:MREST} && empty(PORT_OPTIONS:MEXPERIMENTAL)
+EXPM= yes
+.endif
+
+.if ${PORT_OPTIONS:MFREETDS}
+LIB_DEPENDS+= tds:${PORTSDIR}/databases/freetds
+CONFIGURE_ARGS+=--with-rlm_freetds
+PLIST_SUB+= RLMFREETDS=""
+.else
+CONFIGURE_ARGS+=--without-rlm_freetds
+PLIST_SUB+= RLMFREETDS="@comment "
+.endif
+
+# freetds module is still experimental
+.if ${PORT_OPTIONS:MFREETDS} && empty(PORT_OPTIONS:MEXPERIMENTAL)
+EXPM= yes
+.endif
+
+.if ${PORT_OPTIONS:MIDN}
+LIB_DEPENDS+= idn:${PORTSDIR}/dns/libidn
+CONFIGURE_ARGS+=--with-rlm_idn
+PLIST_SUB+= RLMIDN=""
+.else
+CONFIGURE_ARGS+=--without-rlm_idn
+PLIST_SUB+= RLMIDN="@comment "
+.endif
+
+# freetds module is still experimental
+.if ${PORT_OPTIONS:MIDN} && empty(PORT_OPTIONS:MEXPERIMENTAL)
+EXPM= yes
+.endif
+
+.if ${PORT_OPTIONS:MEXPERIMENTAL} || defined(EXPM)
+CONFIGURE_ARGS+=--with-experimental-modules
+PLIST_SUB+= EXPM=""
+.else
+CONFIGURE_ARGS+=--without-experimental-modules
+PLIST_SUB+= EXPM="@comment "
+.endif
+
+.if ${PORT_OPTIONS:MDEVELOPER}
+CONFIGURE_ARGS+=--enable-developer
+# Turn off compiler optimisations
+CFLAGS!= ${ECHO} ${CFLAGS} | ${SED} -Ee 's:-O[0-9]?[[:space:]]*::g'
+.else
+CONFIGURE_ARGS+=--quiet
+.endif
+
+# Compile in UDPFROMTO support
+.if ${PORT_OPTIONS:MUDPFROMTO}
+CONFIGURE_ARGS+=--with-udpfromto
+.endif
+
+.include <bsd.port.pre.mk>
+
+# if we're installing, place sample configs into ${EXAMPLESDIR}
+.if make(install)
+MAKE_ENV+= raddbdir="${EXAMPLESDIR}/raddb"
+.endif
+
+.if ${ARCH} == "sparc64" && ${OSVERSION} < 700000
+BROKEN= Does not build on sparc64-6
+.endif
+
+FREERADIUS_LIBDIR= lib/freeradius-${PORTVERSION}
+PLIST_SUB+= LIBDIR="${FREERADIUS_LIBDIR}"
+USE_LDCONFIG= ${PREFIX}/${FREERADIUS_LIBDIR}
+
+.if empty(PORT_OPTIONS:MDOCS)
+CONFIGURE_ARGS+=--without-docdir
+PLIST_SUB+= PORTDOCS="@comment "
+SUB_LIST+= PORTDOCS="@comment "
+.else
+CONFIGURE_ARGS+=--with-docdir=${DOCSDIR}
+PLIST_SUB+= PORTDOCS=""
+SUB_LIST+= PORTDOCS=""
+.endif
+
+# This conditionality avoids -L/usr/lib in the radiusd build step when
+# building with base system OpenSSL
+.if ${OPENSSLLIB} != "/usr/lib"
+CONFIGURE_ARGS+=--with-openssl-libraries=${OPENSSLLIB}
+.endif
+CONFIGURE_ARGS+=--with-system-libtool --with-system-libltdl \
+ --disable-ltdl-install --with-logdir=${LOGDIR} \
+ --with-openssl-includes=${OPENSSLINC} \
+ --prefix=${PREFIX} --libdir=${PREFIX}/${FREERADIUS_LIBDIR} \
+ --localstatedir=/var \
+ --without-rlm_eap_ikev2 \
+ --without-rlm_eap_tnc \
+ --without-rlm_eap2 \
+ --without-rlm_opendirectory \
+ --without-rlm_sql_db2 \
+ --without-rlm_sql_iodbc \
+ --without-rlm_sql_sqlite \
+ --without-rlm_sql_sybase \
+ --without-rlm_yubikey \
+ --without-rlm_sql_oracle \
+ --without-rlm_securid \
+ --with-vmps
+
+.if ${ARCH} == amd64
+CONFIGURE_ARGS+=--with-pic
+.endif
+
+SUB_LIST+= RADIUS_USER="${RADIUS_USER}" \
+ RADIUS_GROUP="${RADIUS_GROUP}" \
+ RADDB_WORK="${WRKSRC}/raddb" \
+ RADDB="${PREFIX}/etc/raddb" \
+ LOGDIR="${LOGDIR}" \
+ LIBDIR="${PREFIX}/${FREERADIUS_LIBDIR}"
+SUB_FILES+= pkg-install pkg-message
+
+MAN1= radclient.1 radeapclient.1 radlast.1 radtest.1 radwho.1 \
+ radzap.1 smbencrypt.1
+MAN5= clients.conf.5 dictionary.5 radiusd.conf.5 radrelay.conf.5 \
+ rlm_always.5 rlm_attr_filter.5 rlm_chap.5 rlm_counter.5 \
+ rlm_detail.5 rlm_digest.5 rlm_expr.5 rlm_files.5 rlm_mschap.5 \
+ rlm_pap.5 rlm_passwd.5 rlm_realm.5 rlm_sql.5 \
+ rlm_unix.5 unlang.5 users.5 checkrad.5 rlm_idn.5
+MAN8= radiusd.8 radmin.8 raddebug.8 radrelay.8 radsqlrelay.8 \
+ rlm_ippool_tool.8 radconf2xml.8 radcrypt.8 radsniff.8
+
+SUB_LIST+= REQUIRE="${_REQUIRE}"
+
+post-patch:
+ @${REINPLACE_CMD} -Ee "s:tests/all.mk ::" ${WRKSRC}/src/all.mk
+ @${CP} ${WRKSRC}/m4/ax_with_prog.m4 ${WRKSRC}
+ @${REINPLACE_CMD} -Ee "s:^make:${GMAKE}:" \
+ ${WRKSRC}/raddb/certs/bootstrap
+# Patch raddb/certs/Makefile for the full path to the openssl binary (using
+# ports OpenSSL if installed)
+ @${REINPLACE_CMD} -E \
+ -e "s:^([[:space:]])+openssl:\1${OPENSSLBASE}/bin/openssl:g" \
+ ${WRKSRC}/raddb/certs/Makefile
+ @${REINPLACE_CMD} -Ee 's: ..R...sbindir./rc.radiusd : :' \
+ ${WRKSRC}/scripts/all.mk
+# Clean up after the last two operations (so as not to get unwanted files in
+# raddb)
+ @${FIND} -E ${WRKSRC}/raddb/certs \
+ -regex '.*/(bootstrap|Makefile)\.(orig|bak)$$' \
+ -delete
+# If we're using Heimdal from base, alter the LIBS variable
+.if ${PORT_OPTIONS:MHEIMDAL} && empty(PORT_OPTIONS:MHEIMDAL_PORT)
+ @${REINPLACE_CMD} -e 's|LIBS|KRB5LIBS|g' ${WRKSRC}/src/modules/rlm_krb5/configure
+ @${REINPLACE_CMD} -e 's|-lkrb5|$$(${KRB5_CONFIG})|g' \
+ ${WRKSRC}/src/modules/rlm_krb5/configure
+.endif
+# If DHCP is enabled, enable the DHCP dictionary
+.if ${PORT_OPTIONS:MDHCP}
+ @${REINPLACE_CMD} -Ee 's:^#(.+ dictionary\.dhcp)$$:\1:g' \
+ ${WRKSRC}/share/dictionary
+# Clean up (so as not to get an unwanted file in share)
+ @${FIND} -E ${WRKSRC}/share \
+ -regex '.*/dictionary\.(orig|bak)$$' \
+ -delete
+.else
+ @${RM} -fr ${WRKSRC}/src/modules/proto_dhcp/
+.endif
+.if empty(PORT_OPTIONS:MRUBY)
+ @${RM} -fr ${WRKSRC}/src/modules/rlm_ruby/
+.endif
+
+pre-configure:
+# Replace -pthread with ${PTHREAD_LIBS} in configure(.in) files
+ @${FIND} -E ${WRKSRC} -regex '.*/configure(\.in)?$$' -exec \
+ ${REINPLACE_CMD} -e "s:-pthread:${PTHREAD_LIBS}:g" {} \;
+
+pre-install:
+ @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} \
+ PRE-INSTALL
+
+post-install:
+# If ${PREFIX}/etc/raddb isn't a directory (or a symlink), make a copy
+# of ${EXAMPLESDIR}/raddb as ${PREFIX}/etc/raddb, then bootstrap the
+# certificates
+ @if ! [ -d ${PREFIX}/etc/raddb -o -L ${PREFIX}/etc/raddb ]; then \
+ ${CP} -RP ${EXAMPLESDIR}/raddb ${PREFIX}/etc/raddb; \
+ ${ECHO_MSG} '===> Bootstrapping default certificates, please wait...'; \
+ ${PREFIX}/etc/raddb/certs/bootstrap >/dev/null 2>&1; \
+ fi
+# Set ${PREFIX}/etc/raddb and all the files and folders in it to g-w,o-rwx
+# (FreeRADIUS will probably complain if this is not done)
+ @${CHMOD} -R g-w,o-rwx ${PREFIX}/etc/raddb
+ @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} \
+ POST-INSTALL
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.post.mk>
diff --git a/net/freeradius3/distinfo b/net/freeradius3/distinfo
new file mode 100644
index 000000000000..0c9df0a4b499
--- /dev/null
+++ b/net/freeradius3/distinfo
@@ -0,0 +1,2 @@
+SHA256 (freeradius-server-3.0.0.tar.bz2) = 59ab4c376d0a77814b5e95eb610aed40cb8593365a33d196d7528bd6bece547b
+SIZE (freeradius-server-3.0.0.tar.bz2) = 2628377
diff --git a/net/freeradius3/files/patch-openssl_fix b/net/freeradius3/files/patch-openssl_fix
new file mode 100644
index 000000000000..135f393edf8b
--- /dev/null
+++ b/net/freeradius3/files/patch-openssl_fix
@@ -0,0 +1,79 @@
+--- ./src/main/radattr.mk.orig 2013-10-13 11:44:04.000000000 -0400
++++ ./src/main/radattr.mk 2013-10-13 11:44:13.000000000 -0400
+@@ -2,4 +2,4 @@
+ SOURCES := radattr.c
+
+ TGT_PREREQS := libfreeradius-server.a libfreeradius-radius.a
+-TGT_LDLIBS := $(LIBS)
++TGT_LDLIBS := $(LIBS) $(OPENSSL_LIBS)
+--- ./src/main/radclient.mk.orig 2013-10-13 11:34:24.000000000 -0400
++++ ./src/main/radclient.mk 2013-10-13 11:35:07.000000000 -0400
+@@ -6,3 +6,4 @@
+
+ SRC_CFLAGS := -I${top_srcdir}/src/modules/rlm_mschap
+ TGT_LDLIBS := $(LIBS) -ltalloc
++TGT_LDLIBS += $(OPENSSL_LIBS)
+--- ./src/main/radconf2xml.mk.orig 2013-10-13 11:47:43.000000000 -0400
++++ ./src/main/radconf2xml.mk 2013-10-13 11:47:51.000000000 -0400
+@@ -2,4 +2,4 @@
+ SOURCES := radconf2xml.c
+
+ TGT_PREREQS := libfreeradius-server.a libfreeradius-radius.a
+-TGT_LDLIBS := $(LIBS)
++TGT_LDLIBS := $(LIBS) $(OPENSSL_LIBS)
+--- ./src/main/radmin.mk.orig 2013-10-13 11:39:32.000000000 -0400
++++ ./src/main/radmin.mk 2013-10-13 11:39:42.000000000 -0400
+@@ -4,4 +4,4 @@
+
+ TGT_INSTALLDIR := ${sbindir}
+ TGT_PREREQS := libfreeradius-server.a libfreeradius-radius.a
+-TGT_LDLIBS := $(LIBS) $(LIBREADLINE) -ltalloc
++TGT_LDLIBS := $(LIBS) $(LIBREADLINE) -ltalloc $(OPENSSL_LIBS)
+--- ./src/main/radwho.mk.orig 2013-10-13 11:50:42.000000000 -0400
++++ ./src/main/radwho.mk 2013-10-13 11:50:49.000000000 -0400
+@@ -2,4 +2,4 @@
+ SOURCES := radwho.c
+
+ TGT_PREREQS := libfreeradius-server.a libfreeradius-radius.a
+-TGT_LDLIBS := $(LIBS)
++TGT_LDLIBS := $(LIBS) $(OPENSSL_LIBS)
+--- ./src/modules/proto_dhcp/dhcpclient.mk.orig 2013-10-13 11:16:59.000000000 -0400
++++ ./src/modules/proto_dhcp/dhcpclient.mk 2013-10-13 11:17:06.000000000 -0400
+@@ -3,3 +3,4 @@
+
+ TGT_PREREQS := libfreeradius-radius.a
+ TGT_LDLIBS := $(LIBS)
++TGT_LDLIBS += $(OPENSSL_LIBS)
+--- ./src/modules/rlm_ippool/rlm_ippool.mk.orig 2013-10-13 10:44:02.000000000 -0400
++++ ./src/modules/rlm_ippool/rlm_ippool.mk 2013-10-13 10:44:08.000000000 -0400
+@@ -7,3 +7,4 @@
+
+ SRC_CFLAGS := $(rlm_ippool_CFLAGS)
+ TGT_LDLIBS := $(rlm_ippool_LDLIBS)
++TGT_LDLIBS += $(OPENSSL_LIBS)
+--- ./src/modules/rlm_ippool/rlm_ippool_tool.mk.orig 2013-10-13 10:46:12.000000000 -0400
++++ ./src/modules/rlm_ippool/rlm_ippool_tool.mk 2013-10-13 10:46:26.000000000 -0400
+@@ -9,5 +9,6 @@
+
+ SRC_CFLAGS := $(rlm_ippool_CFLAGS)
+ TGT_LDLIBS := $(rlm_ippool_LDLIBS)
++TGT_LDLIBS += $(OPENSSL_LIBS)
+
+ MAN := rlm_ippool_tool.8
+--- ./src/modules/rlm_mschap/smbencrypt.mk.orig 2013-10-13 10:42:52.000000000 -0400
++++ ./src/modules/rlm_mschap/smbencrypt.mk 2013-10-13 10:43:14.000000000 -0400
+@@ -6,5 +6,5 @@
+
+ SRC_CFLAGS :=
+ TGT_LDLIBS := $(LIBS)
+-
++TGT_LDLIBS += $(OPENSSL_LIBS)
+
+--- ./src/main/radsniff.mk.in.orig 2013-10-13 11:37:18.000000000 -0400
++++ ./src/main/radsniff.mk.in 2013-10-13 11:37:32.000000000 -0400
+@@ -9,4 +9,4 @@
+ SOURCES := radsniff.c
+
+ TGT_PREREQS := libfreeradius-radius.a
+-TGT_LDLIBS := $(LIBS) $(PCAP_LIBS)
++TGT_LDLIBS := $(LIBS) $(PCAP_LIBS) $(OPENSSL_LIBS)
diff --git a/net/freeradius3/files/patch-radsqlrelay b/net/freeradius3/files/patch-radsqlrelay
new file mode 100644
index 000000000000..0db498671b89
--- /dev/null
+++ b/net/freeradius3/files/patch-radsqlrelay
@@ -0,0 +1,32 @@
+--- scripts/radsqlrelay Sat Nov 4 12:58:14 2006
++++ scripts/radsqlrelay Wed Jan 23 00:54:27 2008
+@@ -43,14 +43,13 @@
+ }
+
+ # /!\ OS-dependent structure
+-# Linux struct flock
+-# short l_type;
+-# short l_whence;
++# FreeBSD struct flock
+ # off_t l_start;
+ # off_t l_len;
+ # pid_t l_pid;
+-# c2ph says: typedef='s2 l2 i', sizeof=16
+-my $FLOCK_STRUCT = 's2l2i';
++# short l_type;
++# short l_whence;
++my $FLOCK_STRUCT = 'q2is2';
+
+ sub setlock($;$$)
+ {
+@@ -58,8 +57,8 @@
+ $start = 0 unless defined $start;
+ $len = 0 unless defined $len;
+
+- #type whence start till pid
+- my $packed = pack($FLOCK_STRUCT, F_WRLCK, SEEK_SET, $start, $len, 0);
++ #start till pid type whence
++ my $packed = pack($FLOCK_STRUCT, $start, $len, 0, F_WRLCK, SEEK_SET);
+ if (fcntl($fh, F_SETLKW, $packed)) { return 1 }
+ else { return 0 }
+ }
diff --git a/net/freeradius3/files/pkg-install.in b/net/freeradius3/files/pkg-install.in
new file mode 100644
index 000000000000..ed8c6f0856f9
--- /dev/null
+++ b/net/freeradius3/files/pkg-install.in
@@ -0,0 +1,97 @@
+#!/bin/sh
+# $FreeBSD$
+
+PATH=/usr/sbin:/usr/bin:/bin ; export PATH
+
+radius_user="%%RADIUS_USER%%"
+radius_group="%%RADIUS_GROUP%%"
+
+radius_raddb_work="%%RADDB_WORK%%"
+radius_raddb="%%RADDB%%"
+radius_logdir="%%LOGDIR%%"
+radius_libdir="%%LIBDIR%%"
+
+radius_run_as_user="%%RUN_AS_USER%%"
+
+
+if [ ${radius_run_as_user} != "yes" ]; then exit 0; fi
+
+case $2 in
+ PRE-INSTALL)
+ # Fix the user and group in raddb/radiusd.conf
+ echo "===> Setting user and group in radiusd.conf"
+ for file in ${radius_raddb_work}/radiusd.conf ${radius_raddb}/radiusd.conf; do
+ if [ -w ${file} ]; then
+ if ! sed -Ee "s/^[[:space:]#]*(user[[:space:]]*=[[:space:]]*).*$/\1${radius_user}/" \
+ -e "s/^[[:space:]#]*(group[[:space:]]*=[[:space:]]*).*$/\1${radius_group}/" \
+ -i .orig ${file}; then
+ echo "Failed to patch ${file}."
+ exit 1
+ fi
+ if [ -f ${file}.orig ]; then
+ if ! rm ${file}.orig; then
+ echo "Failed to delete backup file ${file}.orig."
+ exit 1
+ fi
+ fi
+ fi
+ done
+
+ ;;
+
+ POST-INSTALL)
+ # Change ownership of directories
+ for dir in $radius_raddb $radius_logdir/radacct \
+ /var/run/radiusd ; do
+ if [ -d $dir ] || [ -L $dir ]; then
+ echo "===> Adjusting ownership of directory ${dir}"
+ if ! chown -HR $radius_user:$radius_group $dir; then
+ echo "Failed to adjust ownership of ${dir}."
+ exit 1
+ fi
+ fi
+ done
+
+ for file in $radius_logdir/radius.log $radius_logdir/radutmp \
+ $radius_logdir/radwtmp; do
+ if [ -f $file ]; then
+ echo "===> Adjusting ownership of ${file}"
+ if ! chown $radius_user:$radius_group $file; then
+ echo "Failed to adjust ownership of ${file}."
+ exit 1
+ fi
+ fi
+ done
+
+ # Update the libdir line in radiusd.conf
+ echo "===> Updating libdir in ${radius_raddb}/radiusd.conf"
+ if ! sed -i.update-libdir-original -Ee $( \
+ echo -n 's:^(libdir[[:space:]=]+)(.*[[:space:]:]+)?' ; \
+ echo -n $( echo ${radius_libdir} | \
+ sed -Ee 's:^(.*)-[[:digit:].]+$:\1:' ) ; \
+ echo -n '(-[[:digit:].]+)?([[:space:]:]+.*)?$' ; \
+ echo -n ':\1\2'${radius_libdir}'\4:' \
+ ) ${radius_raddb}/radiusd.conf; then
+ echo "Failed to update libdir in ${radius_raddb}/radius.conf"
+ exit 1
+ fi
+
+ if [ -f ${radius_raddb}/radiusd.conf.update-libdir-original ]; then
+ if ! rm ${radius_raddb}/radiusd.conf.update-libdir-original; then
+ echo -n 'Failed to delete backup file '
+ echo "${radius_raddb}/radiusd.conf.update-libdir-original."
+ exit 1
+ fi
+ fi
+
+ ;;
+esac
+
+
+# Emacs variables
+
+# Local Variables:
+# mode: sh
+# sh-basic-offset: 4
+# sh-indent-comment: nil
+# End:
diff --git a/net/freeradius3/files/pkg-message.in b/net/freeradius3/files/pkg-message.in
new file mode 100644
index 000000000000..0b72f6bd99c3
--- /dev/null
+++ b/net/freeradius3/files/pkg-message.in
@@ -0,0 +1,53 @@
+===============================================================================
+
+To enable FreeRADIUS, put the following line in /etc/rc.conf
+
+radiusd_enable="YES"
+
+
+The sample configuration can be found at
+%%EXAMPLESDIR%%/raddb
+
+If you are upgrading FreeRADIUS, you are advised to use this as a reference
+for updating your configuration.
+
+
+FreeRADIUS will look for its configuration directory at
+%%PREFIX%%/etc/raddb by default.
+
+If you did not already have a configuration at this location, the sample
+configuration has been copied to this location and has been bootstrapped.
+
+
+If you wish to point FreeRADIUS to a configuration at a different
+location, put the following line in /etc/rc.conf
+
+radiusd_flags="-d /path/to/raddb"
+
+
+To start the server in normal (daemon) mode, run:
+
+%%PREFIX%%/etc/rc.d/radiusd start
+
+and to stop the server, run:
+
+%%PREFIX%%/etc/rc.d/radiusd stop
+
+
+To start the server in debugging mode, run:
+
+%%PREFIX%%/etc/rc.d/radiusd debug
+
+
+You are advised to make cautious changes to the configuration, and to test
+frequently, using debugging mode where necessary. Try to resist the
+temptation to disable or delete things that you don't understand - you may
+well break things!
+
+%%PORTDOCS%%The documentation has been installed at %%DOCSDIR%%
+%%PORTDOCS%%
+Useful configuration advice can be found in the FreeRADIUS Wiki at
+http://wiki.freeradius.org
+
+===============================================================================
+
diff --git a/net/freeradius3/files/radiusd.in b/net/freeradius3/files/radiusd.in
new file mode 100644
index 000000000000..bf65b812554c
--- /dev/null
+++ b/net/freeradius3/files/radiusd.in
@@ -0,0 +1,49 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+# PROVIDE: radiusd
+# REQUIRE: %%REQUIRE%%
+# KEYWORD: shutdown
+#
+# Add the following lines to /etc/rc.conf to enable radiusd:
+#
+# radiusd_enable="YES"
+#
+
+. /etc/rc.subr
+
+name=radiusd
+rcvar=radiusd_enable
+load_rc_config $name
+
+command=%%PREFIX%%/sbin/radiusd
+
+# In debug mode, radiusd doesn't create a pid file, so comment pidfile and
+# let rc.subr use a process check on procname (which defaults to command).
+#pidfile=/var/run/radiusd/radiusd.pid
+
+extra_commands="reload debug"
+debug_cmd="radiusd_debug"
+
+
+# The radiusd_config parameter is now obsolete. Instead, derive the
+# configuration directory name from radiusd_flags if possible, otherwise
+# default to %%PREFIX%%/etc/raddb
+required_dirs=`echo ${radiusd_flags} | sed -Ene 's:.*\-[^[:space:]d]*d[[:space:]]*([^[:space:]]+).*:\1:p'`
+required_dirs=${required_dirs:-"%%PREFIX%%/etc/raddb"}
+
+required_files="${required_dirs}/radiusd.conf"
+
+radiusd_enable=${radiusd_enable-"NO"}
+
+command_args="&"
+
+radiusd_debug()
+{
+ radiusd_flags="-X ${radiusd_flags}"
+ run_rc_command start
+}
+
+
+run_rc_command "$1"
diff --git a/net/freeradius3/pkg-descr b/net/freeradius3/pkg-descr
new file mode 100644
index 000000000000..2eb2d5d594ee
--- /dev/null
+++ b/net/freeradius3/pkg-descr
@@ -0,0 +1,7 @@
+FreeRADIUS is the most widely deployed RADIUS server in the world. It is the
+basis for multiple commercial offerings. It supplies the AAA needs of many
+Fortune-500 companies and Tier 1 ISPs. It is also widely used in the academic
+community, including eduroam. The server is fast, feature-rich, modular, and
+scalable.
+
+WWW: http://www.freeradius.org/
diff --git a/net/freeradius3/pkg-plist b/net/freeradius3/pkg-plist
new file mode 100644
index 000000000000..4bc5fbdcfa32
--- /dev/null
+++ b/net/freeradius3/pkg-plist
@@ -0,0 +1,820 @@
+@stopdaemon radiusd
+bin/radcrypt
+bin/radclient
+bin/radconf2xml
+bin/radlast
+bin/radattr
+bin/radsniff
+bin/radsqlrelay
+bin/radtest
+bin/radwho
+bin/radzap
+bin/rad_counter
+bin/rlm_ippool_tool
+bin/smbencrypt
+@unexec different=0 ; for i in `find %D/%%EXAMPLESDIR%%/raddb/certs/ -type f -print | sed -e 's:^%D/%%EXAMPLESDIR%%/raddb/certs/::g'`; do if ! cmp -hsz %D/%%EXAMPLESDIR%%/raddb/certs/${i} %D/etc/raddb/certs/${i}; then different=1; break; fi; done; if [ ${different} -eq 0 ] && diff -rq --exclude=certs %D/%%EXAMPLESDIR%%/raddb %D/etc/raddb >/dev/null 2>&1; then rm -rf %D/etc/raddb; fi
+@unexec if [ -d %D/etc/raddb ]; then echo "You should remove %D/etc/raddb if you don't need it any more."; fi
+@exec if ! [ -d %D/etc/raddb -o -L %D/etc/raddb ]; then cp -RP %D/%%EXAMPLESDIR%%/raddb %D/etc/raddb; echo '===> Bootstrapping default certificates, please wait...'; %D/etc/raddb/certs/bootstrap >/dev/null 2>&1; fi
+@exec chmod -R g-w,o-rwx %D/etc/raddb
+%%LIBDIR%%/libfreeradius-eap.a
+%%LIBDIR%%/libfreeradius-eap.la
+%%LIBDIR%%/libfreeradius-eap.so
+%%LIBDIR%%/libfreeradius-radius.a
+%%LIBDIR%%/libfreeradius-radius.la
+%%LIBDIR%%/libfreeradius-radius.so
+%%LIBDIR%%/libfreeradius-server.a
+%%LIBDIR%%/libfreeradius-server.la
+%%LIBDIR%%/libfreeradius-server.so
+%%LIBDIR%%/proto_vmps.a
+%%LIBDIR%%/proto_vmps.la
+%%LIBDIR%%/proto_vmps.so
+%%LIBDIR%%/rlm_always.a
+%%LIBDIR%%/rlm_always.la
+%%LIBDIR%%/rlm_always.so
+%%LIBDIR%%/rlm_attr_filter.a
+%%LIBDIR%%/rlm_attr_filter.la
+%%LIBDIR%%/rlm_attr_filter.so
+%%LIBDIR%%/rlm_cache.a
+%%LIBDIR%%/rlm_cache.la
+%%LIBDIR%%/rlm_cache.so
+%%LIBDIR%%/rlm_chap.a
+%%LIBDIR%%/rlm_chap.la
+%%LIBDIR%%/rlm_chap.so
+%%LIBDIR%%/rlm_counter.a
+%%LIBDIR%%/rlm_counter.la
+%%LIBDIR%%/rlm_counter.so
+%%LIBDIR%%/rlm_cram.a
+%%LIBDIR%%/rlm_cram.la
+%%LIBDIR%%/rlm_cram.so
+%%LIBDIR%%/rlm_detail.a
+%%LIBDIR%%/rlm_detail.la
+%%LIBDIR%%/rlm_detail.so
+%%LIBDIR%%/rlm_digest.a
+%%LIBDIR%%/rlm_digest.la
+%%LIBDIR%%/rlm_digest.so
+%%LIBDIR%%/rlm_dynamic_clients.a
+%%LIBDIR%%/rlm_dynamic_clients.la
+%%LIBDIR%%/rlm_dynamic_clients.so
+%%EXPM%%%%LIBDIR%%/rlm_idn.a
+%%EXPM%%%%LIBDIR%%/rlm_idn.la
+%%EXPM%%%%LIBDIR%%/rlm_idn.so
+%%LIBDIR%%/rlm_eap.a
+%%LIBDIR%%/rlm_eap.la
+%%LIBDIR%%/rlm_eap.so
+%%LIBDIR%%/rlm_eap_gtc.a
+%%LIBDIR%%/rlm_eap_gtc.la
+%%LIBDIR%%/rlm_eap_gtc.so
+%%LIBDIR%%/rlm_eap_leap.a
+%%LIBDIR%%/rlm_eap_leap.la
+%%LIBDIR%%/rlm_eap_leap.so
+%%LIBDIR%%/rlm_eap_md5.a
+%%LIBDIR%%/rlm_eap_md5.la
+%%LIBDIR%%/rlm_eap_md5.so
+%%LIBDIR%%/rlm_eap_mschapv2.a
+%%LIBDIR%%/rlm_eap_mschapv2.la
+%%LIBDIR%%/rlm_eap_mschapv2.so
+%%LIBDIR%%/rlm_eap_peap.a
+%%LIBDIR%%/rlm_eap_peap.la
+%%LIBDIR%%/rlm_eap_peap.so
+%%LIBDIR%%/rlm_eap_pwd.a
+%%LIBDIR%%/rlm_eap_pwd.la
+%%LIBDIR%%/rlm_eap_pwd.so
+%%LIBDIR%%/rlm_eap_sim.a
+%%LIBDIR%%/rlm_eap_sim.la
+%%LIBDIR%%/rlm_eap_sim.so
+%%LIBDIR%%/rlm_sometimes.a
+%%LIBDIR%%/rlm_sometimes.la
+%%LIBDIR%%/rlm_sometimes.so
+%%LIBDIR%%/rlm_eap_tls.a
+%%LIBDIR%%/rlm_eap_tls.la
+%%LIBDIR%%/rlm_eap_tls.so
+%%LIBDIR%%/rlm_eap_ttls.a
+%%LIBDIR%%/rlm_eap_ttls.la
+%%LIBDIR%%/rlm_eap_ttls.so
+%%EXPM%%%%LIBDIR%%/rlm_example.a
+%%EXPM%%%%LIBDIR%%/rlm_example.la
+%%EXPM%%%%LIBDIR%%/rlm_example.so
+%%LIBDIR%%/rlm_exec.a
+%%LIBDIR%%/rlm_exec.la
+%%LIBDIR%%/rlm_exec.so
+%%LIBDIR%%/rlm_expiration.a
+%%LIBDIR%%/rlm_expiration.la
+%%LIBDIR%%/rlm_expiration.so
+%%LIBDIR%%/rlm_expr.a
+%%LIBDIR%%/rlm_expr.la
+%%LIBDIR%%/rlm_expr.so
+%%LIBDIR%%/rlm_files.a
+%%LIBDIR%%/rlm_files.la
+%%LIBDIR%%/rlm_files.so
+%%LIBDIR%%/rlm_ippool.a
+%%LIBDIR%%/rlm_ippool.la
+%%LIBDIR%%/rlm_ippool.so
+%%KRB5%%%%LIBDIR%%/rlm_krb5.a
+%%KRB5%%%%LIBDIR%%/rlm_krb5.la
+%%KRB5%%%%LIBDIR%%/rlm_krb5.so
+%%LDAP%%%%LIBDIR%%/rlm_ldap.a
+%%LDAP%%%%LIBDIR%%/rlm_ldap.la
+%%LDAP%%%%LIBDIR%%/rlm_ldap.so
+%%LIBDIR%%/rlm_linelog.a
+%%LIBDIR%%/rlm_linelog.la
+%%LIBDIR%%/rlm_linelog.so
+%%LIBDIR%%/rlm_logintime.a
+%%LIBDIR%%/rlm_logintime.la
+%%LIBDIR%%/rlm_logintime.so
+%%LIBDIR%%/rlm_mschap.a
+%%LIBDIR%%/rlm_mschap.la
+%%LIBDIR%%/rlm_mschap.so
+%%LIBDIR%%/rlm_otp.a
+%%LIBDIR%%/rlm_otp.la
+%%LIBDIR%%/rlm_otp.so
+%%LIBDIR%%/rlm_pam.a
+%%LIBDIR%%/rlm_pam.la
+%%LIBDIR%%/rlm_pam.so
+%%LIBDIR%%/rlm_pap.a
+%%LIBDIR%%/rlm_pap.la
+%%LIBDIR%%/rlm_pap.so
+%%LIBDIR%%/rlm_passwd.a
+%%LIBDIR%%/rlm_passwd.la
+%%LIBDIR%%/rlm_passwd.so
+%%RLMPERL%%%%LIBDIR%%/rlm_perl.a
+%%RLMPERL%%%%LIBDIR%%/rlm_perl.la
+%%RLMPERL%%%%LIBDIR%%/rlm_perl.so
+%%LIBDIR%%/rlm_preprocess.a
+%%LIBDIR%%/rlm_preprocess.la
+%%LIBDIR%%/rlm_preprocess.so
+%%RLMPYTHON%%%%LIBDIR%%/rlm_python.a
+%%RLMPYTHON%%%%LIBDIR%%/rlm_python.la
+%%RLMPYTHON%%%%LIBDIR%%/rlm_python.so
+%%LIBDIR%%/rlm_radutmp.a
+%%LIBDIR%%/rlm_radutmp.la
+%%LIBDIR%%/rlm_radutmp.so
+%%LIBDIR%%/rlm_realm.a
+%%LIBDIR%%/rlm_realm.la
+%%LIBDIR%%/rlm_realm.so
+%%LIBDIR%%/rlm_soh.so
+%%LIBDIR%%/rlm_soh.la
+%%LIBDIR%%/rlm_soh.a
+%%EXPM%%%%RLMREDIS%%%%LIBDIR%%/rlm_redis.a
+%%EXPM%%%%RLMREDIS%%%%LIBDIR%%/rlm_redis.la
+%%EXPM%%%%RLMREDIS%%%%LIBDIR%%/rlm_redis.so
+%%EXPM%%%%RLMREDIS%%%%LIBDIR%%/rlm_rediswho.a
+%%EXPM%%%%RLMREDIS%%%%LIBDIR%%/rlm_rediswho.la
+%%EXPM%%%%RLMREDIS%%%%LIBDIR%%/rlm_rediswho.so
+%%LIBDIR%%/rlm_replicate.so
+%%LIBDIR%%/rlm_replicate.la
+%%LIBDIR%%/rlm_replicate.a
+%%EXPM%%%%RLMRUBY%%%%LIBDIR%%/rlm_ruby.a
+%%EXPM%%%%RLMRUBY%%%%LIBDIR%%/rlm_ruby.la
+%%EXPM%%%%RLMRUBY%%%%LIBDIR%%/rlm_ruby.so
+%%EXPM%%%%SMB%%%%LIBDIR%%/rlm_smb.a
+%%EXPM%%%%SMB%%%%LIBDIR%%/rlm_smb.la
+%%EXPM%%%%SMB%%%%LIBDIR%%/rlm_smb.so
+%%EXPM%%%%LIBDIR%%/rlm_smsotp.a
+%%EXPM%%%%LIBDIR%%/rlm_smsotp.la
+%%EXPM%%%%LIBDIR%%/rlm_smsotp.so
+%%LIBDIR%%/rlm_sql.a
+%%LIBDIR%%/rlm_sql.la
+%%LIBDIR%%/rlm_sql.so
+%%EXPM%%%%FIREBIRD%%%%LIBDIR%%/rlm_sql_firebird.a
+%%EXPM%%%%FIREBIRD%%%%LIBDIR%%/rlm_sql_firebird.la
+%%EXPM%%%%FIREBIRD%%%%LIBDIR%%/rlm_sql_firebird.so
+%%EXPM%%%%RLMFREETDS%%%%LIBDIR%%/rlm_sql_freetds.a
+%%EXPM%%%%RLMFREETDS%%%%LIBDIR%%/rlm_sql_freetds.la
+%%EXPM%%%%RLMFREETDS%%%%LIBDIR%%/rlm_sql_freetds.so
+%%MYSQL%%%%LIBDIR%%/rlm_sql_mysql.a
+%%MYSQL%%%%LIBDIR%%/rlm_sql_mysql.la
+%%MYSQL%%%%LIBDIR%%/rlm_sql_mysql.so
+%%LIBDIR%%/rlm_sql_null.a
+%%LIBDIR%%/rlm_sql_null.la
+%%LIBDIR%%/rlm_sql_null.so
+%%PGSQL%%%%LIBDIR%%/rlm_sql_postgresql.a
+%%PGSQL%%%%LIBDIR%%/rlm_sql_postgresql.la
+%%PGSQL%%%%LIBDIR%%/rlm_sql_postgresql.so
+%%EXPM%%%%RLMREST%%%%LIBDIR%%/rlm_rest.a
+%%EXPM%%%%RLMREST%%%%LIBDIR%%/rlm_rest.la
+%%EXPM%%%%RLMREST%%%%LIBDIR%%/rlm_rest.so
+%%UNIXODBC%%%%LIBDIR%%/rlm_sql_unixodbc.a
+%%UNIXODBC%%%%LIBDIR%%/rlm_sql_unixodbc.la
+%%UNIXODBC%%%%LIBDIR%%/rlm_sql_unixodbc.so
+%%LIBDIR%%/rlm_sqlcounter.a
+%%LIBDIR%%/rlm_sqlcounter.la
+%%LIBDIR%%/rlm_sqlcounter.so
+%%EXPM%%%%LIBDIR%%/rlm_sqlhpwippool.a
+%%EXPM%%%%LIBDIR%%/rlm_sqlhpwippool.la
+%%EXPM%%%%LIBDIR%%/rlm_sqlhpwippool.so
+%%LIBDIR%%/rlm_sqlippool.a
+%%LIBDIR%%/rlm_sqlippool.la
+%%LIBDIR%%/rlm_sqlippool.so
+%%LIBDIR%%/rlm_unix.a
+%%LIBDIR%%/rlm_unix.la
+%%LIBDIR%%/rlm_unix.so
+%%LIBDIR%%/rlm_utf8.a
+%%LIBDIR%%/rlm_utf8.la
+%%LIBDIR%%/rlm_utf8.so
+%%LIBDIR%%/rlm_wimax.a
+%%LIBDIR%%/rlm_wimax.la
+%%LIBDIR%%/rlm_wimax.so
+@dirrm %%LIBDIR%%
+sbin/checkrad
+sbin/raddebug
+sbin/radiusd
+sbin/radmin
+include/freeradius/base64.h
+include/freeradius/conf.h
+include/freeradius/conffile.h
+include/freeradius/detail.h
+include/freeradius/event.h
+include/freeradius/features.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/sha1.h
+include/freeradius/stats.h
+include/freeradius/sysutmp.h
+include/freeradius/token.h
+include/freeradius/udpfromto.h
+@dirrm include/freeradius
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/Makefile.sphinx
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/bugs
+%%PORTDOCS%%%%DOCSDIR%%/concepts/aaa.rst
+%%PORTDOCS%%%%DOCSDIR%%/concepts/proxy.rst
+%%PORTDOCS%%%%DOCSDIR%%/configuration/acct_type.rst
+%%PORTDOCS%%%%DOCSDIR%%/configuration/autz_type.rst
+%%PORTDOCS%%%%DOCSDIR%%/configuration/configurable_failover.rst
+%%PORTDOCS%%%%DOCSDIR%%/configuration/load_balance.rst
+%%PORTDOCS%%%%DOCSDIR%%/configuration/post_auth_type
+%%PORTDOCS%%%%DOCSDIR%%/configuration/session_type
+%%PORTDOCS%%%%DOCSDIR%%/configuration/simultaneous_use
+%%PORTDOCS%%%%DOCSDIR%%/configuration/snmp
+%%PORTDOCS%%%%DOCSDIR%%/configuration/variables.rst
+%%PORTDOCS%%%%DOCSDIR%%/deployment/CYGWIN.rst
+%%PORTDOCS%%%%DOCSDIR%%/deployment/MACOSX
+%%PORTDOCS%%%%DOCSDIR%%/deployment/OS2
+%%PORTDOCS%%%%DOCSDIR%%/deployment/performance-testing
+%%PORTDOCS%%%%DOCSDIR%%/deployment/supervise-radiusd.rst
+%%PORTDOCS%%%%DOCSDIR%%/deployment/tuning_guide
+%%PORTDOCS%%%%DOCSDIR%%/developer/DIFFS.rst
+%%PORTDOCS%%%%DOCSDIR%%/developer/coding-methods.rst
+%%PORTDOCS%%%%DOCSDIR%%/developer/module_interface.rst
+%%PORTDOCS%%%%DOCSDIR%%/developer/release-method.rst
+%%PORTDOCS%%%%DOCSDIR%%/index.rst
+%%PORTDOCS%%%%DOCSDIR%%/modules/RADIUS-LDAP-eDirectory
+%%PORTDOCS%%%%DOCSDIR%%/modules/ldap_howto.rst
+%%PORTDOCS%%%%DOCSDIR%%/modules/mschap.rst
+%%PORTDOCS%%%%DOCSDIR%%/modules/rlm_dbm
+%%PORTDOCS%%%%DOCSDIR%%/modules/rlm_eap
+%%PORTDOCS%%%%DOCSDIR%%/modules/rlm_expiration
+%%PORTDOCS%%%%DOCSDIR%%/modules/rlm_pam
+%%PORTDOCS%%%%DOCSDIR%%/modules/rlm_passwd
+%%PORTDOCS%%%%DOCSDIR%%/modules/rlm_python
+%%PORTDOCS%%%%DOCSDIR%%/modules/rlm_soh
+%%PORTDOCS%%%%DOCSDIR%%/modules/rlm_sql
+%%PORTDOCS%%%%DOCSDIR%%/modules/rlm_sqlcounter
+%%PORTDOCS%%%%DOCSDIR%%/modules/rlm_sqlippool
+%%PORTDOCS%%%%DOCSDIR%%/rfc/Makefile
+%%PORTDOCS%%%%DOCSDIR%%/rfc/attributes.html
+%%PORTDOCS%%%%DOCSDIR%%/rfc/draft-kamath-pppext-eap-mschapv2-00.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/draft-sterman-aaa-sip-00.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/genref.pl
+%%PORTDOCS%%%%DOCSDIR%%/rfc/leap.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/per-rfc.pl
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rewrite.pl
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc1157.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc1227.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc1448.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc1901.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc1905.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2243.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2284.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2289.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2433.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2548.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2607.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2618.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2619.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2620.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2621.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2716.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2759.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2809.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2865.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2866.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2867.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2868.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2869.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2924.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc3079.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc3162.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc3539.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc3575.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc3576.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc3579.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc3580.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc3748.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc4072.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc4186.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc4282.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc4372.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc4590.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc4668.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc4669.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc4670.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc4671.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc4672.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc4673.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc4675.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc4679.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc4818.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc4849.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc5080.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc5090.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc5176.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc5247.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc5281.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc5580.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc5607.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc5904.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc5931.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc5997.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc6158.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc6519.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc6572.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc6613.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc6614.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc6677.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc6911.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc6929.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc6930.txt
+%%PORTDOCS%%%%DOCSDIR%%/schemas/ldap/iplanet.ldif
+%%PORTDOCS%%%%DOCSDIR%%/schemas/ldap/iplanet.schema
+%%PORTDOCS%%%%DOCSDIR%%/schemas/ldap/openldap.schema
+%%PORTDOCS%%%%DOCSDIR%%/schemas/ldap/radiusclients-edirectory.ldif
+%%PORTDOCS%%%%DOCSDIR%%/schemas/ldap/radiusclients-openldap.ldif
+%%PORTDOCS%%%%DOCSDIR%%/schemas/ldap/radiusclients-openldap.schema
+%%PORTDOCS%%%%DOCSDIR%%/schemas/sql
+%%PORTDOCS%%%%DOCSDIR%%/vendor/ascend
+%%PORTDOCS%%%%DOCSDIR%%/vendor/bay
+%%PORTDOCS%%%%DOCSDIR%%/vendor/cisco.rst
+%%PORTDOCS%%%%DOCSDIR%%/vendor/proxim
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/concepts
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/configuration
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/deployment
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/developer
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/modules
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/rfc
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/schemas/ldap
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/schemas
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/vendor
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%DATADIR%%/dictionary
+%%DATADIR%%/dictionary.3com
+%%DATADIR%%/dictionary.3gpp
+%%DATADIR%%/dictionary.3gpp2
+%%DATADIR%%/dictionary.acc
+%%DATADIR%%/dictionary.acme
+%%DATADIR%%/dictionary.aerohive
+%%DATADIR%%/dictionary.airespace
+%%DATADIR%%/dictionary.alcatel
+%%DATADIR%%/dictionary.alcatel.esam
+%%DATADIR%%/dictionary.alcatel.sr
+%%DATADIR%%/dictionary.alteon
+%%DATADIR%%/dictionary.altiga
+%%DATADIR%%/dictionary.alvarion
+%%DATADIR%%/dictionary.alvarion.wimax.v2_2
+%%DATADIR%%/dictionary.apc
+%%DATADIR%%/dictionary.aptis
+%%DATADIR%%/dictionary.aruba
+%%DATADIR%%/dictionary.ascend
+%%DATADIR%%/dictionary.ascend.illegal
+%%DATADIR%%/dictionary.asn
+%%DATADIR%%/dictionary.avaya
+%%DATADIR%%/dictionary.azaire
+%%DATADIR%%/dictionary.audiocodes
+%%DATADIR%%/dictionary.bay
+%%DATADIR%%/dictionary.bintec
+%%DATADIR%%/dictionary.bristol
+%%DATADIR%%/dictionary.broadsoft
+%%DATADIR%%/dictionary.bskyb
+%%DATADIR%%/dictionary.bt
+%%DATADIR%%/dictionary.cablelabs
+%%DATADIR%%/dictionary.cabletron
+%%DATADIR%%/dictionary.camiant
+%%DATADIR%%/dictionary.chillispot
+%%DATADIR%%/dictionary.cisco
+%%DATADIR%%/dictionary.cisco.bbsm
+%%DATADIR%%/dictionary.cisco.vpn3000
+%%DATADIR%%/dictionary.cisco.vpn5000
+%%DATADIR%%/dictionary.clavister
+%%DATADIR%%/dictionary.colubris
+%%DATADIR%%/dictionary.columbia_university
+%%DATADIR%%/dictionary.compat
+%%DATADIR%%/dictionary.cosine
+%%DATADIR%%/dictionary.dante
+%%DATADIR%%/dictionary.dhcp
+%%DATADIR%%/dictionary.digium
+%%DATADIR%%/dictionary.dlink
+%%DATADIR%%/dictionary.epygi
+%%DATADIR%%/dictionary.eltex
+%%DATADIR%%/dictionary.ericsson
+%%DATADIR%%/dictionary.erx
+%%DATADIR%%/dictionary.extreme
+%%DATADIR%%/dictionary.f5
+%%DATADIR%%/dictionary.fdxtended
+%%DATADIR%%/dictionary.fortinet
+%%DATADIR%%/dictionary.foundry
+%%DATADIR%%/dictionary.freedhcp
+%%DATADIR%%/dictionary.freeradius
+%%DATADIR%%/dictionary.freeradius.internal
+%%DATADIR%%/dictionary.freeswitch
+%%DATADIR%%/dictionary.gandalf
+%%DATADIR%%/dictionary.garderos
+%%DATADIR%%/dictionary.gemtek
+%%DATADIR%%/dictionary.h3c
+%%DATADIR%%/dictionary.hp
+%%DATADIR%%/dictionary.huawei
+%%DATADIR%%/dictionary.iana
+%%DATADIR%%/dictionary.infonet
+%%DATADIR%%/dictionary.iea
+%%DATADIR%%/dictionary.infoblox
+%%DATADIR%%/dictionary.ipunplugged
+%%DATADIR%%/dictionary.issanni
+%%DATADIR%%/dictionary.itk
+%%DATADIR%%/dictionary.juniper
+%%DATADIR%%/dictionary.karlnet
+%%DATADIR%%/dictionary.kineto
+%%DATADIR%%/dictionary.lancom
+%%DATADIR%%/dictionary.livingston
+%%DATADIR%%/dictionary.localweb
+%%DATADIR%%/dictionary.lucent
+%%DATADIR%%/dictionary.manzara
+%%DATADIR%%/dictionary.merit
+%%DATADIR%%/dictionary.meru
+%%DATADIR%%/dictionary.microsoft
+%%DATADIR%%/dictionary.mikrotik
+%%DATADIR%%/dictionary.motorola
+%%DATADIR%%/dictionary.motorola.illegal
+%%DATADIR%%/dictionary.motorola.wimax
+%%DATADIR%%/dictionary.navini
+%%DATADIR%%/dictionary.netscreen
+%%DATADIR%%/dictionary.networkphysics
+%%DATADIR%%/dictionary.nexans
+%%DATADIR%%/dictionary.nokia
+%%DATADIR%%/dictionary.nokia.conflict
+%%DATADIR%%/dictionary.nomadix
+%%DATADIR%%/dictionary.nortel
+%%DATADIR%%/dictionary.ntua
+%%DATADIR%%/dictionary.openser
+%%DATADIR%%/dictionary.packeteer
+%%DATADIR%%/dictionary.paloalto
+%%DATADIR%%/dictionary.patton
+%%DATADIR%%/dictionary.propel
+%%DATADIR%%/dictionary.prosoft
+%%DATADIR%%/dictionary.proxim
+%%DATADIR%%/dictionary.purewave
+%%DATADIR%%/dictionary.quiconnect
+%%DATADIR%%/dictionary.quintum
+%%DATADIR%%/dictionary.redback
+%%DATADIR%%/dictionary.redcreek
+%%DATADIR%%/dictionary.rfc2865
+%%DATADIR%%/dictionary.rfc2866
+%%DATADIR%%/dictionary.rfc2867
+%%DATADIR%%/dictionary.rfc2868
+%%DATADIR%%/dictionary.rfc2869
+%%DATADIR%%/dictionary.rfc3162
+%%DATADIR%%/dictionary.rfc3576
+%%DATADIR%%/dictionary.rfc3580
+%%DATADIR%%/dictionary.rfc4072
+%%DATADIR%%/dictionary.rfc4372
+%%DATADIR%%/dictionary.rfc4603
+%%DATADIR%%/dictionary.rfc4675
+%%DATADIR%%/dictionary.rfc4679
+%%DATADIR%%/dictionary.rfc4818
+%%DATADIR%%/dictionary.rfc4849
+%%DATADIR%%/dictionary.rfc5090
+%%DATADIR%%/dictionary.rfc5176
+%%DATADIR%%/dictionary.rfc5447
+%%DATADIR%%/dictionary.rfc5580
+%%DATADIR%%/dictionary.rfc5607
+%%DATADIR%%/dictionary.rfc5904
+%%DATADIR%%/dictionary.rfc6519
+%%DATADIR%%/dictionary.rfc6572
+%%DATADIR%%/dictionary.rfc6677
+%%DATADIR%%/dictionary.rfc6911
+%%DATADIR%%/dictionary.rfc6929
+%%DATADIR%%/dictionary.rfc6930
+%%DATADIR%%/dictionary.riverstone
+%%DATADIR%%/dictionary.roaringpenguin
+%%DATADIR%%/dictionary.sg
+%%DATADIR%%/dictionary.shasta
+%%DATADIR%%/dictionary.shiva
+%%DATADIR%%/dictionary.siemens
+%%DATADIR%%/dictionary.slipstream
+%%DATADIR%%/dictionary.sofaware
+%%DATADIR%%/dictionary.sonicwall
+%%DATADIR%%/dictionary.springtide
+%%DATADIR%%/dictionary.starent
+%%DATADIR%%/dictionary.starent.vsa1
+%%DATADIR%%/dictionary.symbol
+%%DATADIR%%/dictionary.t_systems_nova
+%%DATADIR%%/dictionary.telebit
+%%DATADIR%%/dictionary.telkom
+%%DATADIR%%/dictionary.terena
+%%DATADIR%%/dictionary.trapeze
+%%DATADIR%%/dictionary.tropos
+%%DATADIR%%/dictionary.ukerna
+%%DATADIR%%/dictionary.unix
+%%DATADIR%%/dictionary.usr
+%%DATADIR%%/dictionary.usr.illegal
+%%DATADIR%%/dictionary.utstarcom
+%%DATADIR%%/dictionary.valemount
+%%DATADIR%%/dictionary.versanet
+%%DATADIR%%/dictionary.vqp
+%%DATADIR%%/dictionary.walabi
+%%DATADIR%%/dictionary.waverider
+%%DATADIR%%/dictionary.wichorus
+%%DATADIR%%/dictionary.wimax
+%%DATADIR%%/dictionary.wimax.alvarion
+%%DATADIR%%/dictionary.wimax.wichorus
+%%DATADIR%%/dictionary.wispr
+%%DATADIR%%/dictionary.xedia
+%%DATADIR%%/dictionary.xylan
+%%DATADIR%%/dictionary.yubico
+%%DATADIR%%/dictionary.zeus
+%%DATADIR%%/dictionary.zyxel
+@dirrm %%DATADIR%%
+%%EXAMPLESDIR%%/raddb/mods-config/perl/example.pl
+%%EXAMPLESDIR%%/raddb/mods-config/python/example.py
+%%EXAMPLESDIR%%/raddb/mods-config/attr_filter/access_challenge
+%%EXAMPLESDIR%%/raddb/mods-config/attr_filter/access_reject
+%%EXAMPLESDIR%%/raddb/mods-config/attr_filter/accounting_response
+%%EXAMPLESDIR%%/raddb/mods-config/attr_filter/post-proxy
+%%EXAMPLESDIR%%/raddb/mods-config/attr_filter/pre-proxy
+%%EXAMPLESDIR%%/raddb/mods-config/files/accounting
+%%EXAMPLESDIR%%/raddb/mods-config/files/authorize
+%%EXAMPLESDIR%%/raddb/mods-config/files/pre-proxy
+%%EXAMPLESDIR%%/raddb/mods-config/preprocess/hints
+%%EXAMPLESDIR%%/raddb/mods-config/preprocess/huntgroups
+%%EXAMPLESDIR%%/raddb/mods-config/sql/counter/mysql/queries.conf
+%%EXAMPLESDIR%%/raddb/mods-config/sql/counter/postgresql/queries.conf
+%%EXAMPLESDIR%%/raddb/mods-config/sql/cui/mysql/queries.conf
+%%EXAMPLESDIR%%/raddb/mods-config/sql/cui/mysql/schema.sql
+%%EXAMPLESDIR%%/raddb/mods-config/sql/cui/postgresql/queries.conf
+%%EXAMPLESDIR%%/raddb/mods-config/sql/cui/postgresql/schema.sql
+%%EXAMPLESDIR%%/raddb/mods-config/sql/cui/sqlite/queries.conf
+%%EXAMPLESDIR%%/raddb/mods-config/sql/cui/sqlite/schema.sql
+%%EXAMPLESDIR%%/raddb/mods-config/sql/ippool-dhcp/mysql/queries.conf
+%%EXAMPLESDIR%%/raddb/mods-config/sql/ippool-dhcp/sqlite/queries.conf
+%%EXAMPLESDIR%%/raddb/mods-config/sql/ippool/mysql/queries.conf
+%%EXAMPLESDIR%%/raddb/mods-config/sql/ippool/mysql/schema.sql
+%%EXAMPLESDIR%%/raddb/mods-config/sql/ippool/oracle/msqlippool.txt
+%%EXAMPLESDIR%%/raddb/mods-config/sql/ippool/oracle/queries.conf
+%%EXAMPLESDIR%%/raddb/mods-config/sql/ippool/oracle/schema.sql
+%%EXAMPLESDIR%%/raddb/mods-config/sql/ippool/postgresql/queries.conf
+%%EXAMPLESDIR%%/raddb/mods-config/sql/ippool/postgresql/schema.sql
+%%EXAMPLESDIR%%/raddb/mods-config/sql/ippool/sqlite/queries.conf
+%%EXAMPLESDIR%%/raddb/mods-config/sql/ippool/sqlite/schema.sql
+%%EXAMPLESDIR%%/raddb/mods-config/sql/main/mssql/queries.conf
+%%EXAMPLESDIR%%/raddb/mods-config/sql/main/mssql/schema.sql
+%%EXAMPLESDIR%%/raddb/mods-config/sql/main/mysql/extras/wimax/queries.conf
+%%EXAMPLESDIR%%/raddb/mods-config/sql/main/mysql/extras/wimax/schema.sql
+%%EXAMPLESDIR%%/raddb/mods-config/sql/main/mysql/queries.conf
+%%EXAMPLESDIR%%/raddb/mods-config/sql/main/mysql/schema.sql
+%%EXAMPLESDIR%%/raddb/mods-config/sql/main/mysql/setup.sql
+%%EXAMPLESDIR%%/raddb/mods-config/sql/main/ndb/README
+%%EXAMPLESDIR%%/raddb/mods-config/sql/main/ndb/schema.sql
+%%EXAMPLESDIR%%/raddb/mods-config/sql/main/ndb/setup.sql
+%%EXAMPLESDIR%%/raddb/mods-config/sql/main/oracle/queries.conf
+%%EXAMPLESDIR%%/raddb/mods-config/sql/main/oracle/schema.sql
+%%EXAMPLESDIR%%/raddb/mods-config/sql/main/postgresql/extras/cisco_h323_db_schema.sql
+%%EXAMPLESDIR%%/raddb/mods-config/sql/main/postgresql/extras/update_radacct_group.sql
+%%EXAMPLESDIR%%/raddb/mods-config/sql/main/postgresql/extras/voip-postpaid.conf
+%%EXAMPLESDIR%%/raddb/mods-config/sql/main/postgresql/queries.conf
+%%EXAMPLESDIR%%/raddb/mods-config/sql/main/postgresql/schema.sql
+%%EXAMPLESDIR%%/raddb/mods-config/sql/main/postgresql/setup.sql
+%%EXAMPLESDIR%%/raddb/mods-config/sql/main/sqlite/queries.conf
+%%EXAMPLESDIR%%/raddb/mods-config/sql/main/sqlite/schema.sql
+%%EXAMPLESDIR%%/raddb/mods-config/README.rst
+%%EXAMPLESDIR%%/raddb/certs/Makefile
+%%EXAMPLESDIR%%/raddb/certs/README
+%%EXAMPLESDIR%%/raddb/certs/index.txt
+%%EXAMPLESDIR%%/raddb/certs/serial
+%%EXAMPLESDIR%%/raddb/certs/dh
+%%EXAMPLESDIR%%/raddb/certs/random
+%%EXAMPLESDIR%%/raddb/certs/server.key
+%%EXAMPLESDIR%%/raddb/certs/server.csr
+%%EXAMPLESDIR%%/raddb/certs/ca.cnf
+%%EXAMPLESDIR%%/raddb/certs/ca.key
+%%EXAMPLESDIR%%/raddb/certs/ca.pem
+%%EXAMPLESDIR%%/raddb/certs/server.crt
+%%EXAMPLESDIR%%/raddb/certs/index.txt.attr
+%%EXAMPLESDIR%%/raddb/certs/server.p12
+%%EXAMPLESDIR%%/raddb/certs/server.pem
+%%EXAMPLESDIR%%/raddb/certs/01.pem
+%%EXAMPLESDIR%%/raddb/certs/serial.old
+%%EXAMPLESDIR%%/raddb/certs/server.cnf
+%%EXAMPLESDIR%%/raddb/certs/index.txt.old
+%%EXAMPLESDIR%%/raddb/certs/ca.der
+%%EXAMPLESDIR%%/raddb/certs/client.cnf
+%%EXAMPLESDIR%%/raddb/certs/client.key
+%%EXAMPLESDIR%%/raddb/certs/client.csr
+%%EXAMPLESDIR%%/raddb/certs/client.crt
+%%EXAMPLESDIR%%/raddb/certs/index.txt.attr.old
+%%EXAMPLESDIR%%/raddb/certs/client.p12
+%%EXAMPLESDIR%%/raddb/certs/client.pem
+%%EXAMPLESDIR%%/raddb/certs/02.pem
+%%EXAMPLESDIR%%/raddb/certs/bootstrap
+%%EXAMPLESDIR%%/raddb/certs/user@example.com.pem
+%%EXAMPLESDIR%%/raddb/certs/xpextensions
+%%EXAMPLESDIR%%/raddb/mods-available/perl
+%%EXAMPLESDIR%%/raddb/mods-available/utf8
+%%EXAMPLESDIR%%/raddb/mods-available/exec
+%%EXAMPLESDIR%%/raddb/mods-available/rest
+%%EXAMPLESDIR%%/raddb/mods-available/inner-eap
+%%EXAMPLESDIR%%/raddb/mods-available/python
+%%EXAMPLESDIR%%/raddb/mods-available/files
+%%EXAMPLESDIR%%/raddb/mods-available/dhcp
+%%EXAMPLESDIR%%/raddb/mods-available/wimax
+%%EXAMPLESDIR%%/raddb/mods-available/echo
+%%EXAMPLESDIR%%/raddb/mods-available/eap
+%%EXAMPLESDIR%%/raddb/mods-available/detail.log
+%%EXAMPLESDIR%%/raddb/mods-available/chap
+%%EXAMPLESDIR%%/raddb/mods-available/detail
+%%EXAMPLESDIR%%/raddb/mods-available/attr_filter
+%%EXAMPLESDIR%%/raddb/mods-available/linelog
+%%EXAMPLESDIR%%/raddb/mods-available/replicate
+%%EXAMPLESDIR%%/raddb/mods-available/always
+%%EXAMPLESDIR%%/raddb/mods-available/expr
+%%EXAMPLESDIR%%/raddb/mods-available/mschap
+%%EXAMPLESDIR%%/raddb/mods-available/digest
+%%EXAMPLESDIR%%/raddb/mods-available/dynamic_clients
+%%EXAMPLESDIR%%/raddb/mods-available/preprocess
+%%EXAMPLESDIR%%/raddb/mods-available/pap
+%%EXAMPLESDIR%%/raddb/mods-available/detail.example.com
+%%EXAMPLESDIR%%/raddb/mods-available/cache
+%%EXAMPLESDIR%%/raddb/mods-available/smsotp
+%%EXAMPLESDIR%%/raddb/mods-available/mac2vlan
+%%EXAMPLESDIR%%/raddb/mods-available/sqlippool
+%%EXAMPLESDIR%%/raddb/mods-available/sometimes
+%%EXAMPLESDIR%%/raddb/mods-available/opendirectory
+%%EXAMPLESDIR%%/raddb/mods-available/radutmp
+%%EXAMPLESDIR%%/raddb/mods-available/ippool
+%%EXAMPLESDIR%%/raddb/mods-available/counter
+%%EXAMPLESDIR%%/raddb/mods-available/mac2ip
+%%EXAMPLESDIR%%/raddb/mods-available/cache_eap
+%%EXAMPLESDIR%%/raddb/mods-available/redis
+%%EXAMPLESDIR%%/raddb/mods-available/dhcp_sqlippool
+%%EXAMPLESDIR%%/raddb/mods-available/pam
+%%EXAMPLESDIR%%/raddb/mods-available/rediswho
+%%EXAMPLESDIR%%/raddb/mods-available/etc_group
+%%EXAMPLESDIR%%/raddb/mods-available/sql
+%%EXAMPLESDIR%%/raddb/mods-available/passwd
+%%EXAMPLESDIR%%/raddb/mods-available/otp
+%%EXAMPLESDIR%%/raddb/mods-available/ldap
+%%EXAMPLESDIR%%/raddb/mods-available/logintime
+%%EXAMPLESDIR%%/raddb/mods-available/README.rst
+%%EXAMPLESDIR%%/raddb/mods-available/soh
+%%EXAMPLESDIR%%/raddb/mods-available/krb5
+%%EXAMPLESDIR%%/raddb/mods-available/smbpasswd
+%%EXAMPLESDIR%%/raddb/mods-available/sradutmp
+%%EXAMPLESDIR%%/raddb/mods-available/yubikey
+%%EXAMPLESDIR%%/raddb/mods-available/ntlm_auth
+%%EXAMPLESDIR%%/raddb/mods-available/realm
+%%EXAMPLESDIR%%/raddb/mods-available/unix
+%%EXAMPLESDIR%%/raddb/mods-available/cui
+%%EXAMPLESDIR%%/raddb/mods-available/idn
+%%EXAMPLESDIR%%/raddb/mods-available/expiration
+%%EXAMPLESDIR%%/raddb/mods-enabled/always
+%%EXAMPLESDIR%%/raddb/mods-enabled/attr_filter
+%%EXAMPLESDIR%%/raddb/mods-enabled/cache_eap
+%%EXAMPLESDIR%%/raddb/mods-enabled/chap
+%%EXAMPLESDIR%%/raddb/mods-enabled/detail
+%%EXAMPLESDIR%%/raddb/mods-enabled/detail.log
+%%EXAMPLESDIR%%/raddb/mods-enabled/digest
+%%EXAMPLESDIR%%/raddb/mods-enabled/dhcp
+%%EXAMPLESDIR%%/raddb/mods-enabled/dynamic_clients
+%%EXAMPLESDIR%%/raddb/mods-enabled/eap
+%%EXAMPLESDIR%%/raddb/mods-enabled/echo
+%%EXAMPLESDIR%%/raddb/mods-enabled/exec
+%%EXAMPLESDIR%%/raddb/mods-enabled/expiration
+%%EXAMPLESDIR%%/raddb/mods-enabled/expr
+%%EXAMPLESDIR%%/raddb/mods-enabled/files
+%%EXAMPLESDIR%%/raddb/mods-enabled/linelog
+%%EXAMPLESDIR%%/raddb/mods-enabled/logintime
+%%EXAMPLESDIR%%/raddb/mods-enabled/mschap
+%%EXAMPLESDIR%%/raddb/mods-enabled/ntlm_auth
+%%EXAMPLESDIR%%/raddb/mods-enabled/pap
+%%EXAMPLESDIR%%/raddb/mods-enabled/passwd
+%%EXAMPLESDIR%%/raddb/mods-enabled/preprocess
+%%EXAMPLESDIR%%/raddb/mods-enabled/radutmp
+%%EXAMPLESDIR%%/raddb/mods-enabled/realm
+%%EXAMPLESDIR%%/raddb/mods-enabled/replicate
+%%EXAMPLESDIR%%/raddb/mods-enabled/soh
+%%EXAMPLESDIR%%/raddb/mods-enabled/sradutmp
+%%EXAMPLESDIR%%/raddb/mods-enabled/unix
+%%EXAMPLESDIR%%/raddb/mods-enabled/utf8
+%%EXAMPLESDIR%%/raddb/policy.d/accounting
+%%EXAMPLESDIR%%/raddb/policy.d/canonicalization
+%%EXAMPLESDIR%%/raddb/policy.d/control
+%%EXAMPLESDIR%%/raddb/policy.d/cui
+%%EXAMPLESDIR%%/raddb/policy.d/dhcp
+%%EXAMPLESDIR%%/raddb/policy.d/eap
+%%EXAMPLESDIR%%/raddb/policy.d/filter
+%%EXAMPLESDIR%%/raddb/policy.d/operator-name
+%%EXAMPLESDIR%%/raddb/sites-available/vmps
+%%EXAMPLESDIR%%/raddb/sites-available/proxy-inner-tunnel
+%%EXAMPLESDIR%%/raddb/sites-available/dhcp
+%%EXAMPLESDIR%%/raddb/sites-available/buffered-sql
+%%EXAMPLESDIR%%/raddb/sites-available/dynamic-clients
+%%EXAMPLESDIR%%/raddb/sites-available/virtual.example.com
+%%EXAMPLESDIR%%/raddb/sites-available/copy-acct-to-home-server
+%%EXAMPLESDIR%%/raddb/sites-available/control-socket
+%%EXAMPLESDIR%%/raddb/sites-available/README
+%%EXAMPLESDIR%%/raddb/sites-available/example
+%%EXAMPLESDIR%%/raddb/sites-available/status
+%%EXAMPLESDIR%%/raddb/sites-available/originate-coa
+%%EXAMPLESDIR%%/raddb/sites-available/inner-tunnel
+%%EXAMPLESDIR%%/raddb/sites-available/default
+%%EXAMPLESDIR%%/raddb/sites-available/robust-proxy-accounting
+%%EXAMPLESDIR%%/raddb/sites-available/soh
+%%EXAMPLESDIR%%/raddb/sites-available/dhcp.relay
+%%EXAMPLESDIR%%/raddb/sites-available/decoupled-accounting
+%%EXAMPLESDIR%%/raddb/sites-available/coa
+%%EXAMPLESDIR%%/raddb/sites-available/check-eap-tls
+%%EXAMPLESDIR%%/raddb/sites-available/tls
+%%EXAMPLESDIR%%/raddb/sites-enabled/default
+%%EXAMPLESDIR%%/raddb/sites-enabled/inner-tunnel
+%%EXAMPLESDIR%%/raddb/README.rst
+%%EXAMPLESDIR%%/raddb/trigger.conf
+%%EXAMPLESDIR%%/raddb/users
+%%EXAMPLESDIR%%/raddb/clients.conf
+%%EXAMPLESDIR%%/raddb/dictionary
+%%EXAMPLESDIR%%/raddb/templates.conf
+%%EXAMPLESDIR%%/raddb/experimental.conf
+%%EXAMPLESDIR%%/raddb/proxy.conf
+%%EXAMPLESDIR%%/raddb/radiusd.conf
+%%EXAMPLESDIR%%/raddb/huntgroups
+%%EXAMPLESDIR%%/raddb/hints
+@dirrm %%EXAMPLESDIR%%/raddb/certs
+@dirrm %%EXAMPLESDIR%%/raddb/sites-available
+@dirrm %%EXAMPLESDIR%%/raddb/sites-enabled
+@dirrm %%EXAMPLESDIR%%/raddb/policy.d
+@dirrm %%EXAMPLESDIR%%/raddb/mods-available
+@dirrm %%EXAMPLESDIR%%/raddb/mods-enabled
+@dirrm %%EXAMPLESDIR%%/raddb/mods-config/attr_filter
+@dirrm %%EXAMPLESDIR%%/raddb/mods-config/sql/main/sqlite
+@dirrm %%EXAMPLESDIR%%/raddb/mods-config/sql/main/postgresql/extras
+@dirrm %%EXAMPLESDIR%%/raddb/mods-config/sql/main/postgresql
+@dirrm %%EXAMPLESDIR%%/raddb/mods-config/sql/main/oracle
+@dirrm %%EXAMPLESDIR%%/raddb/mods-config/sql/main/ndb
+@dirrm %%EXAMPLESDIR%%/raddb/mods-config/sql/main/mysql/extras/wimax
+@dirrm %%EXAMPLESDIR%%/raddb/mods-config/sql/main/mysql/extras
+@dirrm %%EXAMPLESDIR%%/raddb/mods-config/sql/main/mysql
+@dirrm %%EXAMPLESDIR%%/raddb/mods-config/sql/main/mssql
+@dirrm %%EXAMPLESDIR%%/raddb/mods-config/sql/main
+@dirrm %%EXAMPLESDIR%%/raddb/mods-config/sql/ippool/sqlite
+@dirrm %%EXAMPLESDIR%%/raddb/mods-config/sql/ippool/postgresql
+@dirrm %%EXAMPLESDIR%%/raddb/mods-config/sql/ippool/oracle
+@dirrm %%EXAMPLESDIR%%/raddb/mods-config/sql/ippool/mysql
+@dirrm %%EXAMPLESDIR%%/raddb/mods-config/sql/ippool-dhcp/sqlite
+@dirrm %%EXAMPLESDIR%%/raddb/mods-config/sql/ippool-dhcp/mysql
+@dirrm %%EXAMPLESDIR%%/raddb/mods-config/sql/ippool-dhcp
+@dirrm %%EXAMPLESDIR%%/raddb/mods-config/sql/ippool
+@dirrm %%EXAMPLESDIR%%/raddb/mods-config/sql/cui/sqlite
+@dirrm %%EXAMPLESDIR%%/raddb/mods-config/sql/cui/postgresql
+@dirrm %%EXAMPLESDIR%%/raddb/mods-config/sql/cui/mysql
+@dirrm %%EXAMPLESDIR%%/raddb/mods-config/sql/cui
+@dirrm %%EXAMPLESDIR%%/raddb/mods-config/sql/counter/postgresql
+@dirrm %%EXAMPLESDIR%%/raddb/mods-config/sql/counter/mysql
+@dirrm %%EXAMPLESDIR%%/raddb/mods-config/sql/counter
+@dirrm %%EXAMPLESDIR%%/raddb/mods-config/sql
+@dirrm %%EXAMPLESDIR%%/raddb/mods-config/python
+@dirrm %%EXAMPLESDIR%%/raddb/mods-config/preprocess
+@dirrm %%EXAMPLESDIR%%/raddb/mods-config/perl
+@dirrm %%EXAMPLESDIR%%/raddb/mods-config/files
+@dirrm %%EXAMPLESDIR%%/raddb/mods-config
+@dirrmtry share/freeradius
+@dirrmtry share/examples/freeradius/raddb/sites-available
+@dirrmtry share/examples/freeradius/raddb/modules
+@dirrmtry share/examples/freeradius/raddb
+@dirrmtry share/examples/freeradius
+@dirrmtry share/doc/freeradius/rfc
+@dirrmtry share/doc/freeradius
+@exec if [ ! -d /var/log/radacct ]; then mkdir -p /var/log/radacct; chmod -R go= /var/log/radacct; fi
+@exec for i in /var/log/radius.log /var/log/radutmp /var/log/radwtmp; do if [ ! -f ${i} ]; then touch ${i}; chmod go= ${i}; fi; done
+@exec mkdir -p /var/run/radiusd
+@unexec rm -fr /var/run/radiusd