From: Michael Tremer Date: Thu, 11 Feb 2010 11:51:41 +0000 (+0100) Subject: ulogd2: New package. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab6e2138c0a72901cfde22bf062ffac817b9215c;p=ipfire-3.x.git ulogd2: New package. --- diff --git a/src/ulogd/sqlite3.table b/pkgs/core/ulogd2/sqlite3.table similarity index 100% rename from src/ulogd/sqlite3.table rename to pkgs/core/ulogd2/sqlite3.table diff --git a/src/ulogd/ulogd.conf b/pkgs/core/ulogd2/ulogd.conf similarity index 100% rename from src/ulogd/ulogd.conf rename to pkgs/core/ulogd2/ulogd.conf diff --git a/src/ulogd/ulogd.logrotate b/pkgs/core/ulogd2/ulogd.logrotate similarity index 100% rename from src/ulogd/ulogd.logrotate rename to pkgs/core/ulogd2/ulogd.logrotate diff --git a/pkgs/core/ulogd2/ulogd2.nm b/pkgs/core/ulogd2/ulogd2.nm new file mode 100644 index 000000000..4774959d7 --- /dev/null +++ b/pkgs/core/ulogd2/ulogd2.nm @@ -0,0 +1,58 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include $(PKGROOT)/Include + +PKG_NAME = ulogd +PKG_VER = 2.0.0beta3 +PKG_REL = 0 + +PKG_MAINTAINER = +PKG_GROUP = Networking/Statistics +PKG_URL = http://netfilter.org/projects/ulogd/index.html +PKG_LICENSE = GPLv2 +PKG_SUMMARY = The userspace logging daemon for netfilter. + +PKG_BUILD_DEPS+= pkg-config +PKG_DEPS += libnfnetlink libnetfilter_conntrack libnetfilter_log libpcap sqlite + +define PKG_DESCRIPTION + This package contains utilities for configuring the linux ethernet \ + bridge. The linux ethernet bridge can be used for connecting multiple \ + ethernet devices together. The connecting is fully transparent: hosts \ + connected to one ethernet device see hosts connected to the other \ + ethernet devices directly. +endef + +PKG_TARBALL = $(THISAPP).tar.bz2 + +CONFIGURE_OPTIONS += --sysconfdir=/etc + +define STAGE_INSTALL_CMDS + -mkdir -pv $(BUILDROOT)/etc + cp -vf $(DIR_SOURCE)/ulogd.conf $(BUILDROOT)/etc/ulogd.conf + + -mkdir -pv $(BUILDROOT)/var/log/ulogd + sqlite3 -echo $(BUILDROOT)/var/log/ulogd/ulogd.db < $(DIR_SOURCE)/sqlite3.table +endef