summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2003-08-25 13:30:59 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2003-08-25 13:30:59 +0000
commit05e07304b07be8eec70f01bb2f282e21ced80105 (patch)
tree244282b684b830b445a871cc10359bfc0553af22 /app-admin
parentversion bump (diff)
downloadgentoo-2-05e07304b07be8eec70f01bb2f282e21ced80105.tar.gz
gentoo-2-05e07304b07be8eec70f01bb2f282e21ced80105.tar.bz2
gentoo-2-05e07304b07be8eec70f01bb2f282e21ced80105.zip
version bump
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/ulogd/ChangeLog7
-rw-r--r--app-admin/ulogd/Manifest5
-rw-r--r--app-admin/ulogd/files/digest-ulogd-1.011
-rw-r--r--app-admin/ulogd/files/ulogd-1.0148
-rw-r--r--app-admin/ulogd/ulogd-1.01.ebuild41
5 files changed, 99 insertions, 3 deletions
diff --git a/app-admin/ulogd/ChangeLog b/app-admin/ulogd/ChangeLog
index bef352a207cc..2885fef3ec0f 100644
--- a/app-admin/ulogd/ChangeLog
+++ b/app-admin/ulogd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-admin/ulogd
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ChangeLog,v 1.10 2003/03/11 22:07:41 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ChangeLog,v 1.11 2003/08/25 13:30:38 aliz Exp $
+
+*ulogd-1.01 (25 Aug 2003)
+
+ 25 Aug 2003; Daniel Ahlberg <aliz@gentoo.org> ulogd-1.01.ebuild:
+ Version bump
*ulogd-0.98 (28 Feb 2003)
diff --git a/app-admin/ulogd/Manifest b/app-admin/ulogd/Manifest
index 175bde52fd9c..742b488076e8 100644
--- a/app-admin/ulogd/Manifest
+++ b/app-admin/ulogd/Manifest
@@ -1,9 +1,10 @@
-MD5 21faaea2a76754d24bc7be893c806edd ChangeLog 1181
+MD5 8add03eb80ba4c6d1036ceb3d0ec8f82 ChangeLog 1288
MD5 bd228d1fdeaeede8124704657a640ae5 ulogd-0.97-r1.ebuild 1124
MD5 fc2800896076761f3afef7ae798380b4 ulogd-0.98.ebuild 1178
-MD5 878b6d9434debaa7c6d5c89ed96fe675 ulogd-1.01.ebuild 1179
+MD5 e969a44c67a8ab4258e4385a6beb4dcd ulogd-1.01.ebuild 1105
MD5 04005ad49c96b691ff84b1305379d3c8 files/digest-ulogd-0.97-r1 61
MD5 d21cc9239b60422b448ef743edaf9560 files/ulogd 755
MD5 7d8c6f58accc97b0ce3beb6fc172d5df files/digest-ulogd-0.98 62
MD5 86019df8b3674b4649f91134561f6c59 files/ulogd-0.98 763
MD5 e346a1112f49dea95c9302f251dd3102 files/digest-ulogd-1.01 63
+MD5 86019df8b3674b4649f91134561f6c59 files/ulogd-1.01 763
diff --git a/app-admin/ulogd/files/digest-ulogd-1.01 b/app-admin/ulogd/files/digest-ulogd-1.01
new file mode 100644
index 000000000000..836f2ed46220
--- /dev/null
+++ b/app-admin/ulogd/files/digest-ulogd-1.01
@@ -0,0 +1 @@
+MD5 2f17829c5317e60861b9f5d84383bef8 ulogd-1.01.tar.bz2 133975
diff --git a/app-admin/ulogd/files/ulogd-1.01 b/app-admin/ulogd/files/ulogd-1.01
new file mode 100644
index 000000000000..3360a75fa3ee
--- /dev/null
+++ b/app-admin/ulogd/files/ulogd-1.01
@@ -0,0 +1,48 @@
+#!/sbin/runscript
+#
+# chkconfig: - 91 35
+# description: Starts and stops the ulogd daemon
+#
+# pidfile: /var/lock/samba/ulogd.pid
+# config: /usr/local/etc/ulogd.conf
+
+
+opts="${opts} reload"
+
+depend() {
+ need net
+ use mysql
+}
+
+initService() {
+# Avoid using root's TMPDIR
+unset TMPDIR
+
+# Check that ulogd.conf exists.
+[ -f /etc/ulogd.conf ] || exit 0
+
+RETVAL=0
+}
+
+start() {
+ initService
+ ebegin "Starting ulogd"
+ start-stop-daemon --start --quiet --exec /usr/sbin/ulogd -- -d >/dev/null 2>&1
+ eend $?
+}
+
+stop() {
+ initService
+ ebegin "Stopping ulogd"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/ulogd >/dev/null 2>&1
+ eend $?
+}
+
+reload() {
+ initService
+ ebegin "Reloading ulogd.conf file"
+ killproc ulogd -HUP
+ RETVAL=$?
+ echo
+ return $RETVAL
+}
diff --git a/app-admin/ulogd/ulogd-1.01.ebuild b/app-admin/ulogd/ulogd-1.01.ebuild
new file mode 100644
index 000000000000..8b72c89bacbb
--- /dev/null
+++ b/app-admin/ulogd/ulogd-1.01.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ulogd-1.01.ebuild,v 1.1 2003/08/25 13:30:38 aliz Exp $
+
+DESCRIPTION="iptables daemon for ULOG target for userspace iptables filter logging"
+SRC_URI="ftp://ftp.netfilter.org/pub/ulogd/${P}.tar.bz2"
+HOMEPAGE="http://www.gnumonks.org/gnumonks/projects/project_details?p_id=1"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~sparc"
+IUSE="mysql"
+DEPEND="net-firewall/iptables
+ >=sys-apps/sed-4"
+RDEPEND=${DEPEND}
+
+src_compile() {
+ local myconf
+ use mysql && myconf="--with-mysql"
+
+ econf ${myconf}
+ make all || die "make failed"
+}
+
+src_install() {
+ # the Makefile seems to be "broken" -
+ # it relies on the existance of /usr, /etc ..
+ dodir /usr/sbin /etc/init.d
+
+ make DESTDIR=${D} install || die "install failed"
+
+ cp ${FILESDIR}/ulogd-${PV} ${D}/etc/init.d/ulogd
+
+ dodoc README AUTHORS Changes
+ cd doc/
+ dodoc ulogd.txt ulogd.a4.ps
+ if [ -n "`use mysql`" ]; then
+ dodoc mysql.table mysql.table.ipaddr-as-string
+ fi
+ dohtml ulogd.html
+}