summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-analyzer/pmacct/ChangeLog8
-rw-r--r--net-analyzer/pmacct/Manifest22
-rw-r--r--net-analyzer/pmacct/files/digest-pmacct-0.8.1_p11
-rw-r--r--net-analyzer/pmacct/pmacct-0.8.1.ebuild33
-rw-r--r--net-analyzer/pmacct/pmacct-0.8.1_p1.ebuild54
5 files changed, 89 insertions, 29 deletions
diff --git a/net-analyzer/pmacct/ChangeLog b/net-analyzer/pmacct/ChangeLog
index 7e40311db1b2..9786b54b05f5 100644
--- a/net-analyzer/pmacct/ChangeLog
+++ b/net-analyzer/pmacct/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/pmacct
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/ChangeLog,v 1.8 2005/01/29 05:12:51 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/ChangeLog,v 1.9 2005/02/23 10:41:59 ka0ttic Exp $
+
+*pmacct-0.8.1_p1 (23 Feb 2005)
+
+ 23 Feb 2005; Aaron Walker <ka0ttic@gentoo.org> pmacct-0.8.1.ebuild,
+ +pmacct-0.8.1_p1.ebuild:
+ Version bump for bug 82996; marked 0.8.1 stable on x86.
29 Jan 2005; Daniel Black <dragonheart@gentoo.org> pmacct-0.7.1.ebuild,
pmacct-0.7.9.ebuild, pmacct-0.8.0.ebuild, pmacct-0.8.1.ebuild:
diff --git a/net-analyzer/pmacct/Manifest b/net-analyzer/pmacct/Manifest
index 9b6476e35f8d..bffed40b33c5 100644
--- a/net-analyzer/pmacct/Manifest
+++ b/net-analyzer/pmacct/Manifest
@@ -1,22 +1,14 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 e29e5c39ac414b8e7cb7738797ca8b36 ChangeLog 1514
-MD5 808a9a788ae7955af0a3c442cafee866 metadata.xml 243
-MD5 bea9c5c5833724bd972905d4372d4a0b pmacct-0.8.1.ebuild 1357
-MD5 a775e9e953dbe618bb7671e7cab47fc9 pmacct-0.7.1.ebuild 1306
MD5 4d9652ba3721cc693dee663c9766b9f8 pmacct-0.7.9.ebuild 1302
+MD5 a775e9e953dbe618bb7671e7cab47fc9 pmacct-0.7.1.ebuild 1306
+MD5 182078bfb5b9cab72b36d9e00710c681 pmacct-0.8.1_p1.ebuild 1500
+MD5 f6e6900bf524b3d83bf58d2cf83b7df7 pmacct-0.8.1.ebuild 1459
+MD5 7822acab8da5c7e21c5f3050560b646c ChangeLog 1702
+MD5 808a9a788ae7955af0a3c442cafee866 metadata.xml 243
MD5 234c31c3b2c88ae198ab321c9118c872 pmacct-0.8.0.ebuild 1379
-MD5 5dce1dbfd498a1d586456ba32323c298 files/digest-pmacct-0.8.1 64
MD5 50333f1c79a80df31266ce7235cbf36c files/pmacctd-conf.d 313
MD5 2afa8e97312b03f3e119c0befed9e7d3 files/pmacctd-init.d 869
+MD5 ce503fe95e4bfa2d9133e0ba2dffff14 files/digest-pmacct-0.8.1_p1 66
MD5 44c1834789fa301914395bc47ea184bd files/digest-pmacct-0.7.1 64
MD5 bd7b33db9dbc0b2f0d3e6d300f56fb4d files/digest-pmacct-0.7.9 64
MD5 0a03e3d50b36a482ec7f849f34f9ea5d files/digest-pmacct-0.8.0 64
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.0 (GNU/Linux)
-
-iD8DBQFB+xtbmdTrptrqvGERApVVAJ9x2PcO4OyQAMm8v14p8I/gXP26jACghUJK
-su3Y5Q9T09QUkp/25LKmxCM=
-=WBIl
------END PGP SIGNATURE-----
+MD5 5dce1dbfd498a1d586456ba32323c298 files/digest-pmacct-0.8.1 64
diff --git a/net-analyzer/pmacct/files/digest-pmacct-0.8.1_p1 b/net-analyzer/pmacct/files/digest-pmacct-0.8.1_p1
new file mode 100644
index 000000000000..9b7bb41ac966
--- /dev/null
+++ b/net-analyzer/pmacct/files/digest-pmacct-0.8.1_p1
@@ -0,0 +1 @@
+MD5 885028e26eefc3dc2bae40395659701a pmacct-0.8.1p1.tar.gz 222371
diff --git a/net-analyzer/pmacct/pmacct-0.8.1.ebuild b/net-analyzer/pmacct/pmacct-0.8.1.ebuild
index bd971c04f34b..146a80eff31f 100644
--- a/net-analyzer/pmacct/pmacct-0.8.1.ebuild
+++ b/net-analyzer/pmacct/pmacct-0.8.1.ebuild
@@ -1,33 +1,40 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/pmacct-0.8.1.ebuild,v 1.2 2005/01/29 05:12:51 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/pmacct-0.8.1.ebuild,v 1.3 2005/02/23 10:41:59 ka0ttic Exp $
DESCRIPTION="A network tool to gather ip traffic informations"
HOMEPAGE="http://www.ba.cnr.it/~paolo/pmacct/"
SRC_URI="http://www.ba.cnr.it/~paolo/pmacct/${P}.tar.gz"
-SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="~x86 ~ppc"
+SLOT="0"
+KEYWORDS="x86 ~ppc"
IUSE="ipv6 mmap mysql postgres"
RDEPEND="virtual/libpcap
mysql? ( dev-db/mysql )
postgres? ( dev-db/postgresql )"
+DEPEND="${RDEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i "s|\(CFLAGS=\).*$|\1\"${CFLAGS}\"|g" configure || die "sed failed"
+}
src_compile() {
- sed -i -e 's/CFLAGS="-O2"/CFLAGS=""/g' configure
- econf `use_enable mysql` \
- `use_enable postgres pgsql` \
- `use_enable mmap` \
- `use_enable ipv6` \
+ econf \
+ $(use_enable mysql) \
+ $(use_enable postgres pgsql) \
+ $(use_enable mmap) \
+ $(use_enable ipv6) \
|| die "econf failed"
emake || die "emake failed"
}
src_install() {
- make install DESTDIR="${D}" || die "make install failed"
+ make DESTDIR="${D}" install || die "make install failed"
dodoc README EXAMPLES KNOWN-BUGS CONFIG-KEYS FAQS ChangeLog docs/SIGNALS \
docs/PLUGINS docs/INTERNALS TODO TOOLS || die "dodoc failed"
@@ -36,10 +43,10 @@ src_install() {
dodoc ${dirname}/* || die "dodoc ${dirname} failed"
done
- newinitd ${FILESDIR}/pmacctd-init.d pmacctd || die "newexe failed"
- newconfd ${FILESDIR}/pmacctd-conf.d pmacctd || die "newins failed"
+ newinitd ${FILESDIR}/pmacctd-init.d pmacctd || die "newinitd failed"
+ newconfd ${FILESDIR}/pmacctd-conf.d pmacctd || die "newconfd failed"
insinto /etc
- newins ${S}/examples/pmacctd-imt.conf.example pmacctd.conf.example || "newins failed"
+ newins ${S}/examples/pmacctd-imt.conf.example pmacctd.conf.example || \
+ die "newins failed"
}
-
diff --git a/net-analyzer/pmacct/pmacct-0.8.1_p1.ebuild b/net-analyzer/pmacct/pmacct-0.8.1_p1.ebuild
new file mode 100644
index 000000000000..73df5f67d5ff
--- /dev/null
+++ b/net-analyzer/pmacct/pmacct-0.8.1_p1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/pmacct-0.8.1_p1.ebuild,v 1.1 2005/02/23 10:41:59 ka0ttic Exp $
+
+MY_P="${P%_*}"
+S="${WORKDIR}/${MY_P}"
+DESCRIPTION="A network tool to gather ip traffic informations"
+HOMEPAGE="http://www.ba.cnr.it/~paolo/pmacct/"
+SRC_URI="http://www.ba.cnr.it/~paolo/pmacct/${P/_}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE="ipv6 mmap mysql postgres"
+
+RDEPEND="virtual/libpcap
+ mysql? ( dev-db/mysql )
+ postgres? ( dev-db/postgresql )"
+DEPEND="${RDEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i "s|\(CFLAGS=\).*$|\1\"${CFLAGS}\"|g" configure || die "sed failed"
+}
+
+src_compile() {
+ econf \
+ $(use_enable mysql) \
+ $(use_enable postgres pgsql) \
+ $(use_enable mmap) \
+ $(use_enable ipv6) \
+ || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc README EXAMPLES KNOWN-BUGS CONFIG-KEYS FAQS ChangeLog docs/SIGNALS \
+ docs/PLUGINS docs/INTERNALS TODO TOOLS || die "dodoc failed"
+
+ for dirname in examples sql; do
+ docinto ${dirname}
+ dodoc ${dirname}/* || die "dodoc ${dirname} failed"
+ done
+
+ newinitd ${FILESDIR}/pmacctd-init.d pmacctd || die "newinitd failed"
+ newconfd ${FILESDIR}/pmacctd-conf.d pmacctd || die "newconfd failed"
+
+ insinto /etc
+ newins ${S}/examples/pmacctd-imt.conf.example pmacctd.conf.example || \
+ die "newins failed"
+}