]> git.ipfire.org Git - people/ms/ipfire-3.x.git/commitdiff
New packages: nftables and libnftnl.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 13 Apr 2014 13:29:03 +0000 (15:29 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 13 Apr 2014 13:29:03 +0000 (15:29 +0200)
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..147303c
--- /dev/null
@@ -0,0 +1,49 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = libnftnl
+version    = 1.0.0
+snapshot   = 20140412
+release    = 1.%{snapshot}
+thisapp    = %{name}-%{snapshot}
+
+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/snapshot/
+sources    = %{thisapp}.tar.bz2
+
+build
+       requires
+               autoconf
+               autogen
+               automake
+               libmnl-devel
+               libtool
+       end
+
+       prepare_cmds
+               ./autogen.sh
+       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..82eabcf
--- /dev/null
@@ -0,0 +1,50 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = nftables
+version    = 0.100
+snapshot   = 20140412
+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
+               docbook-dtds
+               flex
+               gmp-devel
+               libtool
+               libmnl-devel
+               libnftnl-devel
+               readline-devel
+       end
+
+       prepare_cmds
+               ./autogen.sh
+       end
+end
+
+packages
+       package %{name}
+
+       package %{name}-debuginfo
+               template DEBUGINFO
+       end
+end