[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Approval for changes in request-tracker3.8 sought



On Tue, Nov 09, 2010 at 07:24:27PM +0000, Dominic Hargreaves wrote:
> Hello,
> 
> I have a straightforward to fix RC bug in request-tracker3.8 (#602570)
> which is ready to upload (diff attached).

Diff actually attached this time.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)
Index: debian/control
===================================================================
--- debian/control	(revision 880)
+++ debian/control	(working copy)
@@ -42,7 +42,7 @@
  perl (>= 5.12.0) | libcgi-pm-perl (>= 3.38), libcgi-fast-perl,
  libfcgi-procmanager-perl,
  ${misc:Depends}
-Recommends: speedy-cgi-perl, libdatetime-locale-perl, libdatetime-perl
+Recommends: speedy-cgi-perl, libdatetime-locale-perl, libdatetime-perl, cron-daemon
 Suggests: rt3.8-rtfm
 Conflicts: request-tracker, request-tracker3.2 (<< 3.2.2-3), libdatetime-locale-perl (<< 1:0.44), libdatetime-perl (<< 2:0.4900)
 Replaces: request-tracker
Index: debian/postinst
===================================================================
--- debian/postinst	(revision 880)
+++ debian/postinst	(working copy)
@@ -131,6 +131,7 @@
 #0 * * * * www-data [ -x /usr/sbin/rt-email-dashboards-3.8 ] && /usr/sbin/rt-email-dashboards-3.8
 EOF
     fi
+    mkdir -p /etc/cron.d
     ucf --debconf-ok $tfile /etc/cron.d/request-tracker3.8
     rm $tfile
 }
Index: debian/changelog
===================================================================
--- debian/changelog	(revision 880)
+++ debian/changelog	(working copy)
@@ -1,3 +1,11 @@
+request-tracker3.8 (3.8.8-6) unstable; urgency=low
+
+  * Make sure /etc/cron.d exists in postinst before installing cronjob,
+    to cater for the case where cron is not installed (Closes: #602570)
+  * Add cron-daemon to Recommends
+
+ -- Dominic Hargreaves <dom@earth.li>  Tue, 09 Nov 2010 18:25:00 +0000
+
 request-tracker3.8 (3.8.8-5) unstable; urgency=low
 
   * Add dummy init script to ensure that the database server is started

Reply to: