]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - ebtables/ebtables.nm
Move all packages to root.
[people/ms/ipfire-3.x.git] / ebtables / ebtables.nm
diff --git a/ebtables/ebtables.nm b/ebtables/ebtables.nm
new file mode 100644 (file)
index 0000000..2539b25
--- /dev/null
@@ -0,0 +1,51 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = ebtables
+version    = v2.0.9-2
+release    = 1
+
+groups     = Networking/Tools
+url        = http://ebtables.sourceforge.net/
+license    = GPLv2+
+summary    = Ethernet Bridge frame table administration tool.
+
+description
+       Ethernet bridge tables is a firewalling tool to transparently filter network \
+       traffic passing a bridge. The filtering possibilities are limited to link \
+       layer filtering and some basic filtering on higher network layers.
+end
+
+source_dl  =
+
+build
+       CFLAGS += -Wall
+
+       build
+               make CFLAGS="%{CFLAGS}" BINDIR="/sbin" \
+                       LIBDIR="/lib/ebtables" MANDIR="/usr/share/man" %{PARALLELISMFLAGS}
+       end
+
+       install
+               mkdir -pv %{BUILDROOT}/etc/{init.d,sysconfig}
+               make install DESTDIR="%{BUILDROOT}" BINDIR="/sbin" \
+                       LIBDIR="/lib/ebtables" MANDIR="/usr/share/man" INITDIR="/etc/init.d"
+
+               rm -vfr %{BUILDROOT}/etc/{init.d,sysconfig}
+       end
+
+       export PKG_REQUIRES_FILTER = libebt
+end
+
+quality-agent
+       whitelist_rpath
+               /lib/ebtables
+       end
+end
+
+packages
+       package %{name}
+       end
+end