[Pkg-shadow-commits] r241 - branches/4.0.9/debian/patches

Martin Quinson pkg-shadow-devel@lists.alioth.debian.org
Sat, 11 Jun 2005 21:30:07 +0000


Author: mquinson
Date: 2005-06-11 21:30:07 +0000 (Sat, 11 Jun 2005)
New Revision: 241

Modified:
   branches/4.0.9/debian/patches/004_configure.in.dpatch
Log:
Update to 4.0.9

Modified: branches/4.0.9/debian/patches/004_configure.in.dpatch
===================================================================
--- branches/4.0.9/debian/patches/004_configure.in.dpatch	2005-06-11 21:29:11 UTC (rev 240)
+++ branches/4.0.9/debian/patches/004_configure.in.dpatch	2005-06-11 21:30:07 UTC (rev 241)
@@ -1,33 +1,10 @@
-#! /bin/sh -e
-## 004_configure.in.dpatch by <unknown>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-
-if [ $# -lt 1 ]; then
-    echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
-    exit 1
-fi
-
-[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
-patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"
-
-case "$1" in
-    -patch) patch -p1 ${patch_opts} < $0;;
-    -unpatch) patch -R -p1 ${patch_opts} < $0;;
-    *)
-        echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
-        exit 1;;
-esac
-
-exit 0
-
-@DPATCH@
-diff -urNad shadow-4.0.3/configure.in /tmp/dpep.ZnE7gx/shadow-4.0.3/configure.in
---- shadow-4.0.3/configure.in	2005-05-11 09:56:26.668669556 +0200
-+++ /tmp/dpep.ZnE7gx/shadow-4.0.3/configure.in	2005-05-11 09:56:47.679241252 +0200
-@@ -265,9 +265,10 @@
+Index: shadow-4.0.9/configure.in
+===================================================================
+--- shadow-4.0.9.orig/configure.in	2005-04-26 02:58:53.000000000 +0200
++++ shadow-4.0.9/configure.in	2005-06-11 18:18:44.326481454 +0200
+@@ -237,9 +237,10 @@ if test "$with_libpam" = "yes"; then
  	AC_CHECK_LIB(pam, pam_start,
- 		[AC_DEFINE(USE_PAM)
+ 		[AC_DEFINE(USE_PAM, 1, [Define to support Pluggable Authentication Modules])
  		LIBPAM="-lpam"
 -		AC_CHECK_LIB(pam_misc, main,
 +		AC_CHECK_LIB(pam_misc, misc_conv,
@@ -35,6 +12,6 @@
 -			AC_MSG_ERROR(libpam_misc is missing)
 +			AC_MSG_ERROR(libpam_misc is missing),
 +			-lpam
- 		)]
+ 		)],
  		[AC_MSG_CHECKING(use login access checking if PAM not used)
- 		AC_DEFINE(LOGIN_ACCESS)
+ 		AC_MSG_RESULT(yes)]