diff -Nru ldap2zone-0.2/debian/changelog ldap2zone-0.2/debian/changelog --- ldap2zone-0.2/debian/changelog 2018-06-09 12:16:30.000000000 +0000 +++ ldap2zone-0.2/debian/changelog 2018-08-14 19:43:26.000000000 +0000 @@ -1,3 +1,15 @@ +ldap2zone (0.2-11) unstable; urgency=medium + + * debian/patches: + + Add 0013_fix-wrong-var-usage.patch. Fix endless loop when checking + serial of a zone. Thanks to Francois Masson for providing a patch. + (Closes: #877508). + * debian/control: + + Bump Standards-Version: to 4.2.0. No changes needed. + + Make Vcs-*: fields canonical. Thanks lintian. + + -- Mike Gabriel Tue, 14 Aug 2018 21:43:26 +0200 + ldap2zone (0.2-10) unstable; urgency=medium * Team upload. diff -Nru ldap2zone-0.2/debian/control ldap2zone-0.2/debian/control --- ldap2zone-0.2/debian/control 2018-06-09 12:06:43.000000000 +0000 +++ ldap2zone-0.2/debian/control 2018-08-14 19:43:26.000000000 +0000 @@ -6,15 +6,15 @@ Mike Gabriel , Petter Reinholdtsen , Benoit Mortier , -Standards-Version: 4.1.4 +Standards-Version: 4.2.0 Rules-Requires-Root: no Build-Depends: debhelper (>= 11), libldap2-dev, ldap-utils, Homepage: https://oss.gonicus.de/labs/gosa -Vcs-Git: https://salsa.debian.org/debian-edu-pkg-team/ldap2zone -Vcs-Browser: https://salsa.debian.org/debian-edu-pkg-team/ldap2zone +Vcs-Git: https://salsa.debian.org/debian-edu-pkg-team/ldap2zone.git +Vcs-Browser: https://salsa.debian.org/debian-edu-pkg-team/ldap2zone/ Package: ldap2zone Architecture: any diff -Nru ldap2zone-0.2/debian/patches/0013_fix-wrong-var-usage.patch ldap2zone-0.2/debian/patches/0013_fix-wrong-var-usage.patch --- ldap2zone-0.2/debian/patches/0013_fix-wrong-var-usage.patch 1970-01-01 00:00:00.000000000 +0000 +++ ldap2zone-0.2/debian/patches/0013_fix-wrong-var-usage.patch 2018-08-14 19:41:03.000000000 +0000 @@ -0,0 +1,14 @@ +Description: Use correct variable in while loop (msgid -> msgidp) +Author: Francois Masson + +--- a/ldap2zone.c ++++ b/ldap2zone.c +@@ -301,7 +301,7 @@ + if (msgid == -1) + err(argv[0], "ldap_search() failed"); + +- while ((rc = ldap_result(ld, msgid, 0, NULL, &res)) != LDAP_RES_SEARCH_RESULT ) { ++ while ((rc = ldap_result(ld, msgidp, 0, NULL, &res)) != LDAP_RES_SEARCH_RESULT ) { + /* not supporting continuation references at present */ + if (rc != LDAP_RES_SEARCH_ENTRY) + err(argv[0], "ldap_result() returned cont.ref? Exiting"); diff -Nru ldap2zone-0.2/debian/patches/series ldap2zone-0.2/debian/patches/series --- ldap2zone-0.2/debian/patches/series 2018-06-09 11:43:31.000000000 +0000 +++ ldap2zone-0.2/debian/patches/series 2018-08-14 19:41:03.000000000 +0000 @@ -11,3 +11,4 @@ 0011_evaluate-run-deploy-var.patch 0012_update-man-page.patch 2001_debian-defaults.patch +0013_fix-wrong-var-usage.patch