diff options
author | Daniel Ahlberg <aliz@gentoo.org> | 2003-08-25 13:30:59 +0000 |
---|---|---|
committer | Daniel Ahlberg <aliz@gentoo.org> | 2003-08-25 13:30:59 +0000 |
commit | ef1dc7e4d49073417fbe3aa378a9c199dca3d244 (patch) | |
tree | 463491cd04cc81338214616e3061b5a958af6856 /app-admin/ulogd | |
parent | version bump (diff) | |
download | historical-ef1dc7e4d49073417fbe3aa378a9c199dca3d244.tar.gz historical-ef1dc7e4d49073417fbe3aa378a9c199dca3d244.tar.bz2 historical-ef1dc7e4d49073417fbe3aa378a9c199dca3d244.zip |
version bump
Diffstat (limited to 'app-admin/ulogd')
-rw-r--r-- | app-admin/ulogd/Manifest | 5 | ||||
-rw-r--r-- | app-admin/ulogd/files/digest-ulogd-1.01 | 1 | ||||
-rw-r--r-- | app-admin/ulogd/files/ulogd-1.01 | 48 | ||||
-rw-r--r-- | app-admin/ulogd/ulogd-1.01.ebuild | 41 |
4 files changed, 93 insertions, 2 deletions
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 +} |