summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-09-01 16:33:32 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2009-09-01 16:33:32 +0000
commit2f870d54bf118b141b52e7d3ca803ccd38130341 (patch)
treefbd02b41ad03a205833a82e0f720a30b7292c711 /www-apps/bugzilla
parentVersion bump KDE 4.3.1 (diff)
downloadgentoo-2-2f870d54bf118b141b52e7d3ca803ccd38130341.tar.gz
gentoo-2-2f870d54bf118b141b52e7d3ca803ccd38130341.tar.bz2
gentoo-2-2f870d54bf118b141b52e7d3ca803ccd38130341.zip
CRAPY CVS. Gosh WHY echangelog noted it as added and it WAS NOT added.
Diffstat (limited to 'www-apps/bugzilla')
-rw-r--r--www-apps/bugzilla/files/3.4/bugzilla.cron.daily5
-rw-r--r--www-apps/bugzilla/files/3.4/bugzilla.cron.tab1
-rw-r--r--www-apps/bugzilla/files/3.4/postinstall-en.txt12
-rw-r--r--www-apps/bugzilla/files/3.4/reconfig19
4 files changed, 37 insertions, 0 deletions
diff --git a/www-apps/bugzilla/files/3.4/bugzilla.cron.daily b/www-apps/bugzilla/files/3.4/bugzilla.cron.daily
new file mode 100644
index 000000000000..e3e86589891d
--- /dev/null
+++ b/www-apps/bugzilla/files/3.4/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.4/bugzilla.cron.tab b/www-apps/bugzilla/files/3.4/bugzilla.cron.tab
new file mode 100644
index 000000000000..0ac2ef6d65a6
--- /dev/null
+++ b/www-apps/bugzilla/files/3.4/bugzilla.cron.tab
@@ -0,0 +1 @@
+0 0 * * * /var/www/bugzilla/bugzilla.cron.daily
diff --git a/www-apps/bugzilla/files/3.4/postinstall-en.txt b/www-apps/bugzilla/files/3.4/postinstall-en.txt
new file mode 100644
index 000000000000..c1d9007e7d12
--- /dev/null
+++ b/www-apps/bugzilla/files/3.4/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.4/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.4/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.4/reconfig b/www-apps/bugzilla/files/3.4/reconfig
new file mode 100644
index 000000000000..71b0acea2585
--- /dev/null
+++ b/www-apps/bugzilla/files/3.4/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