forked from pool/libnetfilter_log
Accepting request 98566 from security:netfilter
- update to new upstream release 1.0.1 * build and compile updates - Use SPDX format for License: tag - Use separate include directory to detect compile errors OBS-URL: https://build.opensuse.org/request/show/98566 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnetfilter_log?expand=0&rev=8
This commit is contained in:
commit
fd6a9ffa46
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c24e1c2c2054d5cb1e4359ef7ad4a5a3360904e277b761cc8ccf78dacd38567c
|
||||
size 239548
|
3
libnetfilter_log-1.0.1.tar.bz2
Normal file
3
libnetfilter_log-1.0.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:74e0fe75753dba3ac114531b5e73240452c789a3f3adccf5c51217da1d933b21
|
||||
size 262545
|
BIN
libnetfilter_log-1.0.1.tar.bz2.sig
Normal file
BIN
libnetfilter_log-1.0.1.tar.bz2.sig
Normal file
Binary file not shown.
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 2 21:16:51 UTC 2012 - jengelh@medozas.de
|
||||
|
||||
- update to new upstream release 1.0.1
|
||||
* build and compile fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 29 21:25:32 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Use SPDX format for License: tag
|
||||
- Use separate include directory to detect compile errors
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 16 10:51:21 UTC 2010 - jengelh@medozas.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libnetfilter_log (Version 1.0.0)
|
||||
# spec file for package libnetfilter_log
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 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
|
||||
@ -15,20 +15,21 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%define soname 1
|
||||
|
||||
Name: libnetfilter_log
|
||||
Version: 1.0.0
|
||||
%define lname %{name}1
|
||||
Version: 1.0.1
|
||||
Release: 1
|
||||
License: GNU GPL v2
|
||||
License: GPL-2.0
|
||||
Group: Productivity/Networking/Security
|
||||
Url: http://netfilter.org/projects/libnetfilter_log/
|
||||
Source: http://netfilter.org/projects/libnetfilter_log/files/%{name}-%{version}.tar.bz2
|
||||
Source2: baselibs.conf
|
||||
Source: ftp://ftp.netfilter.org/pub/libnetfilter_log/%name-%version.tar.bz2
|
||||
Source2: ftp://ftp.netfilter.org/pub/libnetfilter_log/%name-%version.tar.bz2.sig
|
||||
Source3: baselibs.conf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: libnfnetlink-devel linux-kernel-headers >= 2.6.14 pkg-config
|
||||
BuildRequires: autoconf automake >= 1.6 libtool
|
||||
BuildRequires: pkgconfig >= 0.23 pkgconfig(libnfnetlink) >= 0.0.41
|
||||
Summary: Userspace library for accessing logged packets
|
||||
|
||||
%description
|
||||
@ -37,29 +38,22 @@ packets that have been logged by the kernel packet filter. It is is
|
||||
part of a system that deprecates the old syslog/dmesg based packet
|
||||
logging. This library has been previously known as libnfnetlink_log.
|
||||
|
||||
%define debug_package_requires %{name}%{soname} = %{version}-%{release}
|
||||
|
||||
%package -n %{name}%{soname}
|
||||
|
||||
|
||||
%package -n %lname
|
||||
Group: System/Libraries
|
||||
PreReq: glibc
|
||||
Summary: Userspace library for accessing logged packets
|
||||
|
||||
%description -n %{name}%{soname}
|
||||
%description -n %lname
|
||||
libnetfilter_log is a userspace library providing interface to
|
||||
packets that have been logged by the kernel packet filter. It is is
|
||||
part of a system that deprecates the old syslog/dmesg based packet
|
||||
logging. This library has been previously known as libnfnetlink_log.
|
||||
|
||||
%package -n %{name}-devel
|
||||
|
||||
|
||||
%package devel
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{name}%{soname} = %{version} libnfnetlink-devel
|
||||
Requires: %lname = %version, libnfnetlink-devel
|
||||
Summary: Userspace library for accessing logged packets
|
||||
|
||||
%description -n %{name}-devel
|
||||
%description devel
|
||||
libnetfilter_log is a userspace library providing interface to
|
||||
packets that have been logged by the kernel packet filter. It is is
|
||||
part of a system that deprecates the old syslog/dmesg based packet
|
||||
@ -69,30 +63,30 @@ logging. This library has been previously known as libnfnetlink_log.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
%__make %{?_smp_mflags}
|
||||
if [ ! -e configure ]; then
|
||||
./autogen.sh;
|
||||
fi;
|
||||
%configure --disable-static --includedir=%_includedir/%name-%version
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
find %{buildroot} -name "*.la" -delete
|
||||
rm -f "%buildroot/%_libdir"/*.la;
|
||||
|
||||
%post -n %{name}%{soname} -p /sbin/ldconfig
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
|
||||
%postun -n %{name}%{soname} -p /sbin/ldconfig
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
||||
%clean
|
||||
test "%{buildroot}" != "/" && %__rm -rf %{buildroot}
|
||||
|
||||
%files -n %{name}%{soname}
|
||||
%files -n %lname
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libnetfilter_log.so.%{soname}*
|
||||
%{_libdir}/libnetfilter_log_libipulog.so.%{soname}*
|
||||
%_libdir/libnetfilter_log.so.1*
|
||||
%_libdir/libnetfilter_log_libipulog.so.1*
|
||||
|
||||
%files -n %{name}-devel
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/libnetfilter_log
|
||||
%{_libdir}/libnetfilter_log.so
|
||||
%{_libdir}/libnetfilter_log_libipulog.so
|
||||
%{_libdir}/pkgconfig/libnetfilter_log.pc
|
||||
%_includedir/libnetfilter_log*
|
||||
%_libdir/libnetfilter_log.so
|
||||
%_libdir/libnetfilter_log_libipulog.so
|
||||
%_libdir/pkgconfig/libnetfilter_log.pc
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user