1 |
pva 11/10/02 11:44:35 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cacti-0.8.7h.ebuild |
5 |
Log: |
6 |
Version bump, bug #384627 thank Martin Samek for report. |
7 |
|
8 |
(Portage version: 2.1.10.20/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.180 net-analyzer/cacti/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/cacti/ChangeLog?rev=1.180&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/cacti/ChangeLog?rev=1.180&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/cacti/ChangeLog?r1=1.179&r2=1.180 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/cacti/ChangeLog,v |
20 |
retrieving revision 1.179 |
21 |
retrieving revision 1.180 |
22 |
diff -u -r1.179 -r1.180 |
23 |
--- ChangeLog 1 Apr 2011 16:06:30 -0000 1.179 |
24 |
+++ ChangeLog 2 Oct 2011 11:44:35 -0000 1.180 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for net-analyzer/cacti |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti/ChangeLog,v 1.179 2011/04/01 16:06:30 pva Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti/ChangeLog,v 1.180 2011/10/02 11:44:35 pva Exp $ |
30 |
+ |
31 |
+*cacti-0.8.7h (02 Oct 2011) |
32 |
+ |
33 |
+ 02 Oct 2011; Peter Volkov <pva@g.o> +cacti-0.8.7h.ebuild: |
34 |
+ Version bump, bug #384627 thank Martin Samek for report. |
35 |
|
36 |
01 Apr 2011; Peter Volkov <pva@g.o> -cacti-0.8.7e-r2.ebuild, |
37 |
-cacti-0.8.7e-r3.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-analyzer/cacti/cacti-0.8.7h.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/cacti/cacti-0.8.7h.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/cacti/cacti-0.8.7h.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: cacti-0.8.7h.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2011 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti/cacti-0.8.7h.ebuild,v 1.1 2011/10/02 11:44:35 pva Exp $ |
51 |
|
52 |
EAPI="2" |
53 |
|
54 |
inherit eutils webapp depend.php |
55 |
|
56 |
# Support for _p* in version. |
57 |
MY_P=${P/_p*/} |
58 |
UPSTREAM_PATCHES="" |
59 |
|
60 |
DESCRIPTION="Cacti is a complete frontend to rrdtool" |
61 |
HOMEPAGE="http://www.cacti.net/" |
62 |
SRC_URI="http://www.cacti.net/downloads/${MY_P}.tar.gz" |
63 |
|
64 |
# patches |
65 |
if [[ -n ${UPSTREAM_PATCHES} ]]; then |
66 |
for i in ${UPSTREAM_PATCHES}; do |
67 |
SRC_URI="${SRC_URI} http://www.cacti.net/downloads/patches/${PV/_p*}/${i}.patch" |
68 |
done |
69 |
fi |
70 |
|
71 |
LICENSE="GPL-2" |
72 |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
73 |
IUSE="snmp doc" |
74 |
|
75 |
DEPEND="" |
76 |
|
77 |
need_httpd |
78 |
|
79 |
RDEPEND="snmp? ( >=net-analyzer/net-snmp-5.1.2 ) |
80 |
net-analyzer/rrdtool |
81 |
dev-php/adodb |
82 |
virtual/mysql |
83 |
virtual/cron |
84 |
dev-lang/php[cli,mysql,xml,session,sockets] |
85 |
|| ( <dev-lang/php-5.3[pcre] >=dev-lang/php-5.3 )" |
86 |
|
87 |
src_unpack() { |
88 |
unpack ${MY_P}.tar.gz |
89 |
if [[ -n ${UPSTREAM_PATCHES} ]]; then |
90 |
[ ! ${MY_P} == ${P} ] && mv ${MY_P} ${P} |
91 |
fi |
92 |
} |
93 |
|
94 |
src_prepare() { |
95 |
if [[ -n ${UPSTREAM_PATCHES} ]]; then |
96 |
for i in ${UPSTREAM_PATCHES} ; do |
97 |
EPATCH_OPTS="-p1 -d ${S} -N" epatch "${DISTDIR}"/${i}.patch |
98 |
done ; |
99 |
fi |
100 |
|
101 |
sed -i -e \ |
102 |
's:$config\["library_path"\] . "/adodb/adodb.inc.php":"adodb/adodb.inc.php":' \ |
103 |
"${S}"/include/global.php || die |
104 |
|
105 |
rm -rf lib/adodb || die # don't use bundled adodb |
106 |
} |
107 |
|
108 |
src_compile() { :; } |
109 |
|
110 |
src_install() { |
111 |
webapp_src_preinst |
112 |
|
113 |
rm LICENSE README || die |
114 |
dodoc docs/{CHANGELOG,CONTRIB,README,txt/manual.txt} || die |
115 |
use doc && dohtml -r docs/html/ |
116 |
rm -rf docs |
117 |
|
118 |
edos2unix `find -type f -name '*.php'` |
119 |
|
120 |
dodir ${MY_HTDOCSDIR} |
121 |
cp -r . "${D}"${MY_HTDOCSDIR} |
122 |
|
123 |
webapp_serverowned ${MY_HTDOCSDIR}/rra |
124 |
webapp_serverowned ${MY_HTDOCSDIR}/log/cacti.log |
125 |
webapp_configfile ${MY_HTDOCSDIR}/include/config.php |
126 |
webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt |
127 |
|
128 |
webapp_src_install |
129 |
} |