From: Emmanuel Lacour Date: Wed, 19 Aug 2009 08:47:29 +0000 (+0200) Subject: Revert modification from upstream and convert it to dpatch X-Git-Tag: 1.5-2~5 X-Git-Url: http://git.home-dn.net/?p=manu%2Flibnss-mysql-bg.git;a=commitdiff_plain;h=f7aa44e3be0be2314668001786c584c1133fa774 Revert modification from upstream and convert it to dpatch --- diff --git a/debian/patches/00list b/debian/patches/00list index 687d8fe..15aaf23 100644 --- a/debian/patches/00list +++ b/debian/patches/00list @@ -1 +1,2 @@ 01_libtool.dpatch +02_config.dpatch diff --git a/debian/patches/02_config.dpatch b/debian/patches/02_config.dpatch new file mode 100755 index 0000000..18ff4b1 --- /dev/null +++ b/debian/patches/02_config.dpatch @@ -0,0 +1,17 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_config.dpatch by +## +## 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 + diff --git a/sample/linux/libnss-mysql.cfg b/sample/linux/libnss-mysql.cfg index ed91489..587df78 100644 --- a/sample/linux/libnss-mysql.cfg +++ b/sample/linux/libnss-mysql.cfg @@ -35,6 +35,6 @@ host localhost database auth username nss-user password userpass -#socket /var/run/mysqld/mysqld.sock +#socket /var/lib/mysql/mysql.sock #port 3306