summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2014-05-04 14:10:52 +0000
committerJeroen Roovers <jer@gentoo.org>2014-05-04 14:10:52 +0000
commit185c9560d4b7840ad45ed74812df133591cef9b6 (patch)
treee50be9994b8812912685572fd80d21a7bc8605b1 /net-analyzer
parentversion bump fix #508224 thx to clabbe.montjoie and Thomas D. (diff)
downloadhistorical-185c9560d4b7840ad45ed74812df133591cef9b6.tar.gz
historical-185c9560d4b7840ad45ed74812df133591cef9b6.tar.bz2
historical-185c9560d4b7840ad45ed74812df133591cef9b6.zip
Version bump.
Package-Manager: portage-2.2.10/cvs/Linux x86_64 Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/darkstat/ChangeLog7
-rw-r--r--net-analyzer/darkstat/Manifest22
-rw-r--r--net-analyzer/darkstat/darkstat-3.0.718.ebuild61
3 files changed, 74 insertions, 16 deletions
diff --git a/net-analyzer/darkstat/ChangeLog b/net-analyzer/darkstat/ChangeLog
index 292af3f69728..3dffc2610b09 100644
--- a/net-analyzer/darkstat/ChangeLog
+++ b/net-analyzer/darkstat/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/darkstat
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/darkstat/ChangeLog,v 1.58 2014/01/20 15:53:10 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/darkstat/ChangeLog,v 1.59 2014/05/04 14:10:50 jer Exp $
+
+*darkstat-3.0.718 (04 May 2014)
+
+ 04 May 2014; Jeroen Roovers <jer@gentoo.org> +darkstat-3.0.718.ebuild:
+ Version bump.
20 Jan 2014; Agostino Sarubbo <ago@gentoo.org> darkstat-3.0.717.ebuild:
Stable for ppc, wrt bug #495830
diff --git a/net-analyzer/darkstat/Manifest b/net-analyzer/darkstat/Manifest
index c0200d1e3a8c..db59f4837c98 100644
--- a/net-analyzer/darkstat/Manifest
+++ b/net-analyzer/darkstat/Manifest
@@ -3,26 +3,18 @@ Hash: SHA256
AUX darkstat-confd.new 906 SHA256 428e5570b02cd3515949a65bee4d92b22e492435e7833b108fd67aab218eaeed SHA512 7cde9c8637ba34688f6da846017ace8feb832b90264a07d5a9f232b8edd0006aec5cee1c609f3a3489a7942fe0ea5666070ea9827a0818bb15c705b865035377 WHIRLPOOL 1b2030bceb88ea6ed6c7e37fe76bd95b4e7cac71f6b5447b25d914f09607c969e65a928a2b9e0f9898aa60755489a2619cd61bb9e8d6e88e7462a627fcb5a050
AUX darkstat-init.new 1585 SHA256 f77a63243a170ade06893340e1499c984d971564a80de8903db382efb4b29b98 SHA512 5842da401ecd48e3d03c219e933a92666581df26c2fe2a7bcbae3bcc7dd342594d2eb411f2f0ee2fec28c0ae46c38fe524c4f9fda9e367bfa9f9067dbfaa2e0b WHIRLPOOL c8141fb8978a248596d7006db7850276dcae2e316c4a3df1ff901249b1daff2f8e68c826196ae83b66b3c1bdcbb797633c55189aebcc1907e0ef1803d41671c8
-DIST darkstat-3.0.715.tar.bz2 110881 SHA256 4926944ee1baee032d0d20a5425b13b471625aa8a05177011f3da3c3df833439
+DIST darkstat-3.0.715.tar.bz2 110881 SHA256 4926944ee1baee032d0d20a5425b13b471625aa8a05177011f3da3c3df833439 SHA512 62843cba6976a79a9dc87ebbfeaffc0589f9157b329ccf54e110b8e135791fea533d3fc73ebb324796fa5626ab16ac55d36099e5223b21ebeede5d0317b900f8 WHIRLPOOL 2cb467cfb4c03e89b9af1e1a11884e250e286db32fe178a073040cedc025f0df19de0ecf9a119e3bf74147c4c97cbcb33c6292e8f55f1fde207cdd1c3165e377
DIST darkstat-3.0.717.tar.bz2 112436 SHA256 9933b67a0aefec5ed3e1c7db4ee33a3c52a1faef219b5c862e4b7b4bb671d8ad SHA512 d3f04b5b7977560f1c62d91cbcfd994f4c8737929d951f659dc6c35b109aef03310c98abd3e02fccc397861fb7847a6542fe4313f2d10909a80cd9b041d3c545 WHIRLPOOL 0a8d34e621fb8c857975fbd3fb5273bace129b0016d56b3fe1aeb94e0f1b9d35662fc05fefa96fbb5529736ff55dfc1debbcf57a95ede89aecf03f1e4259bd00
+DIST darkstat-3.0.718.tar.bz2 116044 SHA256 682f3e53f4e89ea6ad08236b4225a5e0859428299765d8d995374cd7fa22adff SHA512 73ed670a9c684b2f0b087da3f238c2828407c82201d1bff945a3d711bbaa231b9d87ddc9e21aa855abcd7d63c27f8f529f5a2c6fb48f52a3f0b6e88c49d33969 WHIRLPOOL 9e91c4508dc43ea5c59b10c51b1b345a4bcf31befa532a94ba435b10f8b63a2fd3e2e8775b67a40e48dcf0e91f71c7ccc191a78d337990990761671f8aa4377f
EBUILD darkstat-3.0.715.ebuild 1737 SHA256 a4429f4415d5e80d7b950904723076ac996d7bd3c674f0720147fbb94d1653e3 SHA512 35c03c482226725c342e33a89889a6688bd3a4f6c3e63b3cc7433469c23fd23ef3d5e11a36ec8d81b44307b4325e998e9f86a086bd731a8cccec9521774f530f WHIRLPOOL 7bc5e8fc5bc1df9066fefaecdae2512491efa13860b8e482ba6c25094b8c2a29c1f275b3878567e5df1a510853b18fb1020727db29dde78051f516ce54e32932
EBUILD darkstat-3.0.717.ebuild 1765 SHA256 d223c661a3801a64a1c324447ffec1db3f0e193a651f41e49e9330174f439e2e SHA512 05dd096d7efe95e0f249a6ba4397da1cea448b118b581742ee527b65239a74f4b782636e8eff06c980a0bd6f3cfadd63e485103a5e999db9633293e1a6e1246c WHIRLPOOL 7cf2ce86dc587fd23720862d1ab7eb3771597b91a5fe16e107de6c65ec5e71a9ee15218e533a9e0f3f31ef54194ed237873c5c505b8f7bc858e7e28ec9bc933a
-MISC ChangeLog 8597 SHA256 aee18ed6e979b60b077d9e3a4b6071fdd6ca47ef69131bed65ec80e88a43b498 SHA512 8d11c5d66f11d79dac52d360f944fc14942b830d3545f657e61ffa90bc6ab418e328284136e36ecf4bf0241718529561a206a627e734bce166ead1cfa46a642b WHIRLPOOL 34d51d8661926497c79bd7811f10b08abe5c5b60ff5fc25aedfefa0d25c643f428f69b44a0fd14189de4b91875b83c246d69c5e4dd83edc70dc3b53aae73ce3c
+EBUILD darkstat-3.0.718.ebuild 1734 SHA256 7f73631341ceab778e9dfbf52da833a1a2a062517b8c061d0579f5028d1d4d7b SHA512 ffde62f214ba17dd61bea6f6dd3846837e3a08bd09488ffecd4a537361a6539e3bb0f3b6987f8f3cda505968f2ebaa695a2c3e2a07090eb2d8ca5fa1736a4828 WHIRLPOOL 82a4f78fa937bdf1a70b1b9fabc3cff469166ff9a4d3c6f80b3d227fd5c2acbf023ca31ead251c98c9d8c6cac796bc22b37ba3135b014ea2e08dfa38ce1940c6
+MISC ChangeLog 8720 SHA256 acd05122ef96b1d6c58b4845de159e8e880c2c6777e6f13af4b9f6c701674335 SHA512 a231fa9577a60b25513b3a13c5c90cdf7c5178f26bc205fb8a170c761dfbf38d0aab8141e9ea8773b3f60a65f5004f835b91a62ed58173e6c56020ef7eca1169 WHIRLPOOL 6234a119aaa3e45ad6564d2143ded7abb425838608093be4f22edd01d6e40e2b256add8c20f779d1d0ea3c56a7953a288da3172953d1aff8a71dd708fe158d5b
MISC metadata.xml 416 SHA256 3c66778a80a6824b46fe9980054c9b929a206d3a4a36d51bc90f5587f4e48f1c SHA512 e03218e84fa45fa627d4948acd47adef1b6be6ae0661f74455b663661a17a08da6fe229196273176668e693c65bf4a1d1d54322d31b0b360969993b4241b8a35 WHIRLPOOL a807c234ee64c0bab18cca93e5e9a26635458eec1a9e4a6268d9a9ae85bb170581fd8e69f9af4816fe10d5507525ffecf3366c62e2b287598cd51bfdc4bb48e1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCAAGBQJS3UZnAAoJELp701BxlEWfwFUP/1ixKYbxCGMqL1Z58iBkFRJK
-9uk3x8G0iTaTXUIf1sr+rN0C7fpO/5Kzjl++AQlTl+4CNP8FidGf04aDvy06hqlH
-f/3o8PhgJn6ypiMrqpey/xC16Fi3Z1sRi2g5azs4IOxSfViMNg3YMcVGI7xeND0k
-q3hGVBpwQwL6bnwB0jMgiX0FWgkT+V544SGXu0HjK3Fh9exSPNM2X4oAaihybsTQ
-zraP97MOAvA1VcwSxQCrjyeqfJzEiOHtt0ohpIPP8HZnWvGxgu1G4bMvBi0+GD9F
-sFwYNrklk2EUU4kX/CcWwNWXEmqDdIcbE7tet6amktUou+Vobi3z/k5J2jLk/Zvo
-0NNUoUWpiYF84bLwhVlyMJFXg1RpSC1Yd+SuDwTHsq3uE84GowQ+9bNy8rOOP4FX
-1dQnd3R6sE8Igl+i+K2sg8Kdrs7WCLSAWnDqhkMeGuVddYlz1W2XPQiiaofEEl+O
-AkTIF8A39GVO9rL6EcFcFSlZosZh6dS8LoUhm/TJQJNpj4/TtR07ehUc2Z4xo0xa
-3GGJUgysPkGFzGHfnXHRp++KKvyFcg7r5/mX9vEcF0ATomCPg2ADuj96H0lT8Mdn
-wqfrwCmcb/eVuwD4gfXSWC620wAd4istcyqj8ddMnXgx5P15ES/NOXE5GJoHfPE9
-FGc5S9QVOojItUhvGkIJ
-=5i9+
+iEYEAREIAAYFAlNmSmwACgkQVWmRsqeSphNIwQCfdJPvsUhmUdTqmv4v5kHsYOdD
+Ek4An3aVa6maX7tnn0n+CDqym9ZQP816
+=l1XB
-----END PGP SIGNATURE-----
diff --git a/net-analyzer/darkstat/darkstat-3.0.718.ebuild b/net-analyzer/darkstat/darkstat-3.0.718.ebuild
new file mode 100644
index 000000000000..1638efdf2ebd
--- /dev/null
+++ b/net-analyzer/darkstat/darkstat-3.0.718.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/darkstat/darkstat-3.0.718.ebuild,v 1.1 2014/05/04 14:10:51 jer Exp $
+
+EAPI=5
+
+inherit eutils user
+
+DESCRIPTION="Network traffic analyzer with cute web interface"
+HOMEPAGE="http://unix4lyfe.org/darkstat/"
+SRC_URI="http://unix4lyfe.org/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DEPEND="net-libs/libpcap"
+RDEPEND="${DEPEND}"
+
+DARKSTAT_CHROOT_DIR=${DARKSTAT_CHROOT_DIR:-/var/lib/darkstat}
+
+DOCS=( AUTHORS ChangeLog README NEWS )
+
+src_prepare() {
+ epatch_user
+}
+
+src_configure() {
+ econf --disable-debug --with-privdrop-user=darkstat
+}
+
+src_install() {
+ default
+
+ newinitd "${FILESDIR}"/darkstat-init.new darkstat
+ newconfd "${FILESDIR}"/darkstat-confd.new darkstat
+
+ sed -i -e "s:__CHROOT__:${DARKSTAT_CHROOT_DIR}:g" "${D}"/etc/conf.d/darkstat
+ sed -i -e "s:__CHROOT__:${DARKSTAT_CHROOT_DIR}:g" "${D}"/etc/init.d/darkstat
+
+ keepdir "${DARKSTAT_CHROOT_DIR}"
+ chown darkstat:0 "${D}${DARKSTAT_CHROOT_DIR}"
+}
+
+pkg_preinst() {
+ enewuser darkstat
+}
+
+pkg_postinst() {
+ # Workaround bug #141619
+ DARKSTAT_CHROOT_DIR=`sed -n 's/^#CHROOT=\(.*\)/\1/p' "${ROOT}"etc/conf.d/darkstat`
+ chown darkstat:0 "${ROOT}${DARKSTAT_CHROOT_DIR}"
+
+ elog "To start different darkstat instances which will listen on a different"
+ elog "interfaces create in /etc/init.d directory the 'darkstat.if' symlink to"
+ elog "darkstat script where 'if' is the name of the interface."
+ elog "Also in /etc/conf.d directory copy darkstat to darkstat.if"
+ elog "and edit it to change default values."
+ elog
+ elog "darkstat's default chroot directory is: \"${ROOT}${DARKSTAT_CHROOT_DIR}\""
+}