[Pkg-openldap-devel] [openldap] 15/29: Relax sasl2 check in check_config

Timo Aaltonen tjaalton-guest at alioth.debian.org
Thu Oct 10 05:34:13 UTC 2013


This is an automated email from the git hooks/post-receive script.

tjaalton-guest pushed a commit to annotated tag 2.2.23-0.pre1
in repository openldap.

commit 90fc2f54b7d02a857eda588fdf1fabb256da9247
Author: Torsten Landschoff <torsten at debian.org>
Date:   Thu Jan 13 12:52:27 2005 +0000

    Relax sasl2 check in check_config
---
 debian/changelog    |    2 ++
 debian/check_config |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 5b73b74..bff432a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,7 @@
 openldap2 (2.2.18-0.pre2) experimental; urgency=low
 
+  * debian/check_config: Make sasl2 check more robust against file 
+    format changes in config.status.
   * Lintian cleanup:
     + Run debconf-updatepo for debian/rules clean and manually as
       requested.
diff --git a/debian/check_config b/debian/check_config
index a38fd99..ddb921a 100644
--- a/debian/check_config
+++ b/debian/check_config
@@ -10,7 +10,7 @@ close CONF;
 print "done\n";
 
 print "Checking if sasl2 was found... ";
-if (not grep /s%\@SASL_LIBS@%-lsasl2\%g/, @CONF) {
+if (not grep /SASL_LIBS.*-lsasl2/, @CONF) {
 	print "no\n";
 	die "SASL2 support not enabled";
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openldap/openldap.git



More information about the Pkg-openldap-devel mailing list