summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2004-07-24 18:16:51 +0000
committerAlastair Tse <liquidx@gentoo.org>2004-07-24 18:16:51 +0000
commit780809c058fcfc69a94a1c577175b348ddc1b507 (patch)
tree8521a9a8212d63e93f150a425b56a589189cd32c /app-admin
parentadd macos keyword to 4.08 (diff)
downloadhistorical-780809c058fcfc69a94a1c577175b348ddc1b507.tar.gz
historical-780809c058fcfc69a94a1c577175b348ddc1b507.tar.bz2
historical-780809c058fcfc69a94a1c577175b348ddc1b507.zip
intial package release. ebuild based on Thomas Eckert ebuild and patch from bug #19204.
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/ulog-acctd/ChangeLog11
-rw-r--r--app-admin/ulog-acctd/Manifest5
-rw-r--r--app-admin/ulog-acctd/files/digest-ulog-acctd-0.4.21
-rw-r--r--app-admin/ulog-acctd/files/ulog-acctd-0.4.2-gcc2.patch20
-rw-r--r--app-admin/ulog-acctd/metadata.xml8
-rw-r--r--app-admin/ulog-acctd/ulog-acctd-0.4.2.ebuild54
6 files changed, 99 insertions, 0 deletions
diff --git a/app-admin/ulog-acctd/ChangeLog b/app-admin/ulog-acctd/ChangeLog
new file mode 100644
index 000000000000..5b19cdad31d9
--- /dev/null
+++ b/app-admin/ulog-acctd/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-admin/ulog-acctd
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/ulog-acctd/ChangeLog,v 1.1 2004/07/24 18:16:51 liquidx Exp $
+
+*ulog-acctd-0.4.2 (24 Jul 2004)
+
+ 24 Jul 2004; Alastair Tse <liquidx@gentoo.org>
+ +files/ulog-acctd-0.4.2-gcc2.patch, +ulog-acctd-0.4.2.ebuild:
+ intial package release. ebuild based on Thomas Eckert ebuild and patch from
+ bug #19204.
+
diff --git a/app-admin/ulog-acctd/Manifest b/app-admin/ulog-acctd/Manifest
new file mode 100644
index 000000000000..9bef0844d054
--- /dev/null
+++ b/app-admin/ulog-acctd/Manifest
@@ -0,0 +1,5 @@
+MD5 c2f6d7d218c8d15f3c0262366612b57d ulog-acctd-0.4.2.ebuild 1324
+MD5 c41bb8073a3e62762ccc3fb6d816bbe6 ChangeLog 453
+MD5 d05a99e0cbeadebc1bcc73a8b0e31ad0 metadata.xml 223
+MD5 2482235c9b2861a218595874d58bde76 files/digest-ulog-acctd-0.4.2 72
+MD5 cf07ec3e1da17f58e2a752d589393f03 files/ulog-acctd-0.4.2-gcc2.patch 546
diff --git a/app-admin/ulog-acctd/files/digest-ulog-acctd-0.4.2 b/app-admin/ulog-acctd/files/digest-ulog-acctd-0.4.2
new file mode 100644
index 000000000000..3c1830cacd0b
--- /dev/null
+++ b/app-admin/ulog-acctd/files/digest-ulog-acctd-0.4.2
@@ -0,0 +1 @@
+MD5 a2149f03042436c4d5ded50a382df963 ulog-acctd_0.4.2.orig.tar.gz 33266
diff --git a/app-admin/ulog-acctd/files/ulog-acctd-0.4.2-gcc2.patch b/app-admin/ulog-acctd/files/ulog-acctd-0.4.2-gcc2.patch
new file mode 100644
index 000000000000..eb99c6a4a7b0
--- /dev/null
+++ b/app-admin/ulog-acctd/files/ulog-acctd-0.4.2-gcc2.patch
@@ -0,0 +1,20 @@
+diff -ru ulog-acctd-0.4.1.orig/src/process.c ulog-acctd-0.4.1.new/src/process.c
+--- ulog-acctd-0.4.1.orig/src/process.c 2003-08-26 15:30:07.000000000 +0200
++++ ulog-acctd-0.4.1.new/src/process.c 2003-11-08 16:12:40.000000000 +0100
+@@ -627,6 +627,7 @@
+
+ void wait_children(void)
+ {
++ struct ipv4data *p;
+ int status;
+ pid_t pid;
+
+@@ -672,7 +673,6 @@
+ pid);
+ }
+ /* Free memory that was used by output list items */
+- struct ipv4data *p;
+ p = output_list;
+ while(p)
+ {
+Only in ulog-acctd-0.4.1.new/src: process.c~
diff --git a/app-admin/ulog-acctd/metadata.xml b/app-admin/ulog-acctd/metadata.xml
new file mode 100644
index 000000000000..4960ee8e05c2
--- /dev/null
+++ b/app-admin/ulog-acctd/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>liquidx@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/app-admin/ulog-acctd/ulog-acctd-0.4.2.ebuild b/app-admin/ulog-acctd/ulog-acctd-0.4.2.ebuild
new file mode 100644
index 000000000000..ac20a9c2ed35
--- /dev/null
+++ b/app-admin/ulog-acctd/ulog-acctd-0.4.2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/ulog-acctd/ulog-acctd-0.4.2.ebuild,v 1.1 2004/07/24 18:16:51 liquidx Exp $
+
+inherit eutils
+
+DESCRIPTION="ULOG-based accounting daemon with flexible log-format"
+SRC_URI="http://alioth.debian.org/download.php/604/${PN}_${PV}.orig.tar.gz"
+HOMEPAGE="http://savannah.nongnu.org/projects/ulog-acctd/ http://alioth.debian.org/projects/pkg-ulog-acctd"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="net-firewall/iptables"
+
+S=${WORKDIR}/${PN}-${PV}.orig
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/src
+ epatch ${FILESDIR}/${P}-gcc2.patch
+}
+
+src_compile() {
+ cd ${S}/src || die "cannot change to src-directory"
+ make || die "compile of pgm failed"
+ cd ${S}/doc || die "cannot change to doc-directory"
+ make || die "compile of docu failed"
+}
+
+src_install() {
+ dosbin src/ulog-acctd
+
+ insinto /etc/
+ doins src/ulog-acctd.conf
+
+ doman doc/ulog-acctd.8
+ doinfo doc/ulog-acctd.info
+
+ ## install contrib-dir in /usr/share/doc/${P}:
+ docinto contrib/pg_load
+ dodoc contrib/pg_load/*
+
+ docinto contrib/ulog-acctd2mrtg
+ dodoc contrib/ulog-acctd2mrtg/*
+
+ keepdir /var/log/ulog-acctd
+}
+
+pkg_postinst() {
+ einfo "ulog-acctd get's it's packages via ULOG-targets in your iptables-rules."
+}