[SCM] Debian branch, master, updated. debian/1.2.2-3-31-gd407403

Xavier Guimard x.guimard at free.fr
Mon Apr 15 04:36:19 UTC 2013


The following commit has been merged in the master branch:
commit a3f6e94370c5a2690ac75ae9242043df5390a7e2
Author: Xavier Guimard <x.guimard at free.fr>
Date:   Mon Apr 15 06:14:27 2013 +0200

    Add patch to fix "Use of qw(...) as parentheses is deprecated" warning

diff --git a/debian/changelog b/debian/changelog
index cc675b2..a6b69e7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,11 +1,6 @@
 lemonldap-ng (1.2.3-1) UNRELEASED; urgency=low
 
   TODO:
-  * t/60-Lemonldap-NG-Portal-IssuerDBSAML.t spits out a warning, which should
-    be easy to fix with a patch. This might save SAML-users from many a
-    confusing log line: "Use of qw(...) as parentheses is deprecated at
-    /«PKGBUILDDIR»/lemonldap-ng-portal/blib/lib/Lemonldap/NG/Portal/IssuerDBSAML.pm
-    line 1631."
   * Have you thought about converting some of the recent TODO fixes into
     debina/changelog entries?
   * otherwise thank you for your work, and sorry for this last iteration...
@@ -22,6 +17,7 @@ lemonldap-ng (1.2.3-1) UNRELEASED; urgency=low
   * Remove verify-saml-signatures.patch now included in upstream
   * Fix permissions in debian/rules instead of in postinst scripts and add
     lintian-overrides files to hide lintian permissions warnings
+  * Add patch to fix "Use of qw(...) as parentheses is deprecated" warning
 
  -- Xavier Guimard <x.guimard at free.fr>  Sat, 13 Apr 2013 08:20:42 +0200
 
diff --git a/debian/patches/hide-perl-warning.patch b/debian/patches/hide-perl-warning.patch
new file mode 100644
index 0000000..b5a1d3b
--- /dev/null
+++ b/debian/patches/hide-perl-warning.patch
@@ -0,0 +1,16 @@
+Description: hide Perl warning
+Author: Xavier Guimard <x.guimard at free.fr>
+Forwarded: yes
+Last-Update: 2013-04-15
+
+--- a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/IssuerDBSAML.pm
++++ b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/IssuerDBSAML.pm
+@@ -1628,7 +1628,7 @@
+             # log that a SAML authn response is build
+             my $user = $self->{sessionInfo}->{ $self->{whatToTrace} };
+             my $nameIDLog;
+-            foreach my $format qw(persistent transient) {
++            foreach my $format (qw(persistent transient)) {
+                 if ( $login->nameIdentifier->Format eq
+                     $self->getNameIDFormat($format) )
+                 {
diff --git a/debian/patches/series b/debian/patches/series
index 10aced8..b168db7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 change-js-libs-by-shared-packages.patch
+hide-perl-warning.patch

-- 
Debian



More information about the Pkg-perl-cvs-commits mailing list