~ubuntu-branches/ubuntu/edgy/bugzilla/edgy

« back to all changes in this revision

Viewing changes to debian/patches/101_Config.diff

  • Committer: Bazaar Package Importer
  • Author(s): Alexis Sukrieh
  • Date: 2006-06-07 12:49:53 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20060607124953-ymjflzzsex0u1fzj
Tags: 2.22-1
* New upstream release (2.22).
  (closes: #365304)
* Tempaltes moved to `/var/lib/bugzilla' instead of `/usr/share/bugzilla'
  which is more appropriate, and compliant with README.Debian.
  (closes: #368605)
* Doesn't overwrite `/etc/bugzilla/localconfig' silently, uses ucf for
  replacing this file so the local administrator can check if he wants to
  update the DB access or not. It's then possible to upgrade from version
  prior to 2.22 with denying to use dbconfig-common.
  (closes: #366961)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
--- bugzilla-2.18.orig/Bugzilla/Config.pm       2005-04-23 17:49:18.921735392 +0200
2
 
+++ bugzilla-2.18/Bugzilla/Config.pm    2005-04-23 17:47:40.586684592 +0200
3
 
@@ -251,6 +251,8 @@
 
1
--- bugzilla/Bugzilla/Config.pm 2006-06-07 11:53:25.000000000 +0200
 
2
+++ bugzilla/Bugzilla/Config.pm 2006-06-07 11:55:17.000000000 +0200
 
3
@@ -338,6 +338,8 @@
4
4
 sub WriteParams {
5
5
     require Data::Dumper;
6
6
 
9
9
     # This only has an affect for Data::Dumper >= 2.12 (ie perl >= 5.8.0)
10
10
     # Its just cosmetic, though, so that doesn't matter
11
11
     local $Data::Dumper::Sortkeys = 1;
12
 
@@ -267,7 +269,7 @@
 
12
@@ -356,7 +358,7 @@
13
13
     # this works really better than the original rename() call
14
14
     # and will prevent overwriting of symlinks.
15
15
     open TMPFILE, "<$tmpname" or die "$!";
18
18
     while (<TMPFILE>) {
19
19
            print PARAMSFILE $_;
20
20
     }
21
 
@@ -275,7 +277,7 @@
22
 
     close PARAMSFILE;
 
21
@@ -365,7 +367,7 @@
23
22
     unlink $tmpname;
 
23
  
24
24
 
25
 
-    ChmodDataFile($params_file, 0666);
 
25
-    ChmodDataFile("$params_file", 0666);
26
26
+    ChmodDataFile($params_218_new, 0666);
27
27
 }
28
28
 
29
 
 # Some files in the data directory must be world readable iff we don't have
 
29
 # Some files in the data directory must be world readable if and only if