]>
Commit | Line | Data |
---|---|---|
91d1aacf MT |
1 | ############################################################################### |
2 | # # | |
3 | # IPFire.org - A linux based firewall # | |
4 | # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt # | |
5 | # # | |
6 | # This program is free software: you can redistribute it and/or modify # | |
7 | # it under the terms of the GNU General Public License as published by # | |
8 | # the Free Software Foundation, either version 3 of the License, or # | |
9 | # (at your option) any later version. # | |
10 | # # | |
11 | # This program is distributed in the hope that it will be useful, # | |
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of # | |
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # | |
14 | # GNU General Public License for more details. # | |
15 | # # | |
16 | # You should have received a copy of the GNU General Public License # | |
17 | # along with this program. If not, see <http://www.gnu.org/licenses/>. # | |
18 | # # | |
19 | ############################################################################### | |
20 | ||
21 | ############################################################################### | |
22 | # Definitions | |
23 | ############################################################################### | |
24 | ||
25 | include $(PKGROOT)/Include | |
26 | ||
27 | PKG_NAME = ebtables | |
e0f83074 | 28 | PKG_VER = v2.0.9-2 |
9bb4953a | 29 | PKG_REL = 1 |
91d1aacf MT |
30 | |
31 | PKG_MAINTAINER = | |
32 | PKG_GROUP = Networking/Tools | |
33 | PKG_URL = http://ebtables.sourceforge.net/ | |
34 | PKG_LICENSE = GPLv2+ | |
35 | PKG_SUMMARY = Ethernet Bridge frame table administration tool. | |
36 | ||
37 | define PKG_DESCRIPTION | |
38 | Ethernet bridge tables is a firewalling tool to transparently filter network \ | |
39 | traffic passing a bridge. The filtering possibilities are limited to link \ | |
40 | layer filtering and some basic filtering on higher network layers. | |
41 | endef | |
42 | ||
43 | PKG_TARBALL = $(THISAPP).tar.gz | |
44 | ||
8f95d3a1 SS |
45 | CFLAGS += -Wall |
46 | ||
9bb4953a MT |
47 | PKG_REQUIRES_FILTER = libebt |
48 | ||
91d1aacf | 49 | define QUALITY_AGENT_WHITELIST_RPATH |
b5b20f86 | 50 | /lib/ebtables |
91d1aacf MT |
51 | endef |
52 | ||
91d1aacf MT |
53 | define STAGE_BUILD |
54 | cd $(DIR_APP) && make CFLAGS="$(CFLAGS)" BINDIR="/sbin" \ | |
55 | LIBDIR="/lib/ebtables" MANDIR="/usr/share/man" $(PARALLELISMFLAGS) | |
56 | endef | |
57 | ||
58 | define STAGE_INSTALL | |
59 | -mkdir -pv $(BUILDROOT)/etc/{init.d,sysconfig} | |
60 | cd $(DIR_APP) && make install DESTDIR="$(BUILDROOT)" BINDIR="/sbin" \ | |
61 | LIBDIR="/lib/ebtables" MANDIR="/usr/share/man" INITDIR="/etc/init.d" | |
62 | ||
63 | rm -vfr $(BUILDROOT)/etc/{init.d,sysconfig} | |
64 | endef |