Accepting request 397312 from home:pluskalm:branches:network

- Update to version 1.6:

OBS-URL: https://build.opensuse.org/request/show/397312
OBS-URL: https://build.opensuse.org/package/show/network/libndp?expand=0&rev=12
This commit is contained in:
Ismail Dönmez 2016-05-22 17:59:57 +00:00 committed by Git OBS Bridge
parent 51cff1f533
commit d2b3a448ff
4 changed files with 34 additions and 19 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3a0be247ec024bd72fe5b40ea9491519c4023c7faf078311196fab817b2fd55f
size 337802

3
libndp-1.6.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0c7dfa84e013bd5e569ef2c6292a6f72cfaf14f4ff77a77425e52edc33ffac0e
size 364406

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Sun May 22 12:31:47 UTC 2016 - mpluskal@suse.com
- Update to version 1.6:
* libndp: reject redirect and router advertisements from
non-link-local
* libndp: validate the IPv6 hop limit
- Changes for version 1.5:
* ndptool: validate the IPv6 hop limit
- Small spec file adjustement:
* Used spec-cleaner
* Make building more verbose
* Update describtion of subpackages
* Use correct cathegory for subpackage
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jan 5 14:35:54 UTC 2015 - dimstar@opensuse.org Mon Jan 5 14:35:54 UTC 2015 - dimstar@opensuse.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package libndp # spec file for package libndp
# #
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,50 +17,50 @@
Name: libndp Name: libndp
Version: 1.4 Version: 1.6
Release: 0 Release: 0
Summary: Library for Neighbor Discovery Protocol Summary: Library for Neighbor Discovery Protocol
License: LGPL-2.1+ License: LGPL-2.1+
Group: Productivity/Networking/Other Group: Productivity/Networking/Other
BuildRequires: pkg-config
Url: http://www.libndp.org/ Url: http://www.libndp.org/
Source: http://www.libndp.org/files/libndp-%{version}.tar.gz Source: http://www.libndp.org/files/libndp-%{version}.tar.gz
BuildRequires: pkgconfig
%description %description
This package contains a library which provides a wrapper This package contains a library which provides a wrapper for IPv6 Neighbor
for IPv6 Neighbor Discovery Protocol. It also provides a tool Discovery Protocol. It also provides a tool named ndptool for sending and
named ndptool for sending and receiving NDP messages. receiving NDP messages.
%package -n libndp0 %package -n libndp0
Summary: Libraries and header files for libndp development Summary: Libraries and header files for libndp development
Group: System/Libraries Group: System/Libraries
%description -n libndp0 %description -n libndp0
The libndp-devel package contains the header files and libraries This package contains a library which provides a wrapper for IPv6 Neighbor
necessary for developing programs using libndp. Discovery Protocol.
%package devel %package devel
Summary: Libraries and header files for libndp development Summary: Libraries and header files for libndp development
Group: Development/Libraries Group: Development/Libraries/C and C++
Requires: libndp0 = %{version} Requires: libndp0 = %{version}
%description devel %description devel
The libndp-devel package contains the header files and libraries The libndp-devel package contains the header files necessary for developing
necessary for developing programs using libndp. programs using libndp.
%prep %prep
%setup -q %setup -q
%build %build
%configure --disable-static %configure \
make %{?_smp_mflags} --disable-static
make %{?_smp_mflags} V=1
%install %install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" make install DESTDIR=%{buildroot} INSTALL="install -p"
find $RPM_BUILD_ROOT -name \*.la -delete find %{buildroot} -type f -name "*.la" -delete -print
%post -n libndp0 -p /sbin/ldconfig %post -n libndp0 -p /sbin/ldconfig
%postun -n libndp0 -p /sbin/ldconfig %postun -n libndp0 -p /sbin/ldconfig
%files %files