summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Manna <nitro@gentoo.org>2002-06-21 01:53:31 +0000
committerKyle Manna <nitro@gentoo.org>2002-06-21 01:53:31 +0000
commit7947935a0b0404d283e376398162e0c87d6bcbc1 (patch)
tree6f35670dae8f6bd985119abce64a21268f36f443 /app-admin/ulogd
parentfix to problematic info file (diff)
downloadhistorical-7947935a0b0404d283e376398162e0c87d6bcbc1.tar.gz
historical-7947935a0b0404d283e376398162e0c87d6bcbc1.tar.bz2
historical-7947935a0b0404d283e376398162e0c87d6bcbc1.zip
Added a sed script to fix paths in ulogd.conf
Diffstat (limited to 'app-admin/ulogd')
-rw-r--r--app-admin/ulogd/ChangeLog8
-rw-r--r--app-admin/ulogd/files/digest-ulogd-0.97-r11
-rw-r--r--app-admin/ulogd/ulogd-0.97-r1.ebuild43
3 files changed, 51 insertions, 1 deletions
diff --git a/app-admin/ulogd/ChangeLog b/app-admin/ulogd/ChangeLog
index 8f5c1d73fbe3..724e674cf175 100644
--- a/app-admin/ulogd/ChangeLog
+++ b/app-admin/ulogd/ChangeLog
@@ -1,8 +1,14 @@
# ChangeLog for app-admin/ulogd
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ChangeLog,v 1.1 2002/05/25 04:50:25 george Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ChangeLog,v 1.2 2002/06/21 01:53:31 nitro Exp $
+*ulogd-0.97-r1, (20 Jun 2002)
+
+ 20 Jun 2002; George Shapovalov <george@gentoo.org> Changelog :
+
+ Added a sed script to fix paths in ulogd.conf
+
*ulogd-0.97, (23 May 2002)
24 May 2002; George Shapovalov <george@gentoo.org> Changelog :
diff --git a/app-admin/ulogd/files/digest-ulogd-0.97-r1 b/app-admin/ulogd/files/digest-ulogd-0.97-r1
new file mode 100644
index 000000000000..0a9d4d43de16
--- /dev/null
+++ b/app-admin/ulogd/files/digest-ulogd-0.97-r1
@@ -0,0 +1 @@
+MD5 d71753042e28b8dfd83da5e9dd2871fb ulogd-0.97.tar.gz 98940
diff --git a/app-admin/ulogd/ulogd-0.97-r1.ebuild b/app-admin/ulogd/ulogd-0.97-r1.ebuild
new file mode 100644
index 000000000000..eaf9c65f79bd
--- /dev/null
+++ b/app-admin/ulogd/ulogd-0.97-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ulogd-0.97-r1.ebuild,v 1.1 2002/06/21 01:53:31 nitro Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="iptables daemon for ULOG target for userspace iptables filter logging"
+SRC_URI="ftp://ftp.netfilter.org/pub/ulogd/ulogd-0.97.tar.gz"
+HOMEPAGE="http://www.gnumonks.org/gnumonks/projects/project_details?p_id=1"
+
+DEPEND="sys-apps/iptables"
+RDEPEND=${DEPEND}
+
+SLOT="0"
+LICENSE="GPL-2"
+
+src_compile() {
+ local myconf
+
+ cp ulogd.conf ulogd.conf.orig
+ sed -e "s:/usr/local/lib/:/usr/lib/:" ulogd.conf.orig > ulogd.conf
+
+ use mysql && myconf="--with-mysql"
+
+ ./configure ${myconf} \
+ --prefix=/usr \
+ --sysconfdir=/etc || die "./configure failed"
+
+ make all || die "make failed"
+}
+
+src_install() {
+ #the Makefile seems to be "broken" - it relies on the existance of /usr, /etc ..
+ mkdir -p ${D}/usr/sbin ${D}/etc/init.d
+
+ make DESTDIR=${D} install || die "install failed"
+
+ cp ${FILESDIR}/ulogd ${D}/etc/init.d/ulogd
+
+ dodoc README AUTHORS Changes
+ cd doc/
+ dodoc ulogd.txt ulogd.a4.ps
+ dohtml ulogd.html
+}