Hello community, here is the log from the commit of package freeradius-client for openSUSE:Factory checked in at 2015-04-25 09:53:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/freeradius-client (Old) and /work/SRC/openSUSE:Factory/.freeradius-client.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "freeradius-client" Changes: -------- --- /work/SRC/openSUSE:Factory/freeradius-client/freeradius-client.changes 2012-02-16 12:20:03.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.freeradius-client.new/freeradius-client.changes 2015-04-25 11:26:11.000000000 +0200 @@ -1,0 +2,25 @@ +Thu Apr 23 15:13:18 UTC 2015 - vcizek@suse.com + +- update to 1.1.7: + * Allow "configure --with-nettle" to use nettle MD5 implementation. Patch from Nikos Mavrogiannopoulos. + * Clean up generation of random numbers. Patch from Nikos Mavrogiannopoulos. + * Update BSD license as permitted by Christos Zoulas. + * Define PW_MAX_MSG_SIZE for maximum message sice. Patch from Nikos Mavrogiannopoulos. + * Allow the dictionary file parser to understand BEGIN-VENDOR / END-VENDOR as with FreeRADIUS server. Patch from Nikos Mavrogiannopoulos. + * Added support for IPv6. Patch from Nikos Mavrogiannopoulos. + * Don't crash if a config option is unset. Patch from Nikos Mavrogiannopoulos. + * Fix encoding of "date" attributes. Patch from Christian Schoch. + * Build fixes from Sven Neuhaus, Ghennadi Procopciuc, Daniel Pocock, and gureedo. + * Fix memory leaks. Patches from Alex Massover, William King, gureedo, and FreeSWITCH. + * Fixes to retry algorithm. Patch from Lewis Adam. + * Zero out secret fields. Patch from Scott Neugroschl. + * Update the dictionaries. Patches from Bogdan-Andrei Iancu and gureedo. + * Make the library thread-safe. Based on a patch from Alex Massover. + * Made rc_avpair_log thread-safe by using a buffer supplied by the caller. Patch from Alex Massover. + * Removed lock file for sequence number. It isn't needed. + * Use poll() where possible to avoid issues with FD_SETSIZE. Patch from Alfred E. Heggestad. + * Set Acct-Delay-Time in Accounting-Request packets. Patch from Alfred E. Heggestad. +- add freeradius-client-missing_size_t_definition.patch to fix + build on 13.2 + +------------------------------------------------------------------- Old: ---- freeradius-client-1.1.6.tar.bz2 New: ---- freeradius-client-1.1.7.tar.gz freeradius-client-missing_size_t_definition.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ freeradius-client.spec ++++++ --- /var/tmp/diff_new_pack.RRmeEp/_old 2015-04-25 11:26:12.000000000 +0200 +++ /var/tmp/diff_new_pack.RRmeEp/_new 2015-04-25 11:26:12.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package freeradius-client # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,17 +17,21 @@ Name: freeradius-client +Version: 1.1.7 +Release: 0 Summary: FreeRADIUS Client Software License: BSD-2-Clause Group: Productivity/Networking/Radius/Clients -Version: 1.1.6 -Release: 0 -Obsoletes: radiusclient radiusclient-ng Url: http://www.freeradius.org/freeradius-client/ -Source0: %{name}-%{version}.tar.bz2 +Source: ftp://ftp.freeradius.org/pub/freeradius/%{name}-%{version}.tar.gz Source1: README.SUSE Source2: login.example +Patch: freeradius-client-missing_size_t_definition.patch +BuildRequires: libnettle-devel BuildRequires: libtool +BuildRequires: pkg-config +Obsoletes: radiusclient +Obsoletes: radiusclient-ng BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -35,26 +39,16 @@ developing free and commercial software that need support for a RADIUS protocol (RFCs 2128 and 2139). - - -Authors: --------- - Peter Nixon <peter@suntel.com.tr> - %package libs Summary: Shared library of FreeRADIUS Client +Group: Productivity/Networking/Radius/Clients %description libs The package contains the shared library of FreeRADIUS Client - - -Authors: --------- - Peter Nixon <peter@suntel.com.tr> - %package devel Summary: Header files, libraries and development documentation for freeradius-client +Group: Productivity/Networking/Radius/Clients Requires: %{name}-libs = %{version} glibc-devel %description devel @@ -63,45 +57,38 @@ freeradius-client-devel if you want to develop applications using freeradius-client. - - -Authors: --------- - Peter Nixon <peter@suntel.com.tr> - %prep %setup -q +%patch -p1 find -type d -name CVS -print | xargs rm -rf -cp %{S:1} . -cp %{S:2} login.radius +cp %{SOURCE1} . +cp %{SOURCE2} login.radius %build autoreconf -fiv %configure \ - --localstatedir=/var/lib \ + --localstatedir=%{_localstatedir}/lib \ --enable-shadow \ + --with-nettle \ --with-secure-path \ --disable-static \ --with-pic -make %{?jobs:-j%jobs} +make %{?_smp_mflags} %install make "DESTDIR=$RPM_BUILD_ROOT" install -rm -f $RPM_BUILD_ROOT/%{_sbindir}/login.radius +rm -f %{buildroot}/%{_sbindir}/login.radius rm -f login.radius/Makefile* rm -f login.radius/migs/Makefile* -rm -f %{buildroot}%{_libdir}/*.la +find %{buildroot} -type f -name "*.la" -delete -print %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig -%clean -rm -rf "$RPM_BUILD_ROOT" - %files %defattr(-, root, root) -%doc BUGS COPYRIGHT README README.radexample doc/ChangeLog doc/instop.html doc/login.example +%doc BUGS COPYRIGHT README.radexample doc/ChangeLog doc/instop.html doc/login.example %doc login.radius README.SUSE %dir %{_sysconfdir}/radiusclient %{_sysconfdir}/radiusclient/dictionary ++++++ freeradius-client-missing_size_t_definition.patch ++++++ diff --git a/lib/rc-md5.h b/lib/rc-md5.h index a30f16d..dcde619 100644 --- a/lib/rc-md5.h +++ b/lib/rc-md5.h @@ -10,6 +10,7 @@ #define _RC_MD5_H #include "config.h" +#include <stdlib.h> #ifdef HAVE_NETTLE