commit 6eebeec70952545a74f5528ef251797ddcf663cb86f0049abea4b4b6418af00a Author: Marius Tomaschewski Date: Thu Sep 8 16:31:43 2011 +0000 osc copypac from project:SUSE:SLE-11-SP2:GA package:netcontrol revision:10 OBS-URL: https://build.opensuse.org/package/show/network:utilities/netcontrol?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..26f49eb --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libnetcontrol0 diff --git a/netcontrol-0.2.3.tar.bz2 b/netcontrol-0.2.3.tar.bz2 new file mode 100644 index 0000000..c8773c8 --- /dev/null +++ b/netcontrol-0.2.3.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cbc4eafd2b632086fcdca938b4a166d5ee67cd4243f88cc4df14ed6d067c7cb3 +size 291680 diff --git a/netcontrol.changes b/netcontrol.changes new file mode 100644 index 0000000..1a85f00 --- /dev/null +++ b/netcontrol.changes @@ -0,0 +1,41 @@ +------------------------------------------------------------------- +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) + diff --git a/netcontrol.spec b/netcontrol.spec new file mode 100644 index 0000000..e4bb9a7 --- /dev/null +++ b/netcontrol.spec @@ -0,0 +1,120 @@ +# +# 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: 0. +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 +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 +%{?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