]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - pkgs/ebtables/ebtables.nm
ebtables: Filter accidently scanned requires.
[people/ms/ipfire-3.x.git] / pkgs / ebtables / ebtables.nm
CommitLineData
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
25include $(PKGROOT)/Include
26
27PKG_NAME = ebtables
e0f83074 28PKG_VER = v2.0.9-2
9bb4953a 29PKG_REL = 1
91d1aacf
MT
30
31PKG_MAINTAINER =
32PKG_GROUP = Networking/Tools
33PKG_URL = http://ebtables.sourceforge.net/
34PKG_LICENSE = GPLv2+
35PKG_SUMMARY = Ethernet Bridge frame table administration tool.
36
37define 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.
41endef
42
43PKG_TARBALL = $(THISAPP).tar.gz
44
8f95d3a1
SS
45CFLAGS += -Wall
46
9bb4953a
MT
47PKG_REQUIRES_FILTER = libebt
48
91d1aacf 49define QUALITY_AGENT_WHITELIST_RPATH
b5b20f86 50 /lib/ebtables
91d1aacf
MT
51endef
52
91d1aacf
MT
53define STAGE_BUILD
54 cd $(DIR_APP) && make CFLAGS="$(CFLAGS)" BINDIR="/sbin" \
55 LIBDIR="/lib/ebtables" MANDIR="/usr/share/man" $(PARALLELISMFLAGS)
56endef
57
58define 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}
64endef