Hello community,
here is the log from the commit of package libnet.1516 for openSUSE:12.3:Update checked in at 2013-04-02 16:31:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.3:Update/libnet.1516 (Old)
and /work/SRC/openSUSE:12.3:Update/.libnet.1516.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libnet.1516", Maintainer is ""
Changes:
--------
New Changes file:
--- /dev/null 2013-02-26 18:15:11.936010755 +0100
+++ /work/SRC/openSUSE:12.3:Update/.libnet.1516.new/libnet.changes 2013-04-02 16:31:35.000000000 +0200
@@ -0,0 +1,154 @@
+-------------------------------------------------------------------
+Thu Mar 28 10:02:32 UTC 2013 - mvyskocil@suse.com
+
+- correctly detect the presence of PF_PACKET (bnc#810138)
+ * libnet-detect-presence-of-PF_PACKET.patch
+
+-------------------------------------------------------------------
+Mon Feb 13 10:48:57 UTC 2012 - coolo@suse.com
+
+- patch license to follow spdx.org standard
+
+-------------------------------------------------------------------
+Sun Nov 20 20:45:32 UTC 2011 - jengelh@medozas.de
+
+- Remove redundant/unwanted tags/section (cf. specfile guidelines)
+
+-------------------------------------------------------------------
+Sat Nov 19 20:43:21 UTC 2011 - coolo@suse.com
+
+- add libtool as buildrequire to avoid implicit dependency
+
+-------------------------------------------------------------------
+Thu May 5 23:05:05 CEST 2011 - dmueller@suse.de
+
+- complete package rename to libnet1
+
+-------------------------------------------------------------------
+Wed Feb 9 12:18:57 UTC 2011 - adam@mizerski.pl
+
+- minor specfile improvements
+- removed dead/unused libnet-1.1.5-strict-aliasing-fix.diff
+
+-------------------------------------------------------------------
+Sat Nov 20 16:14:05 UTC 2010 - coolo@novell.com
+
+- fix requires of devel package
+
+-------------------------------------------------------------------
+Fri Nov 19 12:53:43 UTC 2010 - mvyskocil@suse.cz
+
+- update to 1.1.5 (from libnet-dev.sf.net) a bugfix release
+ see CHANGELOG for complete list of fixes from 1.1.2.1
+- patches changes:
+ * remove libnet-endianess-fix.diff
+ * remove libnet-shared.diff
+ * remove libnet-1.1.2.1-makefile.diff
+ * refresh libnet-1.1.5-strict-aliasing-fix.diff
+ * refresh libnet-1.1.5-arrray-fix.diff
+- rename to libnet1 to conforms Shared Library Policy
+- split devel files to libnet-devel and documentation to libnet-doc
+
+-------------------------------------------------------------------
+Tue Nov 3 19:09:27 UTC 2009 - coolo@novell.com
+
+- updated patches to apply with fuzz=0
+
+-------------------------------------------------------------------
+Tue Sep 9 14:54:14 CEST 2008 - crrodriguez@suse.de
+
+- after removing static libraries, syslog-ng complains that are
+ needed, so we move the shared library to /%{_lib} to really fix
+ the problem
+
+-------------------------------------------------------------------
+Thu Sep 4 11:11:18 CEST 2008 - crrodriguez@suse.de
+
+- remove "la" file with empty dependency_libs
+- disable static libraries
+- libpcap is no longer needed for this package
+- configure option --with-pf_packet does not exists anymore
+
+-------------------------------------------------------------------
+Wed Mar 14 13:53:59 CET 2007 - anosek@suse.cz
+
+- fixed permissions of man pages [#254335]
+
+-------------------------------------------------------------------
+Fri Feb 17 14:06:34 CET 2006 - lmichnovic@suse.cz
+
+- fixed subscription beyond array and uninitialized variable [#151312]
+
+-------------------------------------------------------------------
+Wed Jan 25 21:37:35 CET 2006 - mls@suse.de
+
+- converted neededforbuild to BuildRequires
+
+-------------------------------------------------------------------
+Mon Sep 19 13:57:33 CEST 2005 - mmarek@suse.cz
+
+- fixed some gcc warnings
+
+-------------------------------------------------------------------
+Thu Nov 18 01:56:50 CET 2004 - ro@suse.de
+
+- fixed file list
+
+-------------------------------------------------------------------
+Wed Aug 04 16:11:46 CEST 2004 - postadal@suse.cz
+
+- updated to version 1.1.2.1
+
+-------------------------------------------------------------------
+Wed Feb 11 13:33:44 CET 2004 - postadal@suse.cz
+
+- removed compiled files from /usr/share/doc/packages/libnet/sample
+
+-------------------------------------------------------------------
+Tue Feb 10 11:20:01 CET 2004 - postadal@suse.cz
+
+- updated to version 1.1.1
+- removed obsoleted patches: autoconf-fix.diff, samples.diff
+- fixed code that broke strict aliasing
+
+-------------------------------------------------------------------
+Sun Jan 11 09:41:45 CET 2004 - adrian@suse.de
+
+- add %run_ldconfig
+
+-------------------------------------------------------------------
+Wed Aug 13 18:59:35 CEST 2003 - mjancar@suse.cz
+
+- build also shared library
+
+-------------------------------------------------------------------
+Thu Jul 24 19:37:25 CEST 2003 - meissner@suse.de
+
+- honor detected endianess.
+
+-------------------------------------------------------------------
+Thu Jul 24 13:51:33 CEST 2003 - postadal@suse.cz
+
+- update to version 1.1.0
+
+-------------------------------------------------------------------
+Mon Nov 11 12:59:41 CET 2002 - postadal@suse.cz
+
+- fixed deprecated multiline string literals
+
+-------------------------------------------------------------------
+Wed Jan 9 13:02:28 CET 2002 - cihlar@suse.cz
+
+- use %{_libdir}
+
+-------------------------------------------------------------------
+Wed Feb 14 12:38:15 CET 2001 - cihlar@suse.cz
+
+- update to version 1.0.2a
+- clean up spec file
+
+-------------------------------------------------------------------
+Thu Nov 16 22:40:56 CET 2000 - grimmer@suse.de
+
+- initial package (version 1.0.1b)
+
New:
----
libnet-1.1.2.1-uninitialized-fix.diff
libnet-1.1.5-arrray-fix.diff
libnet-1.1.5.tar.bz2
libnet-detect-presence-of-PF_PACKET.patch
libnet.changes
libnet.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libnet.spec ++++++
#
# spec file for package libnet
#
# Copyright (c) 2013 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: libnet
Summary: A C Library for Portable Packet Creation
License: BSD-3-Clause
Group: Development/Libraries/C and C++
Version: 1.1.5
Release: 0
Url: http://sourceforge.net/projects/libnet-dev
Source: libnet-%{version}.tar.bz2
Patch1: libnet-1.1.2.1-uninitialized-fix.diff
Patch2: libnet-1.1.5-arrray-fix.diff
#PATCH-FIX-UPSTREAM: bnc#810138
Patch3: libnet-detect-presence-of-PF_PACKET.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libtool
%description
Libnet is an API to help with the construction and handling of network
packets. It provides a portable framework for low-level network packet
writing and handling. Libnet includes packet creation at the IP layer
and at the link layer as well as a host of supplementary and
complementary functionality. Libnet is very useful for writing network
tools and network test code. See the man page and sample test code for
more detailed information.
%package -n libnet1
Summary: A C Library for Portable Packet Creation
Group: Development/Libraries/C and C++
# was last used in openSUSE 11.3
Provides: libnet = 1.1.5
Obsoletes: libnet < 1.1.5
%description -n libnet1
Libnet is an API to help with the construction and handling of network
packets. It provides a portable framework for low-level network packet
writing and handling. Libnet includes packet creation at the IP layer
and at the link layer as well as a host of supplementary and
complementary functionality. Libnet is very useful for writing network
tools and network test code. See the man page and sample test code for
more detailed information.
%package devel
Summary: Devel files for libnet
Group: Development/Libraries/C and C++
Requires: libnet1 = %{version}
%description devel
Libnet is an API to help with the construction and handling of network
packets. This package contains devel files.
%package doc
Summary: Documentation for libnet
Group: Development/Libraries/C and C++
%description doc
Libnet is an API to help with the construction and handling of network
packets. This package contains documentation.
%prep
%setup -q
%patch1
%patch2
%patch3 -p1
%build
autoreconf -fiv
CFLAGS="%{optflags} -Wall -Wno-unused" \
%configure --libdir=/%{_lib} --disable-static --with-pic
%{__make} %{?_smp_mflags}
%install
%{makeinstall}
install -d -m 755 %{buildroot}/{%{_bindir},%{_mandir}/man3}
install -m 755 libnet-config %{buildroot}/%{_bindir}
install -m 644 doc/man/man3/*.3 %{buildroot}/%{_mandir}/man3
find doc/ sample/ -name "Makefile*" -o -name ".libs" | xargs rm -rf
find sample -name "*.o" -o -type f -perm +111 |xargs rm -rf
%{__rm} -v %{buildroot}/%{_lib}/*.la
%{__install} -d -m 0755 %{buildroot}%{_libdir}
%{__ln_s} -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/libnet.so) %{buildroot}%{_libdir}/libnet.so
%{__rm} -v %{buildroot}/%{_lib}/libnet.so
%post -n libnet1 -p /sbin/ldconfig
%postun -n libnet1 -p /sbin/ldconfig
%files -n libnet1
%defattr(-,root,root)
%doc doc/COPYING
/%{_lib}/libnet.so.*
%files devel
%defattr(-,root,root)
%{_bindir}/libnet-config
%{_includedir}/libnet*
%{_libdir}/libnet.so
%doc %{_mandir}/man3/*
%files doc
%defattr(-,root,root)
%doc doc/* sample
%changelog
++++++ libnet-1.1.2.1-uninitialized-fix.diff ++++++
--- sample/icmp6_echoreq.c
+++ sample/icmp6_echoreq.c
@@ -107,6 +107,8 @@
}
}
+ src_ip = libnet_name2addr6(l, "0:0:0:0:0:0:0:1", LIBNET_DONT_RESOLVE);
+
if (!dst_prt || strncmp((char*)&dst_ip,(char*)&in6addr_error,sizeof(in6addr_error))==0 || !packet_amt)
{
usage(argv[0]);
--- src/libnet_if_addr.c
+++ src/libnet_if_addr.c
@@ -157,6 +157,7 @@
return(-1);
}
+ ifr = NULL;
pifr = NULL;
lifr = (struct ifreq *)&ifc.ifc_buf[ifc.ifc_len];
++++++ libnet-1.1.5-arrray-fix.diff ++++++
---
src/libnet_cq.c | 4 ++--
src/libnet_init.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
Index: src/libnet_cq.c
===================================================================
--- src/libnet_cq.c.orig 2010-11-19 11:32:51.750943104 +0100
+++ src/libnet_cq.c 2010-11-19 11:33:29.934865042 +0100
@@ -116,7 +116,7 @@
/* label the context with the user specified string */
strncpy(l->label, label, LIBNET_LABEL_SIZE);
- l->label[LIBNET_LABEL_SIZE] = '\0';
+ l->label[LIBNET_LABEL_SIZE - 1] = '\0';
l_cq->next = NULL;
l_cq->prev = NULL;
@@ -147,7 +147,7 @@
/* label the context with the user specified string */
strncpy(l->label, label, LIBNET_LABEL_SIZE);
- l->label[LIBNET_LABEL_SIZE] = '\0';
+ l->label[LIBNET_LABEL_SIZE - 1] = '\0';
new->next = l_cq;
new->prev = NULL;
Index: src/libnet_init.c
===================================================================
--- src/libnet_init.c.orig 2010-11-19 11:32:51.750943104 +0100
+++ src/libnet_init.c 2010-11-19 11:33:29.986870383 +0100
@@ -71,7 +71,7 @@
l->fd = -1;
strncpy(l->label, LIBNET_LABEL_DEFAULT, LIBNET_LABEL_SIZE);
- l->label[sizeof(l->label)] = '\0';
+ l->label[sizeof(l->label) - 1] = '\0';
switch (l->injection_type)
{
++++++ libnet-detect-presence-of-PF_PACKET.patch ++++++
commit 5f5a034d217e6beec837b3aafdb6afbb669f648b
Author: Sam Roberts