diff -u smstools-3.0.10/debian/control smstools-3.0.10/debian/control --- smstools-3.0.10/debian/control +++ smstools-3.0.10/debian/control @@ -1,7 +1,8 @@ Source: smstools Section: comm Priority: optional -Maintainer: Mark Purcell +Maintainer: Ubuntu MOTU Developers +XSCB-Original-Maintainer: Mark Purcell Uploaders: Patrick Schoenfeld Build-Depends: debhelper (>> 5.0.0), libmm-dev, po-debconf, quilt Homepage: http://smstools3.kekekasvi.com diff -u smstools-3.0.10/debian/changelog smstools-3.0.10/debian/changelog --- smstools-3.0.10/debian/changelog +++ smstools-3.0.10/debian/changelog @@ -1,3 +1,11 @@ +smstools (3.0.10-2ubuntu1) hardy-proposed; urgency=low + + * Changes to the init.d script + - smstools folder under /var/run isn't recreated after reboot (LP: #221973) + - wrong ownership of /var/run/smstools (LP: #135033) + + -- Peter Magnusson Fri, 23 May 2008 21:18:53 +0200 + smstools (3.0.10-2) unstable; urgency=low * Use the new Homepage field diff -u smstools-3.0.10/debian/init.d smstools-3.0.10/debian/init.d --- smstools-3.0.10/debian/init.d +++ smstools-3.0.10/debian/init.d @@ -47,7 +47,20 @@ # Delete lock files if they exist find /var/spool/sms -name '*.LOCK' -exec rm \{\} \; fi - + + #make sure we have the directories and access where needed + if [ ! -d $(dirname $PIDFILE) ]; then + install -d -o $USER -g $GROUP -m 755 $(dirname $PIDFILE) + else + chown -R $USER:$GROUP $(dirname $PIDFILE) + fi + + if [ ! -d $(dirname $INFOFILE) ]; then + install -d -o $USER -g $GROUP -m 755 $(dirname $INFOFILE) + else + chown -R $USER:$GROUP $(dirname $INFOFILE) + fi + # Start the daemon ARGS="-p$PIDFILE -i$INFOFILE -u$USER -g$GROUP" if start-stop-daemon -q --start --background -p $PIDFILE --exec $DAEMON -- $ARGS ; then diff -u smstools-3.0.10/debian/copyright smstools-3.0.10/debian/copyright --- smstools-3.0.10/debian/copyright +++ smstools-3.0.10/debian/copyright @@ -31,0 +32,5 @@ + + +The Ubuntu packaging: + Copyright (C) 2008 by Peter Magnusson + released under the GPL, see above