1 ###############################################################################
3 # IPFire.org - A linux based firewall #
4 # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
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. #
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. #
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/>. #
19 ###############################################################################
21 ###############################################################################
23 ###############################################################################
25 include $(PKGROOT)/Include
32 PKG_GROUPS = Networking/Statistics
33 PKG_URL = http://netfilter.org/projects/ulogd/index.html
35 PKG_SUMMARY = The userspace logging daemon for netfilter.
37 PKG_BUILD_DEPS+= libnfnetlink-devel libnetfilter_conntrack-devel \
38 libnetfilter_log-devel libpcap-devel pkg-config sqlite-devel
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.
48 PKG_TARBALL = $(THISAPP).tar.bz2
50 CONFIGURE_OPTIONS += --sysconfdir=/etc
52 define STAGE_INSTALL_CMDS
53 -mkdir -pv $(BUILDROOT)/etc
54 cp -vf $(DIR_SOURCE)/ulogd.conf $(BUILDROOT)/etc/ulogd.conf
56 -mkdir -pv $(BUILDROOT)/var/log/ulogd
57 sqlite3 -echo $(BUILDROOT)/var/log/ulogd/ulogd.db < $(DIR_SOURCE)/sqlite3.table