Import Debian changes 0.69.0-2 debian debian/0.69.0-2
authorMarkus Wanner <markus@bluegap.ch>
Sat, 2 Feb 2019 22:17:27 +0000 (23:17 +0100)
committerClinton Ebadi <clinton@unknownlamer.org>
Sun, 16 Feb 2020 03:12:43 +0000 (22:12 -0500)
courier-authlib (0.69.0-2) unstable; urgency=medium

  [ Andreas Henriksson ]
  * Pass PS=/bin/ps to configure
    - fixes redproducible build on merged-usr vs non-merged
    Closes: #915226.

  [ Markus Wanner ]
  * Correct CI test pam, drop postgres-simple and postgres-complex
    for now.
  * Update symbols file to cover even more optional symbols.
  * Bump Standards-Version to 4.3.0: no changes required.

courier-authlib (0.69.0-1) unstable; urgency=medium

  [ Ondřej Nový ]
  * d/copyright: Use https protocol in Format field
  * d/changelog: Remove trailing whitespaces
  * d/watch: Use https protocol

  [ Helmut Grohne ]
  * Fix FTCBFS: (Closes: #884630)
    + Do not try to guess the mail user/group from the build system.
    + Use fcntl locking.
    + Add 0009-cross.patch: Consider $ac_tool_prefix for pkg-config.

  [ Markus Wanner ]
  * New upstream release.
  * Bump d/compat to 11.
  * Add patch 0008-fix-perl-shebang.patch to fix perl shebang.
  * Refresh patch 0001-Don-t-mangle-permissions....patch
  * Drop patches 0003 and 0004, they have been integrated upstream.
  * Increase verbosity in d/rules.
  * Drop postinst call of invoke-rc.d and rely on debhelper, instead.
  * Bump Standards-Version to 4.2.1: no further changes required.

courier-authlib (0.68.0-4.1) unstable; urgency=medium

  * Non-maintainer upload.
  * Relax checks for C++ symbols (Closes: #897725)
  * Update Vcs-* fields in debian/control

courier-authlib (0.68.0-4) unstable; urgency=medium

  [ Matthias Klose ]
  * Update symbols file for -O3 builds. Closes: #875276.

  [ Markus Wanner ]
  * Correct build dependencies: require version 2.0 or newer of
    courier-unicode, as per aclocal.m4.
  * Use CONFIG_SHELL rather than just SHELL to enhance
    reproducibility.

courier-authlib (0.68.0-3) unstable; urgency=medium

  * A few symbols from libcourierauthcommon.so.0 do not follow any
    pattern. Mark them as optional. Closes: #868739.

courier-authlib (0.68.0-2) unstable; urgency=medium

  * Correct symbols file for 32-bit architectures. Closes: #866975.
  * Tweak autopkgtests to work better.

courier-authlib (0.68.0-1) unstable; urgency=medium

  * New upstream release 0.68.0, upload to unstable.
  * Drop patch 0006-Correct-CXXFLAGS.patch, it got applied upstream.
  * Add three autopkgtests: pam, postgres-simple, postgres-custom.
  * Add patch 0007-add-missing-include.patch so the rfc822 component
    compiles again.

courier-authlib (0.67.0-1) experimental; urgency=medium

  * New upstream release 0.67.0.
  * Take over the package. Closes: #848981.
  * Update d/watch to ignore development snapshots.
  * Bump S-V to 3.9.8, no changes required.
  * Update d/copyright: adjust years, add myself, correct moved files.
  * Refresh patches: 0001 and 0003.
  * Adapt patch 0003-Fix-authdaemondprog-linking-missing-
    libcourierauth.patch to apply, again.
  * Add patch 0006-Correct-CXXFLAGS.patch.
  * Update symbols: according to upstream, vanishing symbols are all
    used for internal APIs only and shoul not affect library users.
  * d/control: Use https for Vcs-* and Homepage fields.
  * d/control: drop the deprecated or-ed dependency on libmysqlclient-dev.
  * Use mailuser and mailgroup arguments for configure (as courier-base
    with courier-config is not available at build time).
  * Drop autotools-dev, use only dh_autoreconf.
  * Enable basic hardening features, doesn't quite cover all libs, yet.
  * Add a separate `set -e` line in postrm and postinst scripts, fixes
    a lintian warning.
  * Hard-wire $SHELL to /bin/sh in the hope for more reproducible builds.
  * Drop now obsolete lintian overrides.

25 files changed:
1  2 
debian/changelog
debian/compat
debian/control
debian/copyright
debian/courier-authdaemon.postinst
debian/courier-authdaemon.postrm
debian/courier-authlib-ldap.postinst
debian/courier-authlib-ldap.postrm
debian/courier-authlib-mysql.postinst
debian/courier-authlib-mysql.postrm
debian/courier-authlib-postgresql.postinst
debian/courier-authlib-postgresql.postrm
debian/courier-authlib.postinst
debian/courier-authlib.symbols
debian/patches/0001-Don-t-mangle-permissions-on-install-time-as-it-s-tak.patch
debian/patches/0005-libcourierauth-libraries-are-normal-shared-libraries.patch
debian/patches/0007-add-missing-include.patch
debian/patches/0008-fix-perl-shebang.patch
debian/patches/0009-cross.patch
debian/patches/series
debian/rules
debian/tests/common.sh
debian/tests/control
debian/tests/pam
debian/watch

index f7bb5e1,0000000..099be25
mode 100644,000000..100644
--- /dev/null
@@@ -1,403 -1,0 +1,514 @@@
-   
-   * Set SELinux context for runtime directories in init script 
-     (Closes: #668564) 
++courier-authlib (0.69.0-2) unstable; urgency=medium
++
++  [ Andreas Henriksson ]
++  * Pass PS=/bin/ps to configure
++    - fixes redproducible build on merged-usr vs non-merged
++    Closes: #915226.
++
++  [ Markus Wanner ]
++  * Correct CI test pam, drop postgres-simple and postgres-complex
++    for now.
++  * Update symbols file to cover even more optional symbols.
++  * Bump Standards-Version to 4.3.0: no changes required.
++
++ -- Markus Wanner <markus@bluegap.ch>  Sat, 02 Feb 2019 23:17:27 +0100
++
++courier-authlib (0.69.0-1) unstable; urgency=medium
++
++  [ Ondřej Nový ]
++  * d/copyright: Use https protocol in Format field
++  * d/changelog: Remove trailing whitespaces
++  * d/watch: Use https protocol
++
++  [ Helmut Grohne ]
++  * Fix FTCBFS: (Closes: #884630)
++    + Do not try to guess the mail user/group from the build system.
++    + Use fcntl locking.
++    + Add 0009-cross.patch: Consider $ac_tool_prefix for pkg-config.
++
++  [ Markus Wanner ]
++  * New upstream release.
++  * Bump d/compat to 11.
++  * Add patch 0008-fix-perl-shebang.patch to fix perl shebang.
++  * Refresh patch 0001-Don-t-mangle-permissions....patch
++  * Drop patches 0003 and 0004, they have been integrated upstream.
++  * Increase verbosity in d/rules.
++  * Drop postinst call of invoke-rc.d and rely on debhelper, instead.
++  * Bump Standards-Version to 4.2.1: no further changes required.
++
++ -- Markus Wanner <markus@bluegap.ch>  Tue, 16 Oct 2018 18:43:27 +0200
++
++courier-authlib (0.68.0-4.1) unstable; urgency=medium
++
++  * Non-maintainer upload.
++  * Relax checks for C++ symbols (Closes: #897725)
++  * Update Vcs-* fields in debian/control
++
++ -- Dmitry Bogatov <KAction@gnu.org>  Wed, 10 Oct 2018 16:35:27 +0000
++
++courier-authlib (0.68.0-4) unstable; urgency=medium
++
++  [ Matthias Klose ]
++  * Update symbols file for -O3 builds. Closes: #875276.
++
++  [ Markus Wanner ]
++  * Correct build dependencies: require version 2.0 or newer of
++    courier-unicode, as per aclocal.m4.
++  * Use CONFIG_SHELL rather than just SHELL to enhance
++    reproducibility.
++
++ -- Markus Wanner <markus@bluegap.ch>  Mon, 11 Sep 2017 23:06:17 +0200
++
++courier-authlib (0.68.0-3) unstable; urgency=medium
++
++  * A few symbols from libcourierauthcommon.so.0 do not follow any
++    pattern. Mark them as optional. Closes: #868739.
++
++ -- Markus Wanner <markus@bluegap.ch>  Tue, 18 Jul 2017 17:14:27 +0200
++
++courier-authlib (0.68.0-2) unstable; urgency=medium
++
++  * Correct symbols file for 32-bit architectures. Closes: #866975.
++  * Tweak autopkgtests to work better.
++
++ -- Markus Wanner <markus@bluegap.ch>  Mon, 17 Jul 2017 22:36:26 +0200
++
++courier-authlib (0.68.0-1) unstable; urgency=medium
++
++  * New upstream release 0.68.0, upload to unstable.
++  * Drop patch 0006-Correct-CXXFLAGS.patch, it got applied upstream.
++  * Add three autopkgtests: pam, postgres-simple, postgres-custom.
++  * Add patch 0007-add-missing-include.patch so the rfc822 component
++    compiles again.
++
++ -- Markus Wanner <markus@bluegap.ch>  Sun, 02 Jul 2017 17:05:15 +0200
++
++courier-authlib (0.67.0-1) experimental; urgency=medium
++
++  * New upstream release 0.67.0.
++  * Take over the package. Closes: #848981.
++  * Update d/watch to ignore development snapshots.
++  * Bump S-V to 3.9.8, no changes required.
++  * Update d/copyright: adjust years, add myself, correct moved files.
++  * Refresh patches: 0001 and 0003.
++  * Adapt patch 0003-Fix-authdaemondprog-linking-missing-
++    libcourierauth.patch to apply, again.
++  * Add patch 0006-Correct-CXXFLAGS.patch.
++  * Update symbols: according to upstream, vanishing symbols are all
++    used for internal APIs only and shoul not affect library users.
++  * d/control: Use https for Vcs-* and Homepage fields.
++  * d/control: drop the deprecated or-ed dependency on libmysqlclient-dev.
++  * Use mailuser and mailgroup arguments for configure (as courier-base
++    with courier-config is not available at build time).
++  * Drop autotools-dev, use only dh_autoreconf.
++  * Enable basic hardening features, doesn't quite cover all libs, yet.
++  * Add a separate `set -e` line in postrm and postinst scripts, fixes
++    a lintian warning.
++  * Hard-wire $SHELL to /bin/sh in the hope for more reproducible builds.
++  * Drop now obsolete lintian overrides.
++
++ -- Markus Wanner <markus@bluegap.ch>  Sun, 09 Apr 2017 20:54:30 +0200
++
 +courier-authlib (0.66.4-9) unstable; urgency=medium
 +
 +  * Orphan the package.
 +
 + -- Ondřej Surý <ondrej@debian.org>  Wed, 21 Dec 2016 15:02:10 +0100
 +
 +courier-authlib (0.66.4-8) unstable; urgency=medium
 +
 +  * Use default-libmysqlclient-dev instead of libmysqlclient-dev
 +  * Run wrap-and-sort -a
 +  * Rebuild with default-libmysqlclient-dev as libmysqlclient-dev (>= 5.7)
 +    is broken (Closes: #844952)
 +
 + -- Ondřej Surý <ondrej@debian.org>  Fri, 25 Nov 2016 15:21:19 +0100
 +
 +courier-authlib (0.66.4-7) unstable; urgency=medium
 +
 +  * /usr/sbin/authdaemon is just a shell wrapper we need to call with
 +    'start' and 'stop' arguments (Closes: #818747)
 +  * Look at /usr/lib/courier/courier-authlib/authdaemond for
 +    courier-authdaemon init.d script status call
 +
 + -- Ondřej Surý <ondrej@debian.org>  Wed, 23 Mar 2016 14:38:43 +0100
 +
 +courier-authlib (0.66.4-6) unstable; urgency=medium
 +
 +  * Fix the TMPFILES loop in init script (Closes: #818744)
 +  * Add "start" as default DAEMON_ARGS to launch courier-authdaemon
 +    (Closes: #818747)
 +  * Fix courier-authlib-sqlite description (Closes: #810601)
 +
 + -- Ondřej Surý <ondrej@debian.org>  Tue, 22 Mar 2016 12:11:51 +0100
 +
 +courier-authlib (0.66.4-5) unstable; urgency=medium
 +
 +  * sysvinit-utils | init-d-script is Dependency and not Build-Dependency
 +  * Looks like trigger name cannot end with /
 +  * Let's restart courier-authdaemon and not authdaemon in triggered action
 +    (Closes: #810345)
 +  * libcourierauth* libraries are normal shared libraries, treat them as such
 +    (Closes: #378241)
 +  * Fix misc lintian warnings
 +  * Add versioned Breaks: for courier-base and maildrop to not break them
 +  * Rewritten init.d script using init-d-script
 +    (Closes: #776529, #144505, #580187, #750582)
 +  * Remove authdaemon restart from prerm scripts, we don't need this
 +    anymore since we restart authdaemon via dpkg-trigger (Closes: #540374)
 +  * Rewritten d/rules to use debhelper 9, autoreconf, and autotools-dev
 +    (Closes: #558542, #540698, #599628, #607123, #744560)
 +  * Update symbols file to match current symbols and set
 +    DPKG_GENSYMBOLS_CHECK_LEVEL to 4
 +  * Add adduser to courier-authlib Depends
 +
 + -- Ondřej Surý <ondrej@debian.org>  Wed, 16 Mar 2016 11:41:54 +0100
 +
 +courier-authlib (0.66.4-4) unstable; urgency=medium
 +
 +  * Update packaging to modern dh9 format and use dh-autoreconf and
 +    autotools-dev
 +  * Don't mangle file permissions on install time as it's take care of in
 +    Debian package
 +  * Rip AC_PROG_SYSCONFTOOL macro to m4/ directory
 +  * Fix authdaemondprog linking; missing libcourierauth.la
 +  * Reorder libs on pkglib_LTLIBRARIES to help libtool find the libs
 +  * Lintian overrides are installed by dh_lintian
 +
 + -- Ondřej Surý <ondrej@debian.org>  Mon, 08 Feb 2016 15:00:41 +0100
 +
 +courier-authlib (0.66.4-3) unstable; urgency=medium
 +
 +  * Check and create courier user in authdaemon package in case
 +    courier-base is not installed first (LP#1542174)
 +
 + -- Ondřej Surý <ondrej@debian.org>  Fri, 05 Feb 2016 09:58:26 +0100
 +
 +courier-authlib (0.66.4-2) unstable; urgency=medium
 +
 +  * Convert the d/copyright into machine-readable file and add license for
 +    authldaplib.c
 +  * Use invoke-rc.d to restart authdaemon on mysql and postgresql fresh
 +    installation
 +  * Add courier-authdaemon systemd files (service and tmpfile)
 +
 + -- Ondřej Surý <ondrej@debian.org>  Sat, 02 Jan 2016 17:29:17 +0100
 +
 +courier-authlib (0.66.4-1) unstable; urgency=medium
 +
 +  * Imported Upstream version 0.66.4
 +  * Add dependency on libcourier-unicode-dev and wrap-and-sort -a
 +  * Add myself to Uploaders
 +  * Add Vcs-* links and Homepage
 +  * Add d/watch with support for signed packages
 +
 + -- Ondřej Surý <ondrej@debian.org>  Thu, 31 Dec 2015 11:33:25 +0100
 +
 +courier-authlib (0.66.3-1) unstable; urgency=medium
 +
 +  * Add support for authsqlite
 +  * New upstream version 0.66.3
 +
 + -- Ondřej Surý <ondrej@debian.org>  Mon, 29 Jun 2015 12:23:12 +0200
 +
 +courier-authlib (0.66.1-1) unstable; urgency=low
 +
 +  * New upstream release.
 +
 +  [Willi Mann <willi@debian.org>]
 +
 +  * Fix libtool breakage by explicitly using /bin/bash in debian/rules.
 +
 + -- Stefan Hornburg (Racke) <racke@linuxia.de>  Mon, 28 Oct 2013 11:38:37 +0100
 +
 +courier-authlib (0.63.0-6) unstable; urgency=low
 +
 +  [Martin Orr <martin@martinorr.name>]
-   
++
++  * Set SELinux context for runtime directories in init script
++    (Closes: #668564)
 +
 + -- Stefan Hornburg (Racke) <racke@linuxia.de>  Fri, 13 Apr 2012 08:53:02 +0200
 +
 +courier-authlib (0.63.0-5) unstable; urgency=low
 +
 +  [ Moritz Muehlenhoff <jmm@debian.org> ]
-   
++
 +  * Enable hardened build flags (Closes: #655168)
-   
++
 +  [ Peter Eisentraut <petere@debian.org> ]
-   
++
 +  * Add support for "status" action to authdaemon init script
 +
 + -- Stefan Hornburg (Racke) <racke@linuxia.de>  Sat, 07 Apr 2012 16:48:52 +0200
 +
 +courier-authlib (0.63.0-4) unstable; urgency=low
 +
 +  * Remove umask check from debian/rules (Closes: #634599, thanks to Lucas
 +    Nussbaum <lucas@lucas-nussbaum.net> for the report)
 +
 + -- Stefan Hornburg (Racke) <racke@linuxia.de>  Wed, 31 Aug 2011 13:32:46 +0200
 +
 +courier-authlib (0.63.0-3.1) unstable; urgency=low
 +
 +  * Non-maintainer upload.
 +  * Empty dependency_libs (Closes: #621191).
 +
 + -- Luk Claes <luk@debian.org>  Tue, 28 Jun 2011 07:23:00 +0200
 +
 +courier-authlib (0.63.0-3) unstable; urgency=low
 +
 +  [ Simon McVittie <smcv@debian.org> ]
 +  * Add a symbols file for libcourier*.so to work around the library name
 +    being unsuitable for dpkg-shlibdeps (based on a suggestion from
 +    Steve Langasek, Closes: #554788)
 +  * Tell dh_makeshlibs and dh_shlibdeps to look in the non-standard library
 +    directory
 +  * Make distclean rather than clean to avoid garbage in the Debian diff when
 +    building twice (patch from Peter Eisentraut, Closes: #527971)
 +
 + -- Stefan Hornburg (Racke) <racke@linuxia.de>  Mon, 11 Oct 2010 10:20:03 +0200
 +
 +courier-authlib (0.63.0-2) unstable; urgency=low
 +
 +  * rebuild to really fix MySQL dependency (Closes: #574101)
 +  * recreation of directories in /var/run uses correct
 +    ownership/permissions now (Closes: #429866)
-   * new upstream release 
++
 + -- Stefan Hornburg (Racke) <racke@linuxia.de>  Fri, 19 Mar 2010 14:28:14 +0100
 +
 +courier-authlib (0.63.0-1) unstable; urgency=low
 +
 +  * new upstream release
 +  * fix deprecated dependency on libmysqlclient15off (Closes: #574101,
 +    thanks to Dominik Röttsches <d-r@roettsches.de> for the report)
 +
 + -- Stefan Hornburg (Racke) <racke@linuxia.de>  Tue, 16 Mar 2010 16:14:44 +0100
 +
 +courier-authlib (0.62.4-1) unstable; urgency=low
 +
-   * fix incorrect handling of init.d reload action by removing it 
++  * new upstream release
 +    - satisfies courier-base reverse dependency (Closes: #558120,
 +      thanks to Julien Pinon <jpinon@free.fr> for the report)
-   
++  * fix incorrect handling of init.d reload action by removing it
 +    (Closes: #527972, thanks to Peter Eisentraut <petere@debian.org>)
 +  * use upstream config.* files
 +  * lintian fixes
 +    - added ${misc:Depends} for all packages
 +    - eliminated commands with absolute paths in maintainer scripts
 +    - bumped up Standards-Version
 +    - bumped up debhelper comptability level to 5
-   
++
 + -- Stefan Hornburg (Racke) <racke@linuxia.de>  Thu, 26 Nov 2009 20:09:13 +0100
 +
 +courier-authlib (0.62.2-1) unstable; urgency=low
 +
 +  * new upstream release
 +  * create run directory with init script (Closes: #349830, thanks to Tim
 +    Small <tim@buttersideup.com> for the help)
 +  * lintian
 +    - copyright notice added to copyright
 +    - overrides for file permission of configuration files
 +    - reorder debhelper commands
-   
++
 + -- Stefan Hornburg (Racke) <racke@linuxia.de>  Mon, 02 Mar 2009 16:09:05 +0100
 +
 +courier-authlib (0.61.0-1+lenny1) testing-security; urgency=high
 +
 +  * Non-maintainer upload by the security team
 +  * Fix several sql-injection vulnerabilities in authpgsqllib.c by using
 +    PQsetClientEncoding() and PQescapeStringConn()
 +    Fixes: CVE-2008-2380
 +
 + -- Steffen Joeris <white@debian.org>  Mon, 08 Dec 2008 13:48:12 +0000
 +
 +courier-authlib (0.61.0-1) unstable; urgency=low
 +
 +  * new upstream release
 +  * lintian:
 +    - debian/compat file
 +    - don't ignore make clean errors
-   * dropped alternative build dependency on postgresql-dev 
++
 + -- Stefan Hornburg (Racke) <racke@linuxia.de>  Thu, 17 Jul 2008 12:59:36 +0200
 +
 +courier-authlib (0.60.1-2.1) unstable; urgency=high
 +
 +  * Non-maintainer upload by the security team
 +  * Fix sql injection vulnerability by changing to use
 +    mysql_set_character_set instead of SET NAMES
 +    (Change was introduced by upstream in 0.60.6)
 +    (Closes: #485424)
 +
 + -- Steffen Joeris <white@debian.org>  Mon, 09 Jun 2008 15:29:23 +0000
 +
 +courier-authlib (0.60.1-2) unstable; urgency=low
 +
 +  * added LSB dependency info to init scripts (Closes: #460221, thanks to
 +    Petter Reinholdtsen <pere@hungry.com> for the patch)
 +
 + -- Stefan Hornburg (Racke) <racke@linuxia.de>  Mon,  7 Apr 2008 13:21:37 +0200
 +
 +courier-authlib (0.60.1-1) unstable; urgency=low
 +
 +  * new upstream release
 +
 + -- Stefan Hornburg (Racke) <racke@linuxia.de>  Mon, 15 Oct 2007 10:56:16 +0200
 +
 +courier-authlib (0.60.0-1) unstable; urgency=low
 +
 +  * new upstream release, now under GPL version 3
 +
 + -- Stefan Hornburg (Racke) <racke@linuxia.de>  Sun, 30 Sep 2007 21:58:35 +0200
 +
 +courier-authlib (0.59.3-2) unstable; urgency=low
 +
-     <sesse@debian.org> for the patch) 
++  * dropped alternative build dependency on postgresql-dev
 +    (Closes: #429964, thanks to Lior Kaplan <kaplan@debian.org> for the report
 +
 + -- Stefan Hornburg (Racke) <racke@linuxia.de>  Thu, 21 Jun 2007 20:26:38 +0200
 +
 +courier-authlib (0.59.3-1) unstable; urgency=low
 +
 +  * new upstream release
 +
 + -- Stefan Hornburg (Racke) <racke@linuxia.de>  Mon, 23 Apr 2007 10:18:17 +0200
 +
 +courier-authlib (0.59.1-0.1) experimental; urgency=low
 +
 +  * new upstream release
 +
 + -- Stefan Hornburg (Racke) <racke@linuxia.de>  Wed, 17 Jan 2007 11:58:29 +0100
 +
 +courier-authlib (0.58-5) unstable; urgency=low
 +
 +  * added dependency and build dependency on expect (Closes: #400812,
 +    thanks to Peter Troeger <peter@troeger.eu> for the report)
 +
 + -- Stefan Hornburg (Racke) <racke@linuxia.de>  Wed, 29 Nov 2006 11:42:45 +0100
 +
 +courier-authlib (0.58-4) unstable; urgency=medium
 +
 +  * call dh_makeshlibs during binary-arch target in order to get proper shlib
 +    information for libcourierauth.so (Closes: #378249, thanks to Charles
 +    Fry <cfry@debian.org> for the report and Steinar H. Gunderson
-   
++    <sesse@debian.org> for the patch)
 +  * ensure that courier-authdaemon is upgraded when switching to courier-authlib
 +  * switch to lsb logging functions (Closes: #384823, thanks to David Härdeman
 +    <david@2gen.com> for the patch)
-   
++
 + -- Stefan Hornburg (Racke) <racke@linuxia.de>  Sat,  9 Sep 2006 17:37:11 +0200
 +
 +courier-authlib (0.58-3.1) unstable; urgency=medium
 +
 +  * Non-Maintainer Upload to fix security bug, caused by
 +    /var/run/courier/authdaemon being world executable.  Thanks to Martin
 +    Ferrari for the fix. (Closes: #378571)
 +
 + -- Margarita Manterola <marga@debian.org>  Tue,  1 Aug 2006 16:45:07 -0300
 +
 +courier-authlib (0.58-3) unstable; urgency=low
 +
 +  * remove all Courier runtime files on purge of courier-authdaemon
 +
 + -- Stefan Hornburg (Racke) <racke@linuxia.de>  Tue,  6 Jun 2006 04:48:20 +0200
 +
 +courier-authlib (0.58-2) unstable; urgency=low
 +
 +  * set ownership of /var/run/courier and /var/run/courier/authdaemon to
 +    daemon.daemon (Closes: #368358, #368360)
 +
 + -- Stefan Hornburg (Racke) <racke@linuxia.de>  Tue, 23 May 2006 09:43:15 +0200
 +
 +courier-authlib (0.58-1.0) unstable; urgency=low
 +
 +  * first upload to unstable
 +
 + -- Stefan Hornburg (Racke) <racke@linuxia.de>  Fri, 12 May 2006 16:53:38 +0200
 +
 +courier-authlib (0.58-0.4) experimental; urgency=low
 +
 +  * changed alternative dependency for libmysqlclient-dev to
 +    libmysqlclient15-dev (Closes: #356728, thanks to Stefan Huehner
 +    <huehner@unix-ag.uni-kl.de> for the report)
 +
 + -- Stefan Hornburg (Racke) <racke@linuxia.de>  Tue, 14 Mar 2006 11:14:11 +0100
 +
 +courier-authlib (0.58-0.3) experimental; urgency=low
 +
 +  * courier-authlib-userdb conflicts with pre-authlib courier-base package
 +
 + -- Stefan Hornburg (Racke) <racke@linuxia.de>  Wed, 11 Jan 2006 09:33:10 +0100
 +
 +courier-authlib (0.58-0.2) experimental; urgency=low
 +
 +  * updated config.{guess,sub} to avoid FTBFS on some architectures
 +    (Closes: #346105, thanks to Petr Salinger
 +    <Petr.Salinger@t-systems.cz>)
 +
 + -- Stefan Hornburg (Racke) <racke@linuxia.de>  Fri,  6 Jan 2006 11:13:19 +0100
 +
 +courier-authlib (0.58-0.1) experimental; urgency=low
 +
 +  * new upstream release
 +  * transition to new PostgreSQL architecture (Closes: #339297, thanks to
 +    Martin Pitt <mpitt@debian.org> for the report and the patch)
 +  * added courier-authlib-mysql/postgresql prerm/postinst scripts to
 +    restart courier-authdaemon
-   
++
 + -- Stefan Hornburg (Racke) <racke@linuxia.de>  Thu,  5 Jan 2006 14:58:19 +0100
 +
 +courier-authlib (0.57.20051004-2) experimental; urgency=low
 +
 +  * ship configuration files with sane ownership/permissions
 +  * restoring call to pam_acct_mgmt
 +
 + -- Stefan Hornburg (Racke) <racke@linuxia.de>  Fri, 11 Nov 2005 00:49:19 +0100
 +
 +courier-authlib (0.57.20051004-1) experimental; urgency=low
 +
 +  * new upstream release:
 +    - contains authtest manual page and authpasswd script
 +  * keep authtest name instead of renaming to courierauthtest, there are
 +    currently no conflicts with other binaries
 +  * separate package courier-authlib-pipe for authpipe module
 +  * revive courier-authdaemon package to allow seamless upgrades from sarge
 +  * changed FSF address in copyright file
 +  * changed BuildDepends from libmysqlclient10-dev to libmysqlclient14-dev
 +  * use DH_COMPAT=4
-   
++
 + -- Stefan Hornburg (Racke) <racke@linuxia.de>  Tue, 25 Oct 2005 11:04:45 +0200
 +
 +courier-authlib (0.56-0.5) experimental; urgency=low
 +
 +  * added build dependency on procps (Closes: #311976, thanks to Kurt
 +    Roeckx <kurt@roeckx.be> for the report)
 +
 + -- Stefan Hornburg (Racke) <racke@linuxia.de>  Sat,  4 Jun 2005 22:03:43 +0200
 +
 +courier-authlib (0.56-0.4) experimental; urgency=low
 +
 +  * provide proper LDAP configuration file instead of an empty one (thanks
 +    to Peter Mann <Peter.Mann@tuke.sk> for the report)
 +
 + -- Stefan Hornburg (Racke) <racke@linuxia.de>  Tue, 31 May 2005 14:48:04 +0200
 +
 +courier-authlib (0.56-0.3) experimental; urgency=low
 +
 +  * added dependency to courier-authlib-dev on courier-authlib
 +  * versioned dependencies for courier-authlib-* packages
 +
 + -- Stefan Hornburg (Racke) <racke@linuxia.de>  Tue, 31 May 2005 11:13:01 +0200
 +
 +courier-authlib (0.56-0.2) experimental; urgency=low
 +
 +  * removed check for openssl binary (Closes: #311175, thanks to Kenshi
 +    Muto <kmuto@debian.org> for the report)
 +
 + -- Stefan Hornburg (Racke) <racke@linuxia.de>  Mon, 30 May 2005 13:23:02 +0200
 +
 +courier-authlib (0.56-0.1) experimental; urgency=low
++
 +  * initial release
 +
 + -- Stefan Hornburg (Racke) <racke@linuxia.de>  Fri, 27 May 2005 23:20:21 +0200
 +
diff --cc debian/compat
index ec63514,0000000..b4de394
mode 100644,000000..100644
--- /dev/null
@@@ -1,1 -1,0 +1,1 @@@
- 9
++11
diff --cc debian/control
index fd67f17,0000000..4bd2721
mode 100644,000000..100644
--- /dev/null
@@@ -1,115 -1,0 +1,115 @@@
- Maintainer: Debian QA Group <packages@qa.debian.org>
- Standards-Version: 3.9.7
- Build-Depends: autotools-dev,
-                debhelper (>= 9),
-                default-libmysqlclient-dev | libmysqlclient-dev (<< 5.7),
 +Source: courier-authlib
 +Section: mail
 +Priority: optional
-                libcourier-unicode-dev,
++Maintainer: Markus Wanner <markus@bluegap.ch>
++Standards-Version: 4.3.0
++Build-Depends: debhelper (>= 11),
 +               dh-autoreconf,
++               pkg-kde-tools,
++               default-libmysqlclient-dev,
 +               expect,
- Homepage: http://www.courier-mta.org/
- Vcs-Git: git://anonscm.debian.org/collab-maint/courier-authlib.git
- Vcs-Browser: http://anonscm.debian.org/?p=collab-maint/courier-authlib.git;a=summary
++               libcourier-unicode-dev (>= 2.0),
 +               libgdbm-dev | libgdbmg1-dev,
 +               libidn11-dev,
 +               libldap-dev,
 +               libltdl3-dev,
 +               libpam0g-dev,
 +               libpq-dev,
 +               libsasl2-dev | libsasl-dev,
 +               libsqlite3-dev,
 +               libtool,
 +               pkg-config,
 +               procps
++Homepage: https://www.courier-mta.org/
++Vcs-Git: https://salsa.debian.org/debian/courier-authlib.git
++Vcs-Browser: https://salsa.debian.org/debian/courier-authlib
 +
 +Package: courier-authlib
 +Architecture: any
 +Depends: adduser,
 +         ${misc:Depends},
 +         ${shlibs:Depends}
 +Recommends: expect
 +Breaks: courier-base (<< 0.75.0-15),
 +        maildrop (<< 2.7.1-4)
 +Description: Courier authentication library
 + The Courier authentication library provides authentication services
 + for other Courier applications.
 +
 +Package: courier-authdaemon
 +Architecture: any
 +Depends: courier-authlib (>= ${binary:Version}),
 +         lsb-base (>= 3.0-10),
 +         sysvinit-utils (>= 2.88dsf-50) | init-d-script,
 +         ${misc:Depends},
 +         ${shlibs:Depends}
 +Description: Courier authentication daemon
 + This package contains the authentication daemon for the Courier
 + applications.
 +
 +Package: courier-authlib-dev
 +Architecture: any
 +Depends: courier-authlib (>= ${binary:Version}),
 +         ${misc:Depends},
 +         ${shlibs:Depends}
 +Description: Development libraries for the Courier authentication library
 + This package contains the development libraries and files needed to
 + compile Courier packages that use the Courier authentication library.
 +
 +Package: courier-authlib-userdb
 +Architecture: any
 +Depends: courier-authlib (>= ${binary:Version}),
 +         ${misc:Depends},
 +         ${shlibs:Depends}
 +Description: userdb support for the Courier authentication library
 + This package contains the userdb support for the Courier
 + authentication library. Userdb is a simple way to manage virtual mail
 + accounts using a GDBM-based database file.
 +
 +Package: courier-authlib-mysql
 +Architecture: any
 +Depends: courier-authlib (>= ${binary:Version}),
 +         ${misc:Depends},
 +         ${shlibs:Depends}
 +Description: MySQL support for the Courier authentication library
 + This package contains the MySQL support for the Courier
 + authentication library.
 +
 +Package: courier-authlib-postgresql
 +Architecture: any
 +Depends: courier-authlib (>= ${binary:Version}),
 +         ${misc:Depends},
 +         ${shlibs:Depends}
 +Description: PostgreSQL support for the Courier authentication library
 + This package contains the PostgreSQL support for the Courier
 + authentication library.
 +
 +Package: courier-authlib-ldap
 +Architecture: any
 +Depends: courier-authlib (>= ${binary:Version}),
 +         ${misc:Depends},
 +         ${shlibs:Depends}
 +Description: LDAP support for the Courier authentication library
 + This package contains the LDAP support for the Courier authentication
 + library.
 +
 +Package: courier-authlib-sqlite
 +Architecture: any
 +Depends: courier-authlib (>= ${binary:Version}),
 +         ${misc:Depends},
 +         ${shlibs:Depends}
 +Description: SQLite 3 support for the Courier authentication library
 + This package contains the SQLite 3 support for the Courier
 + authentication library.
 +
 +Package: courier-authlib-pipe
 +Architecture: any
 +Depends: courier-authlib (>= ${binary:Version}),
 +         ${misc:Depends},
 +         ${shlibs:Depends}
 +Description: External authentication support for the Courier authentication library
 + This package contains external authentication support via pipes for
 + the Courier authentication library. The authpipe module is a generic
 + plugin that enables authentication requests to be serviced by an
 + external program, then communicates through messages on stdin and
 + stdout.
index b71dd1f,0000000..41f9c5e
mode 100644,000000..100644
--- /dev/null
@@@ -1,55 -1,0 +1,57 @@@
- Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
++Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 +Upstream-Name: courier-authlib
 +Upstream-Contact: Sam Varshavchik <mrsam@courier-mta.com>
 +Source: http://www.courier-mta.org/
 +
 +Files: *
- Copyright: 2004 - 2015 Double Precision, Inc.
++Copyright: 2004 - 2016 Double Precision, Inc.
 +License: GPL-3+OpenSSL-exception
 +
- Files: authldaplib.c
++Files: authcustom.h
++ authldap.h
 +Copyright: 1999 Luc Saillard <luc.saillard@alcove.fr>
 +License: GPL-2+
 +Comment:
 + Sam Varshavchik said:
 + > There's been quite a few changes since Luc's original version. I
 + > believe what makes sense is to preserve the revision history, but
 + > simply reference the main COPYING file.
 +
 +Files: debian/*
 +Copyright: 2004-2015 Stefan Hornburg (Racke) <racke@linuxia.de>
 +         2015      Ondřej Surý <ondrej@debian.org>
++         2017      Markus Wanner <markus@bluegap.ch>
 +License: GPL-3+OpenSSL-exception
 +
 +License: GPL-3+OpenSSL-exception
 + This program is free software: you can redistribute it and/or modify
 + it under the terms of the GNU General Public License as published by
 + the Free Software Foundation, either version 3 of the License, or (at
 + your option) any later version.
 + .
 + This program is distributed in the hope that it will be useful, but
 + WITHOUT ANY WARRANTY; without even the implied warranty of
 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 + General Public License for more details.
 + .
 + A copy of the GNU General Public License is available as
 + /usr/share/common-licenses/GPL-3 in the Debian GNU/Linux
 + distribution.
 + .
 + Additionally, compiling, linking, and/or using the OpenSSL toolkit in
 + conjunction with this software is allowed.
 +
 +License: GPL-2+
 + This program is free software; you can redistribute it and/or modify
 + it under the terms of the GNU General Public License as published by
 + the Free Software Foundation; either version 2 of the License, or (at
 + your option) any later version.
 + .
 + This program is distributed in the hope that it will be useful, but
 + WITHOUT ANY WARRANTY; without even the implied warranty of
 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 + General Public License for more details.
 + .
 + A copy of the GNU General Public License is available as
 + /usr/share/common-licenses/GPL-2 in the Debian GNU/Linux
 + distribution.
index 8bcfe32,0000000..67c771f
mode 100644,000000..100644
--- /dev/null
@@@ -1,19 -1,0 +1,17 @@@
- #!/bin/sh -e
++#!/bin/sh
++
++set -e
 +
 +add_override() {
 +    if ! dpkg-statoverride --list $4 >/dev/null; then
 +      dpkg-statoverride --update --add $1 $2 $3 $4
 +    fi
 +}
 +
 +if [ "$1" = "configure" ]; then
 +    add_override root courier 0640 /etc/courier/authdaemonrc
 +fi
 +
- if [ "$1" = "triggered" ]; then
-     invoke-rc.d courier-authdaemon restart
- fi
 +#DEBHELPER#
 +
 +exit 0
index 30c2c2e,0000000..3fdb505
mode 100644,000000..100644
--- /dev/null
@@@ -1,15 -1,0 +1,17 @@@
- #! /bin/sh -e
++#!/bin/sh
++
++set -e
 +
 +del_override() {
 +    if dpkg-statoverride --list $4 >/dev/null; then
 +      dpkg-statoverride --force --remove $4
 +    fi
 +}
 +
 +if [ "$1" = "purge" ]; then
 +    del_override root courier 0640 /etc/courier/authdaemonrc
 +fi
 +
 +#DEBHELPER#
 +
 +exit 0
index 64f0294,0000000..bb25264
mode 100644,000000..100644
--- /dev/null
@@@ -1,15 -1,0 +1,17 @@@
- #! /bin/sh -e
++#!/bin/sh
++
++set -e
 +
 +add_override() {
 +    if ! dpkg-statoverride --list $4 >/dev/null; then
 +      dpkg-statoverride --update --add $1 $2 $3 $4
 +    fi
 +}
 +
 +if [ "$1" = "configure" ]; then
 +    add_override root courier 0640 /etc/courier/authldaprc
 +fi
 +
 +#DEBHELPER#
 +
 +exit 0
index 908c98d,0000000..2b6fc0e
mode 100644,000000..100644
--- /dev/null
@@@ -1,15 -1,0 +1,17 @@@
- #! /bin/sh -e
++#!/bin/sh
++
++set -e
 +
 +del_override() {
 +    if dpkg-statoverride --list $4 >/dev/null; then
 +      dpkg-statoverride --force --remove $4
 +    fi
 +}
 +
 +if [ "$1" = "purge" ]; then
 +    del_override root courier 0640 /etc/courier/authldaprc
 +fi
 +
 +#DEBHELPER#
 +
 +exit 0
index 3250b04,0000000..59c8029
mode 100644,000000..100644
--- /dev/null
@@@ -1,15 -1,0 +1,17 @@@
- #! /bin/sh -e
++#!/bin/sh
++
++set -e
 +
 +add_override() {
 +    if ! dpkg-statoverride --list $4 >/dev/null; then
 +      dpkg-statoverride --update --add $1 $2 $3 $4
 +    fi
 +}
 +
 +if [ "$1" = "configure" ]; then
 +    add_override root courier 0640 /etc/courier/authmysqlrc
 +fi
 +
 +#DEBHELPER#
 +
 +exit 0
index 33441fa,0000000..a270f87
mode 100644,000000..100644
--- /dev/null
@@@ -1,15 -1,0 +1,17 @@@
- #! /bin/sh -e
++#!/bin/sh
++
++set -e
 +
 +del_override() {
 +    if dpkg-statoverride --list $4 >/dev/null; then
 +      dpkg-statoverride --force --remove $4
 +    fi
 +}
 +
 +if [ "$1" = "purge" ]; then
 +    del_override root courier 0640 /etc/courier/authmysqlrc
 +fi
 +
 +#DEBHELPER#
 +
 +exit 0
index f5d6992,0000000..631d7d3
mode 100644,000000..100644
--- /dev/null
@@@ -1,15 -1,0 +1,17 @@@
- #! /bin/sh -e
++#!/bin/sh
++
++set -e
 +
 +add_override() {
 +    if ! dpkg-statoverride --list $4 >/dev/null; then
 +      dpkg-statoverride --update --add $1 $2 $3 $4
 +    fi
 +}
 +
 +if [ "$1" = "configure" ]; then
 +    add_override root courier 0640 /etc/courier/authpgsqlrc
 +fi
 +
 +#DEBHELPER#
 +
 +exit 0
index 5674ef1,0000000..842ed60
mode 100644,000000..100644
--- /dev/null
@@@ -1,15 -1,0 +1,17 @@@
- #! /bin/sh -e
++#!/bin/sh
++
++set -e
 +
 +del_override() {
 +    if dpkg-statoverride --list $4 >/dev/null; then
 +      dpkg-statoverride --force --remove $4
 +    fi
 +}
 +
 +if [ "$1" = "purge" ]; then
 +    del_override root courier 0640 /etc/courier/authpgsqlrc
 +fi
 +
 +#DEBHELPER#
 +
 +exit 0
index 76055c5,0000000..3253259
mode 100644,000000..100644
--- /dev/null
@@@ -1,12 -1,0 +1,14 @@@
- #!/bin/sh -e
++#!/bin/sh
++
++set -e
 +
 +if [ "$1" = "configure" ]; then
 +    # create courier user and group
 +    if ! getent passwd courier > /dev/null; then
 +      adduser --quiet --system --group --no-create-home --home /var/lib/courier courier
 +    fi
 +fi
 +
 +#DEBHELPER#
 +
 +exit 0
index 888fc4a,0000000..58714b6
mode 100644,000000..100644
--- /dev/null
@@@ -1,128 -1,0 +1,149 @@@
-  auth_parse_chpass_clause@Base 0.66.4
-  auth_parse_select_clause@Base 0.66.4
 +libauthcustom.so courier-authlib #MINVER#
 + courier_authcustom_init@Base 0.66.4
 +libauthpam.so courier-authlib #MINVER#
 + courier_authpam_init@Base 0.66.4
 +libcourierauth.so.0 courier-authlib #MINVER#
 +* Build-Depends-Package: courier-authlib-dev
 + _auth_enumerate@Base 0.63.0
 + _authdaemondo@Base 0.63.0
 + _authdaemondopasswd@Base 0.63.0
 + auth_callback_default@Base 0.63.0
 + auth_callback_default_autocreate@Base 0.66.4
 + auth_daemon_cleanup@Base 0.63.0
 + auth_enumerate@Base 0.63.0
 + auth_generic@Base 0.63.0
 + auth_getoption@Base 0.63.0
 + auth_getoptionenv@Base 0.63.0
 + auth_getoptionenvint@Base 0.63.0
 + auth_getuserinfo@Base 0.63.0
 + auth_login@Base 0.63.0
 + auth_mkhomedir@Base 0.66.4
 + auth_passwd@Base 0.63.0
 + authdaemondo@Base 0.63.0
 + authdaemondopasswd@Base 0.63.0
 + courier_auth_err@Base 0.63.0
 + courier_authdebug_authinfo@Base 0.63.0
 + courier_authdebug_login@Base 0.63.0
 + courier_authdebug_login_init@Base 0.63.0
 + courier_authdebug_login_level@Base 0.63.0
 + courier_authdebug_printf@Base 0.63.0
 + courier_safe_printf@Base 0.63.0
 + hmac_hashkey@Base 0.63.0
 + hmac_hashtext@Base 0.63.0
 + hmac_list@Base 0.63.0
 + hmac_md5@Base 0.63.0
 + hmac_sha1@Base 0.63.0
 + hmac_sha256@Base 0.63.0
 + libmail_atogid_t@Base 0.63.0
 + libmail_atotime_t@Base 0.63.0
 + libmail_atouid_t@Base 0.63.0
 + libmail_changegroup@Base 0.63.0
 + libmail_changeuidgid@Base 0.63.0
 + libmail_changeusername@Base 0.63.0
 + libmail_encode@Base 0.63.0
 + libmail_encode_end@Base 0.63.0
 + libmail_encode_start@Base 0.63.0
 + libmail_str_dev_t@Base 0.63.0
 + libmail_str_gid_t@Base 0.63.0
 + libmail_str_ino_t@Base 0.63.0
 + libmail_str_int64_t@Base 0.66.4
 + libmail_str_off_t@Base 0.63.0
 + libmail_str_pid_t@Base 0.63.0
 + libmail_str_size_t@Base 0.63.0
 + libmail_str_sizekb@Base 0.63.0
 + libmail_str_time_t@Base 0.63.0
 + libmail_str_uid_t@Base 0.63.0
 + libmail_strh_dev_t@Base 0.63.0
 + libmail_strh_ino_t@Base 0.63.0
 + libmail_strh_pid_t@Base 0.63.0
 + libmail_strh_time_t@Base 0.63.0
 + libmail_strtogid_t@Base 0.63.0
 + libmail_strtotime_t@Base 0.63.0
 + libmail_strtouid_t@Base 0.63.0
 + md5_context_digest@Base 0.63.0
 + md5_context_endstream@Base 0.63.0
 + md5_context_hash@Base 0.63.0
 + md5_context_hashstream@Base 0.63.0
 + md5_context_init@Base 0.63.0
 + md5_context_restore@Base 0.63.0
 + md5_crypt_redhat@Base 0.63.0
 + md5_digest@Base 0.63.0
 + md5_hash_courier@Base 0.63.0
 + md5_hash_raw@Base 0.63.0
 + random128@Base 0.63.0
 + random128_alpha@Base 0.63.0
 + random128_binary@Base 0.63.0
 + sha1_context_digest@Base 0.63.0
 + sha1_context_endstream@Base 0.63.0
 + sha1_context_hash@Base 0.63.0
 + sha1_context_hashstream@Base 0.63.0
 + sha1_context_init@Base 0.63.0
 + sha1_context_restore@Base 0.63.0
 + sha1_digest@Base 0.63.0
 + sha1_hash@Base 0.63.0
 + sha256_context_digest@Base 0.63.0
 + sha256_context_endstream@Base 0.63.0
 + sha256_context_hash@Base 0.63.0
 + sha256_context_hashstream@Base 0.63.0
 + sha256_context_init@Base 0.63.0
 + sha256_context_restore@Base 0.63.0
 + sha256_digest@Base 0.63.0
 + sha256_hash@Base 0.63.0
 + sha512_context_digest@Base 0.63.0
 + sha512_context_endstream@Base 0.63.0
 + sha512_context_hash@Base 0.63.0
 + sha512_context_hashstream@Base 0.63.0
 + sha512_context_init@Base 0.63.0
 + sha512_context_restore@Base 0.63.0
 + sha512_digest@Base 0.63.0
 + sha512_hash@Base 0.63.0
 + ssha_hash@Base 0.63.0
 + strdupdefdomain@Base 0.63.0
 +libcourierauthcommon.so.0 courier-authlib #MINVER#
 +* Build-Depends-Package: courier-authlib-dev
++ (c++)"courier::auth::config_file::expand_string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&)@Base" 0.67.0
++ (c++)"courier::auth::config_file::open_and_load_file(bool)@Base" 0.67.0
++ (c++)"courier::auth::config_file::parse_custom_query(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&)@Base" 0.67.0
++ (c++)"courier::auth::config_file::load(bool)@Base" 0.67.0
++ (c++)"courier::auth::config_file::config_file(char const*)@Base" 0.67.0
++ (c++)"courier::auth::config_file::config_file(char const*)@Base" 0.67.0
++ (c++)"courier::auth::config_file::config[abi:cxx11](char const*) const@Base" 0.67.0
++ (c++)"courier::auth::config_file::config[abi:cxx11](char const*, char const*) const@Base" 0.67.0
++ (c++)"bool courier::auth::config_file::config<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, bool, char const*) const@Base" 0.67.0
++ (c++)"courier::auth::config_file::getconfig(char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, bool, char const*) const@Base" 0.67.0
++ (c++)"std::ctype<char>::do_widen(char) const@Base" 0.67.0
++ (optional|c++)"std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::find(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const@Base" 0.67.0
++ (optional|c++)"std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_get_insert_unique_pos(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.67.0
++ (optional|c++)"std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.67.0
++ (optional|c++)"__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > std::__find_if<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__ops::_Iter_equals_val<char const> >(__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__ops::_Iter_equals_val<char const>, std::random_access_iterator_tag)@Base" 0.67.0
++ (optional|c++)"__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > std::__find_if<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__ops::_Iter_pred<courier::auth::config_file::not_isspace> >(__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__ops::_Iter_pred<courier::auth::config_file::not_isspace>, std::random_access_iterator_tag)@Base" 0.67.0
++ (optional|c++)"__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > std::__find_if<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__ops::_Iter_pred<courier::auth::config_file::isspace> >(__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__ops::_Iter_pred<courier::auth::config_file::isspace>, std::random_access_iterator_tag)@Base" 0.67.0
++ (c++)"typeinfo for courier::auth::config_file@Base" 0.67.0
++ (c++)"typeinfo name for courier::auth::config_file@Base" 0.67.0
++ (c++)"vtable for courier::auth::config_file@Base" 0.67.0
 + auth_cram_callback@Base 0.63.0
 + auth_get_cram@Base 0.63.0
 + auth_get_cram_silent@Base 0.66.4
-  authgetconfig@Base 0.66.4
 + auth_pwd_enumerate@Base 0.63.0
 + auth_sys_common@Base 0.63.0
 + auth_syspasswd@Base 0.63.0
 + auth_verify_cram@Base 0.63.0
 + authcheckpassword@Base 0.63.0
 + authcheckpasswordmd5@Base 0.63.0
 + authcheckpasswordsha1@Base 0.63.0
 + authcryptpasswd@Base 0.63.0
 + authsasl_frombase64@Base 0.63.0
 + authsasl_tobase64@Base 0.63.0
 + courier_auth_ldap_escape@Base 0.63.0
++# _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSG_PSt13_Rb_tree_nodeIS8_E
++ (optional|c++)"std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_insert_node(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >*)"@Base 0.69.0
++# _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE17_M_emplace_uniqueIJS6_IS5_S5_EEEES6_ISt17_Rb_tree_iteratorIS8_EbEDpOT_
++ (optional|c++)"std::pair<std::_Rb_tree_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, bool> std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_emplace_unique<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&&)"@Base 0.69.0
 +libcourierauthsasl.so.0 courier-authlib #MINVER#
 +* Build-Depends-Package: courier-authlib-dev
 + auth_sasl@Base 0.63.0
 + auth_sasl_ex@Base 0.63.0
 + auth_sasl_extract_userid@Base 0.66.4
 +libcourierauthsaslclient.so.0 courier-authlib #MINVER#
 +* Build-Depends-Package: courier-authlib-dev
 + auth_sasl_client@Base 0.63.0
index 3f97200,0000000..6ff38bb
mode 100644,000000..100644
--- /dev/null
@@@ -1,72 -1,0 +1,70 @@@
- diff --git a/Makefile.am b/Makefile.am
- index 7f4c09b..bfa3981 100644
 +From: =?utf-8?q?Ond=C5=99ej_Sur=C3=BD?= <ondrej@sury.org>
 +Date: Mon, 8 Feb 2016 14:59:54 +0100
 +Subject: Don't mangle permissions on install time as it's take care of in
 + Debian package
 +
 +---
 + Makefile.am | 14 --------------
 + 1 file changed, 14 deletions(-)
 +
- @@ -121,8 +121,6 @@ install-authpgsqlrc:
 +--- a/Makefile.am
 ++++ b/Makefile.am
- @@ -156,8 +154,6 @@ install-authldaprc:
++@@ -120,8 +120,6 @@
 +      $(mkinstalldirs) $(DESTDIR)`dirname @authpgsqlrc@` || :
 +      $(INSTALL_DATA) -m 660 $(srcdir)/authpgsqlrc \
 +              $(DESTDIR)@authpgsqlrc@.dist
 +-     -chown @mailuser@ $(DESTDIR)@authpgsqlrc@.dist
 +-     -chgrp @mailgroup@ $(DESTDIR)@authpgsqlrc@.dist
 + 
 + uninstall-authpgsqlrc:
 +      rm -f $(DESTDIR)@authpgsqlrc@.dist
- @@ -189,8 +185,6 @@ install-authmysqlrc:
++@@ -153,8 +151,6 @@
 +      $(mkinstalldirs) $(DESTDIR)`dirname @authldaprc@` || :
 +      $(INSTALL_DATA) -m 660 $(srcdir)/authldaprc \
 +              $(DESTDIR)@authldaprc@.dist
 +-     -chown @mailuser@ $(DESTDIR)@authldaprc@.dist
 +-     -chgrp @mailgroup@ $(DESTDIR)@authldaprc@.dist
 + 
 + uninstall-authldaprc:
 +      rm -f $(DESTDIR)@authldaprc@.dist
- @@ -222,8 +216,6 @@ install-authsqliterc:
++@@ -184,8 +180,6 @@
 +      $(mkinstalldirs) $(DESTDIR)`dirname @authmysqlrc@` || :
 +      $(INSTALL_DATA) -m 660 $(srcdir)/authmysqlrc \
 +              $(DESTDIR)@authmysqlrc@.dist
 +-     -chown @mailuser@ $(DESTDIR)@authmysqlrc@.dist
 +-     -chgrp @mailgroup@ $(DESTDIR)@authmysqlrc@.dist
 + 
 + uninstall-authmysqlrc:
 +      rm -f $(DESTDIR)@authmysqlrc@.dist
- @@ -271,8 +263,6 @@ install-authdaemonrc:
++@@ -215,8 +209,6 @@
 +      $(mkinstalldirs) $(DESTDIR)`dirname @authsqliterc@` || :
 +      $(INSTALL_DATA) -m 660 $(srcdir)/authsqliterc \
 +              $(DESTDIR)@authsqliterc@.dist
 +-     -chown @mailuser@ $(DESTDIR)@authsqliterc@.dist
 +-     -chgrp @mailgroup@ $(DESTDIR)@authsqliterc@.dist
 + 
 + uninstall-authsqliterc:
 +      rm -f $(DESTDIR)@authsqliterc@.dist
- @@ -423,13 +413,9 @@ install-exec-hook:
++@@ -264,8 +256,6 @@
 +      sed 's/@ALLMODULES@/$(modules:lib%.la=%)/' <authdaemonrc >authdaemonrc.tmp
 +      $(INSTALL_DATA) -m 660 authdaemonrc.tmp $(DESTDIR)@authdaemonrc@.dist
 +      rm -f authdaemonrc.tmp
 +-     -chown @mailuser@ $(DESTDIR)@authdaemonrc@.dist
 +-     -chgrp @mailgroup@ $(DESTDIR)@authdaemonrc@.dist
 + 
 + uninstall-authdaemonrc:
 +      rm -f $(DESTDIR)@authdaemonrc@.dist
++@@ -429,13 +419,9 @@
 +      $(mkinstalldirs) $(DESTDIR)$(sbindir) || :
 +      $(mkinstalldirs) $(DESTDIR)$(pkglibexecdir) || :
 +      chmod 755 $(DESTDIR)$(pkglibexecdir)
 +-     -chown @mailuser@ $(DESTDIR)$(pkglibexecdir)
 +-     -chgrp @mailgroup@ $(DESTDIR)$(pkglibexecdir)
 +      $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) authdaemondprog $(DESTDIR)$(pkglibexecdir)/authdaemond
 +      $(mkinstalldirs) $(DESTDIR)@authdaemonvar@ || :
 +      chmod 750 $(DESTDIR)@authdaemonvar@
 +-     -chown @mailuser@ $(DESTDIR)@authdaemonvar@
 +-     -chgrp @mailgroup@ $(DESTDIR)@authdaemonvar@
 +      test "@LIBAUTHUSERDB@" = "" && exit 0 ;\
 +              $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) libs/makedat/makedatprog \
 +                              $(DESTDIR)$(pkglibexecdir)/makedatprog ; \
index f279d4c,0000000..678ebe9
mode 100644,000000..100644
--- /dev/null
@@@ -1,62 -1,0 +1,60 @@@
- diff --git a/Makefile.am b/Makefile.am
- index 6c17973..e41bcfd 100644
 +From: =?utf-8?q?Ond=C5=99ej_Sur=C3=BD?= <ondrej@sury.org>
 +Date: Wed, 16 Mar 2016 10:16:21 +0100
 +Subject: libcourierauth* libraries are normal shared libraries,
 + treat them as such
 +
 +---
 + Makefile.am | 14 +++++++-------
 + 1 file changed, 7 insertions(+), 7 deletions(-)
 +
- @@ -18,9 +18,9 @@ modules=@LIBAUTHUSERDB@ \
 +--- a/Makefile.am
 ++++ b/Makefile.am
- -pkglib_LTLIBRARIES=libcourierauth.la libcourierauthcommon.la \
- -     libcourierauthsasl.la libcourierauthsaslclient.la \
++@@ -18,9 +18,9 @@
 + pkglibexecdir=$(libexecdir)/courier-authlib
 + pkglibexec_SCRIPTS=authsystem.passwd
 + 
- +lib_LTLIBRARIES=libcourierauth.la libcourierauthcommon.la \
- +     libcourierauthsasl.la libcourierauthsaslclient.la
++-pkglib_LTLIBRARIES=libcourierauth.la \
++-     libcourierauthcommon.la libcourierauthsasl.la libcourierauthsaslclient.la \
 +-     $(modules)
- @@ -62,7 +62,7 @@ libcourierauthcommon_la_SOURCES= \
+++lib_LTLIBRARIES=libcourierauth.la \
+++     libcourierauthcommon.la libcourierauthsasl.la libcourierauthsaslclient.la
 ++pkglib_LTLIBRARIES=$(modules)
 + sbin_SCRIPTS=authdaemond
 + sbin_PROGRAMS=authtest authenumerate authpasswd
 + bin_PROGRAMS=courierauthconfig
- @@ -70,7 +70,7 @@ libcourierauth_la_SOURCES=authdaemon.c authdaemonlib.c preauthdaemon.c \
++@@ -63,7 +63,7 @@
 + 
 + libcourierauthcommon_la_DEPENDENCIES=libcourierauth.la
 + libcourierauthcommon_la_LIBADD=libcourierauth.la
 +-libcourierauthcommon_la_LDFLAGS=$(libcourierauthcommon_t:%=-Wl,%) -avoid-version
 ++libcourierauthcommon_la_LDFLAGS=$(libcourierauthcommon_t:%=-Wl,%) -version 0:0:0
 + 
 + libcourierauth_la_SOURCES=authdaemon.c authdaemonlib.c preauthdaemon.c \
 +      authmoduser2.c authmoduser3.c debug.c \
- @@ -315,7 +315,7 @@ libcourierauthsasl_la_SOURCES=\
++@@ -71,7 +71,7 @@
 +      authoption.c
 + libcourierauth_la_LIBADD=libs/libhmac/libhmac.la libs/md5/libmd5.la libs/sha1/libsha1.la libs/numlib/libnumlib.la \
 +      libs/random128/librandom128.la libs/rfc822/libencode.la
 +-libcourierauth_la_LDFLAGS=@NETLIBS@ -avoid-version
 ++libcourierauth_la_LDFLAGS=@NETLIBS@ -version 0:0:0
 + 
 + # The userdb module
 + 
- @@ -324,7 +324,7 @@ libcourierauthsaslclient_la_SOURCES=courierauthsaslclient.h \
++@@ -318,7 +318,7 @@
 +      authsaslcram.c authsasllogin.c authsaslplain.c \
 +      authsaslfrombase64.c authsasltobase64.c
 + libcourierauthsasl_la_LIBADD=libcourierauthcommon.la libcourierauth.la
 +-libcourierauthsasl_la_LDFLAGS=-export-symbols-regex '^auth_sasl|auth_sasl_ex|auth_sasl_extract_userid$$' -avoid-version
 ++libcourierauthsasl_la_LDFLAGS=-export-symbols-regex '^auth_sasl|auth_sasl_ex|auth_sasl_extract_userid$$' -version 0:0:0
 + 
 + libcourierauthsaslclient_la_SOURCES=courierauthsaslclient.h \
 +      authsaslclient.c authsaslclient.h authsaslclientcram.c \
++@@ -327,7 +327,7 @@
 +      authsaslclientexternal.c \
 +      authsaslfrombase64.c authsasltobase64.c
 + libcourierauthsaslclient_la_LIBADD=libcourierauth.la
 +-libcourierauthsaslclient_la_LDFLAGS=-export-symbols-regex '^auth_sasl_client$$' -avoid-version
 ++libcourierauthsaslclient_la_LDFLAGS=-export-symbols-regex '^auth_sasl_client$$' -version 0:0:0
 + 
 + include_HEADERS=courier_auth_config.h courierauth.h courierauthsasl.h \
 +      courierauthsaslclient.h courierauthdebug.h courierauthstaticlist.h
index 0000000,0000000..88a0eb9
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,14 @@@
++Description: include a missing header file
++Author: Markus Wanner <markus@bluegap.ch>
++Last-Update: 2017-07-02
++
++--- a/libs/rfc822/rfc2047.c
+++++ b/libs/rfc822/rfc2047.c
++@@ -8,6 +8,7 @@
++ #include     <ctype.h>
++ #include     <string.h>
++ #include     <stdlib.h>
+++#include     <uchar.h>
++ #include     <errno.h>
++ #include     <courier-unicode.h>
++ 
index 0000000,0000000..1371111
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,8 @@@
++--- a/samplepipe.pl
+++++ b/samplepipe.pl
++@@ -1,4 +1,4 @@
++-#!/usr/local/bin/perl -w
+++#!/usr/bin/perl -w
++ 
++ # This is a sample authentication module for authpipe. It uses the same
++ # protocol that pop3d/imapd/webmail use to communicate with authdaemon.
index 0000000,0000000..447ac89
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,19 @@@
++From: Helmut Grohne <helmut@subdivi.de>
++Subject: consider $ac_tool_prefix for pkg-config for cross compilation
++
++--- courier-authlib-0.68.0.orig/configure.ac
+++++ courier-authlib-0.68.0/configure.ac
++@@ -632,10 +632,11 @@
++      SQLITE_CFLAGS="-I$withval"
++ )
++ 
+++PKG_PROG_PKG_CONFIG
++ if test "$doauthsqlite" = ""
++ then
++-     SQLITE_CFLAGS="`pkg-config --cflags sqlite3 2>/dev/null`"
++-     SQLITE_LIBS="`pkg-config --libs sqlite3 2>/dev/null`"
+++     SQLITE_CFLAGS="`$PKG_CONFIG --cflags sqlite3 2>/dev/null`"
+++     SQLITE_LIBS="`$PKG_CONFIG --libs sqlite3 2>/dev/null`"
++         saveLIBS="$LIBS"
++      LIBS="$SQLITE_LIBS $LIBS"
++      AC_CHECK_FUNC(sqlite3_version,
index 5ec4df0,0000000..032b1ec
mode 100644,000000..100644
--- /dev/null
@@@ -1,5 -1,0 +1,6 @@@
- 0003-Fix-authdaemondprog-linking-missing-libcourierauth.l.patch
- 0004-Reorder-libs-on-pkglib_LTLIBRARIES-to-help-libtool-f.patch
 +0001-Don-t-mangle-permissions-on-install-time-as-it-s-tak.patch
 +0002-Rip-AC_PROG_SYSCONFTOOL-macro-to-m4-directory.patch
 +0005-libcourierauth-libraries-are-normal-shared-libraries.patch
++0007-add-missing-include.patch
++0008-fix-perl-shebang.patch
++0009-cross.patch
diff --cc debian/rules
index 8f6e259,0000000..11c2e8f
mode 100755,000000..100755
--- /dev/null
@@@ -1,81 -1,0 +1,92 @@@
- include /usr/share/dpkg/default.mk
 +#!/usr/bin/make -f
 +# See debhelper(7) (uncomment to enable)
 +# output every command that modifies files on the build system.
 +#DH_VERBOSE = 1
 +
 +# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
 +DPKG_EXPORT_BUILDFLAGS = 1
- #export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 +
 +# see FEATURE AREAS in dpkg-buildflags(1)
- export DPKG_GENSYMBOLS_CHECK_LEVEL=4
++export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 +
 +# see ENVIRONMENT in dpkg-buildflags(1)
 +# package maintainers to append CFLAGS
 +#export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
 +# package maintainers to append LDFLAGS
 +#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 +
-       dh $@ --with autoreconf --with autotools-dev
++# the build captures $SHELL, hard-wire to "/bin/sh"
++export CONFIG_SHELL=/bin/sh
++
++include /usr/share/dpkg/default.mk
 +
 +# main packaging script based on dh7 syntax
 +%:
-       dh_auto_configure -- $(COMMON_CONFOPTS)
++      dh $@ --with autoreconf,pkgkde_symbolshelper
 +
 +COMMON_CONFOPTS=--with-authdaemonvar=/run/courier/authdaemon \
 +              --with-pkgconfdir=/etc/courier \
 +              --libdir=\$${prefix}/lib \
 +              --libexecdir=\$${prefix}/lib/courier \
 +              --datadir=\$${prefix}/lib/courier \
 +              --localstatedir=/var/lib/courier \
++              --with-mailuser=courier \
++              --with-mailgroup=courier \
 +              --without-socks \
 +              --with-authpam \
 +              --with-authpipe \
 +              --without-authpwd \
 +              --with-authmysql \
 +              --with-mysql-includes=/usr/include/mysql \
 +              --with-mysql-libs=/usr/lib \
 +              --with-authmysqlrc=/etc/courier/authmysqlrc \
 +              --with-authpgsql \
 +              --with-pgsql-includes=`pg_config --includedir` \
 +              --with-pgsql-libs=/usr/lib \
 +              --with-authpgsqlrc=/etc/courier/authpgsqlrc \
 +              --without-authshadow \
 +              --with-authldap \
 +              --with-authldaprc=/etc/courier/authldaprc \
 +              --with-authsqlite="" \
 +              --with-authsqliterc=/etc/courier/authsqliterc \
 +              --with-authcram \
 +              --with-db=gdbm \
 +              --without-fcgi \
 +              --with-htmllibdir=/usr/share/sqwebmail \
 +              --with-ispell=/usr/bin/ispell \
 +              --enable-userdb \
 +              --enable-syslog=1 \
 +              --disable-root-check \
++              --with-mailuser=daemon \
++              --with-mailgroup=daemon \
++              --with-locking-method=fcntl \
 +
 +override_dh_auto_configure:
-       pod2man --center='Debian GNU/Linux Documentation' --release='Debian GNU/Linux '`cat /etc/debian_version` --section=8 debian/authenumerate.pod > debian/tmp/usr/share/man/man8/authenumerate.8
++      dh_auto_configure -- PS=/bin/ps $(COMMON_CONFOPTS)
 +
 +override_dh_install:
-       rm debian/tmp/etc/courier/authdaemonrc.dist
++      pod2man --center='Debian GNU/Linux Documentation' \
++              --release='Debian GNU/Linux '`cat /etc/debian_version` \
++              --section=8 debian/authenumerate.pod \
++              --verbose \
++              > debian/tmp/usr/share/man/man8/authenumerate.8
 +
 +# Change default module list
 +      perl -pe 's/^authmodulelist=".*?"/authmodulelist="authpam"/' debian/tmp/etc/courier/authdaemonrc.dist > debian/tmp/etc/courier/authdaemonrc
-       rm debian/tmp/etc/courier/authldaprc.dist
++      rm -v debian/tmp/etc/courier/authdaemonrc.dist
 +
 +# Change default LDAP server to localhost
 +      perl -pe 's/^(LDAP_SERVER\s+)ldap.example.com/$$1localhost/' debian/tmp/etc/courier/authldaprc.dist > debian/tmp/etc/courier/authldaprc
-       rm debian/tmp/etc/courier/authmysqlrc.dist
++      rm -v debian/tmp/etc/courier/authldaprc.dist
 +
 +# Change default MySQL server to localhost
 +      perl -pe 's/^(MYSQL_SERVER\s+)mysql.example.com/$$1localhost/;s%^(#?\s*MYSQL_SOCKET\s+)/.*%$$1/var/run/mysqld/mysqld.sock%' debian/tmp/etc/courier/authmysqlrc.dist > debian/tmp/etc/courier/authmysqlrc
-       rm debian/tmp/etc/courier/authsqliterc.dist
++      rm -v debian/tmp/etc/courier/authmysqlrc.dist
 +
 +# Change default SQlite 3 path to /var/lib/courier/users.db
 +      perl -pe 's%^(SQLITE_DATABASE\s+)/var/users.db%$$1/var/lib/courier/users.db%' debian/tmp/etc/courier/authsqliterc.dist > debian/tmp/etc/courier/authsqliterc
-       mv debian/tmp/etc/courier/authpgsqlrc.dist debian/tmp/etc/courier/authpgsqlrc
++      rm -v debian/tmp/etc/courier/authsqliterc.dist
 +
++      mv -v debian/tmp/etc/courier/authpgsqlrc.dist debian/tmp/etc/courier/authpgsqlrc
 +
 +      dh_install --fail-missing -X.la
index 0000000,0000000..03c6f8b
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,146 @@@
++# autopkgtest check: helper routines for authdaemond tests
++#
++# Author: Markus Wanner <markus@bluegap.ch>
++
++TEST_USERS="alice bob carol"
++
++CONFIG_FILES="/etc/courier/authdaemonrc \
++          /etc/courier/authldaprc \
++          /etc/courier/authmysqlrc \
++          /etc/courier/authpgsqlrc \
++          /etc/courier/authsqliterc"
++
++export PGOPTIONS='--client-min-messages=warning'
++
++# exits with code 0 if the given user exists
++user_exists() {
++    id -u $1 > /dev/null 2>&1
++}
++
++# exits with code 0 if the postgresql client tools are installed
++has_postgres_client() {
++    which psql > /dev/null 2>&1
++}
++
++test_authentication() {
++    user=$1
++    password=$2
++    TEST_OUTPUT="$AUTOPKGTEST_ARTIFACTS/testauth-$1.out"
++    echo "testing: '$user' with password '$password'"
++    /usr/sbin/authtest $user $password > $TEST_OUTPUT
++}
++
++authenumerate_as_courier() {
++    su -c "/usr/sbin/authenumerate" -s /bin/sh courier
++}
++
++# emits a random (512bit, hex encoded) password on stdout
++gen_random_password() {
++    dd if=/dev/urandom bs=16 count=1 2> /dev/null | hexdump -e '"%x"'
++}
++
++# accepts SQL on stdin
++postgres_superuser_exec() {
++    su postgres -c "psql -X -q -v ON_ERROR_STOP=1 --pset pager=off"
++}
++
++create_test_users() {
++    echo "== creating test users..."
++    for USER in $TEST_USERS; do
++        gen_random_password > $USER.password
++        useradd --shell /bin/false --password $(cat $USER.password) $USER
++    done
++}
++
++backup_config_files() {
++    echo "== backup config files..."
++    for f in $CONFIG_FILES; do
++        if [ -f $f ]; then
++            cp ${f} ${f}.autopkgtest.bak
++        fi
++    done
++}
++
++restore_config_files() {
++    echo "== restore config files..."
++    for f in $CONFIG_FILES; do
++        if [ -f ${f}.autopkgtest.bak ]; then
++            mv ${f}.autopkgtest.bak ${f}
++        fi
++    done
++}
++
++start_authdaemon() {
++    echo "== starting authdameon..."
++    service courier-authdaemon start
++}
++
++start_postgresql() {
++    echo "== starting postgresql..."
++    service postgresql start
++}
++
++# helper methods for dumping test status
++dump_file_if_exists() {
++    if [ -f $1 ]; then
++        echo "===== BEGIN $1 ====="
++        cat $1
++        echo "===== END $1 ====="
++    fi
++}
++
++dump_config_files() {
++    for f in $CONFIG_FILES; do
++        if [ -f ${f}.autopkgtest.bak ]; then
++            dump_file_if_exists $f
++        fi
++    done
++
++    for f in `ls $AUTOPKGTEST_ARTIFACTS/`; do
++        dump_file_if_exists $AUTOPKGTEST_ARTIFACTS/$f
++    done
++}
++
++# cleanup after running tests
++finish() {
++    echo "== dump..."
++    # dump and then restore the config files
++    dump_config_files
++
++    echo "== finish..."
++
++    # drop test users
++    if user_exists alice; then
++        echo "== dropping user alice"
++        userdel alice
++    fi
++    if user_exists bob; then
++        echo "== dropping user bob"
++        userdel bob
++    fi
++    if user_exists carol; then
++        echo "== dropping user carol"
++        userdel carol
++    fi
++
++    # restore config files, then restart the authdaemon, so it
++    # disconnects from the database. Otherwise authdaemon blocks the
++    # database deletion.
++    restore_config_files
++
++    # cleanup Postgres databases
++    if has_postgres_client; then
++        postgres_superuser_exec <<EOSQL
++DROP DATABASE IF EXISTS courier_authdaemon_test;
++DROP ROLE IF EXISTS courier;
++EOSQL
++    fi
++
++    for NAME in courier-authdaemon postgresql; do
++        if [ -x /etc/init.d/$NAME ]; then
++            echo "== stopping service $NAME..."
++            service $NAME stop || /bin/true
++        fi
++    done
++}
++trap finish EXIT INT QUIT ABRT PIPE TERM
index 0000000,0000000..e6b0553
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,3 @@@
++Tests: pam
++Restrictions: needs-root
++Depends: courier-authdaemon, bsdmainutils
index 0000000,0000000..055d45a
new file mode 100755 (executable)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,41 @@@
++#!/bin/sh
++
++# autopkgtest check: test two local users via PAM authentication.
++# Author: Markus Wanner <markus@bluegap.ch>
++
++set -eu
++
++. debian/tests/common.sh
++
++export LANG=C
++unset LANGUAGE LC_ALL LC_CTYPE
++
++test_enumeration() {
++    ENUM_OUTPUT="$AUTOPKGTEST_ARTIFACTS/authenumerate.out"
++
++    # test authenumerate
++    (
++        authenumerate_as_courier > $ENUM_OUTPUT 2> $AUTOPKGTEST_ARTIFACTS/authenumerate.err
++    )
++    echo $? > $AUTOPKGTEST_ARTIFACTS/authenumerate.exitcode
++
++    # the three test users should appear in the output of authenumerate
++    echo -n "checking for alice: "
++    grep "alice" $ENUM_OUTPUT > /dev/null && echo "ok" || echo "FAILED"
++    echo -n "checking for bob:   "
++    grep "bob"   $ENUM_OUTPUT > /dev/null && echo "ok" || echo "FAILED"
++    echo -n "checking for carol: "
++    grep "carol" $ENUM_OUTPUT > /dev/null && echo "ok" || echo "FAILED"
++}
++
++# Actual tests start here
++
++backup_config_files
++create_test_users
++
++start_authdaemon
++
++echo "== check enumeration..."
++test_enumeration
++
++echo "== test completed"
diff --cc debian/watch
index e78740c,0000000..afda22f
mode 100644,000000..100644
--- /dev/null
@@@ -1,5 -1,0 +1,5 @@@
- opts=pgpsigurlmangle=s/$/.sig/ http://sf.net/courier/courier-authlib-(\d\S*)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
 +version=3
 +# qa.debian.org runs a redirector which allows a simpler form of URL
 +# for SourceForge based projects. The format below will automatically
 +# be rewritten to use the redirector.
++opts=pgpsigurlmangle=s/$/.sig/ https://sf.net/courier/courier-authlib-(\d+\.\d+\.\d+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))