]>
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 |
81f830d6 CS |
7 | version = v2.0.10-3 |
8 | release = 1 | |
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 |
91d1aacf MT |
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. | |
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 MT |
26 | build |
27 | make CFLAGS="%{CFLAGS}" BINDIR="/sbin" \ | |
28 | LIBDIR="/lib/ebtables" MANDIR="/usr/share/man" %{PARALLELISMFLAGS} | |
29 | end | |
8f95d3a1 | 30 | |
802ea3af MT |
31 | install |
32 | mkdir -pv %{BUILDROOT}/etc/{init.d,sysconfig} | |
33 | make install DESTDIR="%{BUILDROOT}" BINDIR="/sbin" \ | |
34 | LIBDIR="/lib/ebtables" MANDIR="/usr/share/man" INITDIR="/etc/init.d" | |
9bb4953a | 35 | |
802ea3af MT |
36 | rm -vfr %{BUILDROOT}/etc/{init.d,sysconfig} |
37 | end | |
802ea3af | 38 | end |
91d1aacf | 39 | |
802ea3af MT |
40 | quality-agent |
41 | whitelist_rpath | |
42 | /lib/ebtables | |
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 |