forked from pool/libnetfilter_cthelper
New package
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libnetfilter_cthelper?expand=0&rev=1
This commit is contained in:
commit
4b9ed97dfa
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
1
baselibs.conf
Normal file
1
baselibs.conf
Normal file
@ -0,0 +1 @@
|
||||
libnetfilter_cttimeout1
|
22
libname.diff
Normal file
22
libname.diff
Normal file
@ -0,0 +1,22 @@
|
||||
|
||||
In anticipation that the official release might use
|
||||
libnetfilter_cthelper.so.0 as SONAME, make sure this prerelease has a
|
||||
different one.
|
||||
|
||||
---
|
||||
src/Makefile.am | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
Index: libnetfilter_cthelper/src/Makefile.am
|
||||
===================================================================
|
||||
--- libnetfilter_cthelper.orig/src/Makefile.am
|
||||
+++ libnetfilter_cthelper/src/Makefile.am
|
||||
@@ -2,7 +2,7 @@ include $(top_srcdir)/Make_global.am
|
||||
lib_LTLIBRARIES = libnetfilter_cthelper.la
|
||||
|
||||
libnetfilter_cthelper_la_LIBADD = ${LIBMNL_LIBS}
|
||||
-libnetfilter_cthelper_la_LDFLAGS = -Wl,--version-script=$(srcdir)/libnetfilter_cthelper.map -version-info $(LIBVERSION)
|
||||
+libnetfilter_cthelper_la_LDFLAGS = -Wl,--version-script=$(srcdir)/libnetfilter_cthelper.map -version-info $(LIBVERSION) -release 0
|
||||
libnetfilter_cthelper_la_SOURCES = libnetfilter_cthelper.c \
|
||||
libnetfilter_cthelper.map \
|
||||
internal.h
|
3
libnetfilter_cthelper-0.tar.xz
Normal file
3
libnetfilter_cthelper-0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e7fc3db7ac47b7583219e0c73839489ba0f2bddfede73de077f3e80980dfb6b5
|
||||
size 22224
|
4
libnetfilter_cthelper.changes
Normal file
4
libnetfilter_cthelper.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 4 14:06:19 UTC 2012 - jengelh@inai.de
|
||||
|
||||
- Initial package for build.opensuse.org
|
89
libnetfilter_cthelper.spec
Normal file
89
libnetfilter_cthelper.spec
Normal file
@ -0,0 +1,89 @@
|
||||
#
|
||||
# spec file for package libnetfilter_cthelper
|
||||
#
|
||||
# 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
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: libnetfilter_cthelper
|
||||
%define lname %{name}-0-0
|
||||
Version: 0
|
||||
Release: 0
|
||||
Url: http://netfilter.org/projects/libnetfilter_cthelper/
|
||||
Summary: Userspace library for the Netfilter Conntrack Helper extension
|
||||
License: LGPL-2.1+
|
||||
Group: Productivity/Networking/Security
|
||||
|
||||
#Git-Clone: git://git.netfilter.org/libnetfilter_cthelper
|
||||
Source: %name-%version.tar.xz
|
||||
Source3: baselibs.conf
|
||||
Patch1: libname.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: autoconf, automake >= 1.6
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkgconfig >= 0.21
|
||||
BuildRequires: pkgconfig(libmnl) >= 1.0.0
|
||||
BuildRequires: xz
|
||||
|
||||
%description
|
||||
This library provides the programming interface (API) to the
|
||||
Netfilter userspace helper infrastructure.
|
||||
|
||||
%package -n %lname
|
||||
Summary: Userspace library for the Netfilter Conntrack Helper extension
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %lname
|
||||
This library provides the programming interface (API) to the
|
||||
Netfilter userspace helper infrastructure.
|
||||
|
||||
%package devel
|
||||
Requires: %lname = %version
|
||||
Summary: Userspace library for the Netfilter Conntrack Helper extension
|
||||
Group: Development/Libraries/C and C++
|
||||
|
||||
%description devel
|
||||
This library provides the programming interface (API) to the
|
||||
Netfilter userspace helper infrastructure.
|
||||
|
||||
%prep
|
||||
%setup -qn %name
|
||||
%patch -P 1 -p1
|
||||
|
||||
%build
|
||||
if [ ! -e configure ]; then
|
||||
autoreconf -fi;
|
||||
fi;
|
||||
%configure --disable-static --includedir=%_includedir/%name-%version
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
rm -f "%buildroot/%_libdir"/*.la;
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
||||
%files -n %lname
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libnetfilter_cthelper-0.so.0*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%_includedir/libnetfilter_cthelper*
|
||||
%_libdir/libnetfilter_cthelper.so
|
||||
%_libdir/pkgconfig/libnetfilter_cthelper.pc
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user