]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Revert "nftables: Drop package"
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 26 Jul 2018 14:33:20 +0000 (15:33 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 26 Jul 2018 14:33:20 +0000 (15:33 +0100)
This reverts commit 8c785caba7469a9db7700c7217411dada93107e0.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
libnftnl/libnftnl.nm [new file with mode: 0644]
nftables/nftables.nm [new file with mode: 0644]

diff --git a/libnftnl/libnftnl.nm b/libnftnl/libnftnl.nm
new file mode 100644 (file)
index 0000000..3ad24a9
--- /dev/null
@@ -0,0 +1,45 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = libnftnl
+version    = 1.0.6
+release    = 1
+thisapp    = %{name}-%{version}
+
+groups     = Networking/Tools
+url        = http://netfilter.org/projects/libnftnl
+license    = GPLv2
+summary    = Library for low-level interaction with nftables
+
+description
+       Library for low-level interaction with nftables Netlink's API over
+       libmnl.
+end
+
+source_dl  = http://ftp.netfilter.org/pub/libnftnl/
+sources    = %{thisapp}.tar.bz2
+
+build
+       requires
+               autoconf
+               autogen
+               automake
+               libmnl-devel
+               libtool
+       end
+
+end
+
+packages
+       package %{name}
+
+       package %{name}-devel
+               template DEVEL
+       end
+
+       package %{name}-debuginfo
+               template DEBUGINFO
+       end
+end
diff --git a/nftables/nftables.nm b/nftables/nftables.nm
new file mode 100644 (file)
index 0000000..f8a97d0
--- /dev/null
@@ -0,0 +1,51 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = nftables
+version    = 0.100
+snapshot   = 20160602
+release    = 1.%{snapshot}
+thisapp    = %{name}-%{snapshot}
+
+groups     = Networking/Tools
+url        = http://netfilter.org/projects/nftables/
+license    = GPLv2
+summary    = Netfilter Tables userspace utillites
+
+description
+       %{summary}
+end
+
+source_dl  = http://ftp.netfilter.org/pub/nftables/snapshot/
+sources    = %{thisapp}.tar.bz2
+
+build
+       requires
+               autoconf
+               autogen
+               automake
+               bison
+               docbook2X
+               docbook-xsl
+               flex
+               gmp-devel
+               libtool
+               libmnl-devel
+               libnftnl-devel >= 1.0.5
+               readline-devel
+       end
+
+       prepare_cmds
+               ./autogen.sh
+       end
+end
+
+packages
+       package %{name}
+
+       package %{name}-debuginfo
+               template DEBUGINFO
+       end
+end