From: gregor herrmann Date: Sun, 29 Jul 2012 15:35:13 +0000 (+0200) Subject: Diff for NMU version 1.4.7-1.2. X-Git-Tag: debian/1.4.7-2~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d9b2787163d4598b1fc8c5c61c05f3cbc39a6ce7;p=pkg-rrdtool.git Diff for NMU version 1.4.7-1.2. --- diff --git a/debian/changelog b/debian/changelog index 4d1e443..8dfd223 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,15 @@ +rrdtool (1.4.7-1.2) unstable; urgency=low + + * Non-maintainer upload. + * Fix "fails to install, postinst, invoke-rc.d rrdcached start, start- + stop-daemon, segfault": + (re-)create /var/lib/rrdcached/{journal,db} in init script. + (Closes: #664724) + * debian/rules: remove the generated bindings/perl-shared/MYMETA.yml in the + clean target. + + -- gregor herrmann Sun, 29 Jul 2012 17:35:13 +0200 + rrdtool (1.4.7-1.1) unstable; urgency=low * Non-maintainer upload. diff --git a/debian/rrdcached.init.d b/debian/rrdcached.init.d index 66aadcb..296c4cc 100755 --- a/debian/rrdcached.init.d +++ b/debian/rrdcached.init.d @@ -61,6 +61,10 @@ d_start() { return 0 fi + # make sure we have the needed directories + mkdir -p /var/lib/rrdcached/journal/ + mkdir -p /var/lib/rrdcached/db/ + start-stop-daemon --start --quiet --oknodo --pidfile "$PIDFILE" \ --exec $DAEMON -- $OPTS -p "$PIDFILE" } diff --git a/debian/rules b/debian/rules index f9b33eb..040c372 100755 --- a/debian/rules +++ b/debian/rules @@ -123,7 +123,7 @@ endif # clean what the Makefiles do not clean ... rm -rf bindings/perl-piped/blib bindings/perl-shared/blib \ - bindings/perl-piped/Makefile.old bindings/perl-shared/Makefile.old + bindings/perl-piped/Makefile.old bindings/perl-shared/Makefile.old bindings/perl-shared/MYMETA.yml rm -f bindings/tcl/pkgIndex.tcl bindings/tcl/tclrrd*.so rm -f examples/cgi-demo.cgi rm -rf src/.libs src/.deps doc/*.html doc/*.1 doc/*.txt