Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 257170 Details for
Bug 346741
net-analyzer/cacti-0.8.7g with plugin-achitecture 2.9
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Added the missing pa.sql to add neccessary tables to cacti-db in first-time install of plugin-architecture
cacti-0.8.7g-r1.ebuild (text/plain), 2.22 KB, created by
Jens Ott
on 2010-12-14 20:04:32 UTC
(
hide
)
Description:
Added the missing pa.sql to add neccessary tables to cacti-db in first-time install of plugin-architecture
Filename:
MIME Type:
Creator:
Jens Ott
Created:
2010-12-14 20:04:32 UTC
Size:
2.22 KB
patch
obsolete
># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti/cacti-0.8.7g-r1.ebuild,v 1.5 2010/11/25 11:53:04 armin76 Exp $ > >EAPI="2" > >inherit eutils webapp depend.php > ># Support for _p* in version. >MY_P=${P/_p*/} >HAS_PATCHES=1 > >DESCRIPTION="Cacti is a complete frontend to rrdtool" >HOMEPAGE="http://www.cacti.net/" >SRC_URI="http://www.cacti.net/downloads/${MY_P}.tar.gz" > ># patches >if [ "${HAS_PATCHES}" == "1" ] ; then > UPSTREAM_PATCHES="data_source_deactivate > graph_list_view > html_output > ldap_group_authenication > script_server_command_line_parse > ping > poller_interval" > for i in ${UPSTREAM_PATCHES} ; do > SRC_URI="${SRC_URI} http://www.cacti.net/downloads/patches/${PV/_p*}/${i}.patch" > done >fi > >LICENSE="GPL-2" >KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" >IUSE="snmp doc plugins" > >DEPEND="" > >need_httpd_cgi > >RDEPEND="snmp? ( >=net-analyzer/net-snmp-5.1.2 ) > net-analyzer/rrdtool > dev-php/adodb > virtual/mysql > virtual/cron > dev-lang/php[cli,mysql,xml,session,sockets] > || ( <dev-lang/php-5.3[pcre] >=dev-lang/php-5.3 )" > >src_unpack() { > unpack ${MY_P}.tar.gz > if [ "${HAS_PATCHES}" == "1" ] ; then > [ ! ${MY_P} == ${P} ] && mv ${MY_P} ${P} > fi >} > >src_prepare() { > if [ "${HAS_PATCHES}" == "1" ] ; then > # patches > for i in ${UPSTREAM_PATCHES} ; do > EPATCH_OPTS="-p1 -d ${S} -N" epatch "${DISTDIR}"/${i}.patch > done ; > fi > > sed -i -e \ > 's:$config\["library_path"\] . "/adodb/adodb.inc.php":"adodb/adodb.inc.php":' \ > "${S}"/include/global.php > > rm -rf lib/adodb # don't use bundled adodb > if use plugins; then > EPATCH_OPTS="-p1 -N" epatch "${FILESDIR}/cacti-plugin-0.8.7g-PA-v2.9.diff" > fi > >} > >src_compile() { :; } > >src_install() { > webapp_src_preinst > > rm LICENSE README > dodoc docs/{CHANGELOG,CONTRIB,README,txt/manual.txt} || die > use doc && dohtml -r docs/html/ > rm -rf docs > > edos2unix `find -type f -name '*.php'` > > dodir ${MY_HTDOCSDIR} > cp -r . "${D}"${MY_HTDOCSDIR} > cp "${FILESDIR}"/pa.sql ${MY_HTDOCSDIR} > > webapp_serverowned ${MY_HTDOCSDIR}/rra > webapp_serverowned ${MY_HTDOCSDIR}/log/cacti.log > webapp_configfile ${MY_HTDOCSDIR}/include/config.php > webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt > > webapp_src_install >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 346741
:
255393
|
255395
|
257166
|
257168
| 257170 |
257172
|
288795
|
288803
|
288805
|
290547
|
290549
|
290551
|
290553
|
291811
|
291813
|
291815
|
291817
|
295689
|
295715
|
295717
|
295719
|
295721