[kernel] r7600 - people/jurij/ipw3945-daemon/debian

Jurij Smakov jurij-guest at costa.debian.org
Thu Oct 12 16:07:25 UTC 2006


Author: jurij-guest
Date: Thu Oct 12 16:07:25 2006
New Revision: 7600

Modified:
   people/jurij/ipw3945-daemon/debian/default
   people/jurij/ipw3945-daemon/debian/init
   people/jurij/ipw3945-daemon/debian/postinst
   people/jurij/ipw3945-daemon/debian/rules

Log:
* Ship /var/run/ipw345-daemon as part of the package.
* Set the correct ownership in postinst.
* Add README.Debian describing the variables.
* Change DAEMON_PERM variable name to a more descriptive
  SYS_CMD_PERM.


Modified: people/jurij/ipw3945-daemon/debian/default
==============================================================================
--- people/jurij/ipw3945-daemon/debian/default	(original)
+++ people/jurij/ipw3945-daemon/debian/default	Thu Oct 12 16:07:25 2006
@@ -1,5 +1,5 @@
 DAEMON_RUN='yes'
-DAEMON_OWNER='Debian-ipw3945d:Debian-ipw3945d'
 DAEMON_BINARY='/sbin/ipw3945d'
-DAEMON_PERM='744'
+DAEMON_OWNER='Debian-ipw3945d:Debian-ipw3945d'
+SYS_CMD_PERM='744'
 DAEMON_PID='/var/run/ipw3945d.pid'

Modified: people/jurij/ipw3945-daemon/debian/init
==============================================================================
--- people/jurij/ipw3945-daemon/debian/init	(original)
+++ people/jurij/ipw3945-daemon/debian/init	Thu Oct 12 16:07:25 2006
@@ -3,7 +3,7 @@
 DAEMON_RUN='yes'
 DAEMON_OWNER='Debian-ipw3945d:Debian-ipw3945d'
 DAEMON_BINARY='/sbin/ipw3945d'
-DAEMON_PERM='744'
+SYS_CMD_PERM='744'
 DAEMON_PID='/var/run/ipw3945-daemon/ipw3945d.pid'
 
 if [ -r /etc/default/ipw3945-daemon ]; then
@@ -18,7 +18,7 @@
     echo -n "Starting ipw3945 regulatory daemon: ipw3945d"
     # Fix permissions
     chown ${DAEMON_OWNER} ${cmd}
-    chmod ${DAEMON_PERM} ${cmd}
+    chmod ${SYS_CMD_PERM} ${cmd}
     start-stop-daemon --start --quiet --chuid ${DAEMON_OWNER}        \
                       --exec ${DAEMON_BINARY} --pidfile ${DAEMON_PID} \
 		      -- --pid-file=${DAEMON_PID}

Modified: people/jurij/ipw3945-daemon/debian/postinst
==============================================================================
--- people/jurij/ipw3945-daemon/debian/postinst	(original)
+++ people/jurij/ipw3945-daemon/debian/postinst	Thu Oct 12 16:07:25 2006
@@ -4,6 +4,7 @@
   configure)
     adduser --quiet --system --no-create-home --force-badname \
             --group Debian-ipw3945d
+    chmod Debian-ipw3945d:Debian-ipw3945d /var/run/ipw3945d-daemon
     #DEBHELPER#
     ;;
   abort-upgrade|abort-remove|abort-deconfigure)

Modified: people/jurij/ipw3945-daemon/debian/rules
==============================================================================
--- people/jurij/ipw3945-daemon/debian/rules	(original)
+++ people/jurij/ipw3945-daemon/debian/rules	Thu Oct 12 16:07:25 2006
@@ -28,6 +28,7 @@
 	dh_testroot
 	dh_installdocs README.ipw3945d
 	dh_installchangelogs
+	dh_installdirs
 	dh_installinit
 	dh_installman debian/ipw3945d.8
 #	Install the right version, depending on the arch



More information about the Kernel-svn-changes mailing list