summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenat Lumpau <rl03@gentoo.org>2004-08-30 11:22:12 +0000
committerRenat Lumpau <rl03@gentoo.org>2004-08-30 11:22:12 +0000
commitc1b57915d892966d4681ad1063e2e6d6f936ab94 (patch)
treed79c4e1b10f9ebd8b29c7150640ef038d4ef7ce9 /www-apps
parentNew version of glext.h (Manifest recommit) (diff)
downloadgentoo-2-c1b57915d892966d4681ad1063e2e6d6f936ab94.tar.gz
gentoo-2-c1b57915d892966d4681ad1063e2e6d6f936ab94.tar.bz2
gentoo-2-c1b57915d892966d4681ad1063e2e6d6f936ab94.zip
Initial ebuild (by swegener, minor cleanups). Closes #50319.
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/bugs-bug-genie/ChangeLog10
-rw-r--r--www-apps/bugs-bug-genie/Manifest5
-rw-r--r--www-apps/bugs-bug-genie/bugs-bug-genie-1.5.ebuild48
-rw-r--r--www-apps/bugs-bug-genie/files/digest-bugs-bug-genie-1.51
-rw-r--r--www-apps/bugs-bug-genie/files/postinstall-en.txt2
-rw-r--r--www-apps/bugs-bug-genie/metadata.xml5
6 files changed, 71 insertions, 0 deletions
diff --git a/www-apps/bugs-bug-genie/ChangeLog b/www-apps/bugs-bug-genie/ChangeLog
new file mode 100644
index 000000000000..480fa3a54c83
--- /dev/null
+++ b/www-apps/bugs-bug-genie/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for www-apps/bugs-bug-genie
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/bugs-bug-genie/ChangeLog,v 1.1 2004/08/30 11:22:12 rl03 Exp $
+
+*bugs-bug-genie-1.5 (30 Aug 2004)
+
+ 30 Aug 2004; Renat Lumpau <rl03@gentoo.org> +metadata.xml,
+ +files/postinstall-en.txt, +bugs-bug-genie-1.5.ebuild:
+ Initial ebuild (by swegener, minor cleanups). Closes #50319.
+
diff --git a/www-apps/bugs-bug-genie/Manifest b/www-apps/bugs-bug-genie/Manifest
new file mode 100644
index 000000000000..284a7c67e58b
--- /dev/null
+++ b/www-apps/bugs-bug-genie/Manifest
@@ -0,0 +1,5 @@
+MD5 b745ff00dfa68a81a9c3baa29f187891 bugs-bug-genie-1.5.ebuild 1443
+MD5 d494b47d7a68305d6c90b404e11aca75 ChangeLog 341
+MD5 f61bfa064e3acdfcd826e4a38b121196 metadata.xml 161
+MD5 b7f5cb0f5d933404fcec3322eb4da94c files/postinstall-en.txt 113
+MD5 656de087ae73d2733da138cf9fe7e48e files/digest-bugs-bug-genie-1.5 57
diff --git a/www-apps/bugs-bug-genie/bugs-bug-genie-1.5.ebuild b/www-apps/bugs-bug-genie/bugs-bug-genie-1.5.ebuild
new file mode 100644
index 000000000000..fe03e0432c40
--- /dev/null
+++ b/www-apps/bugs-bug-genie/bugs-bug-genie-1.5.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/bugs-bug-genie/bugs-bug-genie-1.5.ebuild,v 1.1 2004/08/30 11:22:12 rl03 Exp $
+
+inherit webapp
+MY_PV=${PV/./_}
+S=${WORKDIR}
+
+IUSE=""
+
+DESCRIPTION="BUGS - The Bug Genie"
+HOMEPAGE="http://bugs-bug-genie.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/bugs_${MY_PV}.zip"
+
+KEYWORDS="~x86"
+
+DEPEND="$DEPEND"
+RDEPEND="
+ ${DEPEND}
+ >=net-www/apache-1.3
+ >=virtual/php-4.2.1
+ >=dev-db/mysql-4
+"
+
+LICENSE="MPL-1.1"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ # fix location of userbase_connect. see bug #50319
+ sed -e "s|userbase_connect.inc.php|include/userbase_connect.inc.php|g" -i include/constants.inc.php
+ # mysql_create_db is not there in MySQL 4
+ sed -e "s|mysql_create_db(\"\$db_name\");|mysql_query\(\"create database \`\" . \$db_name . \"\`\"\);|
+ s|\$dontDrawLeft = \"truly\";|\$dontDrawLeft = \"truly\";\n\$page = \"index\";|" -i install.php
+ # userbase_connect.inc.php is missing
+ echo '<?php if ($isInstall != "truly") trigger_error("Please use install.php to configure BUGS for your system!", E_USER_ERROR); ?>' > include/userbase_connect.inc.php
+}
+
+src_install() {
+ webapp_src_preinst
+ dodoc DISCLAIMER.TXT UPGRADE.TXT README.TXT changelog*
+ cp -R LICENSE.TXT [[:lower:]][[:lower:]]* ${D}/${MY_HTDOCSDIR}
+ rm -f ${D}/${MY_HTDOCSDIR}/changelog*
+ webapp_serverowned ${MY_HTDOCSDIR}/include/userbase_connect.inc.php
+
+ webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
+ webapp_src_install
+}
diff --git a/www-apps/bugs-bug-genie/files/digest-bugs-bug-genie-1.5 b/www-apps/bugs-bug-genie/files/digest-bugs-bug-genie-1.5
new file mode 100644
index 000000000000..63707e27cbb5
--- /dev/null
+++ b/www-apps/bugs-bug-genie/files/digest-bugs-bug-genie-1.5
@@ -0,0 +1 @@
+MD5 4f43842ce8a5a3fb1483655f43be2273 bugs_1_5.zip 761442
diff --git a/www-apps/bugs-bug-genie/files/postinstall-en.txt b/www-apps/bugs-bug-genie/files/postinstall-en.txt
new file mode 100644
index 000000000000..f11becf893e9
--- /dev/null
+++ b/www-apps/bugs-bug-genie/files/postinstall-en.txt
@@ -0,0 +1,2 @@
+To configure BUGS - The Bug Genie please use install.php
+After you've configured BUGS, please delete install.php
diff --git a/www-apps/bugs-bug-genie/metadata.xml b/www-apps/bugs-bug-genie/metadata.xml
new file mode 100644
index 000000000000..95c06f0095bb
--- /dev/null
+++ b/www-apps/bugs-bug-genie/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+</pkgmetadata>