* Fix usage of MAKEDEV, thanks to Marco d'Itri (closes: #434160). debian/0.4.0-3
authorgregor herrmann <gregoa@debian.org>
Sun, 22 Jul 2007 14:37:47 +0000 (14:37 -0000)
committergregor herrmann <gregoa@debian.org>
Sun, 22 Jul 2007 14:37:47 +0000 (14:37 -0000)
debian/changelog
debian/control
debian/postinst

index acf360448018d082c41a1c7d09a35f593a87c854..4a3f52b572855ffa91d0c4467084799cb029b0f4 100644 (file)
@@ -1,4 +1,4 @@
-iodine (0.4.0-3) UNRELEASED; urgency=low
+iodine (0.4.0-3) unstable; urgency=low
 
   * Add Portuguese translation for debconf messages, thanks to Américo
     Monteiro and Miguel Figueiredo (closes: #433041).
@@ -8,8 +8,9 @@ iodine (0.4.0-3) UNRELEASED; urgency=low
     (closes: #433297).
   * Add debconf-updatepo to debian/rule's clean target.
   * Convert debian/changelog to UTF-8.
+  * Fix usage of MAKEDEV, thanks to Marco d'Itri (closes: #434160).
 
- -- gregor herrmann <gregor+debian@comodo.priv.at>  Mon, 16 Jul 2007 16:24:31 +0200
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Sun, 22 Jul 2007 16:27:51 +0200
 
 iodine (0.4.0-2) unstable; urgency=low
 
index 4055ef89d662b95a1bf398a097cf52676d88ec57..950b0a82268a8cd4b2f824511095ecc6fa0979d3 100644 (file)
@@ -10,7 +10,7 @@ XS-Vcs-Browser: http://svn.toastfreeware.priv.at/wsvn/ToastfreewareDebian/iodine
 
 Package: iodine
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, makedev, adduser
+Depends: ${shlibs:Depends}, ${misc:Depends}, udev | makedev, adduser
 Description: tool for tunneling IPv4 data through a DNS server
  This is a piece of software that lets you tunnel IPv4 data through a DNS
  server. This can be usable in different situations where internet access is
index 478d014166ed9af3e98dd6b8663beb1b4bb67c7e..7ea4779f672a9ea412fe224b576a7778bf154b7f 100644 (file)
@@ -22,28 +22,26 @@ set -e
 
 case "$1" in
     configure)
-       # we need a tun device
-       if [ ! -e /dev/net/tun ] ; then
-               echo "Creating device /dev/net/tun ..."
-               cd /dev && WRITE_ON_UDEV=false ./MAKEDEV tun
-           fi
-           # and we want a special user
-           adduser --quiet --system --home /var/run/iodine iodine
-      # generate /etc/default/iodine
-      db_get iodine/start_daemon
-      START_IODINED=$RET
-      db_get iodine/daemon_options
-      IODINED_ARGS=$RET
-      db_get iodine/daemon_password
-      IODINED_PASSWORD=$RET
-      cat <<EOF > /etc/default/iodine
+        # we need a tun device
+        echo "Creating device /dev/net/tun ..."
+        cd /dev && ./MAKEDEV tun
+        # and we want a special user
+        adduser --quiet --system --home /var/run/iodine iodine
+        # generate /etc/default/iodine
+        db_get iodine/start_daemon
+        START_IODINED=$RET
+        db_get iodine/daemon_options
+        IODINED_ARGS=$RET
+        db_get iodine/daemon_password
+        IODINED_PASSWORD=$RET
+        cat <<EOF > /etc/default/iodine
 # Default settings for iodine. This file is sourced from
 # /etc/init.d/iodined
 START_IODINED="$START_IODINED"
 IODINED_ARGS="$IODINED_ARGS"
 IODINED_PASSWORD="$IODINED_PASSWORD"
 EOF
-      [ -e /etc/default/iodine ] && chmod 600 /etc/default/iodine
+        [ -e /etc/default/iodine ] && chmod 600 /etc/default/iodine
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)