]>
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 MT |
6 | name = ebtables |
7 | version = v2.0.9-2 | |
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 | ||
21 | source_dl = | |
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 | |
91d1aacf | 38 | |
802ea3af MT |
39 | export PKG_REQUIRES_FILTER = libebt |
40 | end | |
91d1aacf | 41 | |
802ea3af MT |
42 | quality-agent |
43 | whitelist_rpath | |
44 | /lib/ebtables | |
45 | end | |
46 | end | |
91d1aacf | 47 | |
802ea3af MT |
48 | packages |
49 | package %{name} | |
50 | end | |
51 | end |