summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenat Lumpau <rl03@gentoo.org>2005-06-26 20:42:26 +0000
committerRenat Lumpau <rl03@gentoo.org>2005-06-26 20:42:26 +0000
commit5152c7314ffe634afce0da56a215ece513e3e0dd (patch)
tree2e3b340e7f66aea0dbea6ff531c9f8592b6e11d4 /www-apps/bugzilla
parent~amd64 (diff)
downloadgentoo-2-5152c7314ffe634afce0da56a215ece513e3e0dd.tar.gz
gentoo-2-5152c7314ffe634afce0da56a215ece513e3e0dd.tar.bz2
gentoo-2-5152c7314ffe634afce0da56a215ece513e3e0dd.zip
Removing obsolete versions.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'www-apps/bugzilla')
-rw-r--r--www-apps/bugzilla/ChangeLog12
-rw-r--r--www-apps/bugzilla/bugzilla-2.18.0_rc1.ebuild63
-rw-r--r--www-apps/bugzilla/bugzilla-2.18.0_rc2.ebuild66
-rw-r--r--www-apps/bugzilla/bugzilla-2.18.0_rc3.ebuild66
-rw-r--r--www-apps/bugzilla/bugzilla-2.18.0_rc4.ebuild74
-rw-r--r--www-apps/bugzilla/files/2.18.0_rc1/apache.htaccess3
-rw-r--r--www-apps/bugzilla/files/2.18.0_rc1/reconfig91
-rw-r--r--www-apps/bugzilla/files/2.18.0_rc2/apache.htaccess3
-rw-r--r--www-apps/bugzilla/files/2.18.0_rc2/reconfig91
-rw-r--r--www-apps/bugzilla/files/2.18.0_rc3/apache.htaccess3
-rw-r--r--www-apps/bugzilla/files/2.18.0_rc3/reconfig91
-rw-r--r--www-apps/bugzilla/files/2.18.0_rc4/apache.htaccess3
-rw-r--r--www-apps/bugzilla/files/2.18.0_rc4/reconfig91
-rw-r--r--www-apps/bugzilla/files/CAN-2004-1061.patch46
-rw-r--r--www-apps/bugzilla/files/bz.cfg.templ7
-rw-r--r--www-apps/bugzilla/files/digest-bugzilla-2.18.0_rc11
-rw-r--r--www-apps/bugzilla/files/digest-bugzilla-2.18.0_rc21
-rw-r--r--www-apps/bugzilla/files/digest-bugzilla-2.18.0_rc31
-rw-r--r--www-apps/bugzilla/files/digest-bugzilla-2.18.0_rc41
19 files changed, 11 insertions, 703 deletions
diff --git a/www-apps/bugzilla/ChangeLog b/www-apps/bugzilla/ChangeLog
index 5d1a7228d1ed..e6be04394fa8 100644
--- a/www-apps/bugzilla/ChangeLog
+++ b/www-apps/bugzilla/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for www-apps/bugzilla
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/bugzilla/ChangeLog,v 1.23 2005/06/12 17:49:42 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/bugzilla/ChangeLog,v 1.24 2005/06/26 20:42:26 rl03 Exp $
+
+ 26 Jun 2005; Renat Lumpau <rl03@gentoo.org> -files/CAN-2004-1061.patch,
+ -files/2.18.0_rc1/apache.htaccess, -files/2.18.0_rc1/reconfig,
+ -files/2.18.0_rc2/apache.htaccess, -files/2.18.0_rc2/reconfig,
+ -files/2.18.0_rc3/apache.htaccess, -files/2.18.0_rc3/reconfig,
+ -files/2.18.0_rc4/apache.htaccess, -files/2.18.0_rc4/reconfig,
+ files/bz.cfg.templ, -bugzilla-2.18.0_rc1.ebuild,
+ -bugzilla-2.18.0_rc2.ebuild, -bugzilla-2.18.0_rc3.ebuild,
+ -bugzilla-2.18.0_rc4.ebuild:
+ Removing obsolete versions.
12 Jun 2005; Jason Wever <weeve@gentoo.org> bugzilla-2.18.1.ebuild:
Stable on SPARC.
diff --git a/www-apps/bugzilla/bugzilla-2.18.0_rc1.ebuild b/www-apps/bugzilla/bugzilla-2.18.0_rc1.ebuild
deleted file mode 100644
index 2a7bfb4466c6..000000000000
--- a/www-apps/bugzilla/bugzilla-2.18.0_rc1.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/bugzilla/bugzilla-2.18.0_rc1.ebuild,v 1.7 2005/05/25 13:45:54 mcummings Exp $
-
-inherit webapp
-MY_P=${P/.0_/}
-S=${WORKDIR}/${MY_P}
-
-DESCRIPTION="Bugzilla is the Bug-Tracking System from the Mozilla project"
-SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/webtools/${MY_P}.tar.gz"
-HOMEPAGE="http://www.bugzilla.org"
-
-LICENSE="MPL-1.1 NPL-1.1"
-KEYWORDS="~x86 ppc ~sparc"
-
-IUSE="apache2"
-
-# See http://www.bugzilla.org/docs216/html/stepbystep.html to verify dependancies
-RDEPEND=">=dev-db/mysql-3.22.5
- >=dev-lang/perl-5.01
- dev-perl/Template-Toolkit
- >=dev-perl/AppConfig-1.52
- >=dev-perl/Text-Tabs+Wrap-2001.0131
- >=perl-core/File-Spec-0.8.2
- >=dev-perl/DBD-mysql-1.2209
- >=dev-perl/DBI-1.13
- dev-perl/TimeDate
- >=perl-core/CGI-2.88
- >=dev-perl/GD-1.19
- dev-perl/GDGraph
- >=dev-perl/Chart-2.3
- dev-perl/XML-Parser
- dev-perl/PatchReader
- dev-perl/MIME-tools
- apache2? ( >=net-www/apache-2 )
- !apache2? ( =net-www/apache-1* )"
-
-src_install () {
- webapp_src_preinst
-
- cd ${S}
-
- # remove CVS directories
- find . -type d -name 'CVS' -print | xargs rm -rf
-
- cp -r ${S}/* ${D}/${MY_HTDOCSDIR} || die
- for file in `find -type d -printf "%p/* "`; do
- webapp_serverowned "${MY_HTDOCSDIR}/${file}"
- done
-
- cp ${FILESDIR}/${PVR}/apache.htaccess ${D}/${MY_HTDOCSDIR}/.htaccess
-
- FILE="bugzilla.cron.daily bugzilla.cron.tab bz.cfg.templ firstcheck.sh cronset.sh"
- for file in ${FILE}; do
- cp ${FILESDIR}/${file} ${D}/${MY_HTDOCSDIR}
- webapp_serverowned "${MY_HTDOCSDIR}/${file}"
- done
-
- # add the reconfigure hook
- webapp_hook_script ${FILESDIR}/${PVR}/reconfig
-
- webapp_src_install
-}
diff --git a/www-apps/bugzilla/bugzilla-2.18.0_rc2.ebuild b/www-apps/bugzilla/bugzilla-2.18.0_rc2.ebuild
deleted file mode 100644
index b41207260c50..000000000000
--- a/www-apps/bugzilla/bugzilla-2.18.0_rc2.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/bugzilla/bugzilla-2.18.0_rc2.ebuild,v 1.7 2005/05/25 13:46:12 mcummings Exp $
-
-inherit webapp
-MY_P=${P/.0_/}
-S=${WORKDIR}/${MY_P}
-
-DESCRIPTION="Bugzilla is the Bug-Tracking System from the Mozilla project"
-SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/webtools/${MY_P}.tar.gz"
-HOMEPAGE="http://www.bugzilla.org"
-
-LICENSE="MPL-1.1 NPL-1.1"
-KEYWORDS="~x86 ppc ~sparc"
-
-IUSE="apache2"
-
-# See http://www.bugzilla.org/docs216/html/stepbystep.html to verify dependancies
-# updated list of deps: http://www.bugzilla.org/releases/2.18/release-notes.html
-# removed deps: dev-perl/MIME-tools
-RDEPEND=">=dev-db/mysql-3.23.41
- >=dev-lang/perl-5.6.0
- >=dev-perl/AppConfig-1.52
- >=perl-core/CGI-2.93
- >=dev-perl/TimeDate-1.11
- >=dev-perl/DBI-1.36
- >=dev-perl/DBD-mysql-2.1010
- >=perl-core/File-Spec-0.8.2
- >=dev-perl/Template-Toolkit-2.08
- >=dev-perl/Text-Tabs+Wrap-2001.0131
- >=dev-perl/Chart-2.3
- >=dev-perl/GD-1.20
- dev-perl/GDGraph
- dev-perl/GDTextUtil
- dev-perl/perl-ldap
- >=dev-perl/PatchReader-0.9.4
- dev-perl/XML-Parser
- apache2? ( >=net-www/apache-2.0 )
- !apache2? ( =net-www/apache-1* )"
-
-src_install () {
- webapp_src_preinst
-
- cd ${S}
-
- # remove CVS directories
- find . -type d -name 'CVS' -print | xargs rm -rf
-
- cp -r ${S}/* ${D}/${MY_HTDOCSDIR} || die
- for file in `find -type d -printf "%p/* "`; do
- webapp_serverowned "${MY_HTDOCSDIR}/${file}"
- done
-
- cp ${FILESDIR}/${PVR}/apache.htaccess ${D}/${MY_HTDOCSDIR}/.htaccess
-
- FILE="bugzilla.cron.daily bugzilla.cron.tab bz.cfg.templ firstcheck.sh cronset.sh"
- for file in ${FILE}; do
- cp ${FILESDIR}/${file} ${D}/${MY_HTDOCSDIR}
- webapp_serverowned "${MY_HTDOCSDIR}/${file}"
- done
-
- # add the reconfigure hook
- webapp_hook_script ${FILESDIR}/${PVR}/reconfig
-
- webapp_src_install
-}
diff --git a/www-apps/bugzilla/bugzilla-2.18.0_rc3.ebuild b/www-apps/bugzilla/bugzilla-2.18.0_rc3.ebuild
deleted file mode 100644
index ebf3249a868f..000000000000
--- a/www-apps/bugzilla/bugzilla-2.18.0_rc3.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/bugzilla/bugzilla-2.18.0_rc3.ebuild,v 1.6 2005/05/25 13:46:30 mcummings Exp $
-
-inherit webapp
-MY_P=${P/.0_/}
-S=${WORKDIR}/${MY_P}
-
-DESCRIPTION="Bugzilla is the Bug-Tracking System from the Mozilla project"
-SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/webtools/${MY_P}.tar.gz"
-HOMEPAGE="http://www.bugzilla.org"
-
-LICENSE="MPL-1.1 NPL-1.1"
-KEYWORDS="~x86 ppc ~sparc"
-
-IUSE="apache2"
-
-# See http://www.bugzilla.org/docs216/html/stepbystep.html to verify dependancies
-# updated list of deps: http://www.bugzilla.org/releases/2.18/release-notes.html
-# removed deps: dev-perl/MIME-tools
-RDEPEND=">=dev-db/mysql-3.23.41
- >=dev-lang/perl-5.6.0
- >=dev-perl/AppConfig-1.52
- >=perl-core/CGI-2.93
- >=dev-perl/TimeDate-1.11
- >=dev-perl/DBI-1.36
- >=dev-perl/DBD-mysql-2.1010
- >=perl-core/File-Spec-0.8.2
- >=dev-perl/Template-Toolkit-2.08
- >=dev-perl/Text-Tabs+Wrap-2001.0131
- >=dev-perl/Chart-2.3
- >=dev-perl/GD-1.20
- dev-perl/GDGraph
- dev-perl/GDTextUtil
- dev-perl/perl-ldap
- >=dev-perl/PatchReader-0.9.4
- dev-perl/XML-Parser
- apache2? ( >=net-www/apache-2.0 )
- !apache2? ( =net-www/apache-1* )"
-
-src_install () {
- webapp_src_preinst
-
- cd ${S}
-
- # remove CVS directories
- find . -type d -name 'CVS' -print | xargs rm -rf
-
- cp -r ${S}/* ${D}/${MY_HTDOCSDIR} || die
- for file in `find -type d -printf "%p/* "`; do
- webapp_serverowned "${MY_HTDOCSDIR}/${file}"
- done
-
- cp ${FILESDIR}/${PVR}/apache.htaccess ${D}/${MY_HTDOCSDIR}/.htaccess
-
- FILE="bugzilla.cron.daily bugzilla.cron.tab bz.cfg.templ firstcheck.sh cronset.sh"
- for file in ${FILE}; do
- cp ${FILESDIR}/${file} ${D}/${MY_HTDOCSDIR}
- webapp_serverowned "${MY_HTDOCSDIR}/${file}"
- done
-
- # add the reconfigure hook
- webapp_hook_script ${FILESDIR}/${PVR}/reconfig
-
- webapp_src_install
-}
diff --git a/www-apps/bugzilla/bugzilla-2.18.0_rc4.ebuild b/www-apps/bugzilla/bugzilla-2.18.0_rc4.ebuild
deleted file mode 100644
index 884ec79d1586..000000000000
--- a/www-apps/bugzilla/bugzilla-2.18.0_rc4.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/bugzilla/bugzilla-2.18.0_rc4.ebuild,v 1.7 2005/05/25 13:46:48 mcummings Exp $
-
-inherit eutils webapp
-
-MY_PV=${PV/.0_rc4/}rc3
-MY_P=${PN}-${MY_PV}
-S=${WORKDIR}/${MY_P}
-
-DESCRIPTION="Bugzilla is the Bug-Tracking System from the Mozilla project"
-SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/webtools/${MY_P}.tar.gz"
-HOMEPAGE="http://www.bugzilla.org"
-
-LICENSE="MPL-1.1 NPL-1.1"
-KEYWORDS="~x86 ppc ~sparc ~ppc64 ~amd64"
-
-IUSE="apache2"
-
-# See http://www.bugzilla.org/docs216/html/stepbystep.html to verify dependancies
-# updated list of deps: http://www.bugzilla.org/releases/2.18/release-notes.html
-# removed deps: dev-perl/MIME-tools
-RDEPEND=">=dev-db/mysql-3.23.41
- >=dev-lang/perl-5.6.0
- >=dev-perl/AppConfig-1.52
- >=perl-core/CGI-2.93
- >=dev-perl/TimeDate-1.11
- >=dev-perl/DBI-1.36
- >=dev-perl/DBD-mysql-2.1010
- >=perl-core/File-Spec-0.8.2
- >=dev-perl/Template-Toolkit-2.08
- >=dev-perl/Text-Tabs+Wrap-2001.0131
- >=dev-perl/Chart-2.3
- >=dev-perl/GD-1.20
- dev-perl/GDGraph
- dev-perl/GDTextUtil
- dev-perl/perl-ldap
- >=dev-perl/PatchReader-0.9.4
- dev-perl/XML-Parser
- apache2? ( >=net-www/apache-2.0 )
- !apache2? ( =net-www/apache-1* )"
-
-src_unpack () {
- unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/CAN-2004-1061.patch
-}
-
-src_install () {
- webapp_src_preinst
-
- cd ${S}
-
- # remove CVS directories
- find . -type d -name 'CVS' -print | xargs rm -rf
-
- cp -r ${S}/* ${D}/${MY_HTDOCSDIR} || die
- for file in `find -type d -printf "%p/* "`; do
- webapp_serverowned "${MY_HTDOCSDIR}/${file}"
- done
-
- cp ${FILESDIR}/${PVR}/apache.htaccess ${D}/${MY_HTDOCSDIR}/.htaccess
-
- FILE="bugzilla.cron.daily bugzilla.cron.tab bz.cfg.templ firstcheck.sh cronset.sh"
- for file in ${FILE}; do
- cp ${FILESDIR}/${file} ${D}/${MY_HTDOCSDIR}
- webapp_serverowned "${MY_HTDOCSDIR}/${file}"
- done
-
- # add the reconfigure hook
- webapp_hook_script ${FILESDIR}/${PVR}/reconfig
-
- webapp_src_install
-}
diff --git a/www-apps/bugzilla/files/2.18.0_rc1/apache.htaccess b/www-apps/bugzilla/files/2.18.0_rc1/apache.htaccess
deleted file mode 100644
index 65b074866f11..000000000000
--- a/www-apps/bugzilla/files/2.18.0_rc1/apache.htaccess
+++ /dev/null
@@ -1,3 +0,0 @@
-Order Allow,Deny
-Options +ExecCGI +FollowSymLinks
-AllowOverride Limit
diff --git a/www-apps/bugzilla/files/2.18.0_rc1/reconfig b/www-apps/bugzilla/files/2.18.0_rc1/reconfig
deleted file mode 100644
index 7979bf7900e0..000000000000
--- a/www-apps/bugzilla/files/2.18.0_rc1/reconfig
+++ /dev/null
@@ -1,91 +0,0 @@
-#!/bin/bash
-
-function die ()
-{
- echo
- echo "***"
- echo "*** Fatal error: $*"
- echo "***"
- exit 1
-}
-
-if [ $1 = "start" -o $1 = "install" ]; then
-
- cd "${MY_INSTALLDIR}" || die "Cannot find install dir ${MY_INSTALLDIR}"
-
- FILE="bugzilla.cron.daily bugzilla.cron.tab cronset.sh firstcheck.sh"
- for file in ${FILE}; do
- sed -e "s|/var/www/bugzilla|${MY_INSTALLDIR}|g;" -i ${D}/${MY_INSTALLDIR}/${FILE}
- done
-
- if ( test -a localconfig ) ; then
- echo "The following does not work on previous installations, please run checksetup.pl in ${MY_INSTALLDIR}"
- exit 1
- fi
-
- echo
- echo "Finalizing the installation of bugzilla in ${MY_INSTALLDIR}"
- echo
-
- # config setting
- echo "Details for the bugzilla database"
- echo "(This scripts creates the database & user)"
- echo
- echo -n "mysql bugs db name [bugs]: "; read mybugsdb
- if (test -z ${mybugsdb}) ; then mybugsdb="bugs" ; fi
-
- echo -n "mysql bugs db host [localhost]: "; read mybugshost
- if (test -z ${mybugshost}) ; then mybugshost="localhost" ; fi
-
- echo -n "mysql bugs dbuser name [bugs]: "; read mybugsuser
- if (test -z ${mybugsuser}) ; then mybugsuser="bugs" ; fi
-
- echo -n "mysql bugs dbuser password: "; read mybugspwd
- if (test -z ${mybugspwd}) ; then echo "Error: no dbuser password" ; exit 1; fi
-
- cat bz.cfg.templ | sed -e "s/tmpdbname/${mybugsdb}/
- s/tmphost/${mybugshost}/
- s/tmpdbuser/${mybugsuser}/
- s/tmpdbpass/${mybugspwd}/" > bz.cfg.pl
-
- if [ ! -f bz.cfg.pl ] ; then echo "Error: no template for db vars" ; exit 1 ; fi
-
- # privileges
- echo "Setting correct privileges for bugzilla mysql connection"
- echo -n "Please enter login info for user who has grant privileges on ${mybugshost} [$USER]: "; read adminuser
- if (test -z ${adminuser}) ; then adminuser="$USER" ; fi
- if [ "${mybugshost}" != "localhost" ]; then
- echo -n "Client address for bugzilla (at db side) [$(hostname -f)]: "; read clientaddr
- if (test -z ${clientaddr}) ; then clientaddr="$(hostname -f)" ; fi
- fi
- # this will be default for localhost
- if (test -z ${clientaddr}) ; then clientaddr="${mybugshost}" ; fi
-
- # if $bugshost == localhost, don't specify -h argument, so local socket can be used.
- host=${mybugshost/localhost}
- mysql -u ${adminuser} ${host:+-h ${host}} -p mysql --exec="GRANT SELECT,INSERT,UPDATE,DELETE,INDEX, ALTER,CREATE,DROP,REFERENCES ON ${mybugsdb}.* TO ${mybugsuser}@${clientaddr} IDENTIFIED BY '${mybugspwd}'; FLUSH PRIVILEGES;" || {
- echo "Error running query!"
- echo
- echo "Please run it manually on ${host}."
- echo
- echo " \$ mysql -u ${adminuser} -p mysql --exec=\"GRANT SELECT,INSERT,UPDATE,DELETE,INDEX, ALTER,CREATE,DROP,REFERENCES ON ${mybugsdb}.* TO ${mybugsuser}@${clientaddr} IDENTIFIED BY '${mybugspwd}'; FLUSH PRIVILEGES;\""
- echo
- }
-
- echo "Setting the template for localconfig variables"
- chmod 755 ./checksetup.pl
- ./checksetup.pl bz.cfg.pl || exit 1
-
- echo "Final step: setting all html templates and db tables"
- chmod 750 ${VHOST_ROOT}/bugzilla/firstcheck.sh
- chmod 755 ./firstcheck.sh
- ./firstcheck.sh || die "firstcheck.sh config script failed"
-
- echo -n "Do you want to set a crontab [y/N]" ; read cronyes
- if [ "${cronyes}+" = "y+" ] ; then
- crontab -u apache ${MY_INSTALLDIR}/bugzilla.cron.tab
- fi
-
-else
- echo $1
-fi
diff --git a/www-apps/bugzilla/files/2.18.0_rc2/apache.htaccess b/www-apps/bugzilla/files/2.18.0_rc2/apache.htaccess
deleted file mode 100644
index 65b074866f11..000000000000
--- a/www-apps/bugzilla/files/2.18.0_rc2/apache.htaccess
+++ /dev/null
@@ -1,3 +0,0 @@
-Order Allow,Deny
-Options +ExecCGI +FollowSymLinks
-AllowOverride Limit
diff --git a/www-apps/bugzilla/files/2.18.0_rc2/reconfig b/www-apps/bugzilla/files/2.18.0_rc2/reconfig
deleted file mode 100644
index 7979bf7900e0..000000000000
--- a/www-apps/bugzilla/files/2.18.0_rc2/reconfig
+++ /dev/null
@@ -1,91 +0,0 @@
-#!/bin/bash
-
-function die ()
-{
- echo
- echo "***"
- echo "*** Fatal error: $*"
- echo "***"
- exit 1
-}
-
-if [ $1 = "start" -o $1 = "install" ]; then
-
- cd "${MY_INSTALLDIR}" || die "Cannot find install dir ${MY_INSTALLDIR}"
-
- FILE="bugzilla.cron.daily bugzilla.cron.tab cronset.sh firstcheck.sh"
- for file in ${FILE}; do
- sed -e "s|/var/www/bugzilla|${MY_INSTALLDIR}|g;" -i ${D}/${MY_INSTALLDIR}/${FILE}
- done
-
- if ( test -a localconfig ) ; then
- echo "The following does not work on previous installations, please run checksetup.pl in ${MY_INSTALLDIR}"
- exit 1
- fi
-
- echo
- echo "Finalizing the installation of bugzilla in ${MY_INSTALLDIR}"
- echo
-
- # config setting
- echo "Details for the bugzilla database"
- echo "(This scripts creates the database & user)"
- echo
- echo -n "mysql bugs db name [bugs]: "; read mybugsdb
- if (test -z ${mybugsdb}) ; then mybugsdb="bugs" ; fi
-
- echo -n "mysql bugs db host [localhost]: "; read mybugshost
- if (test -z ${mybugshost}) ; then mybugshost="localhost" ; fi
-
- echo -n "mysql bugs dbuser name [bugs]: "; read mybugsuser
- if (test -z ${mybugsuser}) ; then mybugsuser="bugs" ; fi
-
- echo -n "mysql bugs dbuser password: "; read mybugspwd
- if (test -z ${mybugspwd}) ; then echo "Error: no dbuser password" ; exit 1; fi
-
- cat bz.cfg.templ | sed -e "s/tmpdbname/${mybugsdb}/
- s/tmphost/${mybugshost}/
- s/tmpdbuser/${mybugsuser}/
- s/tmpdbpass/${mybugspwd}/" > bz.cfg.pl
-
- if [ ! -f bz.cfg.pl ] ; then echo "Error: no template for db vars" ; exit 1 ; fi
-
- # privileges
- echo "Setting correct privileges for bugzilla mysql connection"
- echo -n "Please enter login info for user who has grant privileges on ${mybugshost} [$USER]: "; read adminuser
- if (test -z ${adminuser}) ; then adminuser="$USER" ; fi
- if [ "${mybugshost}" != "localhost" ]; then
- echo -n "Client address for bugzilla (at db side) [$(hostname -f)]: "; read clientaddr
- if (test -z ${clientaddr}) ; then clientaddr="$(hostname -f)" ; fi
- fi
- # this will be default for localhost
- if (test -z ${clientaddr}) ; then clientaddr="${mybugshost}" ; fi
-
- # if $bugshost == localhost, don't specify -h argument, so local socket can be used.
- host=${mybugshost/localhost}
- mysql -u ${adminuser} ${host:+-h ${host}} -p mysql --exec="GRANT SELECT,INSERT,UPDATE,DELETE,INDEX, ALTER,CREATE,DROP,REFERENCES ON ${mybugsdb}.* TO ${mybugsuser}@${clientaddr} IDENTIFIED BY '${mybugspwd}'; FLUSH PRIVILEGES;" || {
- echo "Error running query!"
- echo
- echo "Please run it manually on ${host}."
- echo
- echo " \$ mysql -u ${adminuser} -p mysql --exec=\"GRANT SELECT,INSERT,UPDATE,DELETE,INDEX, ALTER,CREATE,DROP,REFERENCES ON ${mybugsdb}.* TO ${mybugsuser}@${clientaddr} IDENTIFIED BY '${mybugspwd}'; FLUSH PRIVILEGES;\""
- echo
- }
-
- echo "Setting the template for localconfig variables"
- chmod 755 ./checksetup.pl
- ./checksetup.pl bz.cfg.pl || exit 1
-
- echo "Final step: setting all html templates and db tables"
- chmod 750 ${VHOST_ROOT}/bugzilla/firstcheck.sh
- chmod 755 ./firstcheck.sh
- ./firstcheck.sh || die "firstcheck.sh config script failed"
-
- echo -n "Do you want to set a crontab [y/N]" ; read cronyes
- if [ "${cronyes}+" = "y+" ] ; then
- crontab -u apache ${MY_INSTALLDIR}/bugzilla.cron.tab
- fi
-
-else
- echo $1
-fi
diff --git a/www-apps/bugzilla/files/2.18.0_rc3/apache.htaccess b/www-apps/bugzilla/files/2.18.0_rc3/apache.htaccess
deleted file mode 100644
index 65b074866f11..000000000000
--- a/www-apps/bugzilla/files/2.18.0_rc3/apache.htaccess
+++ /dev/null
@@ -1,3 +0,0 @@
-Order Allow,Deny
-Options +ExecCGI +FollowSymLinks
-AllowOverride Limit
diff --git a/www-apps/bugzilla/files/2.18.0_rc3/reconfig b/www-apps/bugzilla/files/2.18.0_rc3/reconfig
deleted file mode 100644
index 26d1f226c3fc..000000000000
--- a/www-apps/bugzilla/files/2.18.0_rc3/reconfig
+++ /dev/null
@@ -1,91 +0,0 @@
-#!/bin/bash
-
-function die ()
-{
- echo
- echo "***"
- echo "*** Fatal error: $*"
- echo "***"
- exit 1
-}
-
-if [ $1 = "start" -o $1 = "install" ]; then
-
- cd "${MY_INSTALLDIR}" || die "Cannot find install dir ${MY_INSTALLDIR}"
-
- FILE="bugzilla.cron.daily bugzilla.cron.tab cronset.sh firstcheck.sh"
- for file in ${FILE}; do
- sed -e "s|/var/www/bugzilla|${MY_INSTALLDIR}|g;" -i ${D}/${MY_INSTALLDIR}/${FILE}
- done
-
- if ( test -a localconfig ) ; then
- echo "The following does not work on previous installations, please run checksetup.pl in ${MY_INSTALLDIR}"
- exit 1
- fi
-
- echo
- echo "Finalizing the installation of bugzilla in ${MY_INSTALLDIR}"
- echo
-
- # config setting
- echo "Details for the bugzilla database"
- echo "(This scripts creates the database & user)"
- echo
- echo -n "mysql bugs db name [bugs]: "; read mybugsdb
- if (test -z ${mybugsdb}) ; then mybugsdb="bugs" ; fi
-
- echo -n "mysql bugs db host [localhost]: "; read mybugshost
- if (test -z ${mybugshost}) ; then mybugshost="localhost" ; fi
-
- echo -n "mysql bugs dbuser name [bugs]: "; read mybugsuser
- if (test -z ${mybugsuser}) ; then mybugsuser="bugs" ; fi
-
- echo -n "mysql bugs dbuser password: "; read mybugspwd
- if (test -z ${mybugspwd}) ; then echo "Error: no dbuser password" ; exit 1; fi
-
- cat bz.cfg.templ | sed -e "s/tmpdbname/${mybugsdb}/
- s/tmphost/${mybugshost}/
- s/tmpdbuser/${mybugsuser}/
- s/tmpdbpass/${mybugspwd}/" > bz.cfg.pl
-
- if [ ! -f bz.cfg.pl ] ; then echo "Error: no template for db vars" ; exit 1 ; fi
-
- # privileges
- echo "Setting correct privileges for bugzilla mysql connection"
- echo -n "Please enter login info for user who has grant privileges on ${mybugshost} [$USER]: "; read adminuser
- if (test -z ${adminuser}) ; then adminuser="$USER" ; fi
- if [ "${mybugshost}" != "localhost" ]; then
- echo -n "Client address for bugzilla (at db side) [$(hostname -f)]: "; read clientaddr
- if (test -z ${clientaddr}) ; then clientaddr="$(hostname -f)" ; fi
- fi
- # this will be default for localhost
- if (test -z ${clientaddr}) ; then clientaddr="${mybugshost}" ; fi
-
- # if $bugshost == localhost, don't specify -h argument, so local socket can be used.
- host=${mybugshost/localhost}
- mysql -u ${adminuser} ${host:+-h ${host}} -p mysql --exec="GRANT SELECT,INSERT,UPDATE,DELETE,INDEX, ALTER,CREATE,DROP,REFERENCES ON ${mybugsdb}.* TO ${mybugsuser}@${clientaddr} IDENTIFIED BY '${mybugspwd}'; FLUSH PRIVILEGES;" || {
- echo "Error running query!"
- echo
- echo "Please run it manually on ${host}."
- echo
- echo " \$ mysql -u ${adminuser} -p mysql --exec=\"GRANT SELECT,INSERT,UPDATE,DELETE,INDEX, ALTER,CREATE,DROP,REFERENCES ON ${mybugsdb}.* TO ${mybugsuser}@${clientaddr} IDENTIFIED BY '${mybugspwd}'; FLUSH PRIVILEGES;\""
- echo
- }
-
- echo "Setting the template for localconfig variables"
- chmod 755 ./checksetup.pl
- ./checksetup.pl bz.cfg.pl || exit 1
-
- echo "Final step: setting all html templates and db tables"
- chmod 750 ${MY_INSTALLDIR}/firstcheck.sh
- chmod 755 ./firstcheck.sh
- ./firstcheck.sh || die "firstcheck.sh config script failed"
-
- echo -n "Do you want to set a crontab [y/N]" ; read cronyes
- if [ "${cronyes}+" = "y+" ] ; then
- crontab -u apache ${MY_INSTALLDIR}/bugzilla.cron.tab
- fi
-
-else
- echo $1
-fi
diff --git a/www-apps/bugzilla/files/2.18.0_rc4/apache.htaccess b/www-apps/bugzilla/files/2.18.0_rc4/apache.htaccess
deleted file mode 100644
index 65b074866f11..000000000000
--- a/www-apps/bugzilla/files/2.18.0_rc4/apache.htaccess
+++ /dev/null
@@ -1,3 +0,0 @@
-Order Allow,Deny
-Options +ExecCGI +FollowSymLinks
-AllowOverride Limit
diff --git a/www-apps/bugzilla/files/2.18.0_rc4/reconfig b/www-apps/bugzilla/files/2.18.0_rc4/reconfig
deleted file mode 100644
index 26d1f226c3fc..000000000000
--- a/www-apps/bugzilla/files/2.18.0_rc4/reconfig
+++ /dev/null
@@ -1,91 +0,0 @@
-#!/bin/bash
-
-function die ()
-{
- echo
- echo "***"
- echo "*** Fatal error: $*"
- echo "***"
- exit 1
-}
-
-if [ $1 = "start" -o $1 = "install" ]; then
-
- cd "${MY_INSTALLDIR}" || die "Cannot find install dir ${MY_INSTALLDIR}"
-
- FILE="bugzilla.cron.daily bugzilla.cron.tab cronset.sh firstcheck.sh"
- for file in ${FILE}; do
- sed -e "s|/var/www/bugzilla|${MY_INSTALLDIR}|g;" -i ${D}/${MY_INSTALLDIR}/${FILE}
- done
-
- if ( test -a localconfig ) ; then
- echo "The following does not work on previous installations, please run checksetup.pl in ${MY_INSTALLDIR}"
- exit 1
- fi
-
- echo
- echo "Finalizing the installation of bugzilla in ${MY_INSTALLDIR}"
- echo
-
- # config setting
- echo "Details for the bugzilla database"
- echo "(This scripts creates the database & user)"
- echo
- echo -n "mysql bugs db name [bugs]: "; read mybugsdb
- if (test -z ${mybugsdb}) ; then mybugsdb="bugs" ; fi
-
- echo -n "mysql bugs db host [localhost]: "; read mybugshost
- if (test -z ${mybugshost}) ; then mybugshost="localhost" ; fi
-
- echo -n "mysql bugs dbuser name [bugs]: "; read mybugsuser
- if (test -z ${mybugsuser}) ; then mybugsuser="bugs" ; fi
-
- echo -n "mysql bugs dbuser password: "; read mybugspwd
- if (test -z ${mybugspwd}) ; then echo "Error: no dbuser password" ; exit 1; fi
-
- cat bz.cfg.templ | sed -e "s/tmpdbname/${mybugsdb}/
- s/tmphost/${mybugshost}/
- s/tmpdbuser/${mybugsuser}/
- s/tmpdbpass/${mybugspwd}/" > bz.cfg.pl
-
- if [ ! -f bz.cfg.pl ] ; then echo "Error: no template for db vars" ; exit 1 ; fi
-
- # privileges
- echo "Setting correct privileges for bugzilla mysql connection"
- echo -n "Please enter login info for user who has grant privileges on ${mybugshost} [$USER]: "; read adminuser
- if (test -z ${adminuser}) ; then adminuser="$USER" ; fi
- if [ "${mybugshost}" != "localhost" ]; then
- echo -n "Client address for bugzilla (at db side) [$(hostname -f)]: "; read clientaddr
- if (test -z ${clientaddr}) ; then clientaddr="$(hostname -f)" ; fi
- fi
- # this will be default for localhost
- if (test -z ${clientaddr}) ; then clientaddr="${mybugshost}" ; fi
-
- # if $bugshost == localhost, don't specify -h argument, so local socket can be used.
- host=${mybugshost/localhost}
- mysql -u ${adminuser} ${host:+-h ${host}} -p mysql --exec="GRANT SELECT,INSERT,UPDATE,DELETE,INDEX, ALTER,CREATE,DROP,REFERENCES ON ${mybugsdb}.* TO ${mybugsuser}@${clientaddr} IDENTIFIED BY '${mybugspwd}'; FLUSH PRIVILEGES;" || {
- echo "Error running query!"
- echo
- echo "Please run it manually on ${host}."
- echo
- echo " \$ mysql -u ${adminuser} -p mysql --exec=\"GRANT SELECT,INSERT,UPDATE,DELETE,INDEX, ALTER,CREATE,DROP,REFERENCES ON ${mybugsdb}.* TO ${mybugsuser}@${clientaddr} IDENTIFIED BY '${mybugspwd}'; FLUSH PRIVILEGES;\""
- echo
- }
-
- echo "Setting the template for localconfig variables"
- chmod 755 ./checksetup.pl
- ./checksetup.pl bz.cfg.pl || exit 1
-
- echo "Final step: setting all html templates and db tables"
- chmod 750 ${MY_INSTALLDIR}/firstcheck.sh
- chmod 755 ./firstcheck.sh
- ./firstcheck.sh || die "firstcheck.sh config script failed"
-
- echo -n "Do you want to set a crontab [y/N]" ; read cronyes
- if [ "${cronyes}+" = "y+" ] ; then
- crontab -u apache ${MY_INSTALLDIR}/bugzilla.cron.tab
- fi
-
-else
- echo $1
-fi
diff --git a/www-apps/bugzilla/files/CAN-2004-1061.patch b/www-apps/bugzilla/files/CAN-2004-1061.patch
deleted file mode 100644
index a4286323915a..000000000000
--- a/www-apps/bugzilla/files/CAN-2004-1061.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-Index: template/en/default/global/code-error.html.tmpl
-===================================================================
-RCS file: /cvsroot/mozilla/webtools/bugzilla/template/en/default/global/code-error.html.tmpl,v
-retrieving revision 1.41
-diff -5 -p -u -r1.41 code-error.html.tmpl
---- template/en/default/global/code-error.html.tmpl 9 Dec 2004 09:22:20 -0000 1.41
-+++ template/en/default/global/code-error.html.tmpl 15 Dec 2004 23:50:52 -0000
-@@ -254,11 +254,14 @@
- [% terms.Bugzilla %] has suffered an internal error. Please save this page and send
- it to [% Param("maintainer") %] with details of what you were doing at
- the time this message appeared.
- </p>
- <script type="text/javascript"> <!--
-- document.write("<p>URL: " + document.location + "</p>");
-+ document.write("<p>URL: " +
-+ document.location.href.replace(/&/g,"&amp;")
-+ .replace(/</g,"&lt;")
-+ .replace(/>/g,"&gt;") + "</p>");
- // -->
- </script>
- </tt>
-
- <table cellpadding="20">
-Index: Bugzilla/Error.pm
-===================================================================
-RCS file: /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Error.pm,v
-retrieving revision 1.8
-diff -5 -p -u -r1.8 Error.pm
---- Bugzilla/Error.pm 8 Nov 2004 02:25:59 -0000 1.8
-+++ Bugzilla/Error.pm 15 Dec 2004 23:50:52 -0000
-@@ -116,11 +116,14 @@ sub ThrowTemplateError {
- Bugzilla has suffered an internal error. Please save this page and
- send it to $maintainer with details of what you were doing at the
- time this message appeared.
- </p>
- <script type="text/javascript"> <!--
-- document.write("<p>URL: " + document.location + "</p>");
-+ document.write("<p>URL: " +
-+ document.location.href.replace(/&/g,"&amp;")
-+ .replace(/</g,"&lt;")
-+ .replace(/>/g,"&gt;") + "</p>");
- // -->
- </script>
- <p>Template->process() failed twice.<br>
- First error: $error<br>
- Second error: $error2</p>
diff --git a/www-apps/bugzilla/files/bz.cfg.templ b/www-apps/bugzilla/files/bz.cfg.templ
index 2bcfc4ad19cd..30b90681800f 100644
--- a/www-apps/bugzilla/files/bz.cfg.templ
+++ b/www-apps/bugzilla/files/bz.cfg.templ
@@ -1,10 +1,3 @@
-
-$db_host = "tmphost";
-$db_port = 3306;
-$db_name = "tmpdbname";
-$db_user = "tmpdbuser";
-$db_pass = "tmpdbpass";
-
$answer{'ADMIN_OK'} = 'Y';
$answer{'ADMIN_EMAIL'} = 'tmpadmemail';
$answer{'ADMIN_PASSWORD'} = 'tmpadmpwd';
diff --git a/www-apps/bugzilla/files/digest-bugzilla-2.18.0_rc1 b/www-apps/bugzilla/files/digest-bugzilla-2.18.0_rc1
deleted file mode 100644
index 120fe1e126a3..000000000000
--- a/www-apps/bugzilla/files/digest-bugzilla-2.18.0_rc1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 564e018803ce07c41db7af9fc8919d1a bugzilla-2.18rc1.tar.gz 1218999
diff --git a/www-apps/bugzilla/files/digest-bugzilla-2.18.0_rc2 b/www-apps/bugzilla/files/digest-bugzilla-2.18.0_rc2
deleted file mode 100644
index bedc4001165d..000000000000
--- a/www-apps/bugzilla/files/digest-bugzilla-2.18.0_rc2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 aadd24a0177a7b44ef7b2785c0d6740f bugzilla-2.18rc2.tar.gz 1221714
diff --git a/www-apps/bugzilla/files/digest-bugzilla-2.18.0_rc3 b/www-apps/bugzilla/files/digest-bugzilla-2.18.0_rc3
deleted file mode 100644
index 9d950f6bd474..000000000000
--- a/www-apps/bugzilla/files/digest-bugzilla-2.18.0_rc3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 d17ffda0334124710873eeb09173d5a3 bugzilla-2.18rc3.tar.gz 1234642
diff --git a/www-apps/bugzilla/files/digest-bugzilla-2.18.0_rc4 b/www-apps/bugzilla/files/digest-bugzilla-2.18.0_rc4
deleted file mode 100644
index 9d950f6bd474..000000000000
--- a/www-apps/bugzilla/files/digest-bugzilla-2.18.0_rc4
+++ /dev/null
@@ -1 +0,0 @@
-MD5 d17ffda0334124710873eeb09173d5a3 bugzilla-2.18rc3.tar.gz 1234642