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

Bug#767708: unblock: lcd4linux/0.11.0~svn1200-3



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

Hi Release Team,

Please unblock or reduce age-day for package lcd4linux. This upload
fixes a severity important bug which affects both upgrades and new
installs of this package. Debdiff attached (please ignore lcd4conf.conf
file which was inadvertently left in debian directory when uploading;
can reupload with file removed if required).

unblock lcd4linux/0.11.0~svn1200-3

Thanks,
Jon
diff -Nru --exclude '*lcd4conf.conf' lcd4linux-0.11.0~svn1200/debian/changelog lcd4linux-0.11.0~svn1200/debian/changelog
--- lcd4linux-0.11.0~svn1200/debian/changelog	2014-10-09 11:38:13.000000000 +0100
+++ lcd4linux-0.11.0~svn1200/debian/changelog	2014-11-01 20:16:22.000000000 +0000
@@ -1,3 +1,12 @@
+lcd4linux (0.11.0~svn1200-3) unstable; urgency=medium
+
+  * ACK libtool-bin NMU
+    - Thanks to Matthias Klose!
+  * Install modified lcd4linux.sample.conf as dummy lcd4linux.conf file to
+    satisfy startup checks (Closes: 758057)
+
+ -- Jonathan McCrohan <jmccrohan@gmail.com>  Sat, 01 Nov 2014 20:16:22 +0000
+
 lcd4linux (0.11.0~svn1200-2.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru --exclude '*lcd4conf.conf' lcd4linux-0.11.0~svn1200/debian/rules lcd4linux-0.11.0~svn1200/debian/rules
--- lcd4linux-0.11.0~svn1200/debian/rules	2014-04-14 23:57:07.000000000 +0100
+++ lcd4linux-0.11.0~svn1200/debian/rules	2014-11-01 20:15:38.000000000 +0000
@@ -20,6 +20,22 @@
 override_dh_installman:
 	dh_installman debian/lcd4linux.8
 
+override_dh_install:
+	dh_install
+	sed -e "1c lcd4linux debian sample config" \
+		-e "2d" \
+		-e "3a This is a dummy config file using the NULL driver." \
+		-e "3a Please amend this file as required by your specific LCD device." \
+		-e "s@#Display 'NULL'@Display 'NULL'@" \
+		-e "s@Display 'ACool'@#Display 'ACool'@" \
+		-e "s@Layout 'TestLayer'@#Layout 'TestLayer'@" \
+		-e "s@#Layout 'Default'@Layout 'Default'@" \
+		lcd4linux.conf.sample > debian/lcd4linux/etc/lcd4linux.conf
+	chmod 600 debian/lcd4linux/etc/lcd4linux.conf
+
+override_dh_fixperms:
+	dh_fixperms -X debian/lcd4linux/etc/lcd4linux.conf
+
 %:
 	dh $@ --with autotools_dev --with systemd
 

Reply to: