pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net Update net/freeradius to 3.0.15.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5921c681cf0c
branches:  trunk
changeset: 367222:5921c681cf0c
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Sat Aug 26 10:07:27 2017 +0000

description:
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)

diffstat:

 net/freeradius-freetds/DESCR                       |    1 +
 net/freeradius-freetds/Makefile                    |   15 +
 net/freeradius-freetds/PLIST                       |    2 +
 net/freeradius-iodbc/DESCR                         |    1 +
 net/freeradius-iodbc/Makefile                      |   15 +
 net/freeradius-iodbc/PLIST                         |    2 +
 net/freeradius-krb5/DESCR                          |    1 +
 net/freeradius-krb5/Makefile                       |   15 +
 net/freeradius-krb5/PLIST                          |    2 +
 net/freeradius-ldap/DESCR                          |    1 +
 net/freeradius-ldap/Makefile                       |   15 +
 net/freeradius-ldap/PLIST                          |    2 +
 net/freeradius-memcached/DESCR                     |    1 +
 net/freeradius-memcached/Makefile                  |   16 +
 net/freeradius-memcached/PLIST                     |    2 +
 net/freeradius-mysql/DESCR                         |    1 +
 net/freeradius-mysql/Makefile                      |   15 +
 net/freeradius-mysql/PLIST                         |    2 +
 net/freeradius-perl/DESCR                          |    1 +
 net/freeradius-perl/Makefile                       |   15 +
 net/freeradius-perl/PLIST                          |    2 +
 net/freeradius-pgsql/DESCR                         |    1 +
 net/freeradius-pgsql/Makefile                      |   15 +
 net/freeradius-pgsql/PLIST                         |    2 +
 net/freeradius-python/DESCR                        |    3 +
 net/freeradius-python/Makefile                     |   17 +
 net/freeradius-python/PLIST                        |    2 +
 net/freeradius-rest/DESCR                          |    1 +
 net/freeradius-rest/Makefile                       |   16 +
 net/freeradius-rest/PLIST                          |    2 +
 net/freeradius-sqlite3/DESCR                       |    1 +
 net/freeradius-sqlite3/Makefile                    |   15 +
 net/freeradius-sqlite3/PLIST                       |    2 +
 net/freeradius-unixodbc/DESCR                      |    1 +
 net/freeradius-unixodbc/Makefile                   |   15 +
 net/freeradius-unixodbc/PLIST                      |    2 +
 net/freeradius-yubikey/DESCR                       |    1 +
 net/freeradius-yubikey/Makefile                    |   15 +
 net/freeradius-yubikey/PLIST                       |    2 +
 net/freeradius/DEINSTALL                           |   24 +
 net/freeradius/DESCR                               |   25 +-
 net/freeradius/INSTALL                             |   25 +
 net/freeradius/MESSAGE                             |   20 +-
 net/freeradius/MESSAGE.pam                         |   21 -
 net/freeradius/Makefile                            |  318 +++++---
 net/freeradius/Makefile.common                     |   29 +
 net/freeradius/Makefile.module                     |   13 +
 net/freeradius/PLIST                               |  760 +++++++++++++++-----
 net/freeradius/PLIST.dbm                           |    5 -
 net/freeradius/PLIST.gdbm                          |    3 -
 net/freeradius/PLIST.kerberos                      |    3 -
 net/freeradius/PLIST.ldap                          |    3 -
 net/freeradius/PLIST.mysql                         |    2 -
 net/freeradius/PLIST.pam                           |    3 -
 net/freeradius/PLIST.pgsql                         |    2 -
 net/freeradius/distinfo                            |   22 +-
 net/freeradius/files/smf/manifest.xml              |   40 +
 net/freeradius/options.mk                          |  112 ---
 net/freeradius/patches/patch-ab                    |    9 -
 net/freeradius/patches/patch-ae                    |   23 -
 net/freeradius/patches/patch-ai                    |   91 +-
 net/freeradius/patches/patch-aj                    |   12 -
 net/freeradius/patches/patch-ak                    |   15 -
 net/freeradius/patches/patch-al                    |   74 --
 net/freeradius/patches/patch-main_command.c        |   23 +
 net/freeradius/patches/patch-main_util.c           |   20 +
 net/freeradius/patches/patch-rlm_krb5_configure    |   50 +
 net/freeradius/patches/patch-rlm_perl_configure    |   24 +
 net/freeradius/patches/patch-rlm_yubikey_configure |   15 +
 69 files changed, 1334 insertions(+), 692 deletions(-)

diffs (truncated from 2501 to 300 lines):

diff -r f596d2975bab -r 5921c681cf0c net/freeradius-freetds/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/freeradius-freetds/DESCR      Sat Aug 26 10:07:27 2017 +0000
@@ -0,0 +1,1 @@
+FreeRADIUS FreeTDS support
diff -r f596d2975bab -r 5921c681cf0c net/freeradius-freetds/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/freeradius-freetds/Makefile   Sat Aug 26 10:07:27 2017 +0000
@@ -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"
diff -r f596d2975bab -r 5921c681cf0c net/freeradius-freetds/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/freeradius-freetds/PLIST      Sat Aug 26 10:07:27 2017 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/26 10:07:28 fhajny Exp $
+lib/rlm_sql_freetds.so
diff -r f596d2975bab -r 5921c681cf0c net/freeradius-iodbc/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/freeradius-iodbc/DESCR        Sat Aug 26 10:07:27 2017 +0000
@@ -0,0 +1,1 @@
+FreeRADIUS UNIX ODBC support
diff -r f596d2975bab -r 5921c681cf0c net/freeradius-iodbc/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/freeradius-iodbc/Makefile     Sat Aug 26 10:07:27 2017 +0000
@@ -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"
diff -r f596d2975bab -r 5921c681cf0c net/freeradius-iodbc/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/freeradius-iodbc/PLIST        Sat Aug 26 10:07:27 2017 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/26 10:07:28 fhajny Exp $
+lib/rlm_sql_iodbc.so
diff -r f596d2975bab -r 5921c681cf0c net/freeradius-krb5/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/freeradius-krb5/DESCR Sat Aug 26 10:07:27 2017 +0000
@@ -0,0 +1,1 @@
+Kerberos v5 support for FreeRADIUS
diff -r f596d2975bab -r 5921c681cf0c net/freeradius-krb5/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/freeradius-krb5/Makefile      Sat Aug 26 10:07:27 2017 +0000
@@ -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"
diff -r f596d2975bab -r 5921c681cf0c net/freeradius-krb5/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/freeradius-krb5/PLIST Sat Aug 26 10:07:27 2017 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/26 10:07:28 fhajny Exp $
+lib/rlm_krb5.so
diff -r f596d2975bab -r 5921c681cf0c net/freeradius-ldap/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/freeradius-ldap/DESCR Sat Aug 26 10:07:27 2017 +0000
@@ -0,0 +1,1 @@
+LDAP support for FreeRADIUS
diff -r f596d2975bab -r 5921c681cf0c net/freeradius-ldap/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/freeradius-ldap/Makefile      Sat Aug 26 10:07:27 2017 +0000
@@ -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"
diff -r f596d2975bab -r 5921c681cf0c net/freeradius-ldap/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/freeradius-ldap/PLIST Sat Aug 26 10:07:27 2017 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/26 10:07:28 fhajny Exp $
+lib/rlm_ldap.so
diff -r f596d2975bab -r 5921c681cf0c net/freeradius-memcached/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/freeradius-memcached/DESCR    Sat Aug 26 10:07:27 2017 +0000
@@ -0,0 +1,1 @@
+Memcached support for FreeRADIUS
diff -r f596d2975bab -r 5921c681cf0c net/freeradius-memcached/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/freeradius-memcached/Makefile Sat Aug 26 10:07:27 2017 +0000
@@ -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"
diff -r f596d2975bab -r 5921c681cf0c net/freeradius-memcached/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/freeradius-memcached/PLIST    Sat Aug 26 10:07:27 2017 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/26 10:07:28 fhajny Exp $
+lib/rlm_cache_memcached.so
diff -r f596d2975bab -r 5921c681cf0c net/freeradius-mysql/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/freeradius-mysql/DESCR        Sat Aug 26 10:07:27 2017 +0000
@@ -0,0 +1,1 @@
+FreeRADIUS MySQL support
diff -r f596d2975bab -r 5921c681cf0c net/freeradius-mysql/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/freeradius-mysql/Makefile     Sat Aug 26 10:07:27 2017 +0000
@@ -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"
diff -r f596d2975bab -r 5921c681cf0c net/freeradius-mysql/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/freeradius-mysql/PLIST        Sat Aug 26 10:07:27 2017 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/26 10:07:28 fhajny Exp $
+lib/rlm_sql_mysql.so
diff -r f596d2975bab -r 5921c681cf0c net/freeradius-perl/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/freeradius-perl/DESCR Sat Aug 26 10:07:27 2017 +0000
@@ -0,0 +1,1 @@
+FreeRADIUS rlm_perl module
diff -r f596d2975bab -r 5921c681cf0c net/freeradius-perl/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/freeradius-perl/Makefile      Sat Aug 26 10:07:27 2017 +0000
@@ -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"
diff -r f596d2975bab -r 5921c681cf0c net/freeradius-perl/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/freeradius-perl/PLIST Sat Aug 26 10:07:27 2017 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/26 10:07:28 fhajny Exp $
+lib/rlm_perl.so
diff -r f596d2975bab -r 5921c681cf0c net/freeradius-pgsql/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/freeradius-pgsql/DESCR        Sat Aug 26 10:07:27 2017 +0000
@@ -0,0 +1,1 @@
+FreeRADIUS MySQL support
diff -r f596d2975bab -r 5921c681cf0c net/freeradius-pgsql/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/freeradius-pgsql/Makefile     Sat Aug 26 10:07:27 2017 +0000
@@ -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"
diff -r f596d2975bab -r 5921c681cf0c net/freeradius-pgsql/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/freeradius-pgsql/PLIST        Sat Aug 26 10:07:27 2017 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/26 10:07:28 fhajny Exp $
+lib/rlm_sql_postgresql.so
diff -r f596d2975bab -r 5921c681cf0c net/freeradius-python/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/freeradius-python/DESCR       Sat Aug 26 10:07:27 2017 +0000
@@ -0,0 +1,3 @@
+FreeRADIUS rlm_python module
+
+This package provides python support for FreeRADIUS
diff -r f596d2975bab -r 5921c681cf0c net/freeradius-python/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/freeradius-python/Makefile    Sat Aug 26 10:07:27 2017 +0000
@@ -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"
diff -r f596d2975bab -r 5921c681cf0c net/freeradius-python/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/freeradius-python/PLIST       Sat Aug 26 10:07:27 2017 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/26 10:07:29 fhajny Exp $
+lib/rlm_python.so
diff -r f596d2975bab -r 5921c681cf0c net/freeradius-rest/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/freeradius-rest/DESCR Sat Aug 26 10:07:27 2017 +0000
@@ -0,0 +1,1 @@
+FreeRADIUS rlm_rest module
diff -r f596d2975bab -r 5921c681cf0c net/freeradius-rest/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/freeradius-rest/Makefile      Sat Aug 26 10:07:27 2017 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index