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

Bug#690730: unblock: solarpowerlog/0.23a-2



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Please unblock package solarpowerlog

It includes the fix for the RC-critical bug 690632, caused by a bashism in the 
init.d file.

Debdiff is attached.

(Please note that at the moment the package is not yet uploaded to the archives,
but I'm sure my sponsor will do that soon.) 

Best regards,
Tobias Frost

unblock solarpowerlog/0.23a-2

- -- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlB9wvMACgkQvyUNygvkuQKsAACg4WPGJcUTMOU6LQsbASh3RXVN
j7AAn28Rkdi1A46f/GlnW8DWp6CtluXC
=oXOn
-----END PGP SIGNATURE-----
diff -Nru solarpowerlog-0.23a/debian/changelog solarpowerlog-0.23a/debian/changelog
--- solarpowerlog-0.23a/debian/changelog	2012-03-14 17:45:40.000000000 +0100
+++ solarpowerlog-0.23a/debian/changelog	2012-10-16 22:03:48.000000000 +0200
@@ -1,5 +1,11 @@
+solarpowerlog (0.23a-2) unstable; urgency=low
+
+  * Fix "bashism in the init.d file (Closes: #690632)
+
+ -- Tobias Frost <tobi@coldtobi.de>  Tue, 16 Oct 2012 19:51:13 +0200
+
 solarpowerlog (0.23a-1) unstable; urgency=low
 
   * Initial upload (Closes: #652904)
 
- -- Tobias Frost <tobi@coldtobi.de>  Wed, 14 Mar 2012 17:00:49 +0100
+ -- Tobias Frost <tobi@coldtobi.de>  Wed, 14 Mar 2012 16:48:09 +0100
diff -Nru solarpowerlog-0.23a/debian/patches/fix_solarpowerlog.init solarpowerlog-0.23a/debian/patches/fix_solarpowerlog.init
--- solarpowerlog-0.23a/debian/patches/fix_solarpowerlog.init	1970-01-01 01:00:00.000000000 +0100
+++ solarpowerlog-0.23a/debian/patches/fix_solarpowerlog.init	2012-10-16 21:41:02.000000000 +0200
@@ -0,0 +1,21 @@
+# Description: Fix for #690632
+# Author: Tobias Frost <tobi@coldtobi.de>
+# Bug: 690632
+Index: solarpowerlog/tools/solarpowerlog.init
+===================================================================
+--- solarpowerlog.orig/tools/solarpowerlog.init	2012-10-16 19:47:55.994885908 +0200
++++ solarpowerlog/tools/solarpowerlog.init	2012-10-16 19:48:37.519428305 +0200
+@@ -56,11 +56,11 @@
+ do_start()
+ {
+ 	# As we want to run as non-privilegded user, we need to create a helper directory
+-	[[ ! -e $PIDDIR ]] && mkdir -p $PIDDIR && chown $USER $PIDDIR
++	[ ! -e $PIDDIR ] && mkdir -p $PIDDIR && chown $USER $PIDDIR
+ 
+ 	# The same applies to the programm logs. We need to ensure that solarpowerlog can
+ 	# access it.
+-	[[ ! -e $LOGDIR ]] && mkdir -p $LOGDIR && chown $USER $LOGDIR
++	[ ! -e $LOGDIR ] && mkdir -p $LOGDIR && chown $USER $LOGDIR
+ 
+ 	# Return
+ 	#   0 if daemon has been started
diff -Nru solarpowerlog-0.23a/debian/patches/series solarpowerlog-0.23a/debian/patches/series
--- solarpowerlog-0.23a/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ solarpowerlog-0.23a/debian/patches/series	2012-10-16 21:06:09.000000000 +0200
@@ -0,0 +1 @@
+fix_solarpowerlog.init

Reply to: