-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

tags 465782 + patch

thanks

Hi Martin,

I created a patch that should fix this bug. I removed the creation of
/var/isns from the source code, added the creation of /var/lib/isns to
debian/dirs, and changes that code accordingly.

HTH,
Meike

PS: I noticed you debian/dirs contains /usr/bin but you don't seem to
actually use that directory, so I guess that could be removed.
- --
                                                ___   ___
                                               ( m \v/ r )
irc: alphascorpii  web:  www.alphascorpii.net   \ a | s /
GPG: 0x1451095B    blog: blog.alphascorpii.net   {_/ \_}
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH4ruHuT3KDxRRCVsRAmvBAJwOVWh8+W8djAXE3JLCvaiu6lhCZQCfRCd9
Tk95m13QVJTV3tk7duJyc8w=
=QJW2
-----END PGP SIGNATURE-----
diff -Nur isns-2.1-01+dfsg/debian/changelog isns-2.1-01+dfsg_meike/debian/changelog
--- isns-2.1-01+dfsg/debian/changelog	2008-03-20 14:37:18.000000000 +0100
+++ isns-2.1-01+dfsg_meike/debian/changelog	2008-03-20 15:58:57.000000000 +0100
@@ -1,3 +1,10 @@
+isns (2.1-01+dfsg-2.1) unstable; urgency=low
+
+  * NMU: created patches/iSNSLinux.c_var_lib.patch and changed 
+    dirs (Closes: #465782)
+
+ -- Meike Reichle <[EMAIL PROTECTED]>  Thu, 20 Mar 2008 15:02:55 +0100
+
 isns (2.1-01+dfsg-2) unstable; urgency=low
 
   * Fix location of pid file (Closes: #462006)
diff -Nur isns-2.1-01+dfsg/debian/dirs isns-2.1-01+dfsg_meike/debian/dirs
--- isns-2.1-01+dfsg/debian/dirs	2008-03-20 14:37:18.000000000 +0100
+++ isns-2.1-01+dfsg_meike/debian/dirs	2008-03-20 13:53:50.000000000 +0100
@@ -1,2 +1,3 @@
 usr/bin
 usr/sbin
+var/lib/isns
diff -Nur isns-2.1-01+dfsg/debian/patches/iSNSLinux.c_var_lib.patch isns-2.1-01+dfsg_meike/debian/patches/iSNSLinux.c_var_lib.patch
--- isns-2.1-01+dfsg/debian/patches/iSNSLinux.c_var_lib.patch	1970-01-01 01:00:00.000000000 +0100
+++ isns-2.1-01+dfsg_meike/debian/patches/iSNSLinux.c_var_lib.patch	2008-03-20 14:35:01.000000000 +0100
@@ -0,0 +1,16 @@
+Index: isns-2.1-01+dfsg/isnsserver/src/iSNSLinux.c
+===================================================================
+--- isns-2.1-01+dfsg.orig/isnsserver/src/iSNSLinux.c	2008-03-20 14:30:43.000000000 +0100
++++ isns-2.1-01+dfsg/isnsserver/src/iSNSLinux.c	2008-03-20 14:33:10.000000000 +0100
+@@ -210,8 +210,9 @@
+       }
+    }
+ 
+-   rc = mkdir("/var/isns",0777);
+-   rc = chdir("/var/isns");
++   //rc = mkdir("/var/isns",0777);
++   //In Debian this belongs in /var/lib/isns, created by dh_installdirs
++   rc = chdir("/var/lib/isns");
+ 
+    if (daemon_state == TRUE)
+    {
diff -Nur isns-2.1-01+dfsg/debian/patches/series isns-2.1-01+dfsg_meike/debian/patches/series
--- isns-2.1-01+dfsg/debian/patches/series	2008-03-20 14:37:18.000000000 +0100
+++ isns-2.1-01+dfsg_meike/debian/patches/series	2008-03-20 14:30:02.000000000 +0100
@@ -1,3 +1,4 @@
 # 01_Makefile.patch
 # 02_Makefile.patch
 iSNSLinux.c.patch
+iSNSLinux.c_var_lib.patch

Reply via email to