Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 304631 Details for
Bug 332369
icinga-web-1.0.2.ebuild (New Ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
icinga-web-1.6.2.ebuild
icinga-web-1.6.2.ebuild (text/plain), 3.57 KB, created by
Thomas Oettli
on 2012-03-08 14:32:52 UTC
(
hide
)
Description:
icinga-web-1.6.2.ebuild
Filename:
MIME Type:
Creator:
Thomas Oettli
Created:
2012-03-08 14:32:52 UTC
Size:
3.57 KB
patch
obsolete
># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI="2" > >inherit depend.apache eutils > >DESCRIPTION="Icinga Web - new Web Interface" >HOMEPAGE="http://www.icinga.org/" >SRC_URI="mirror://sourceforge/icinga/${P}.tar.gz" >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86 ~amd64" >IUSE="pnp" >DEPEND="dev-php/phing > dev-lang/php[apache2,cli,mysql,pdo,json] > net-analyzer/icinga[apache2,idoutils,mysql]" >RDEPEND="${DEPEND}" > >need_apache2 > >pkg_setup() { > depend.apache_pkg_setup >} > >src_configure() { > local myconf > > myconf="--prefix=/usr/share/icinga/icinga-web > --bindir=/usr/sbin > --sbindir=/usr/$(get_libdir)/icinga/cgi-bin > --datarootdir=/usr/share/icinga/htdocs > --localstatedir=/var/lib/icinga > --sysconfdir=/etc/icinga > --libexecdir=/usr/$(get_libdir)/icinga/plugins > --with-bin-user=icinga > --with-bin-group=icinga > --with-api-cmd-file=/var/lib/icinga/rw/icinga.cmd > --with-conf-dir=/etc/icinga-web > --with-web-apache-path=${APACHE_MODULES_CONFDIR} > --with-log-dir=/var/log/icinga-web" > > econf ${myconf} >} > >src_install() { > emake -j1 DESTDIR="${D}" install || die "make failed" > > emake -j1 DESTDIR="${D}" install-javascript || die "make failed" > > dodir ${APACHE_MODULES_CONFDIR} > emake -j1 DESTDIR="${D}" install-apache-config || die "make failed" > mv ${D}/${APACHE_MODULES_CONFDIR}/icinga-web.conf ${D}/${APACHE_MODULES_CONFDIR}/99_icinga-web.conf > > insinto /usr/share/icinga/icinga-web/contrib > doins -r etc/schema/* || die > > sed -i 's/%%USER%%/apache/g' etc/scheduler/icingaCron > sed -i 's/%%PATH%%/\/usr\/share\/icinga\/icinga-web/g' etc/scheduler/icingaCron > > insinto /etc/cron.d/ > doins etc/scheduler/icingaCron || die > > diropts -o apache -g apache > dodir /var/log/icinga-web > > fowners apache:apache /usr/share/icinga/icinga-web/lib/icingaScheduler/res/storage.dat > > if use pnp ; then > insinto /usr/share/icinga/icinga-web/app/modules/Cronks/data/xml/extensions/ > doins contrib/PNP_Integration/templateExtensions/pnp-host-extension.xml > doins contrib/PNP_Integration/templateExtensions/pnp-service-extension.xml > fi >} > >pkg_postinst() { > einfo > einfo "If this is a new install, you must create a new database for it, e.g. icinga_web." > einfo "You can find the database scripts in /usr/share/icinga/icinga-web/contrib/." > einfo > einfo "Additionally, you need to setup a database user." > einfo "The user must have default data privileges like SELECT, UPDATE, INSERT, DELETE." > einfo > einfo "Example for a MySQL database:" > einfo " echo \"CREATE DATABASE icinga_web;\" | mysql" > einfo " echo \"GRANT SELECT,UPDATE,INSERT,DELETE ON icinga_web.* TO 'icinga_web'@'localhost' IDENTIFIED BY 'xxxxxx';\" | mysql" > einfo " echo \"FLUSH PRIVILEGES;\" | mysql" > einfo > einfo " cat /usr/share/icinga/icinga-web/contrib/mysql.sql | mysql icinga_web" > einfo > > ewarn > ewarn "If you're upgrading from a previous release, you must upgrade your database schema." > ewarn "You can find upgrade scripts in /usr/share/icinga/icinga-web/contrib/updates/." > ewarn > ewarn "IMPORTANT: If you are upgrading from an older version and there are other versions in between," > ewarn " be advised that you need to apply those upgrade files with incremental steps!" > ewarn > ewarn "Example to upgrade a MySQL database:" > ewarn " cat /usr/share/icinga/icinga-web/contrib/updates/mysql_<oldversion>_to_<newversion>.sql | mysql icinga_web" > ewarn > ewarn "Don't forget to clear the config cache." > ewarn " /usr/share/icinga/icinga-web/bin/clearcache.sh" > ewarn > > einfo > einfo "Please note that the magic_quotes_gpc setting must be disabled (in both apache and cli php.ini)." > einfo >} >
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 332369
:
242497
|
242499
|
242501
|
250761
|
250763
|
250765
|
250767
|
251939
|
252903
|
262761
|
268605
|
272839
|
284483
|
285771
|
285773
|
287007
|
299239
|
303069
| 304631 |
316951
|
316953