[Python-apps-commits] r2621 - in packages/wicd/trunk/debian (changelog control init rules)
hanska-guest at users.alioth.debian.org
hanska-guest at users.alioth.debian.org
Sun Mar 15 23:54:32 UTC 2009
Date: Sunday, March 15, 2009 @ 23:54:32
Author: hanska-guest
Revision: 2621
* debian/control:
- Standards-Version bumped to 3.8.1:
+ debian/init fixed, /var/run/wicd created on init.d script
start, since /var/run may be mounted as a temporary filesystem
(?\194?\1679.3.2)
Modified:
packages/wicd/trunk/debian/changelog
packages/wicd/trunk/debian/control
packages/wicd/trunk/debian/init
packages/wicd/trunk/debian/rules
Modified: packages/wicd/trunk/debian/changelog
===================================================================
--- packages/wicd/trunk/debian/changelog 2009-03-15 23:17:39 UTC (rev 2620)
+++ packages/wicd/trunk/debian/changelog 2009-03-15 23:54:32 UTC (rev 2621)
@@ -5,8 +5,13 @@
(Closes: #519433)
- 09-fix_wire_plugging_detection.patch, added, thanks to Giuseppe
Martino (Closes: #503738)
+ * debian/control:
+ - Standards-Version bumped to 3.8.1:
+ + debian/init fixed, /var/run/wicd created on init.d script
+ start, since /var/run may be mounted as a temporary filesystem
+ (§9.3.2)
- -- David Paleino <d.paleino at gmail.com> Mon, 16 Mar 2009 00:17:20 +0100
+ -- David Paleino <d.paleino at gmail.com> Mon, 16 Mar 2009 00:51:43 +0100
wicd (1.5.9-4) unstable; urgency=low
Modified: packages/wicd/trunk/debian/control
===================================================================
--- packages/wicd/trunk/debian/control 2009-03-15 23:17:39 UTC (rev 2620)
+++ packages/wicd/trunk/debian/control 2009-03-15 23:54:32 UTC (rev 2621)
@@ -6,7 +6,7 @@
DM-Upload-Allowed: yes
Build-Depends: debhelper (>= 7), python, quilt
Build-Depends-Indep: python-support
-Standards-Version: 3.8.0
+Standards-Version: 3.8.1
Homepage: http://wicd.sourceforge.net/
Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/wicd/trunk/
Vcs-Svn: svn://svn.debian.org/svn/python-apps/packages/wicd/trunk
Modified: packages/wicd/trunk/debian/init
===================================================================
--- packages/wicd/trunk/debian/init 2009-03-15 23:17:39 UTC (rev 2620)
+++ packages/wicd/trunk/debian/init 2009-03-15 23:54:32 UTC (rev 2621)
@@ -18,14 +18,18 @@
PATH=/usr/sbin:/usr/bin:/sbin:/bin
DESC="Network connection manager"
NAME=wicd
+RUNDIR=/var/run/$NAME
DAEMON=/usr/sbin/$NAME
DAEMON_ARGS=""
-PIDFILE=/var/run/wicd/wicd.pid
+PIDFILE=$RUNDIR/wicd.pid
SCRIPTNAME=/etc/init.d/wicd
# Exit if the package is not installed
[ -x "$DAEMON" ] || exit 0
+# Create RUNDIR if it doesn't exist
+[ -d "$RUNDIR" ] || mkdir -p "$RUNDIR"
+
# Read configuration variable file if it is present
[ -r /etc/default/$NAME ] && . /etc/default/$NAME
Modified: packages/wicd/trunk/debian/rules
===================================================================
--- packages/wicd/trunk/debian/rules 2009-03-15 23:17:39 UTC (rev 2620)
+++ packages/wicd/trunk/debian/rules 2009-03-15 23:54:32 UTC (rev 2621)
@@ -36,6 +36,7 @@
find $(CURDIR)/debian/wicd -name "*.png" -exec chmod 644 {} \;
find $(CURDIR)/debian/wicd/etc/wicd/ -type f -exec chmod 644 {} \;
find $(CURDIR)/debian/wicd \( -name "*.glade" -o -name "*.conf" -o -name "*.desktop" \) -exec chmod 644 {} \;
+ -rm -rf $(CURDIR)/debian/wicd/var/run
dh install --after dh_auto_install --before dh_installinit
dh_pysupport -i
More information about the Python-apps-commits
mailing list