rebuilt with debug package [release 1.9.1-2mamba;Thu May 28 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 05:21:13 +01:00
parent b384298272
commit 8c2a0960c7

View File

@ -1,7 +1,7 @@
Name: libpcap
Version: 1.9.1
Summary: A system-independent interface for user-level packet capture
Release: 1mamba
Release: 2mamba
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
@ -34,6 +34,8 @@ Libpcap provides a portable framework for low-level network monitoring.
Libpcap can provide network statistics collection, security monitoring and network debugging.
Since almost every system vendor provides a different interface for packet capture, the libpcap authors created this system-independent API to ease in porting and to alleviate the need for several system-dependent packet capture modules in each application.
%debug_package
%prep
%setup -q
#%patch -p1
@ -48,6 +50,8 @@ _EOF
%configure \
--enable-ipv6 \
--enable-bluetooth \
--with-libnl \
--with-pcap=linux \
%if "%{_host}" != "%{_build}"
--cache-file=config.cache
@ -55,8 +59,8 @@ _EOF
%make all "CCOPT=%{optflags} -fPIC"
# FIXME: ugly hack - but `make shared' create a broken shared library
%{_host}-gcc -Wl,-soname,libpcap.so.0 -shared -fpic -o libpcap.so.%{version} *.o
## FIXME: ugly hack - but `make shared' create a broken shared library
#%{_host}-gcc -Wl,-soname,libpcap.so.0 -shared -fpic -o libpcap.so.%{version} *.o
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -97,6 +101,9 @@ ln -s ../pcap-bpf.h %{buildroot}%{_includedir}/net/bpf.h
%{_mandir}/man7/pcap-tstamp.7*
%changelog
* Thu May 28 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.1-2mamba
- rebuilt with debug package
* Thu Oct 03 2019 Automatic Build System <autodist@mambasoft.it> 1.9.1-1mamba
- automatic version update by autodist