Gentoo Archives: gentoo-commits

From: "Slawek Lis (slis)" <slis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/ntopng: ntopng-2.0.ebuild ChangeLog
Date: Fri, 31 Jul 2015 05:17:08
Message-Id: 20150731051705.80B62113@oystercatcher.gentoo.org
1 slis 15/07/31 05:17:05
2
3 Modified: ChangeLog
4 Added: ntopng-2.0.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x55265D89)
9
10 Revision Changes Path
11 1.4 net-analyzer/ntopng/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/ntopng/ChangeLog?rev=1.4&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/ntopng/ChangeLog?rev=1.4&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/ntopng/ChangeLog?r1=1.3&r2=1.4
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/ntopng/ChangeLog,v
20 retrieving revision 1.3
21 retrieving revision 1.4
22 diff -u -r1.3 -r1.4
23 --- ChangeLog 16 Apr 2015 04:57:29 -0000 1.3
24 +++ ChangeLog 31 Jul 2015 05:17:05 -0000 1.4
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-analyzer/ntopng
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ntopng/ChangeLog,v 1.3 2015/04/16 04:57:29 slis Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ntopng/ChangeLog,v 1.4 2015/07/31 05:17:05 slis Exp $
30 +
31 +*ntopng-2.0 (31 Jul 2015)
32 +
33 + 31 Jul 2015; <slis@g.o> +ntopng-2.0.ebuild:
34 + version bump
35
36 16 Apr 2015; SÅ‚awek Lis <slis@g.o> ntopng-1.2.1.ebuild:
37 Fixed dependencies (#539970)
38
39
40
41 1.1 net-analyzer/ntopng/ntopng-2.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/ntopng/ntopng-2.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/ntopng/ntopng-2.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: ntopng-2.0.ebuild
47 ===================================================================
48 # Copyright 1999-2015 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/ntopng/ntopng-2.0.ebuild,v 1.1 2015/07/31 05:17:05 slis Exp $
51
52 EAPI=5
53 inherit autotools user
54
55 DESCRIPTION="Network traffic analyzer with web interface"
56 HOMEPAGE="http://www.ntop.org/"
57 SRC_URI="mirror://sourceforge/ntop/${PN}/${P}.tar.gz"
58
59 LICENSE="GPL-3"
60 SLOT="0"
61 KEYWORDS="~amd64 ~x86"
62 IUSE=""
63
64 DEPEND="dev-db/sqlite:3
65 dev-libs/geoip
66 dev-libs/glib:2
67 net-libs/libpcap
68 dev-libs/libxml2"
69 RDEPEND="${DEPEND}
70 dev-db/redis"
71
72 src_prepare() {
73 cat "${S}/configure.seed" | sed "s/@VERSION@/${PV}/g" | sed "s/@SHORT_VERSION@/${PV}/g" > "${S}/configure.ac"
74 eautoreconf
75 }
76
77 src_install() {
78 SHARE_NTOPNG_DIR="${EPREFIX}/usr/share/${PN}"
79 dodir ${SHARE_NTOPNG_DIR}
80 insinto ${SHARE_NTOPNG_DIR}
81 doins -r httpdocs
82 doins -r scripts
83
84 exeinto /usr/bin
85 doexe ${PN}
86 doman ${PN}.8
87
88 newinitd "${FILESDIR}/ntopng.init.d" ntopng
89 newconfd "${FILESDIR}/ntopng.conf.d" ntopng
90
91 dodir "/var/lib/ntopng"
92 fowners ntopng "${EPREFIX}/var/lib/ntopng"
93 }
94
95 pkg_setup() {
96 enewuser ntopng
97 }
98
99 pkg_postinst() {
100 elog "ntopng default creadential are user='admin' password='admin'"
101 }