[Pkg-bugzilla-commits] r21 - in trunk/bugzilla-2.18: . debian

Alexis Sukrieh sukria-guest@costa.debian.org
Wed, 16 Feb 2005 17:43:54 +0100


Author: sukria-guest
Date: 2005-02-16 17:43:53 +0100 (Wed, 16 Feb 2005)
New Revision: 21

Modified:
   trunk/bugzilla-2.18/checksetup.pl
   trunk/bugzilla-2.18/debian/changelog
Log:
bugzilla (2.18-2) experimental; urgency=low

  * Rewrote Debconf templates for DTSG compliance (Christian Perrier).
  * New fr.po file for Debconf l10n (Christian Perrier).
  * New cs.po file for Debconf l10n (Jan Outrata).
  * New pt_BR.po file for Debconf l10n (Andre Luis Lopes).
  * Updated Bugzilla/Config.pm to fit the Debian needs (webpath =
    '/bugzilla/').
  * Typo in Makefile.
  * Commented out a piece of code in checksetup.pl for preventing a .htaccess
    creation in Bugzilla/ lib directory (no need here).




Modified: trunk/bugzilla-2.18/checksetup.pl
===================================================================
--- trunk/bugzilla-2.18/checksetup.pl	2005-02-14 08:58:28 UTC (rev 20)
+++ trunk/bugzilla-2.18/checksetup.pl	2005-02-16 16:43:53 UTC (rev 21)
@@ -1040,17 +1040,21 @@
     }
 
   }
-  if (!-e "Bugzilla/.htaccess") {
-    print "Creating Bugzilla/.htaccess...\n";
-    open HTACCESS, '>', 'Bugzilla/.htaccess';
-    print HTACCESS <<'END';
-# nothing in this directory is retrievable unless overriden by an .htaccess
-# in a subdirectory
-deny from all
-END
-    close HTACCESS;
-    chmod $fileperm, "Bugzilla/.htaccess";
-  }
+  
+  # This has nothing to do with Debian in fact, as Bugzilla Perl modules are 
+  # in /usr/share/perl5/Bugzilla.
+  # I then comment out that block.
+#  if (!-e "Bugzilla/.htaccess") {
+#    print "Creating Bugzilla/.htaccess...\n";
+#    open HTACCESS, '>', 'Bugzilla/.htaccess';
+#    print HTACCESS <<'END';
+## nothing in this directory is retrievable unless overriden by an .htaccess
+## in a subdirectory
+#deny from all
+#END
+#    close HTACCESS;
+#    chmod $fileperm, "Bugzilla/.htaccess";
+#  }
   # Even though $datadir may not (and should not) be in the webtree,
   # we can't know for sure, so create the .htaccess anyeay. Its harmless
   # if its not accessible...

Modified: trunk/bugzilla-2.18/debian/changelog
===================================================================
--- trunk/bugzilla-2.18/debian/changelog	2005-02-14 08:58:28 UTC (rev 20)
+++ trunk/bugzilla-2.18/debian/changelog	2005-02-16 16:43:53 UTC (rev 21)
@@ -7,8 +7,10 @@
   * Updated Bugzilla/Config.pm to fit the Debian needs (webpath =
     '/bugzilla/').
   * Typo in Makefile.
+  * Commented out a piece of code in checksetup.pl for preventing a .htaccess
+    creation in Bugzilla/ lib directory (no need here).
 
- -- Alexis Sukrieh <sukria@sukria.net>  Mon, 14 Feb 2005 09:43:42 +0100
+ -- Alexis Sukrieh <sukria@sukria.net>  Wed, 16 Feb 2005 17:42:04 +0100
 
 bugzilla (2.18-1) experimental; urgency=low