Hello community,
here is the log from the commit of package netcontrol for openSUSE:Factory
checked in at Sun Sep 11 19:33:05 CEST 2011.
--------
New Changes file:
--- /dev/null 2010-08-26 16:28:41.000000000 +0200
+++ /mounts/work_src_done/STABLE/netcontrol/netcontrol.changes 2011-09-08 19:08:04.000000000 +0200
@@ -0,0 +1,46 @@
+-------------------------------------------------------------------
+Thu Sep 8 17:05:01 UTC 2011 - mt@suse.de
+
+- Fixed to include config.h to have _GNU_SOURCE defined
+
+-------------------------------------------------------------------
+Fri Aug 26 11:04:59 UTC 2011 - mt@suse.de
+
+- version 0.2.3, cleaning up copyright statements in source, header
+ and other files, adding authorization notes about use of GPL code
+ from wicked project inside of the LGPL libnetcontrol library and
+ a short README and COPYING files (bnc#713519).
+
+-------------------------------------------------------------------
+Wed Aug 17 09:14:01 CEST 2011 - dmueller@suse.de
+
+- add baselibs.conf to sources
+
+-------------------------------------------------------------------
+Tue Jul 12 09:42:32 UTC 2011 - mt@suse.de
+
+- version 0.2.2, with several fixes (fate#306765):
+ Change to use bus-id for bonding slave udev rules,
+ fixed / tweaked infiniband and vlan configuration,
+ fixed deletion to not remove unrequested configs,
+ set close-on-exec flag for all files we open.
+
+-------------------------------------------------------------------
+Wed Jul 6 19:03:28 UTC 2011 - mt@suse.de
+
+- version 0.2.1, fixing config cleanup of depending interfaces
+ while configure and delete action, ifup and ifdown actions,
+ adding several checks and removing patch level from the API
+ version (fate#306765).
+
+-------------------------------------------------------------------
+Fri Jul 1 11:17:17 UTC 2011 - mt@suse.de
+
+- A first write-enabled version 0.2.0, added hook to redirect log
+ messages e.g. to the libvirtd log routines (fate#306765).
+
+-------------------------------------------------------------------
+Thu Jun 16 19:22:52 UTC 2011 - mt@suse.de
+
+- Initial package (fate#306765)
+
calling whatdependson for head-i586
New:
----
baselibs.conf
config_h.patch
netcontrol-0.2.3.tar.bz2
netcontrol.changes
netcontrol.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ netcontrol.spec ++++++
#
# spec file for package netcontrol
#
# Copyright (c) 2011 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: netcontrol
Version: 0.2.3
Release: 1
Summary: A network configuration library
Group: Productivity/Networking/System
License: LGPL v2.1 or later
#
# License note:
# libnetcontrol contains source code which is based on wicked.
# Wicked is licensed under the GPL-2.0+, but permission has been
# granted by the authors of wicked to use the code derived from
# wicked under the LGPL-2.1+ in libnetcontrol.
#
Source0: %{name}-%{version}.tar.bz2
Source1: baselibs.conf
Patch1: config_h.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#BuildRequires: libnl-devel
#BuildRequires: pkg-config
%description
A interim network configuration library, currently implementing the
libnetcf interface for libvirt.
Authors:
--------
Olaf Kirch
Marius Tomaschewski
%package -n libnetcontrol0
License: LGPL v2.1 or later
Summary: A network configuration library
Group: Productivity/Networking/System
%description -n libnetcontrol0
A interim network configuration library, currently implementing the
libnetcf interface for libvirt.
The libnetcontrol0 package provides the shared library.
Authors:
--------
Olaf Kirch
Marius Tomaschewski
%package -n libnetcontrol-devel
License: LGPL v2.1 or later
Summary: Development header and library files
Group: Development/Libraries/C and C++
Requires: libnetcontrol0 = %{version}
%description -n libnetcontrol-devel
A interim network configuration library, currently implementing the
libnetcf interface for libvirt.
The libnetcontrol-devel package contains libraries and header files
required for development.
Authors:
--------
Olaf Kirch
Marius Tomaschewski
%prep
%setup -q
%patch1 -p1
%{?suse_update_config:%{suse_update_config -f}}
%build
export CFLAGS="-W -Wall $RPM_OPT_FLAGS"
%configure \
--disable-static \
--enable-silent-rules
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%post -n libnetcontrol0
/sbin/ldconfig
%postun -n libnetcontrol0
/sbin/ldconfig
%files -n libnetcontrol0
%defattr(-,root,root,-)
%{_libdir}/*.so.*
%files -n libnetcontrol-devel
%defattr(-,root,root,-)
%doc README COPYING.LGPL COPYING.GPL
%{_libdir}/*.so
%{_includedir}/*
%{_datadir}/pkgconfig/netcontrol.pc
%changelog
++++++ baselibs.conf ++++++
libnetcontrol0
++++++ config_h.patch ++++++
From d161f8e0b5e1729d644bf44367996bef5227e7ef Mon Sep 17 00:00:00 2001
From: Marius Tomaschewski
Date: Thu, 8 Sep 2011 19:06:34 +0200
Subject: [PATCH] Include config.h to have _GNU_SOURCE defined
Signed-off-by: Marius Tomaschewski
---
src/backend-suse.c | 3 +++
src/bonding.c | 3 +++
src/bonding.h | 3 +++
src/bridge.c | 9 +++------
src/bridge.h | 3 +++
src/cmd_pipe.c | 3 +++
src/cmd_pipe.h | 3 +++
src/futils.c | 3 +++
src/futils.h | 3 +++
src/handle.c | 3 +++
src/handle.h | 3 +++
src/logging.c | 3 ++-
src/logging.h | 3 +++
src/nctest.c | 3 +++
src/netcf-xml.c | 3 +++
src/netcf.c | 3 +++
src/ntypes.h | 3 +++
src/nutils.c | 4 +++-
src/nutils.h | 3 +++
src/sutils.c | 3 +++
src/sutils.h | 3 +++
src/syntax.c | 3 +++
src/syntax.h | 3 +++
src/sysconfig.c | 3 +++
src/sysconfig.h | 3 +++
src/sysctl.c | 3 +++
src/sysctl.h | 3 +++
src/sysfs.c | 3 +++
src/sysfs.h | 3 +++
src/udev_utils.c | 3 +++
src/udev_utils.h | 3 +++
src/vlan.c | 3 +++
src/vlan.h | 3 +++
src/xml-reader.c | 3 +++
src/xml-writer.c | 3 +++
src/xml.c | 3 +++
src/xml.h | 3 +++
37 files changed, 110 insertions(+), 8 deletions(-)
diff --git a/src/backend-suse.c b/src/backend-suse.c
index bd98fcb..b6a3644 100644
--- a/src/backend-suse.c
+++ b/src/backend-suse.c
@@ -27,6 +27,9 @@
* wicked under the LGPL-2.1+ in libnetcontrol.
* You can find the wicked project at http://gitorious.org/wicked/.
*/
+#if defined(HAVE_CONFIG_H)
+#include
+#endif
#include
#include
#include
diff --git a/src/bonding.c b/src/bonding.c
index 39c6b39..671edb6 100644
--- a/src/bonding.c
+++ b/src/bonding.c
@@ -28,6 +28,9 @@
* You can find the wicked project at http://gitorious.org/wicked/.
*
*/
+#if defined(HAVE_CONFIG_H)
+#include
+#endif
#include
#include
#include
diff --git a/src/bonding.h b/src/bonding.h
index d6fd3eb..7421a5b 100644
--- a/src/bonding.h
+++ b/src/bonding.h
@@ -30,6 +30,9 @@
*/
#ifndef __NETCONTROL_BONDING_H
#define __NETCONTROL_BONDING_H
+#if defined(HAVE_CONFIG_H)
+#include
+#endif
#include
#include
diff --git a/src/bridge.c b/src/bridge.c
index f915f9e..d08a2f0 100644
--- a/src/bridge.c
+++ b/src/bridge.c
@@ -28,16 +28,13 @@
* You can find the wicked project at http://gitorious.org/wicked/.
*
*/
+#if defined(HAVE_CONFIG_H)
+#include
+#endif
#include
#include
#include
#include
- /*
-#include
-#include
-#include
-*/
-
#include
#include
#include
diff --git a/src/bridge.h b/src/bridge.h
index 9882574..b155999 100644
--- a/src/bridge.h
+++ b/src/bridge.h
@@ -30,6 +30,9 @@
*/
#ifndef __NETCONTROL_BRIDGE_H
#define __NETCONTROL_BRIDGE_H
+#if defined(HAVE_CONFIG_H)
+#include
+#endif
#include
#include
diff --git a/src/cmd_pipe.c b/src/cmd_pipe.c
index bc5cee0..9c100aa 100644
--- a/src/cmd_pipe.c
+++ b/src/cmd_pipe.c
@@ -27,6 +27,9 @@
* You can find the wicked project at http://gitorious.org/wicked/.
*
*/
+#if defined(HAVE_CONFIG_H)
+#include
+#endif
#include
#include
#include
diff --git a/src/cmd_pipe.h b/src/cmd_pipe.h
index 99fc849..e139b7a 100644
--- a/src/cmd_pipe.h
+++ b/src/cmd_pipe.h
@@ -29,6 +29,9 @@
*/
#ifndef __NETCONTROL_CMD_PIPE_H
#define __NETCONTROL_CMD_PIPE_H
+#if defined(HAVE_CONFIG_H)
+#include
+#endif
#include
#include
diff --git a/src/futils.c b/src/futils.c
index ae642e0..a0a6b6d 100644
--- a/src/futils.c
+++ b/src/futils.c
@@ -27,6 +27,9 @@
* wicked under the LGPL-2.1+ in libnetcontrol.
* You can find the wicked project at http://gitorious.org/wicked/.
*/
+#if defined(HAVE_CONFIG_H)
+#include
+#endif
#include
#include
#include
diff --git a/src/futils.h b/src/futils.h
index 52aee94..913c640 100644
--- a/src/futils.h
+++ b/src/futils.h
@@ -30,6 +30,9 @@
*/
#ifndef __NETCONTROL_FUTILS_H
#define __NETCONTROL_FUTILS_H
+#if defined(HAVE_CONFIG_H)
+#include
+#endif
#include
diff --git a/src/handle.c b/src/handle.c
index 98ce983..9c98c0d 100644
--- a/src/handle.c
+++ b/src/handle.c
@@ -28,6 +28,9 @@
* You can find the wicked project at http://gitorious.org/wicked/.
*
*/
+#if defined(HAVE_CONFIG_H)
+#include
+#endif
#include
#include
#include
diff --git a/src/handle.h b/src/handle.h
index 484d54c..9447ad7 100644
--- a/src/handle.h
+++ b/src/handle.h
@@ -30,6 +30,9 @@
*/
#ifndef __NETCONTROL_HANDLE_H
#define __NETCONTROL_HANDLE_H
+#if defined(HAVE_CONFIG_H)
+#include
+#endif
#include
diff --git a/src/logging.c b/src/logging.c
index 837a313..bb93610 100644
--- a/src/logging.c
+++ b/src/logging.c
@@ -28,8 +28,9 @@
* You can find the wicked project at http://gitorious.org/wicked/.
*
*/
+#if defined(HAVE_CONFIG_H)
#include
-
+#endif
#include
#include
#include
diff --git a/src/logging.h b/src/logging.h
index e9b3976..d00c9dc 100644
--- a/src/logging.h
+++ b/src/logging.h
@@ -30,6 +30,9 @@
*/
#ifndef __NETCONTROL_LOGGING_H
#define __NETCONTROL_LOGGING_H
+#if defined(HAVE_CONFIG_H)
+#include
+#endif
#ifdef __GNUC__
# define __fmtattr(f,a) __attribute__ ((format (printf, f, a)))
diff --git a/src/nctest.c b/src/nctest.c
index d906df2..816b941 100644
--- a/src/nctest.c
+++ b/src/nctest.c
@@ -26,6 +26,9 @@
* You can find the wicked project at http://gitorious.org/wicked/.
*
*/
+#if defined(HAVE_CONFIG_H)
+#include
+#endif
#include
#include
#include
diff --git a/src/netcf-xml.c b/src/netcf-xml.c
index 0dcd198..5b5738a 100644
--- a/src/netcf-xml.c
+++ b/src/netcf-xml.c
@@ -28,6 +28,9 @@
* You can find the wicked project at http://gitorious.org/wicked/.
*
*/
+#if defined(HAVE_CONFIG_H)
+#include
+#endif
#include
#include
#include
diff --git a/src/netcf.c b/src/netcf.c
index 57c16af..7ceb336 100644
--- a/src/netcf.c
+++ b/src/netcf.c
@@ -28,6 +28,9 @@
* You can find the wicked project at http://gitorious.org/wicked/.
*
*/
+#if defined(HAVE_CONFIG_H)
+#include
+#endif
#include
#include
#include
diff --git a/src/ntypes.h b/src/ntypes.h
index 8865dc7..bc5531c 100644
--- a/src/ntypes.h
+++ b/src/ntypes.h
@@ -30,6 +30,9 @@
*/
#ifndef __NETCONTROL_NTYPES_H
#define __NETCONTROL_NTYPES_H
+#if defined(HAVE_CONFIG_H)
+#include
+#endif
#include
#include
diff --git a/src/nutils.c b/src/nutils.c
index 8956581..7dada29 100644
--- a/src/nutils.c
+++ b/src/nutils.c
@@ -28,7 +28,9 @@
* You can find the wicked project at http://gitorious.org/wicked/.
*
*/
-
+#if defined(HAVE_CONFIG_H)
+#include
+#endif
#include
#include
#include
diff --git a/src/nutils.h b/src/nutils.h
index 17961af..cf84f3e 100644
--- a/src/nutils.h
+++ b/src/nutils.h
@@ -30,6 +30,9 @@
*/
#ifndef __NETCONTROL_NUTILS_H
#define __NETCONTROL_NUTILS_H
+#if defined(HAVE_CONFIG_H)
+#include
+#endif
#include
#include
diff --git a/src/sutils.c b/src/sutils.c
index dd6188b..f3684ed 100644
--- a/src/sutils.c
+++ b/src/sutils.c
@@ -28,6 +28,9 @@
* You can find the wicked project at http://gitorious.org/wicked/.
*
*/
+#if defined(HAVE_CONFIG_H)
+#include
+#endif
#include
#include
#include
diff --git a/src/sutils.h b/src/sutils.h
index c5862d8..3f05680 100644
--- a/src/sutils.h
+++ b/src/sutils.h
@@ -30,6 +30,9 @@
*/
#ifndef __NETCONTROL_SUTILS_H
#define __NETCONTROL_SUTILS_H
+#if defined(HAVE_CONFIG_H)
+#include
+#endif
#include
#include
diff --git a/src/syntax.c b/src/syntax.c
index 4343a8d..78ef526 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -28,6 +28,9 @@
* You can find the wicked project at http://gitorious.org/wicked/.
*
*/
+#if defined(HAVE_CONFIG_H)
+#include
+#endif
#include
#include
diff --git a/src/syntax.h b/src/syntax.h
index 7ca60ac..25c69a4 100644
--- a/src/syntax.h
+++ b/src/syntax.h
@@ -30,6 +30,9 @@
*/
#ifndef __NETCONTROL_SYNTAX_H
#define __NETCONTROL_SYNTAX_H
+#if defined(HAVE_CONFIG_H)
+#include
+#endif
#include
#include
diff --git a/src/sysconfig.c b/src/sysconfig.c
index bb90075..7faa96c 100644
--- a/src/sysconfig.c
+++ b/src/sysconfig.c
@@ -28,6 +28,9 @@
* You can find the wicked project at http://gitorious.org/wicked/.
*
*/
+#if defined(HAVE_CONFIG_H)
+#include
+#endif
#include
#include
#include
diff --git a/src/sysconfig.h b/src/sysconfig.h
index 13a1507..2902746 100644
--- a/src/sysconfig.h
+++ b/src/sysconfig.h
@@ -30,6 +30,9 @@
*/
#ifndef __NETCONTROL_UTILS_SYSCONFIG_H
#define __NETCONTROL_UTILS_SYSCONFIG_H
+#if defined(HAVE_CONFIG_H)
+#include
+#endif
#include
diff --git a/src/sysctl.c b/src/sysctl.c
index 5100d8b..07e54c4 100644
--- a/src/sysctl.c
+++ b/src/sysctl.c
@@ -26,6 +26,9 @@
* You can find the wicked project at http://gitorious.org/wicked/.
*
*/
+#if defined(HAVE_CONFIG_H)
+#include
+#endif
#include
#include
#include
diff --git a/src/sysctl.h b/src/sysctl.h
index 87f0de1..9746790 100644
--- a/src/sysctl.h
+++ b/src/sysctl.h
@@ -28,6 +28,9 @@
*/
#ifndef __NETCONTROL_SYSCTL_H
#define __NETCONTROL_SYSCTL_H
+#if defined(HAVE_CONFIG_H)
+#include
+#endif
#include
diff --git a/src/sysfs.c b/src/sysfs.c
index fe3427a..a482be7 100644
--- a/src/sysfs.c
+++ b/src/sysfs.c
@@ -27,6 +27,9 @@
* You can find the wicked project at http://gitorious.org/wicked/.
*
*/
+#if defined(HAVE_CONFIG_H)
+#include
+#endif
#include
#include
#include
diff --git a/src/sysfs.h b/src/sysfs.h
index 58d246c..c841e4c 100644
--- a/src/sysfs.h
+++ b/src/sysfs.h
@@ -29,6 +29,9 @@
*/
#ifndef __NETCONTROL_SYSFS_H
#define __NETCONTROL_SYSFS_H
+#if defined(HAVE_CONFIG_H)
+#include
+#endif
#include
#include
diff --git a/src/udev_utils.c b/src/udev_utils.c
index 8337391..d86f25c 100644
--- a/src/udev_utils.c
+++ b/src/udev_utils.c
@@ -26,6 +26,9 @@
* You can find the wicked project at http://gitorious.org/wicked/.
*
*/
+#if defined(HAVE_CONFIG_H)
+#include
+#endif
#include
#include
#include
diff --git a/src/udev_utils.h b/src/udev_utils.h
index 86bb03a..ac70c0c 100644
--- a/src/udev_utils.h
+++ b/src/udev_utils.h
@@ -28,6 +28,9 @@
*/
#ifndef __NETCONTROL_UDEV_UTILS_H
#define __NETCONTROL_UDEV_UTILS_H
+#if defined(HAVE_CONFIG_H)
+#include
+#endif
#include
diff --git a/src/vlan.c b/src/vlan.c
index b4d30e7..d5e89d6 100644
--- a/src/vlan.c
+++ b/src/vlan.c
@@ -28,6 +28,9 @@
* You can find the wicked project at http://gitorious.org/wicked/.
*
*/
+#if defined(HAVE_CONFIG_H)
+#include
+#endif
#include
#include
#include
diff --git a/src/vlan.h b/src/vlan.h
index 3cd083d..1b77128 100644
--- a/src/vlan.h
+++ b/src/vlan.h
@@ -30,6 +30,9 @@
*/
#ifndef __NETCONTROL_VLAN_H
#define __NETCONTROL_VLAN_H
+#if defined(HAVE_CONFIG_H)
+#include
+#endif
#include
#include
diff --git a/src/xml-reader.c b/src/xml-reader.c
index 328e050..403d117 100644
--- a/src/xml-reader.c
+++ b/src/xml-reader.c
@@ -30,6 +30,9 @@
* You can find the wicked project at http://gitorious.org/wicked/.
*
*/
+#if defined(HAVE_CONFIG_H)
+#include
+#endif
#include
#include
#include
diff --git a/src/xml-writer.c b/src/xml-writer.c
index d8d2312..58efbe3 100644
--- a/src/xml-writer.c
+++ b/src/xml-writer.c
@@ -30,6 +30,9 @@
* You can find the wicked project at http://gitorious.org/wicked/.
*
*/
+#if defined(HAVE_CONFIG_H)
+#include
+#endif
#include
#include
#include
diff --git a/src/xml.c b/src/xml.c
index 8a452b5..eb2846a 100644
--- a/src/xml.c
+++ b/src/xml.c
@@ -28,6 +28,9 @@
* You can find the wicked project at http://gitorious.org/wicked/.
*
*/
+#if defined(HAVE_CONFIG_H)
+#include
+#endif
#include
#include
#include
diff --git a/src/xml.h b/src/xml.h
index 46013ab..71b1460 100644
--- a/src/xml.h
+++ b/src/xml.h
@@ -32,6 +32,9 @@
*/
#ifndef __NETCONTROL_XML_H
#define __NETCONTROL_XML_H
+#if defined(HAVE_CONFIG_H)
+#include
+#endif
#include
--
1.7.3.4
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org