Hello community, here is the log from the commit of package lldpad for openSUSE:Factory checked in at 2013-08-01 17:14:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lldpad (Old) and /work/SRC/openSUSE:Factory/.lldpad.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lldpad" Changes: -------- --- /work/SRC/openSUSE:Factory/lldpad/lldpad.changes 2012-03-06 13:39:20.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.lldpad.new/lldpad.changes 2013-08-01 17:14:59.000000000 +0200 @@ -1,0 +2,45 @@ +Thu Aug 1 13:23:39 UTC 2013 - [email protected] + +- Bump to 0.9.46 new upstream url found from fedora pkg: + * Add IEEE802.1Qbg EVB module support + * add and improve test code evbest/nltest + * 8021qaz fix to work with hardware that does not support CEE DCBX + * support lldpad running on bonded interfaces + * pretty print support for VDP + * new -p option to display lldpad process identifier + * generate shared library liblldp_clif for applications to use + * Add vdptest program + * various link event fixes + * Support for multiple agent types Nearest non-TPMR, Nearest customer bridge, + and Nearest Bridge (always supported). + * New man pages for VDP, EVB, and MED have been added. + * DCBX improvements to remap DCB attributes when the host has less traffic + classes then the peer. + * Support to parse 802.1AB Organizationally Specific TLVs, Cisco Specific TLVs + and the LLINK attributes of the DCBX CEE TLVs. + * Support to reconfigure and set the MSAP subtype. + * Additional gcc warnings turned on and miscellaneous fixes. + * New client interface (abstract sockets) to support initrd stage + * IEEE 802.1Qaz support has been added + * EVB support has been added + * Add iSCSI TLV support + * Numerous bug fixes and code cleanup + * Reworked netlink event handling to be more robust and handle dropped nlmsgs. + * DCBx puts netdevice into linkmode until dcbx negotiation complete +- Remove obsolete patches, applied upstream/done differently by upstream: + * lldpad-0.9.32-compile-fixes + * lldpad-0.9.32-fix-buffer-overflow + * lldpad-0.9.32-fix-error-in-pgid-construction + * lldpad-0.9.32-fix-lldptool-segfault + * lldpad-0.9.32-fix-race-condition +- Rebase patch to apply on current version: + * lldpad-makefile-fixup +- Use unit file instead of init file to move under systemd + +------------------------------------------------------------------- +Tue Jul 23 19:02:58 CEST 2013 - [email protected] + +- Remove usage of absolute paths in mkinitrd scripts +- Add Requires(post/postun) to spec file + +------------------------------------------------------------------- Old: ---- lldpad-0.9.32-compile-fixes lldpad-0.9.32-fix-buffer-overflow lldpad-0.9.32-fix-error-in-pgid-construction lldpad-0.9.32-fix-lldptool-segfault lldpad-0.9.32-fix-race-condition lldpad-0.9.32.tar.bz2 lldpad-init-script-fixup New: ---- open-lldp-0.9.46.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lldpad.spec ++++++ --- /var/tmp/diff_new_pack.5roi5I/_old 2013-08-01 17:15:00.000000000 +0200 +++ /var/tmp/diff_new_pack.5roi5I/_new 2013-08-01 17:15:00.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package lldpad # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# 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 @@ -16,47 +16,57 @@ # +%define _name open-lldp +%define libname liblldp_clif1 Name: lldpad Summary: Link Layer Discovery Protocol (LLDP) Agent License: GPL-2.0 Group: System/Daemons -Version: 0.9.32 +Version: 0.9.46 Release: 0 BuildRequires: bison BuildRequires: flex +BuildRequires: libconfig-devel +BuildRequires: libnl-1_1-devel BuildRequires: libtool BuildRequires: pkgconfig -Url: http://www.intel.com/network/connectivity/products/server_adapters.htm -Source: http://downloads.sourceforge.net/e1000/%{name}-%{version}.tar.bz2 +BuildRequires: readline-devel +Url: http://open-lldp.org/ +Source: http://ftp-osl.osuosl.org/pub/%{_name}/%{_name}-%{version}.tar.gz Source20: mkinitrd-boot.sh Source21: mkinitrd-stop.sh Source22: mkinitrd-setup.sh Patch1: %{name}-makefile-fixup -Patch2: %{name}-init-script-fixup -Patch3: %{name}-%{version}-compile-fixes -Patch10: %{name}-%{version}-fix-race-condition -Patch11: %{name}-%{version}-fix-error-in-pgid-construction -Patch13: %{name}-%{version}-fix-lldptool-segfault -Patch14: %{name}-%{version}-fix-buffer-overflow BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: dcbd = %{version} Obsoletes: dcbd < %{version} +Requires(post): mkinitrd +Requires(postun): mkinitrd +BuildRequires: systemd +%systemd_requires %description This package contains the Link Layer Discovery Protocol (LLDP) Agent with Data Center Bridging (DCB) for Intel(R) Network Connections 'lldpad' plus the configuration tools 'dcbtool' and 'lldptool'. - - Authors: -------- e1000-eedc Mailing List <[email protected]> Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 +%package -n %{libname} +Summary: Link Layer Discovery Protocol (LLDP) libraries +Group: System/Libraries + +%description -n %{libname} +This package contains the Link Layer Discovery Protocol (LLDP) libraries + + %package devel Summary: Link Layer Discovery Protocol (LLDP) Agent Group: Development/Libraries/C and C++ +Requires: %{libname} = %{version} Requires: %{name} = %{version} %description devel @@ -72,56 +82,66 @@ Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 %prep -%setup -%patch1 -p0 -%patch2 -p1 -%patch3 -p1 -%patch10 -p1 -%patch11 -p1 -%patch13 -p1 -%patch14 -p1 +%setup -q -n %{_name}-%{version} +%patch1 -p1 %build -autoreconf --install -%configure --disable-cxx --bindir=/bin --sbindir=/sbin +autoreconf -vi +%configure \ + --disable-static make %{?_smp_mflags} +%check +make check %{?_smp_mflags} + %install -mkdir -p ${RPM_BUILD_ROOT}/var/lib/lldpad +mkdir -p %{buildroot}/var/lib/lldpad %makeinstall -install -d ${RPM_BUILD_ROOT}/lib/mkinitrd/scripts/ -install -m 755 %{S:20} ${RPM_BUILD_ROOT}/lib/mkinitrd/scripts/boot-lldpad.sh -install -m 755 %{S:21} ${RPM_BUILD_ROOT}/lib/mkinitrd/scripts/boot-killlldpad.sh -install -m 755 %{S:22} ${RPM_BUILD_ROOT}/lib/mkinitrd/scripts/setup-lldpad.sh +install -d %{buildroot}/lib/mkinitrd/scripts/ +install -m 755 %{S:20} %{buildroot}/lib/mkinitrd/scripts/boot-lldpad.sh +install -m 755 %{S:21} %{buildroot}/lib/mkinitrd/scripts/boot-killlldpad.sh +install -m 755 %{S:22} %{buildroot}/lib/mkinitrd/scripts/setup-lldpad.sh +# remove la archives +rm -rf %{buildroot}/%{_libdir}/*.la +# systemd file install +mkdir -p %{buildroot}%{_unitdir} +install -m644 %{name}.service %{buildroot}%{_unitdir} +ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rclldpad +rm -rf %{buildroot}%{_sysconfdir}/init.d %post [ -x /sbin/mkinitrd_setup ] && mkinitrd_setup %{fillup_and_insserv -n -i lldpad} +%service_add_post lldpad.service %preun -%{stop_on_removal lldpad} +%service_del_preun lldpad.service %postun [ -x /sbin/mkinitrd_setup ] && mkinitrd_setup %{insserv_cleanup lldpad} -%clean -rm -rf %{buildroot} +%post -n %libname -p /sbin/ldconfig + +%postun -n %libname -p /sbin/ldconfig %files %defattr(-,root,root,-) -%doc COPYING -%doc README -%doc ChangeLog +%doc COPYING README ChangeLog %dir /var/lib/lldpad -/sbin/* -/etc/init.d/lldpad +%{_unitdir}/%{name}.service +%{_sbindir}/* %{_mandir}/man8/* /lib/mkinitrd +%files -n %libname +%defattr(-,root,root) +%{_libdir}/*.so.* + %files devel %defattr(-,root,root,-) %{_includedir}/* %{_libdir}/pkgconfig/*.pc +%{_libdir}/*.so %changelog ++++++ lldpad-makefile-fixup ++++++ --- /var/tmp/diff_new_pack.5roi5I/_old 2013-08-01 17:15:00.000000000 +0200 +++ /var/tmp/diff_new_pack.5roi5I/_new 2013-08-01 17:15:00.000000000 +0200 @@ -1,18 +1,19 @@ ---- Makefile.am.orig 2010-03-18 13:05:42.385312521 +0100 -+++ Makefile.am 2010-03-18 13:06:04.202288295 +0100 -@@ -99,15 +99,4 @@ install-data-local: lldpad.init - $(MKDIR_P) $(DESTDIR)/etc/init.d - $(INSTALL_SCRIPT) lldpad.init $(DESTDIR)/etc/init.d/lldpad +diff -urN open-lldp-0.9.46.old/Makefile.am open-lldp-0.9.46/Makefile.am +--- open-lldp-0.9.46.old/Makefile.am 2013-08-01 14:46:16.291134358 +0200 ++++ open-lldp-0.9.46/Makefile.am 2013-08-01 14:48:53.889134339 +0200 +@@ -130,15 +130,3 @@ + + BASH_COMPLETION_DIR=/etc/bash_completion.d/ -install-data-hook: - /sbin/chkconfig --add lldpad || true -- ## provide legacy support for apps that use the old dcbd interface. -- test -e $(includedir)/dcbd || `ln -T -s $(includedir)/lldpad $(includedir)/dcbd` -- test -e $(includedir)/dcbd/clif_cmds.h || `ln -T -s $(includedir)/lldpad/lldp_dcbx_cmds.h $(includedir)/dcbd/clif_cmds.h` +- ## provide support for bash completion +- $(MKDIR_P) $(DESTDIR)/$(BASH_COMPLETION_DIR) +- $(INSTALL_SCRIPT) ${srcdir}/contrib/bash_completion/* $(DESTDIR)/$(BASH_COMPLETION_DIR) - -uninstall-local: - /sbin/chkconfig --del lldpad || true - rm -f '$(DESTDIR)/etc/init.d/lldpad' - rm -f '$(includedir)/dcbd/clif_cmds.h' - rm -f '$(includedir)/dcbd' - +- ++++++ mkinitrd-boot.sh ++++++ --- /var/tmp/diff_new_pack.5roi5I/_old 2013-08-01 17:15:00.000000000 +0200 +++ /var/tmp/diff_new_pack.5roi5I/_new 2013-08-01 17:15:00.000000000 +0200 @@ -1,11 +1,11 @@ #!/bin/bash #%stage: device #%depends: network -#%programs: /sbin/lldpad /sbin/dcbtool +#%programs: lldpad dcbtool #%if: "$root_dcbd" # ##### DCBD initialization ## ## This script initializes DCBD (Data Center Bridging Exchange protocol daemon) -/sbin/lldpad -d +lldpad -d -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
