Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-apps/bugzilla/files/3.4: bugzilla.cron.daily bugzilla.cron.tab postinstall-en.txt reconfig
Date: Tue, 01 Sep 2009 11:24:48
Message-Id: E1MiWIX-0004HJ-Bp@stork.gentoo.org
1 scarabeus 09/09/01 16:33:33
2
3 Added: bugzilla.cron.daily bugzilla.cron.tab
4 postinstall-en.txt reconfig
5 Log:
6 CRAPY CVS. Gosh WHY echangelog noted it as added and it WAS NOT added.
7
8 Revision Changes Path
9 1.1 www-apps/bugzilla/files/3.4/bugzilla.cron.daily
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/bugzilla/files/3.4/bugzilla.cron.daily?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/bugzilla/files/3.4/bugzilla.cron.daily?rev=1.1&content-type=text/plain
13
14 Index: bugzilla.cron.daily
15 ===================================================================
16 #!/bin/sh
17 cd /var/www/bugzilla/
18 ./collectstats.pl
19 ./whineatnews.pl
20 echo "*** Bugzilla nighlty flush has done! ***"
21
22
23
24 1.1 www-apps/bugzilla/files/3.4/bugzilla.cron.tab
25
26 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/bugzilla/files/3.4/bugzilla.cron.tab?rev=1.1&view=markup
27 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/bugzilla/files/3.4/bugzilla.cron.tab?rev=1.1&content-type=text/plain
28
29 Index: bugzilla.cron.tab
30 ===================================================================
31 0 0 * * * /var/www/bugzilla/bugzilla.cron.daily
32
33
34
35 1.1 www-apps/bugzilla/files/3.4/postinstall-en.txt
36
37 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/bugzilla/files/3.4/postinstall-en.txt?rev=1.1&view=markup
38 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/bugzilla/files/3.4/postinstall-en.txt?rev=1.1&content-type=text/plain
39
40 Index: postinstall-en.txt
41 ===================================================================
42 0. Bugzilla has been installed into ${MY_INSTALLDIR}
43
44 1. To finish the installation, please read
45 http://www.bugzilla.org/docs/3.4/html/installing-bugzilla.html
46 You will need to run ${MY_INSTALLDIR}/checksetup.pl
47
48 2. Please read the Release Notes, especially if you are upgrading:
49 http://www.bugzilla.org/releases/3.4/release-notes.html
50
51 3. Please note that Apache2 sets AllowOverride None by default. You may have
52 to edit it to process the .htaccess file provided by Bugzilla. Please see
53 http://httpd.apache.org/docs/2.2/mod/core.html#allowoverride for more info.
54
55
56
57 1.1 www-apps/bugzilla/files/3.4/reconfig
58
59 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/bugzilla/files/3.4/reconfig?rev=1.1&view=markup
60 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/bugzilla/files/3.4/reconfig?rev=1.1&content-type=text/plain
61
62 Index: reconfig
63 ===================================================================
64 #!/bin/bash
65
66 FILE="bugzilla.cron.daily bugzilla.cron.tab"
67
68 function die ()
69 {
70 echo
71 echo "***"
72 echo "*** Fatal error: $*"
73 echo "***"
74 exit 1
75 }
76
77 if [ $1 = "install" ]; then
78 cd "${MY_INSTALLDIR}" || die "Cannot find install dir ${MY_INSTALLDIR}"
79 sed -e "s|/var/www/bugzilla|${MY_INSTALLDIR}|g" -i ${FILE} || die "sed failed"
80 else
81 echo "done."
82 fi