Hello community,
here is the log from the commit of package libnl
checked in at Wed Oct 3 01:04:26 CEST 2007.
--------
--- libnl/libnl.changes 2007-08-25 11:57:58.000000000 +0200
+++ /mounts/work_src_done/STABLE/libnl/libnl.changes 2007-09-15 10:20:53.000000000 +0200
@@ -1,0 +2,11 @@
+Wed Aug 22 02:10:01 CEST 2007 - dmueller@suse.de
+
+- update to 1.0-pre6:
+ * fixes write after delete crashes
+ * fixes realloc() handling
+ * fixes format string warnings
+ * fixes invalid free in nl_addr_parse for AF_UNSPEC addresses
+ * fixes double nlmsg_free() in nl_recvmsgs() while receiving
+ a multipart message and the read was interrupted.
+
+-------------------------------------------------------------------
Old:
----
libnl-1.0-pre5.tar.gz
libnl-1.pc
libnl-1.pc.x86_64
libnl.__dp_dump.vasprintf.patch
libnl-makefile.patch
libnl.print_class.cast.patch
libnl.raw_dump_msg.formatstring.patch
r22.diff
r23.diff
r28.diff
New:
----
libnl-1.0-pre6.tar.bz2
libnl-compat.diff
libnl-includes.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libnl.spec ++++++
--- /var/tmp/diff_new_pack.vl2817/_old 2007-10-03 01:04:19.000000000 +0200
+++ /var/tmp/diff_new_pack.vl2817/_new 2007-10-03 01:04:19.000000000 +0200
@@ -11,27 +11,20 @@
# norootforbuild
Name: libnl
-%define preversion pre5
+%define preversion pre6
%define prefix /usr
Summary: Convenience library for kernel netlink sockets
Group: Development/Libraries/Other
License: LGPL v2 or later
Version: 1.0
-Release: 76
-URL: http://people.suug.ch/~tgr/libnl/
-Source: http://people.suug.ch/~tgr/libnl/files/libnl-%{version}-%{preversion}.tar.gz
-Source1: %{name}-1.pc
-Source2: %{name}-1.pc.x86_64
-Patch: %{name}-makefile.patch
+Release: 82
+Url: http://people.suug.ch/~tgr/libnl/
+Source: http://people.suug.ch/~tgr/libnl/files/libnl-%{version}-%{preversion}.tar.bz2
Patch1: %{name}-typedef.patch
-Patch3: r22.diff
-Patch4: r23.diff
-Patch5: r28.diff
-Patch6: libnl.nl_str2af.patch
-Patch7: libnl.__dp_dump.vasprintf.patch
-Patch8: libnl.route.metric-overflow.patch
-Patch9: libnl.raw_dump_msg.formatstring.patch
-Patch10: libnl.print_class.cast.patch
+Patch2: libnl-includes.diff
+Patch3: libnl-compat.diff
+Patch4: libnl.nl_str2af.patch
+Patch5: libnl.route.metric-overflow.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -61,19 +54,15 @@
%prep
%setup -q -n libnl-%{version}-%{preversion}
-%patch
+%ifnarch ia64 ppc64 s390x
%patch1 -p1
+%endif
+%patch2
%patch3
-%patch4 -p1
+%patch4
%patch5
-%patch6 -p1
-%patch7 -p1
-%patch8 -p1
-%patch9 -p1
-%patch10 -p1
%build
-rm -rfv include/linux
#%configure
CFLAGS="$RPM_OPT_FLAGS" \
./configure \
@@ -82,14 +71,7 @@
make
%install
-rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig/
-%if "%_lib" == "lib64"
-cp %{SOURCE2} $RPM_BUILD_ROOT%{_libdir}/pkgconfig/libnl-1.pc
-%else
-cp %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/pkgconfig/
-%endif
+%makeinstall
%clean
rm -rf $RPM_BUILD_ROOT
@@ -108,7 +90,6 @@
%{_includedir}/netlink/
%{_libdir}/%{name}.so
%{_libdir}/pkgconfig/%{name}-1.pc
-
%changelog
* Sat Aug 25 2007 - olh@suse.de
- remove incomplete copies of kernel headers
@@ -122,6 +103,14 @@
remove compiler warnings by checking vasprintf return value
* Wed Aug 22 2007 - dmueller@suse.de
- fix accesses of free'd memory which crash NetworkManager-kde
+* Wed Aug 22 2007 - dmueller@suse.de
+- update to 1.0-pre6:
+ * fixes write after delete crashes
+ * fixes realloc() handling
+ * fixes format string warnings
+ * fixes invalid free in nl_addr_parse for AF_UNSPEC addresses
+ * fixes double nlmsg_free() in nl_recvmsgs() while receiving
+ a multipart message and the read was interrupted.
* Mon Feb 20 2006 - ro@suse.de
- fix build on ia64, ppc64, s390x
* Wed Jan 25 2006 - mls@suse.de
++++++ libnl-compat.diff ++++++
--- include/netlink/cache.h
+++ include/netlink/cache.h
@@ -36,6 +36,7 @@
extern struct nl_cache * nl_cache_alloc_name(const char *);
extern void nl_cache_clear(struct nl_cache *);
extern void nl_cache_free(struct nl_cache *);
+static __inline void nl_cache_destroy_and_free(struct nl_cache* c) { nl_cache_free(c); }
/* Cache modification */
extern int nl_cache_add(struct nl_cache *,
++++++ libnl-includes.diff ++++++
--- include/netlink/netlink.h
+++ include/netlink/netlink.h
@@ -17,6 +17,7 @@
#include
participants (1)
-
root@Hilbert.suse.de