summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2010-04-15 07:13:38 +0000
committerTorsten Veller <tove@gentoo.org>2010-04-15 07:13:38 +0000
commit16a33c1086f3a0d791d348531d29ca5fc26543d3 (patch)
tree8e2c9ba7b60671c3b1946a8b10c821a87fbbed68 /www-apps/bugzilla/files
parentVersion bump, bug #309947, thank Evert for this job. (diff)
downloadgentoo-2-16a33c1086f3a0d791d348531d29ca5fc26543d3.tar.gz
gentoo-2-16a33c1086f3a0d791d348531d29ca5fc26543d3.tar.bz2
gentoo-2-16a33c1086f3a0d791d348531d29ca5fc26543d3.zip
Version bump
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'www-apps/bugzilla/files')
-rw-r--r--www-apps/bugzilla/files/3.6/bugzilla.cron.daily5
-rw-r--r--www-apps/bugzilla/files/3.6/bugzilla.cron.tab1
-rw-r--r--www-apps/bugzilla/files/3.6/postinstall-en.txt12
-rw-r--r--www-apps/bugzilla/files/3.6/reconfig19
4 files changed, 37 insertions, 0 deletions
diff --git a/www-apps/bugzilla/files/3.6/bugzilla.cron.daily b/www-apps/bugzilla/files/3.6/bugzilla.cron.daily
new file mode 100644
index 000000000000..e3e86589891d
--- /dev/null
+++ b/www-apps/bugzilla/files/3.6/bugzilla.cron.daily
@@ -0,0 +1,5 @@
+#!/bin/sh
+cd /var/www/bugzilla/
+./collectstats.pl
+./whineatnews.pl
+echo "*** Bugzilla nighlty flush has done! ***"
diff --git a/www-apps/bugzilla/files/3.6/bugzilla.cron.tab b/www-apps/bugzilla/files/3.6/bugzilla.cron.tab
new file mode 100644
index 000000000000..0ac2ef6d65a6
--- /dev/null
+++ b/www-apps/bugzilla/files/3.6/bugzilla.cron.tab
@@ -0,0 +1 @@
+0 0 * * * /var/www/bugzilla/bugzilla.cron.daily
diff --git a/www-apps/bugzilla/files/3.6/postinstall-en.txt b/www-apps/bugzilla/files/3.6/postinstall-en.txt
new file mode 100644
index 000000000000..3b61f9db1e83
--- /dev/null
+++ b/www-apps/bugzilla/files/3.6/postinstall-en.txt
@@ -0,0 +1,12 @@
+0. Bugzilla has been installed into ${MY_INSTALLDIR}
+
+1. To finish the installation, please read
+ http://www.bugzilla.org/docs/3.6/en/html/installing-bugzilla.html
+ You will need to run ${MY_INSTALLDIR}/checksetup.pl
+
+2. Please read the Release Notes, especially if you are upgrading:
+ http://www.bugzilla.org/releases/3.6/release-notes.html
+
+3. Please note that Apache2 sets AllowOverride None by default. You may have
+ to edit it to process the .htaccess file provided by Bugzilla. Please see
+ http://httpd.apache.org/docs/2.2/mod/core.html#allowoverride for more info.
diff --git a/www-apps/bugzilla/files/3.6/reconfig b/www-apps/bugzilla/files/3.6/reconfig
new file mode 100644
index 000000000000..71b0acea2585
--- /dev/null
+++ b/www-apps/bugzilla/files/3.6/reconfig
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+FILE="bugzilla.cron.daily bugzilla.cron.tab"
+
+function die ()
+{
+ echo
+ echo "***"
+ echo "*** Fatal error: $*"
+ echo "***"
+ exit 1
+}
+
+if [ $1 = "install" ]; then
+ cd "${MY_INSTALLDIR}" || die "Cannot find install dir ${MY_INSTALLDIR}"
+ sed -e "s|/var/www/bugzilla|${MY_INSTALLDIR}|g" -i ${FILE} || die "sed failed"
+else
+ echo "done."
+fi