]> git.ipfire.org Git - ipfire-3.x.git/blob - ebtables/ebtables.nm
git: Update to 2.23.0
[ipfire-3.x.git] / ebtables / ebtables.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = ebtables
7 version = v2.0.10-4
8 release = 2
9
10 groups = Networking/Tools
11 url = http://ebtables.sourceforge.net/
12 license = GPLv2+
13 summary = Ethernet Bridge frame table administration tool.
14
15 description
16 Ethernet bridge tables is a firewalling tool to transparently filter network
17 traffic passing a bridge. The filtering possibilities are limited to link
18 layer filtering and some basic filtering on higher network layers.
19 end
20
21 source_dl = http://downloads.sourceforge.net/ebtables/
22
23 build
24 CFLAGS += -Wall
25
26 build
27 make CFLAGS="%{CFLAGS}" BINDIR="%{sbindir}" \
28 LIBDIR="%{libdir}/ebtables" MANDIR="%{mandir}" %{PARALLELISMFLAGS}
29 end
30
31 install
32 make install DESTDIR="%{BUILDROOT}" BINDIR="%{sbindir}" \
33 LIBDIR="%{libdir}/ebtables" MANDIR="%{mandir}"
34
35 # Remove unneded directories.
36 rm -rvf %{BUILDROOT}/etc/{rc.d,sysconfig}
37 end
38 end
39
40 quality-agent
41 whitelist_rpath
42 %{libdir}/ebtables
43 end
44 end
45
46 packages
47 package %{name}
48 filter_requires
49 libebt
50 end
51 end
52
53 package %{name}-debuginfo
54 template DEBUGINFO
55 end
56 end