Hi Philipp,

find attached my patch for my NMU of your open-iscsi package. This patch
does NOT contain the new upstream tar-ball. As on request in #397636 i
used version 2.0.730 of upstream's tar-ball.

This upload goes to experimental, so we still have all possibilities
open for etch.

Greetings
Martin
-- 
[EMAIL PROTECTED] /root]# man real-life
No manual entry for real-life
diff -rNu open-iscsi-1.0.485/debian/changelog 
open-iscsi-2.0.730/debian/changelog
--- open-iscsi-1.0.485/debian/changelog 2006-11-22 08:08:11.000000000 +0100
+++ open-iscsi-2.0.730/debian/changelog 2006-11-25 14:34:19.851214241 +0100
@@ -1,3 +1,15 @@
+open-iscsi (2.0.730-0.1) experimental; urgency=low
+
+  * The "I need to NMU my own applicant" version: 
+    + NMU
+    + New Upstream Release (Closes: #397636)
+    + Made /var/lib/open-iscsi 0700 (Closes: #398733)
+    + change #define INITIATOR_NAME_FILE to /etc/initiatorname.iscsi 
+      in usr/initiator.h
+    + Fix package description (Closes: #380162)
+
+ -- Martin Zobel-Helas <[EMAIL PROTECTED]>  Sat, 25 Nov 2006 14:11:31 +0100
+
 open-iscsi (1.0.485-3) unstable; urgency=low
 
   * Added description to man page
diff -rNu open-iscsi-1.0.485/debian/control open-iscsi-2.0.730/debian/control
--- open-iscsi-1.0.485/debian/control   2006-11-22 08:08:11.000000000 +0100
+++ open-iscsi-2.0.730/debian/control   2006-11-25 14:41:51.971469991 +0100
@@ -8,10 +8,11 @@
 Package: open-iscsi
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: High performance, transport independent implementation of RFC3720
- Open-iscsi is a high performance, transport independent, implementation of 
- RFC3720.
- http://www.open-iscsi.org/
+Description: High performance, transport independent iSCSI implementation
+ iSCSI is a network protocol standard that allows the use of the SCSI protocol
+ over TCP/IP networks.  This implementation follows RFC3720.
+ .
+  Homepage: http://www.open-iscsi.org/
 
 #Package: linux-iscsi-modules-source
 #Architecture: all
diff -rNu open-iscsi-1.0.485/debian/open-iscsi.postinst 
open-iscsi-2.0.730/debian/open-iscsi.postinst
--- open-iscsi-1.0.485/debian/open-iscsi.postinst       1970-01-01 
01:00:00.000000000 +0100
+++ open-iscsi-2.0.730/debian/open-iscsi.postinst       2006-11-25 
13:53:08.296751741 +0100
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+case "$1" in
+    configure)
+       if [ -d /var/lib/open-iscsi ]; then
+               chmod 700   /var/lib/open-iscsi
+       else
+               mkdir /var/lib/open-iscsi
+               chmod 700   /var/lib/open-iscsi
+       fi
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0
--- open-iscsi-2.0.730.orig/usr/initiator.h
+++ open-iscsi-2.0.730/usr/initiator.h
@@ -35,7 +35,7 @@
 #define NODE_CONFIG_DIR                "/etc/iscsi/nodes"
 #define CONFIG_FILE            "/etc/iscsi/iscsid.conf"
 #define PID_FILE               "/var/run/iscsid.pid"
-#define INITIATOR_NAME_FILE    "/etc/iscsi/initiatorname.iscsi"
+#define INITIATOR_NAME_FILE    "/etc/initiatorname.iscsi"
 #define LOCK_DIR               "/var/lock/iscsi"
 #define LOCK_FILE              "/var/lock/iscsi/lock"
 #define LOCK_WRITE_FILE                "/var/lock/iscsi/lock.write"

Reply via email to