Add sqlite3 flag for bug #144520
authorCédric Krier <cedk@gentoo.org>
Mon, 15 Jan 2007 22:00:38 +0000 (22:00 +0000)
committerCédric Krier <cedk@gentoo.org>
Mon, 15 Jan 2007 22:00:38 +0000 (22:00 +0000)
Package-Manager: portage-2.1.1-r2

net-analyzer/pmacct/ChangeLog
net-analyzer/pmacct/Manifest
net-analyzer/pmacct/files/digest-pmacct-0.11.2-r1 [new file with mode: 0644]
net-analyzer/pmacct/pmacct-0.11.2-r1.ebuild [new file with mode: 0644]

index b94d9e530bde39220b9c37d8473608131d9317ef..6643328f8cad659630c1372130e1998f10a5ff3f 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for net-analyzer/pmacct
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/ChangeLog,v 1.44 2006/12/02 15:33:25 vanquirius Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/ChangeLog,v 1.45 2007/01/15 22:00:38 cedk Exp $
+
+*pmacct-0.11.2-r1 (15 Jan 2007)
+
+  15 Jan 2007; Cedric Krier <cedk@gentoo.org> +pmacct-0.11.2-r1.ebuild:
+  Add sqlite3 flag for bug #144520
 
 *pmacct-0.11.2 (02 Dec 2006)
 
index 8c78e8c68bcade15a62ee4970dc8301ccb05f9b2..aa24d337c0715623aaae52355869206b5e7155d3 100644 (file)
@@ -13,6 +13,10 @@ EBUILD pmacct-0.10.3.ebuild 1505 RMD160 ca64767b067255d5f4acdd31f0e9380f091c890c
 MD5 d8dbffbfa918da6a5645d46a3c8d1ac4 pmacct-0.10.3.ebuild 1505
 RMD160 ca64767b067255d5f4acdd31f0e9380f091c890c pmacct-0.10.3.ebuild 1505
 SHA256 ba3a7e400257ef53a10b71debe621b152d60df3cf2893788732f429ece0532e2 pmacct-0.10.3.ebuild 1505
+EBUILD pmacct-0.11.2-r1.ebuild 1574 RMD160 6d0f6d8908ecdde68f63348a4d9196b50c307082 SHA1 043b0ee645be5e278adad396db9a5d874d90ced5 SHA256 f6c29ba5dbded5a0367244fa89989fdbf23aab51613b2c84fb4e650e6b39690e
+MD5 c068886bbc3bf50f68752adad0e9001a pmacct-0.11.2-r1.ebuild 1574
+RMD160 6d0f6d8908ecdde68f63348a4d9196b50c307082 pmacct-0.11.2-r1.ebuild 1574
+SHA256 f6c29ba5dbded5a0367244fa89989fdbf23aab51613b2c84fb4e650e6b39690e pmacct-0.11.2-r1.ebuild 1574
 EBUILD pmacct-0.11.2.ebuild 1511 RMD160 8b691650fd9befb1e55b05224c0a83be49b8250d SHA1 da886a5c109fde528e66ce7723171c89b7d9c1ae SHA256 1ef14d0aaecc235c5b21ad23f57b54701fab92be28a9ac039195194787589984
 MD5 8ade986422df26aae738137e205e7e0e pmacct-0.11.2.ebuild 1511
 RMD160 8b691650fd9befb1e55b05224c0a83be49b8250d pmacct-0.11.2.ebuild 1511
@@ -21,10 +25,10 @@ EBUILD pmacct-0.9.5.ebuild 1560 RMD160 2c82046cfd9af4fa03a1475b261a203e046415dd
 MD5 d9ddb3103f7347d411be2eacfc49f9fb pmacct-0.9.5.ebuild 1560
 RMD160 2c82046cfd9af4fa03a1475b261a203e046415dd pmacct-0.9.5.ebuild 1560
 SHA256 e74176e8da1d29a58c76fae9e0182ad24788bdeac401ae4c61d72c3011663ec3 pmacct-0.9.5.ebuild 1560
-MISC ChangeLog 7130 RMD160 a8dd238d180c2b228eee152f4a078706d6a90bf1 SHA1 e6481cf9ce59b2b8cf02d1c7775b9062bd1b4a2b SHA256 f41db1cf462618b2b85e160a64111d98d1fcd9328e130d298bbc5a3065d8a52d
-MD5 8cb0dca24776efea5f38cf050ec842ab ChangeLog 7130
-RMD160 a8dd238d180c2b228eee152f4a078706d6a90bf1 ChangeLog 7130
-SHA256 f41db1cf462618b2b85e160a64111d98d1fcd9328e130d298bbc5a3065d8a52d ChangeLog 7130
+MISC ChangeLog 7265 RMD160 3c25c0a2da20c36603300eaedd9e36436a589d42 SHA1 feb976f6b63788fd61d00216f56b755183de9b4a SHA256 90f2aaabe9e36dcc814499c84ebfbcbdf31d4c16a172c893ad243362461e2c93
+MD5 87c4d4aee20ec27f702905caceae38d5 ChangeLog 7265
+RMD160 3c25c0a2da20c36603300eaedd9e36436a589d42 ChangeLog 7265
+SHA256 90f2aaabe9e36dcc814499c84ebfbcbdf31d4c16a172c893ad243362461e2c93 ChangeLog 7265
 MISC metadata.xml 243 RMD160 0fd9040526fc868cc4340ad66be2d69df7d829d6 SHA1 4c7c900b208f9f6ac207623cd58132d9df589f90 SHA256 49325dc5114ba3e0a5fa5dda3ddd35a605256831212338ae5ea47523f4593bb5
 MD5 808a9a788ae7955af0a3c442cafee866 metadata.xml 243
 RMD160 0fd9040526fc868cc4340ad66be2d69df7d829d6 metadata.xml 243
@@ -35,6 +39,9 @@ SHA256 d921bf6a522d63be0c9962250826f575c33a9eccff4ca00319f72dac67ea0880 files/di
 MD5 fe59d1e1376fa910d102e693d8644f5b files/digest-pmacct-0.11.2 241
 RMD160 dbbca042d39baba79ceba92013505e7d1b69987d files/digest-pmacct-0.11.2 241
 SHA256 9abb042347843a47eab642a7a245c2fb2db0944d7c2cbb9dbb20210792067c28 files/digest-pmacct-0.11.2 241
+MD5 fe59d1e1376fa910d102e693d8644f5b files/digest-pmacct-0.11.2-r1 241
+RMD160 dbbca042d39baba79ceba92013505e7d1b69987d files/digest-pmacct-0.11.2-r1 241
+SHA256 9abb042347843a47eab642a7a245c2fb2db0944d7c2cbb9dbb20210792067c28 files/digest-pmacct-0.11.2-r1 241
 MD5 d39e1fd2b3f38f1c578c4ffc0c95a141 files/digest-pmacct-0.9.5 238
 RMD160 087048223a66bf996a6f6e0020973e945162125b files/digest-pmacct-0.9.5 238
 SHA256 269303d76282bdb7539ab69e63655184c84baf52329ec57dde6becbef1822ab4 files/digest-pmacct-0.9.5 238
diff --git a/net-analyzer/pmacct/files/digest-pmacct-0.11.2-r1 b/net-analyzer/pmacct/files/digest-pmacct-0.11.2-r1
new file mode 100644 (file)
index 0000000..d1b51d2
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 90a16305fce4ebcfdce255cc1b256b1f pmacct-0.11.2.tar.gz 411711
+RMD160 99bead4c09b060854bff72b18ac7150097e78643 pmacct-0.11.2.tar.gz 411711
+SHA256 6d8346944c987a2ec9e6b29cbbc2a886007a2535b9d506051ef6afe96faac625 pmacct-0.11.2.tar.gz 411711
diff --git a/net-analyzer/pmacct/pmacct-0.11.2-r1.ebuild b/net-analyzer/pmacct/pmacct-0.11.2-r1.ebuild
new file mode 100644 (file)
index 0000000..0f44be6
--- /dev/null
@@ -0,0 +1,56 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/pmacct-0.11.2-r1.ebuild,v 1.1 2007/01/15 22:00:38 cedk Exp $
+
+DESCRIPTION="A network tool to gather ip traffic informations"
+HOMEPAGE="http://www.pmacct.net/"
+SRC_URI="http://www.pmacct.net/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE="64bit debug ipv6 mmap mysql postgres sqlite3"
+
+RDEPEND="net-libs/libpcap
+       mysql? ( virtual/mysql )
+       postgres? ( dev-db/postgresql )
+       sqlite3? ( =dev-db/sqlite-3* )"
+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) \
+               $(use_enable debug) \
+               $(use_enable 64bit) \
+               $(use_enable sqlite3) \
+               || 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"
+}