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