From: Benedikt Boehm Date: Sun, 17 Feb 2008 21:00:56 +0000 (+0000) Subject: merge from webapp overlay X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=f8bb17ba3b74829957a105af7e8c6f7c7b0bb083;p=gentoo.git merge from webapp overlay Package-Manager: portage-2.1.4.1 --- diff --git a/www-apps/bugport/ChangeLog b/www-apps/bugport/ChangeLog index 3129d67e1765..644d4b4739cd 100644 --- a/www-apps/bugport/ChangeLog +++ b/www-apps/bugport/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for www-apps/bugport -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/bugport/ChangeLog,v 1.6 2007/12/25 14:38:22 phreak Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/bugport/ChangeLog,v 1.7 2008/02/17 21:00:56 hollow Exp $ + +*bugport-1.147 (17 Feb 2008) + + 17 Feb 2008; Benedikt Böhm bugport-1.146.ebuild, + +bugport-1.147.ebuild: + merge from webapp overlay + + 05 Feb 2008; Jakub Moc +bugport-1.147.ebuild: + Version bump. Fix dependencies, add mysql USE flag and check for required + PHP features accordingly. Quoting, ebuild cleanup. 25 Dec 2007; Christian Heim metadata.xml: Removing pyrania from metadata.xml as per #26352. Assigning to diff --git a/www-apps/bugport/Manifest b/www-apps/bugport/Manifest index 7a5ef4cdc008..132a040ce78b 100644 --- a/www-apps/bugport/Manifest +++ b/www-apps/bugport/Manifest @@ -1,4 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + DIST bugport_1.146.tar.gz 937751 RMD160 9668a6d3a9508dbec2cbe5c25a8dc2e63cafbb1e SHA1 fbf8355e62052015dde8cf9a11427565ff2e0fe7 SHA256 6f9c6da82bd19cfbae24d393d249cfb87bf0c7c953b8c049d6c7a933bef4b4eb -EBUILD bugport-1.146.ebuild 1733 RMD160 1622df486ff92be40f29b997d511bd1e1e7b8f41 SHA1 8b5de7388bfb7f574c2ac80d46fbd8b43609affe SHA256 797dc85110c10d58d02a7ae705efc4a0b2fff487953e2c284b49d55c38bf5cc4 -MISC ChangeLog 1350 RMD160 ec5e47924f63ccb4e77e6f0ed62380db60396b30 SHA1 306172e9a4ca3fb507b349ee99e196abbe2681fc SHA256 1b35074ee42cfcf5bc9b882913619fe9a34eec5dc5483e5bb38f9f00223fb2be +DIST bugport_1.147.tar.gz 937810 RMD160 ff202a1b65b10a5274a6c471fa148d1de4a1110a SHA1 200c951f1884950c89525f790254454499bcb4e1 SHA256 d99a8af2cecfdf2cb276fc3c886efc7bf74e383ea65b23eb350a8e3db529997c +EBUILD bugport-1.146.ebuild 1735 RMD160 c669bbe23c79a3712497af8c9354aba7aab30418 SHA1 66b943ad096356edf899310dec5eb793bc20a47d SHA256 d281bdf07e7a571d4d6505ecc3454e6ee5a7b9018730f2b63dcfa3e12d359d05 +EBUILD bugport-1.147.ebuild 1954 RMD160 ddcf625ba9ee42688fb2d646c93fd9f6ca943d95 SHA1 00190c760ebc900842c418ad8e10b4a1f29e9263 SHA256 b062f98b686971068d9d742d34e5b9d100dfb09a191c3a7bb090fca79c180d43 +MISC ChangeLog 1703 RMD160 99580b866267372e30dea286c9fdbf6cefef3368 SHA1 0c1460757d69aa195cbef188e85c3125b8158614 SHA256 bc969988b45f896103088e57953ce1152152933487881ed445f9ec5c9db375f7 MISC metadata.xml 236 RMD160 92f49f8275e75caf57b88a3172d5204eaa4e33ae SHA1 dd1a8550a514e55ab0ed6190ab4794bb090994f8 SHA256 56075995f83836ae824c7cb01931b98d6745f6d5a7764299c8262e801486b829 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.8 (GNU/Linux) + +iEYEARECAAYFAke4oJEACgkQmPFBzbX68WEvjQCgjapdOMIetKjSiAt+uOLTMRs3 +dcMAnjXe7lCJ5xz0y8jZJtUcinzmEixh +=Jwrz +-----END PGP SIGNATURE----- diff --git a/www-apps/bugport/bugport-1.146.ebuild b/www-apps/bugport/bugport-1.146.ebuild index 58b83c692794..b11e58f4e525 100644 --- a/www-apps/bugport/bugport-1.146.ebuild +++ b/www-apps/bugport/bugport-1.146.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/bugport/bugport-1.146.ebuild,v 1.2 2007/08/05 01:21:27 jmglov Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/bugport/bugport-1.146.ebuild,v 1.3 2008/02/17 21:00:56 hollow Exp $ inherit webapp @@ -54,7 +54,7 @@ src_install() { conf/config.php # Install - cp -R . ${D}${MY_HTDOCSDIR} + cp -R . "${D}"${MY_HTDOCSDIR} # Identify the configuration files that this app uses webapp_configfile ${MY_HTDOCSDIR}/conf/config.php diff --git a/www-apps/bugport/bugport-1.147.ebuild b/www-apps/bugport/bugport-1.147.ebuild new file mode 100644 index 000000000000..2bb550c08b85 --- /dev/null +++ b/www-apps/bugport/bugport-1.147.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/bugport/bugport-1.147.ebuild,v 1.1 2008/02/17 21:00:56 hollow Exp $ + +inherit webapp depend.php + +DESCRIPTION="Web-based system for managing tasks and defects throughout the software development process" +HOMEPAGE="http://www.incogen.com/index.php?type=General¶m=bugport" +SRC_URI="http://www.incogen.com/downloads/${PN}/${PN}_${PV}.tar.gz" + +LICENSE="BSD" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="mysql" + +DEPEND="dev-php/adodb" + +need_php_httpd + +S=${WORKDIR}/${PN}_${PV} + +pkg_setup() { + webapp_pkg_setup + has_php + + if use mysql ; then + require_php_with_use mysql + else + elog "It is your responsibility to ensure that you have configured" + elog "${PHP_PKG} for use with dev-php/adodb and your DB of choice" + elog "and will handle creating the required DB tables for the chosen DB." + elog "If that's not what you want, re-emerge ${P} with USE=mysql." + fi +} + +src_install() { + webapp_src_preinst + + # Fix INSTALL.txt to let the user know where the SQL scripts live + sed -i -e "s|create_tables.sql|${MY_SQLSCRIPTSDIR}/mysql/${PV}_create.sql|" \ + INSTALL.txt || die "sed failed in INSTALL.txt" + + webapp_postinst_txt en INSTALL.txt + + local dbfiles="add_indices.sql alter_user_table.sql create_config_table.sql create_tables.sql" + for i in ${dbfiles} ; do + use mysql && webapp_sqlscript mysql ${i} || dodoc ${i} + done + rm -f *.sql + + dodoc *.txt + docinto devel-docs + dodoc devel-docs/* + rm -rf *.txt devel-docs install-gentoo-unsupported + + # Fix config file to know where to find adodb + sed -i -e 's|^\(# \+\)\?\$adoDir.\+$|$adoDir = "/usr/lib/php/adodb/"; # DO NOT CHANGE!|' \ + conf/config.php || die "failed to fix adodb location in config.php." + + cp -R . "${D}"${MY_HTDOCSDIR} + + webapp_configfile ${MY_HTDOCSDIR}/conf/config.php + webapp_configfile ${MY_HTDOCSDIR}/conf/configuration.php + + webapp_src_install +}