Commit Graph

19 Commits

Author SHA1 Message Date
Alberto Bursi 4b52906828 freeradius2: create temp directory /tmp/radiusd
Fixes issue openwrt#3403 "radiusd requires a temporary directory to be existent for certain operations, like verification of certificates."

Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
2016-11-06 00:50:15 +01:00
Toke Høiland-Jørgensen 6be33929b8 freeradius2/3: Fixes to init script. (#3022)
This fixes two issues with the freeradius package init scripts:

- The package installs libraries in /usr/lib/freeradius{2,3}, but the
  musl dynamic linker won't find them there unless LD_LIBRARY_PATH is
  set to include this directory. This adds an appropriate env statement
  to the procd init setup.

- procd expects services to stay in the foreground, or it will be unable
  to properly shut them down again. This adds the -f flag to radiusd to
  achieve that.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2016-08-05 17:49:33 +02:00
Felix Fietkau 517761bb89 freeradius2: add missing dependency on zlib
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-07-24 14:37:01 +02:00
Daniel Golle 91301ed6fd freeradius2: update to version 2.2.9
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-04-19 14:04:51 +02:00
Jo-Philipp Wich 7dadd12850 freeradius2: completely disable runtime OpenSSL version checks
Whenever we ship fixed libopenssl binaries in DD, the Freeradius daemon fails
at startup because it detects a mismatch of the build time and runtime OpenSSL
version.

Since our OpenSSL updates for DD are ABI compatible we do not need or even want
this superflous check. Removing it saves us the effort to rebuild Freeradius
after every OpenSSL version bump.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-12-28 16:25:58 +01:00
Daniel Golle 1f312e49af freeradius2: cleanup init script
The initscript originally imported from oldpackages no longer does
the job, sed'ery around ifconfig is just not the way.
Remove stuff which can also be done via /etc/freeradius2/* or
/etc/default/radiusd instead.

Fixes #1769 and #1193

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-10-21 03:11:50 +02:00
Daniel Golle 6a56edca27 freeradius2: update to 2.2.8
Fixes oCert CVE-2015-4680.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-07-20 03:36:25 +02:00
Mislav Novakovic ccd9752fb6 freeradius2: add mirror for older releases
Signed-off-by: Mislav Novakovic <mislav.novakovic@sartura.hr>
2015-05-26 00:37:51 +02:00
Daniel Golle 4c399f28fd freeradius2: update to version 2.2.7 and refresh patches
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-04-26 19:44:20 +02:00
Daniel Golle ec6f0ffe30 freeradius2: bump to version 2.2.6
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2014-11-27 13:51:20 +01:00
Jo-Philipp Wich 408b2e9dd6 freeradius2: relax SSL version checks
Merge upstream commit 5ae2a70a135062a025d8fabc104eeae3a2c53a7a to relax the
SSL library version check at runtime.

The objective is to avoid the need for rebuilding freeradius2 whenever we push
binary updates for libopenssl. See https://dev.openwrt.org/ticket/18169 for
reference.

Please backport this change to the for-14.07 branch as well.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-10-20 17:40:27 +02:00
Etienne CHAMPETIER 1f22b19d04 PKG_CHECK_FORMAT_SECURITY: disable it for the failing packages (for now)
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2014-10-15 22:24:06 +02:00
Etienne CHAMPETIER 2a2c701917 freeradius2: enable freeradius2-mod-sql-mysql again
compile tested only

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2014-08-12 23:42:56 +02:00
Etienne CHAMPETIER 7274701131 freeradius2: remove weird circular dependencies
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2014-08-12 23:42:55 +02:00
Daniel Golle b6a8ac8b9b freeradius2: add PKG_LICENSE information
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2014-08-10 13:53:19 +02:00
Etienne CHAMPETIER 2a4169434e freeradius2: disable PKG_CHECK_FORMAT_SECURITY
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2014-08-08 01:45:10 +02:00
Steven Barth 6e18ae07cc freeradius2: reenable ldap-module as openldap was merged
Signed-off-by: Steven Barth <steven@midlink.org>
2014-08-06 11:32:41 +02:00
Steven Barth e373aa5868 Disable various plugins with mising dependencies
Signed-off-by: Steven Barth <steven@midlink.org>
2014-07-18 12:01:33 +02:00
Daniel Golle 0238c3c231 Import freeradius2
Also bump to version 2.2.5 and add myself as maintainer.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2014-06-13 16:17:42 +02:00