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

Alexis Sukrieh sukria-guest@costa.debian.org
Mon, 09 May 2005 13:58:45 +0000


Author: sukria-guest
Date: 2005-05-09 13:58:45 +0000 (Mon, 09 May 2005)
New Revision: 94

Modified:
   trunk/bugzilla-2.18/Makefile
   trunk/bugzilla-2.18/debian/patches/00list
   trunk/bugzilla-2.18/debian/patches/03_params_path.dpatch
Log:
first try to add datadir under /var/lib

Modified: trunk/bugzilla-2.18/Makefile
===================================================================
--- trunk/bugzilla-2.18/Makefile	2005-05-04 09:50:50 UTC (rev 93)
+++ trunk/bugzilla-2.18/Makefile	2005-05-09 13:58:45 UTC (rev 94)
@@ -12,6 +12,7 @@
 BUGZILLA_ROOT	= $(DESTDIR)/usr/share/bugzilla
 BUGZILLA_WWW	= $(BUGZILLA_ROOT)/web
 BUGZILLA_LIBDIR = $(BUGZILLA_ROOT)
+BUGZILLA_DATADIR = $(DESTDIR)/var/lib/bugzilla
 BUGZILLA_CONTRIB= $(BUGZILLA_ROOT)/contrib
 
 # Source paths
@@ -105,7 +106,8 @@
 	@for this_file in $(shell find Bugzilla -type f) ; do \
 		install -m 0644 -o root -g root $$this_file $(BUGZILLA_PERLDIR)/`dirname $$this_file` ;\
 	done
-
+	install -d -m 0755 -o root -g root $(BUGZILLA_DATADIR)
+	
 install_cgi:
 	install -d -m 0755 -o root -g root $(BUGZILLA_CGIDIR)
 	install -m 0755 -o root -g root $(cgi_files) $(BUGZILLA_CGIDIR)

Modified: trunk/bugzilla-2.18/debian/patches/00list
===================================================================
--- trunk/bugzilla-2.18/debian/patches/00list	2005-05-04 09:50:50 UTC (rev 93)
+++ trunk/bugzilla-2.18/debian/patches/00list	2005-05-09 13:58:45 UTC (rev 94)
@@ -1,4 +1,5 @@
 01_libpath
+01_datadir
 02_checksetup
 03_params_path
 04_cookiepath

Modified: trunk/bugzilla-2.18/debian/patches/03_params_path.dpatch
===================================================================
--- trunk/bugzilla-2.18/debian/patches/03_params_path.dpatch	2005-05-04 09:50:50 UTC (rev 93)
+++ trunk/bugzilla-2.18/debian/patches/03_params_path.dpatch	2005-05-09 13:58:45 UTC (rev 94)
@@ -9,7 +9,7 @@
 --- ./Bugzilla/Config.pm	2005-04-23 17:50:48.000000000 +0200
 +++ /tmp/dpep-work.6UI423/bugzilla-2.18/Bugzilla/Config.pm	2005-04-26 16:43:17.213617104 +0200
 @@ -56,6 +56,7 @@
- our $datadir = "$libpath/web/data";
+ our $datadir = "/var/lib/bugzilla";
  our $templatedir = "$libpath/template";
  our $webdotdir = "$datadir/webdot";
 +our $params_file = "/etc/bugzilla/params";