]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blob - pkgs/ulogd2/ulogd2.nm
9531f34e111831c2a79aecfa74e7e40188c6ec20
[people/arne_f/ipfire-3.x.git] / pkgs / ulogd2 / ulogd2.nm
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 = ulogd
28 PKG_VER = 2.0.0beta3
29 PKG_REL = 2
30
31 PKG_MAINTAINER =
32 PKG_GROUPS = Networking/Statistics
33 PKG_URL = http://netfilter.org/projects/ulogd/index.html
34 PKG_LICENSE = GPLv2
35 PKG_SUMMARY = The userspace logging daemon for netfilter.
36
37 PKG_BUILD_DEPS+= libnfnetlink-devel libnetfilter_conntrack-devel \
38 libnetfilter_log-devel libpcap-devel pkg-config sqlite-devel
39
40 define PKG_DESCRIPTION
41 This package contains utilities for configuring the linux ethernet \
42 bridge. The linux ethernet bridge can be used for connecting multiple \
43 ethernet devices together. The connecting is fully transparent: hosts \
44 connected to one ethernet device see hosts connected to the other \
45 ethernet devices directly.
46 endef
47
48 PKG_TARBALL = $(THISAPP).tar.bz2
49
50 CONFIGURE_OPTIONS += --sysconfdir=/etc
51
52 define STAGE_INSTALL_CMDS
53 -mkdir -pv $(BUILDROOT)/etc
54 cp -vf $(DIR_SOURCE)/ulogd.conf $(BUILDROOT)/etc/ulogd.conf
55
56 -mkdir -pv $(BUILDROOT)/var/log/ulogd
57 sqlite3 -echo $(BUILDROOT)/var/log/ulogd/ulogd.db < $(DIR_SOURCE)/sqlite3.table
58 endef