diff -u pmud-0.10/pmud.c pmud-0.10/pmud.c --- pmud-0.10/pmud.c +++ pmud-0.10/pmud.c @@ -1575,7 +1575,7 @@ static int do_sigpower(char level) { - int fd = open(POWERSTATUS_FILE, O_RDWR|O_TRUNC|O_CREAT); + int fd = open(POWERSTATUS_FILE, O_RDWR|O_TRUNC|O_CREAT, 0644); if(fd < 0) { syslog(LOG_ALERT, "open of %s failed (%m) reverting to sleep", diff -u pmud-0.10/debian/changelog pmud-0.10/debian/changelog --- pmud-0.10/debian/changelog +++ pmud-0.10/debian/changelog @@ -1,3 +1,10 @@ +pmud (0.10-13ubuntu1) raring; urgency=low + + * Merge from Debian unstable. Remaining changes: + - pmud.c: Fix call to open() when passing O_CREATE, it needs file mode. + + -- Vibhav Pant Mon, 12 Nov 2012 14:24:39 +0530 + pmud (0.10-13) unstable; urgency=low * Add LSB header to initscript to support dependency based init @@ -5,6 +12,12 @@ -- Michael Schmitz Sat, 14 Jul 2012 12:44:12 +1200 +pmud (0.10-12ubuntu1) precise; urgency=low + + * pmud.c: Fix call to open() when passing O_CREATE, it needs file mode. + + -- Ben Collins Sun, 22 Jan 2012 22:27:44 +0000 + pmud (0.10-12) unstable; urgency=low * Fix error in low voltage threshold default (patch by Paul Collins @@ -231,0 +245 @@ + diff -u pmud-0.10/debian/control pmud-0.10/debian/control --- pmud-0.10/debian/control +++ pmud-0.10/debian/control @@ -2,7 +2,8 @@ Section: admin Priority: optional Build-Depends: debhelper, libx11-dev -Maintainer: Michael Schmitz +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Michael Schmitz Standards-Version: 3.5.8.0 Package: pmud