Accepting request 281294 from network
- Do not disable as-needed build - Remove the with_sysconfig switch and just stick with versions - update to 3.0.6 - fixes a segmentation fault in PEAP module (bnc#912588) Feature improvements: * radmin / raddebug conditional errors are printed to the output, instead of being discarded. * raddebug will exit if condition set with -c was invalid. * radmin auto-reconnects if the connection to the server has gone away. * rlm_cache now has submodule support. See raddb/mods-available/cache * New memcached driver for rlm_cache. See raddb/mods-available/cache * Add support for &Attribute-Name[*] in conditions. See "man unlang" for details. * Add &Attribute-Name[n] which gets the last instance of an attribute e.g. Module-Failure-Message[n]. * Allow for redundant string expansions. See the "instantiate" section of radiusd.conf. * When checking IP addresses in conditions, make the right side be parsed as an IP prefix. * Support JIT compilation of compiled regular expressions when built with libpcre. * Support named capture groups with "%{regex:<name>}" when built with libpcre. * Increase regular expression capture groups from 8 to 32. * Emit error markers for badly formed regular expressions. * Allow 'm' flag to enable multiline mode in regular expressions. * Support limited implicit attribute conversion in update sections. * Support casting between IPv6 and IPv4 where the IPv6 address has the v4/v6 mapping prefix (::ffff:). OBS-URL: https://build.opensuse.org/request/show/281294 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/freeradius-server?expand=0&rev=55
This commit is contained in:
commit
3c42fe6dc2
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5da09a66b5104fc6f4306d5dc867a12f34068bca17860ff480bf29fe1c70d3f2
|
||||
size 2835915
|
3
freeradius-server-3.0.6.tar.bz2
Normal file
3
freeradius-server-3.0.6.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f9898b19564e7bf859396a9bdf492f72b918844b4916f1b46c56dfcd9e8dafcd
|
||||
size 2870327
|
BIN
freeradius-server-3.0.6.tar.bz2.sig
Normal file
BIN
freeradius-server-3.0.6.tar.bz2.sig
Normal file
Binary file not shown.
@ -1,3 +1,32 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 14 13:10:11 UTC 2015 - tchvatal@suse.com
|
||||
|
||||
- Do not disable as-needed build
|
||||
- Remove the with_sysconfig switch and just stick with versions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 13 09:42:05 UTC 2015 - vcizek@suse.com
|
||||
|
||||
- update to 3.0.6
|
||||
- fixes a segmentation fault in PEAP module (bnc#912588)
|
||||
Feature improvements:
|
||||
* radmin / raddebug conditional errors are printed to the output, instead of being discarded.
|
||||
* raddebug will exit if condition set with -c was invalid.
|
||||
* radmin auto-reconnects if the connection to the server has gone away.
|
||||
* rlm_cache now has submodule support. See raddb/mods-available/cache
|
||||
* New memcached driver for rlm_cache. See raddb/mods-available/cache
|
||||
* Add support for &Attribute-Name[*] in conditions. See "man unlang" for details.
|
||||
* Add &Attribute-Name[n] which gets the last instance of an attribute e.g. Module-Failure-Message[n].
|
||||
* Allow for redundant string expansions. See the "instantiate" section of radiusd.conf.
|
||||
* When checking IP addresses in conditions, make the right side be parsed as an IP prefix.
|
||||
* Support JIT compilation of compiled regular expressions when built with libpcre.
|
||||
* Support named capture groups with "%{regex:<name>}" when built with libpcre.
|
||||
* Increase regular expression capture groups from 8 to 32.
|
||||
* Emit error markers for badly formed regular expressions.
|
||||
* Allow 'm' flag to enable multiline mode in regular expressions.
|
||||
* Support limited implicit attribute conversion in update sections.
|
||||
* Support casting between IPv6 and IPv4 where the IPv6 address has the v4/v6 mapping prefix (::ffff:).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 22 09:09:16 UTC 2014 - dimstar@opensuse.org
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package freeradius-server
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,21 +16,18 @@
|
||||
#
|
||||
|
||||
|
||||
%global with_sysvinit 0
|
||||
%define unitname radiusd
|
||||
%define apxs2 apxs2-prefork
|
||||
%define apache2_sysconfdir %(%{_sbindir}/%{apxs2} -q SYSCONFDIR)
|
||||
%if 0%{?suse_version} < 1310
|
||||
%global with_sysvinit 1
|
||||
%endif
|
||||
Name: freeradius-server
|
||||
Version: 3.0.5
|
||||
Version: 3.0.6
|
||||
Release: 0
|
||||
Summary: Very Highly Configurable Radius Server
|
||||
License: GPL-2.0 and LGPL-2.1
|
||||
Group: Productivity/Networking/Radius/Servers
|
||||
Url: http://www.freeradius.org/
|
||||
Source: ftp://ftp.freeradius.org/pub/freeradius/%{name}-%{version}.tar.bz2
|
||||
Source99: ftp://ftp.freeradius.org/pub/freeradius/%{name}-%{version}.tar.bz2.sig
|
||||
Source1: radiusd.service
|
||||
Source2: freeradius-tmpfiles.conf
|
||||
Patch2: freeradius-server-2.1.6-rcradiusd.patch
|
||||
@ -53,6 +50,7 @@ BuildRequires: libcom_err-devel
|
||||
BuildRequires: libcurl-devel
|
||||
BuildRequires: libidn-devel
|
||||
BuildRequires: libjson-devel
|
||||
BuildRequires: libmemcached-devel
|
||||
BuildRequires: libmysqlclient-devel
|
||||
BuildRequires: libpcap-devel
|
||||
BuildRequires: libtalloc-devel
|
||||
@ -183,7 +181,7 @@ This plugin provides the postgresql support for the FreeRADIUS server project.
|
||||
%package sqlite
|
||||
Summary: SQLite support for freeradius
|
||||
Group: System Environment/Daemons
|
||||
BuildRequires: sqlite-devel
|
||||
BuildRequires: sqlite3-devel
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description sqlite
|
||||
@ -203,13 +201,7 @@ modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
|
||||
DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
|
||||
TIME="\"$(date -d "${modified}" "+%%R")\""
|
||||
find . -type f -regex ".*\.c\|.*\.cpp\|.*\.h" -exec sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" {} +
|
||||
# This package failed when testing with -Wl,-as-needed being default.
|
||||
# So we disable it here, if you want to retest, just delete this comment and the line below.
|
||||
export SUSE_ASNEEDED=0
|
||||
export CFLAGS="%{optflags} -DLDAP_DEPRECATED -fstack-protector"
|
||||
%ifarch x86_64 ppc ppc64 s390 s390x %{arm}
|
||||
export CFLAGS="$CFLAGS -fPIC -DPIC"
|
||||
%endif
|
||||
export CFLAGS="%{optflags} -DLDAP_DEPRECATED -fstack-protector -fPIC -DPIC"
|
||||
export LDFLAGS="-pie"
|
||||
%configure \
|
||||
--disable-static \
|
||||
@ -229,7 +221,6 @@ export LDFLAGS="-pie"
|
||||
--without-rlm_sql_db2 \
|
||||
--without-rlm_sql_firebird \
|
||||
--without-rlm_sql_iodbc \
|
||||
--without-rlm_tralalala \
|
||||
--without-rlm_redis \
|
||||
--without-rlm_rediswho \
|
||||
--without-rlm_sql_oracle \
|
||||
@ -256,7 +247,7 @@ install -d %{buildroot}%{_sysconfdir}/pam.d
|
||||
install -d %{buildroot}%{_sysconfdir}/logrotate.d
|
||||
install -m 644 suse/radiusd-pam %{buildroot}%{_sysconfdir}/pam.d/radiusd
|
||||
install -m 644 suse/radiusd-logrotate %{buildroot}%{_sysconfdir}/logrotate.d/radiusd
|
||||
%if %{with_sysvinit}
|
||||
%if 0%{?suse_version} < 1140
|
||||
install -d -m 755 %{buildroot}%{_sysconfdir}/init.d
|
||||
install -m 744 suse/rcradiusd %{buildroot}%{_sysconfdir}/init.d/freeradius
|
||||
ln -sf %{buildroot}%{_sysconfdir}/init.d/freeradius %{buildroot}%{_sbindir}/rcfreeradius
|
||||
@ -307,7 +298,7 @@ if [ $1 -eq 1 ]; then
|
||||
fi
|
||||
chgrp radiusd %{_sysconfdir}/raddb/certs/*
|
||||
|
||||
%if %{with_sysvinit}
|
||||
%if 0%{?suse_version} < 1140
|
||||
%fillup_and_insserv freeradius
|
||||
%endif
|
||||
|
||||
@ -317,21 +308,17 @@ systemd-tmpfiles --create %{_tmpfilesdir}/%{unitname}.conf
|
||||
%endif
|
||||
|
||||
%preun
|
||||
%if %{with_sysvinit}
|
||||
%if 0%{?suse_version} < 1140
|
||||
%stop_on_removal freeradius
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version} > 1140
|
||||
%else
|
||||
%service_del_preun %{unitname}.service
|
||||
%endif
|
||||
|
||||
%postun
|
||||
%if %{with_sysvinit}
|
||||
%if 0%{?suse_version} < 1140
|
||||
%insserv_cleanup
|
||||
%restart_on_update freeradius
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version} > 1140
|
||||
%else
|
||||
%service_del_postun %{unitname}.service
|
||||
%endif
|
||||
|
||||
@ -346,11 +333,10 @@ systemd-tmpfiles --create %{_tmpfilesdir}/%{unitname}.conf
|
||||
# SUSE
|
||||
%config %{_sysconfdir}/pam.d/radiusd
|
||||
%config %{_sysconfdir}/logrotate.d/radiusd
|
||||
%if %{with_sysvinit}
|
||||
%if 0%{?suse_version} < 1140
|
||||
%config %{_sysconfdir}/init.d/freeradius
|
||||
%{_sbindir}/rcfreeradius
|
||||
%endif
|
||||
%if 0%{?suse_version} > 1140
|
||||
%else
|
||||
%{_sbindir}/rcradiusd
|
||||
%endif
|
||||
%dir %attr(755,radiusd,radiusd) %{_localstatedir}/lib/radiusd
|
||||
@ -368,6 +354,7 @@ systemd-tmpfiles --create %{_tmpfilesdir}/%{unitname}.conf
|
||||
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/experimental.conf
|
||||
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/certs
|
||||
%{_sysconfdir}/raddb/certs/Makefile
|
||||
%{_sysconfdir}/raddb/certs/passwords.mk
|
||||
%{_sysconfdir}/raddb/certs/README
|
||||
%{_sysconfdir}/raddb/certs/xpextensions
|
||||
%{_sysconfdir}/raddb/panic.gdb
|
||||
@ -622,6 +609,8 @@ systemd-tmpfiles --create %{_tmpfilesdir}/%{unitname}.conf
|
||||
%{_libdir}/freeradius/rlm_yubikey.so
|
||||
%{_libdir}/freeradius/rlm_sql_unixodbc.so
|
||||
%{_libdir}/freeradius/rlm_unpack.so
|
||||
%{_libdir}/freeradius/rlm_cache_memcached.so
|
||||
%{_libdir}/freeradius/rlm_cache_rbtree.so
|
||||
|
||||
%files utils
|
||||
%defattr(-,root,root)
|
||||
|
Loading…
Reference in New Issue
Block a user