Revert modification from upstream and convert it to dpatch
authorEmmanuel Lacour <elacour@easter-eggs.com>
Wed, 19 Aug 2009 08:47:29 +0000 (10:47 +0200)
committerEmmanuel Lacour <elacour@easter-eggs.com>
Wed, 19 Aug 2009 08:47:29 +0000 (10:47 +0200)
debian/patches/00list
debian/patches/02_config.dpatch [new file with mode: 0755]
sample/linux/libnss-mysql.cfg

index 687d8fe..15aaf23 100644 (file)
@@ -1 +1,2 @@
 01_libtool.dpatch
 01_libtool.dpatch
+02_config.dpatch
diff --git a/debian/patches/02_config.dpatch b/debian/patches/02_config.dpatch
new file mode 100755 (executable)
index 0000000..18ff4b1
--- /dev/null
@@ -0,0 +1,17 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 02_config.dpatch by  <elacour@home-dn.net>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Update configuration file to debian layout
+
+@DPATCH@
+--- ./sample/linux/libnss-mysql.cfg    2005-01-31 03:16:46.000000000 +0100
++++ ./sample/linux/libnss-mysql.cfg    2008-11-05 14:43:20.000000000 +0100
+@@ -35,6 +35,6 @@
+ database    auth
+ username    nss-user
+ password    userpass
+-#socket      /var/lib/mysql/mysql.sock
++#socket      /var/run/mysqld/mysqld.sock
+ #port        3306
index ed91489..587df78 100644 (file)
@@ -35,6 +35,6 @@ host        localhost
 database    auth
 username    nss-user
 password    userpass
 database    auth
 username    nss-user
 password    userpass
-#socket      /var/run/mysqld/mysqld.sock
+#socket      /var/lib/mysql/mysql.sock
 #port        3306
 
 #port        3306