]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
ulogd2: New package.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 11 Feb 2010 11:51:41 +0000 (12:51 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 11 Feb 2010 11:51:41 +0000 (12:51 +0100)
pkgs/core/ulogd2/sqlite3.table [moved from src/ulogd/sqlite3.table with 100% similarity]
pkgs/core/ulogd2/ulogd.conf [moved from src/ulogd/ulogd.conf with 100% similarity]
pkgs/core/ulogd2/ulogd.logrotate [moved from src/ulogd/ulogd.logrotate with 100% similarity]
pkgs/core/ulogd2/ulogd2.nm [new file with mode: 0644]

diff --git a/pkgs/core/ulogd2/ulogd2.nm b/pkgs/core/ulogd2/ulogd2.nm
new file mode 100644 (file)
index 0000000..4774959
--- /dev/null
@@ -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 <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# 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