Dear maintainer,

Here is the NMU diff according to DevRef 5.11.1[1][2] for bug: #530939.
See the debian/patches directory for the important fixes.
with other Lintian fixes according to newest policy standard.

Please let me know if it is ok to proceed with the NMU. Feel free to
contact if you have any questions.

Thank you for maintaining the package,
Jari Aalto

[1] http://www.debian.org/doc/developers-reference/pkgs.html#nmu
[2] http://dep.debian.net/deps/dep1.html

lsdiff(1) of changes:

    mcs-0.7.1/debian/control
    mcs-0.7.1/debian/changelog
    mcs-0.7.1/debian/patches/00list
    mcs-0.7.1/debian/README.source
    mcs-0.7.1/debian/patches/002-posixness_fix.dpatch

diffstat for mcs_0.7.1-1 mcs_0.7.1-1.1

 debian/README.source                    |    6 ++++++
 debian/patches/002-posixness_fix.dpatch |   21 +++++++++++++++++++++
 mcs-0.7.1/debian/changelog              |   15 +++++++++++++++
 mcs-0.7.1/debian/control                |    9 +++------
 mcs-0.7.1/debian/patches/00list         |    1 +
 5 files changed, 46 insertions(+), 6 deletions(-)

diff -u mcs-0.7.1/debian/control mcs-0.7.1/debian/control
--- mcs-0.7.1/debian/control
+++ mcs-0.7.1/debian/control
@@ -2,14 +2,14 @@
 Priority: optional
 Maintainer: Adam Cécile (Le_Vert) <[email protected]>
 Build-Depends: debhelper (>= 5), autotools-dev, libgconf2-dev (>= 2.6.0), kdelibs4-dev, libqt3-headers, libmowgli-dev (>= 0.4.0), dpatch
-Standards-Version: 3.7.3
+Standards-Version: 3.9.1
 Section: libs
 Homepage: http://www.atheme.org/projects/mcs.shtml
 
 Package: libmcs-utils
 Section: admin
 Architecture: any
-Depends: libmcs1 (= ${binary:Version}), ${shlibs:Depends}
+Depends: libmcs1 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
 Description: Tools for the maintenance of the mcs system
  Modular Config System is a library and set of tools which abstract the
  storage of configuration settings away from userland applications.
@@ -20,7 +20,7 @@
 Package: libmcs-dev
 Section: libdevel
 Architecture: any
-Depends: libmcs1 (= ${binary:Version})
+Depends: libmcs1 (= ${binary:Version}), ${misc:Depends}
 Description: Development library and headers for libmcs1
  Modular Config System is a library and set of tools which abstract the
  storage of configuration settings away from userland applications.
@@ -28,7 +28,6 @@
  This package contains the development library and its headers.
 
 Package: libmcs1
-Section: libs
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Suggests: libmcs-backend-gconf | libmcs-backend-kconfig, libmcs-utils
@@ -57,7 +56,6 @@
  This package contains the runtime library.
 
 Package: libmcs-backend-gconf
-Section: libs
 Architecture: any
 Depends: libmcs1 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
 Suggests: libmcs-utils
@@ -68,7 +66,6 @@
  This package provides a GNOME GConf backend to store configurations.
 
 Package: libmcs-backend-kconfig
-Section: libs
 Architecture: any
 Depends: libmcs1 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
 Suggests: libmcs-utils
diff -u mcs-0.7.1/debian/changelog mcs-0.7.1/debian/changelog
--- mcs-0.7.1/debian/changelog
+++ mcs-0.7.1/debian/changelog
@@ -1,3 +1,18 @@
+mcs (0.7.1-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/control
+    - (Standards-Version): Update to 3.9.1.
+    - (Depends): Add ${misc:Depends}.
+    - (Section): remove inherited same fields.
+  * debian/patches
+    - (002): New. Define PATH_MAX when not available. Patch thanks to
+      Marc Dequènes (Duck) <[email protected]> (hurd FTBFS; Closes: #530939).
+  * debian/README.source
+    - New file.
+
+ -- Jari Aalto <[email protected]>  Thu, 21 Oct 2010 18:29:57 +0300
+
 mcs (0.7.1-1) unstable; urgency=low
 
   * New upstream release.
diff -u mcs-0.7.1/debian/patches/00list mcs-0.7.1/debian/patches/00list
--- mcs-0.7.1/debian/patches/00list
+++ mcs-0.7.1/debian/patches/00list
@@ -1,0 +2 @@
+002-posixness_fix.dpatch
only in patch2:
unchanged:
--- mcs-0.7.1.orig/debian/README.source
+++ mcs-0.7.1/debian/README.source
@@ -0,0 +1,6 @@
+Sources for Debian
+------------------
+
+This package uses patch system. See more information at
+/usr/share/doc/dpatch/README.source.gz
+
only in patch2:
unchanged:
--- mcs-0.7.1.orig/debian/patches/002-posixness_fix.dpatch
+++ mcs-0.7.1/debian/patches/002-posixness_fix.dpatch
@@ -0,0 +1,21 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 002-posixness_fix.dpatch
+## by Marc Dequènes (Duck) <[email protected]>
+##
+## DP: relying on PATH_MAX unconditionnaly is an important
+## DP: POSIX incompatibility. This patch is a quick workaround.
+
+...@dpatch@
+--- z/src/libmcs/mcs.h.orig	2009-05-28 16:38:46.000000000 +0200
++++ z/src/libmcs/mcs.h	2009-05-28 16:42:19.000000000 +0200
+@@ -54,6 +54,10 @@
+ # include <libmcs/mcs_config.h>
+ #endif
+ 
++#ifndef PATH_MAX
++#define PATH_MAX 4096
++#endif
++
+ /*! mcs_response_t denotes the status of a transaction. */
+ typedef enum {
+ 	MCS_FAIL, /*!< designates transaction failure */

Reply via email to