[packages/libpcap] - up to 1.9.0

arekm arekm at pld-linux.org
Tue Aug 7 07:33:47 CEST 2018


commit 872910fbd5b31db19d5792f23f3ef2fdb7a8d8df
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Aug 7 07:33:37 2018 +0200

    - up to 1.9.0

 libpcap-libnl.patch | 15 ---------------
 libpcap.spec        |  9 ++++-----
 2 files changed, 4 insertions(+), 20 deletions(-)
---
diff --git a/libpcap.spec b/libpcap.spec
index 24d319e..13554ac 100644
--- a/libpcap.spec
+++ b/libpcap.spec
@@ -10,16 +10,15 @@ Summary(pt_BR.UTF-8):	A libpcap fornece acesso ao modo promíscuo em interfaces
 Summary(ru.UTF-8):	Предоставляет доступ к сетевым интерфейсам в promiscuous-режиме
 Summary(uk.UTF-8):	Надає доступ до мережевих інтерфейсів в promiscuous-режимі
 Name:		libpcap
-Version:	1.8.1
+Version:	1.9.0
 Release:	1
 Epoch:		2
 License:	BSD
 Group:		Libraries
 Source0:	http://www.tcpdump.org/release/%{name}-%{version}.tar.gz
-# Source0-md5:	3d48f9cd171ff12b0efd9134b52f1447
+# Source0-md5:	dffd65cb14406ab9841f421732eb0f33
 Patch0:		%{name}-usb.patch
 Patch1:		%{name}-pf_ring.patch
-Patch2:		%{name}-libnl.patch
 URL:		http://www.tcpdump.org/
 BuildRequires:	autoconf >= 2.61
 BuildRequires:	automake
@@ -156,7 +155,6 @@ Biblioteka statyczna libpcap.
 %setup -q
 %patch0 -p1
 %{?with_pfring:%patch1 -p0}
-%patch2 -p1
 
 %build
 cp -f /usr/share/automake/config.sub .
@@ -194,7 +192,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc CHANGES CREDITS LICENSE README
+%doc CHANGES CREDITS LICENSE README.md
 %attr(755,root,root) %{_libdir}/libpcap.so.*.*
 %attr(755,root,root) %ghost %{_libdir}/libpcap.so.1
 %{_mandir}/man5/pcap-savefile.5*
@@ -206,6 +204,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/libpcap.so
 %{_includedir}/pcap
 %{_includedir}/pcap*.h
+%{_pkgconfigdir}/libpcap.pc
 %{_mandir}/man1/pcap-config.1*
 %{_mandir}/man3/pcap*.3*
 
diff --git a/libpcap-libnl.patch b/libpcap-libnl.patch
deleted file mode 100644
index f025890..0000000
--- a/libpcap-libnl.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- libpcap-1.8.1/configure.ac.orig	2015-07-05 13:45:40.844741072 +0200
-+++ libpcap-1.8.1/configure.ac	2015-07-05 14:14:49.988000998 +0200
-@@ -458,9 +458,9 @@
- 
-                 incdir=-I/usr/include/libnl3
-                 libnldir=
--                if test x$withval != x ; then
--                  libnldir=-L${withval}/lib/.libs
--                  incdir=-I${withval}/include
-+                if test x$with_libnl != x -a x$with_libnl != xyes; then
-+                  libnldir=-L${with_libnl}/lib/.libs
-+                  incdir=-I${with_libnl}/include
-                 fi
- 
- 		#
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libpcap.git/commitdiff/872910fbd5b31db19d5792f23f3ef2fdb7a8d8df



More information about the pld-cvs-commit mailing list