summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Moc <jakub@gentoo.org>2007-09-07 14:33:53 +0000
committerJakub Moc <jakub@gentoo.org>2007-09-07 14:33:53 +0000
commit3b9425a8e4f2dea3594c03def146263415ac76fd (patch)
treec2fe8c0b63596dac4f05bd882f54b4d1b8bbeb89 /www-apps
parentwww-apps/ffproxy: Nuke redundant src_compile, use emake in src_install, insta... (diff)
downloadwebapps-experimental-3b9425a8e4f2dea3594c03def146263415ac76fd.tar.gz
webapps-experimental-3b9425a8e4f2dea3594c03def146263415ac76fd.tar.bz2
webapps-experimental-3b9425a8e4f2dea3594c03def146263415ac76fd.zip
www-apps/flyspray: Version bump, nuke old. Fix dependencies, no longer require apache unconditionally, do not depend on databases, check php requirements. Quoting, ebuild cleanup.
svn path=/experimental/; revision=355
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/flyspray/ChangeLog5
-rw-r--r--www-apps/flyspray/Manifest24
-rw-r--r--www-apps/flyspray/files/digest-flyspray-0.9.81
-rw-r--r--www-apps/flyspray/files/digest-flyspray-0.9.9.23
-rw-r--r--www-apps/flyspray/files/digest-flyspray-0.9.9.33
-rw-r--r--www-apps/flyspray/flyspray-0.9.9.2.ebuild48
-rw-r--r--www-apps/flyspray/flyspray-0.9.9.3.ebuild62
7 files changed, 82 insertions, 64 deletions
diff --git a/www-apps/flyspray/ChangeLog b/www-apps/flyspray/ChangeLog
index 3aa9a84..c36eec8 100644
--- a/www-apps/flyspray/ChangeLog
+++ b/www-apps/flyspray/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 07 Sep 2007; Jakub Moc <jakub@gentoo.org> ++, -flyspray-0.9.9.2.ebuild:
+ Version bump, nuke old. Fix dependencies, no longer require apache
+ unconditionally, do not depend on databases, check php requirements.
+ Quoting, ebuild cleanup.
+
02 Jul 2007; Emanuele Gentili <bathym@0x656d67.org> ChangeLog:
version bump to flyspray-0.9.9.2 and removed old version
diff --git a/www-apps/flyspray/Manifest b/www-apps/flyspray/Manifest
index 1dbdf78..552c331 100644
--- a/www-apps/flyspray/Manifest
+++ b/www-apps/flyspray/Manifest
@@ -2,15 +2,15 @@ AUX postinstall-en.txt 315 RMD160 48646cf6aaa61c2a3f728494b59fbdeecdf95474 SHA1
MD5 8f8706e6148332e638df732994e2fac3 files/postinstall-en.txt 315
RMD160 48646cf6aaa61c2a3f728494b59fbdeecdf95474 files/postinstall-en.txt 315
SHA256 8202d5e85048e66ff35bfb5a2dd773dba5f225c0f6b7765fc16f4c4c1c194720 files/postinstall-en.txt 315
-DIST flyspray-0.9.9.2.tar.bz2 945582 RMD160 88c6e34f293cd895392e1517b80666a88d19f6c8 SHA1 4cbb28d0f5d9ede11b1a59e52c3a2d0889258ae9 SHA256 8960525b7777d919f665be1c94785fa2f76083b3eee43b0da3166d12f0bbb947
-EBUILD flyspray-0.9.9.2.ebuild 1043 RMD160 77e00dc1743578730ab68d6274043372978f4ff4 SHA1 4ccd017843d46306e76fb0aa3e261fe37a47ee98 SHA256 b30348455500c338b383c14366f0834a2626b1eaabccf307fe1ae4fcdbddf579
-MD5 c75f95c8be31616aa96f06782e8fb242 flyspray-0.9.9.2.ebuild 1043
-RMD160 77e00dc1743578730ab68d6274043372978f4ff4 flyspray-0.9.9.2.ebuild 1043
-SHA256 b30348455500c338b383c14366f0834a2626b1eaabccf307fe1ae4fcdbddf579 flyspray-0.9.9.2.ebuild 1043
-MISC ChangeLog 334 RMD160 dd18994cd76e613ff6b32e97419afefcc3931215 SHA1 074490615ba557575c2e6e4793718a6f8435af12 SHA256 ce262dc22c81db63009c3934e833bdef36414e8893e06d9fb14cc7136bdd8106
-MD5 ca6fe2ed872872a1736b02cc90e3e504 ChangeLog 334
-RMD160 dd18994cd76e613ff6b32e97419afefcc3931215 ChangeLog 334
-SHA256 ce262dc22c81db63009c3934e833bdef36414e8893e06d9fb14cc7136bdd8106 ChangeLog 334
-MD5 a49254cf7a40802d707eecf7bdbbd84d files/digest-flyspray-0.9.9.2 253
-RMD160 b86262e57b0a09d15cf63562f960528cd61e0aa8 files/digest-flyspray-0.9.9.2 253
-SHA256 bafd13a01a69a66f1d5e977b5c1e4bffe1fccf6068afbf72d4d735573a02af9f files/digest-flyspray-0.9.9.2 253
+DIST flyspray-0.9.9.3.zip 1499115 RMD160 ca7db81a89b275d35c4970f1a28e9dbc02b96e10 SHA1 8504c82c7cd4afebcf49c27e8c816973b1a5e756 SHA256 fcd80d2f3c12df4f31a2ed7cb9ff908604bd78c78f43ec70413d0ee8cb6aa424
+EBUILD flyspray-0.9.9.3.ebuild 1568 RMD160 c1c2eeaef577edb058a9c83939781c488599d5ed SHA1 85a4c7c8ad3350a25b2e34b60f68a86250b59909 SHA256 fa4ecc96fb9d40672b806e16da4e77ada9448a975676e38c52b8f935fdd41a33
+MD5 f5dc9f9af0f6b01067d3ca6601a59023 flyspray-0.9.9.3.ebuild 1568
+RMD160 c1c2eeaef577edb058a9c83939781c488599d5ed flyspray-0.9.9.3.ebuild 1568
+SHA256 fa4ecc96fb9d40672b806e16da4e77ada9448a975676e38c52b8f935fdd41a33 flyspray-0.9.9.3.ebuild 1568
+MISC ChangeLog 576 RMD160 18536d95c49e6913cf0ab06e53bcc58210c1bb6e SHA1 1e47178809413c0bc7d4f4fb3f10f5d4a6e94466 SHA256 df13fa25cebb205eaafb59ea0fe6137a621da6c6518a319a670ce6f07c20010e
+MD5 f4d37f659510a571707ced14f31f1b40 ChangeLog 576
+RMD160 18536d95c49e6913cf0ab06e53bcc58210c1bb6e ChangeLog 576
+SHA256 df13fa25cebb205eaafb59ea0fe6137a621da6c6518a319a670ce6f07c20010e ChangeLog 576
+MD5 cf046732ebd86df1f0685139c457416e files/digest-flyspray-0.9.9.3 244
+RMD160 7f755712517044a9b610e38cc2b55fa4d0f6331b files/digest-flyspray-0.9.9.3 244
+SHA256 a38fa3f69a5ff1a28b641454756f3a46ac23ad0eac6b3e605d8f2acb479a38ed files/digest-flyspray-0.9.9.3 244
diff --git a/www-apps/flyspray/files/digest-flyspray-0.9.8 b/www-apps/flyspray/files/digest-flyspray-0.9.8
deleted file mode 100644
index 03e835f..0000000
--- a/www-apps/flyspray/files/digest-flyspray-0.9.8
+++ /dev/null
@@ -1 +0,0 @@
-MD5 e034c2f1638cca65c41c7cb3590e2014 flyspray-0.9.8.tar.gz 385283
diff --git a/www-apps/flyspray/files/digest-flyspray-0.9.9.2 b/www-apps/flyspray/files/digest-flyspray-0.9.9.2
deleted file mode 100644
index 5b06d2b..0000000
--- a/www-apps/flyspray/files/digest-flyspray-0.9.9.2
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 84e8e2a11ccf3ff4e95e182c6751ddf7 flyspray-0.9.9.2.tar.bz2 945582
-RMD160 88c6e34f293cd895392e1517b80666a88d19f6c8 flyspray-0.9.9.2.tar.bz2 945582
-SHA256 8960525b7777d919f665be1c94785fa2f76083b3eee43b0da3166d12f0bbb947 flyspray-0.9.9.2.tar.bz2 945582
diff --git a/www-apps/flyspray/files/digest-flyspray-0.9.9.3 b/www-apps/flyspray/files/digest-flyspray-0.9.9.3
new file mode 100644
index 0000000..6f8d46d
--- /dev/null
+++ b/www-apps/flyspray/files/digest-flyspray-0.9.9.3
@@ -0,0 +1,3 @@
+MD5 b00c8fa1e05789c576676a64f01bb23a flyspray-0.9.9.3.zip 1499115
+RMD160 ca7db81a89b275d35c4970f1a28e9dbc02b96e10 flyspray-0.9.9.3.zip 1499115
+SHA256 fcd80d2f3c12df4f31a2ed7cb9ff908604bd78c78f43ec70413d0ee8cb6aa424 flyspray-0.9.9.3.zip 1499115
diff --git a/www-apps/flyspray/flyspray-0.9.9.2.ebuild b/www-apps/flyspray/flyspray-0.9.9.2.ebuild
deleted file mode 100644
index a086535..0000000
--- a/www-apps/flyspray/flyspray-0.9.9.2.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-# Source: http://bugs.gentoo.org/show_bug.cgi?id=91078
-# Submitted-By: Maciek Ligenza
-# Reviewed-By: rl03 2005-12-10
-
-inherit webapp
-
-DESCRIPTION="Bug Tracking System - easy and less advanced bugzilla replacement"
-HOMEPAGE="http://flyspray.rocks.cc/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-
-LICENSE="LGPL-2"
-KEYWORDS="~x86"
-
-IUSE="graphviz"
-
-RDEPEND="|| ( dev-db/mysql dev-db/postgresql )
- virtual/php
- dev-php/adodb
- graphviz? ( media-gfx/graphviz )
- net-www/apache"
-
-src_unpack () {
- unpack ${A}
- cd ${S}
- sed -e "s|../adodb|/usr/share/php/adodb|" -i setup/index.php || die "sed failed"
-}
-
-src_install () {
- webapp_src_preinst
- local files="attachments"
-
- dodoc docs/*
-
- cp -R . ${D}/${MY_HTDOCSDIR}
-
- for file in ${files}; do
- webapp_serverowned "${MY_HTDOCSDIR}/${file}"
- done
-
- webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
- webapp_configfile ${MY_HTDOCSDIR}/${PN}.conf.php
-
- webapp_src_install
-}
diff --git a/www-apps/flyspray/flyspray-0.9.9.3.ebuild b/www-apps/flyspray/flyspray-0.9.9.3.ebuild
new file mode 100644
index 0000000..00e1b5e
--- /dev/null
+++ b/www-apps/flyspray/flyspray-0.9.9.3.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+# Source: http://bugs.gentoo.org/show_bug.cgi?id=91078
+# Submitted-By: Maciek Ligenza
+# Reviewed-By: rl03 2005-12-10
+
+inherit webapp depend.php depend.apache
+
+DESCRIPTION="Bug Tracking System - easy and less advanced bugzilla replacement"
+HOMEPAGE="http://flyspray.rocks.cc/"
+SRC_URI="http://flyspray.org/${P}.zip"
+
+LICENSE="LGPL-2"
+KEYWORDS="~x86"
+
+IUSE="graphviz"
+
+DEPEND="app-arch/unzip"
+RDEPEND="dev-php/adodb
+ graphviz? ( media-gfx/graphviz )"
+
+need_php_httpd
+want_apache
+
+pkg_setup() {
+ if ! PHPCHECKNODIE="yes" require_php_with_use xml || \
+ ! PHPCHECKNODIE="yes" require_php_with_any_use mysql mysqli postgres ; then
+ die "Re-install ${PHP_PKG} with xml and at least one of mysql mysqli postgres in USE."
+ fi
+ webapp_pkg_setup
+}
+
+src_unpack () {
+ unpack ${A}
+ cd "${S}"
+ sed -e "s|../adodb|/usr/share/php/adodb|" -i setup/index.php || die "sed failed"
+}
+
+src_install () {
+ webapp_src_preinst
+
+ cp -R . "${D}"/${MY_HTDOCSDIR}
+
+ dodoc docs/*
+ rm -rf "${D}"/${MY_HTDOCSDIR}/docs
+
+ webapp_serverowned "${MY_HTDOCSDIR}/attachments"
+
+ webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
+ webapp_configfile ${MY_HTDOCSDIR}/${PN}.conf.php
+ webapp_src_install
+}
+
+pkg_postinst() {
+ webapp_pkg_postinst
+ elog "${PN} requires that you disable safe_mode in PHP. :("
+ elog "Is highly reccommended that both magic_quotes and register_globals"
+ elog "are set to off due to security reasons."
+ use apache2 && elog "Also see the htaccess.dist file."
+}