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.

49 files changed:
debian/authenumerate.pod [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/courier-authdaemon.dirs [new file with mode: 0644]
debian/courier-authdaemon.init [new file with mode: 0644]
debian/courier-authdaemon.install [new file with mode: 0644]
debian/courier-authdaemon.postinst [new file with mode: 0644]
debian/courier-authdaemon.postrm [new file with mode: 0644]
debian/courier-authdaemon.service [new file with mode: 0644]
debian/courier-authdaemon.tmpfile [new file with mode: 0644]
debian/courier-authdaemon.triggers [new file with mode: 0644]
debian/courier-authlib-dev.install [new file with mode: 0644]
debian/courier-authlib-ldap.docs [new file with mode: 0644]
debian/courier-authlib-ldap.install [new file with mode: 0644]
debian/courier-authlib-ldap.postinst [new file with mode: 0644]
debian/courier-authlib-ldap.postrm [new file with mode: 0644]
debian/courier-authlib-mysql.docs [new file with mode: 0644]
debian/courier-authlib-mysql.install [new file with mode: 0644]
debian/courier-authlib-mysql.postinst [new file with mode: 0644]
debian/courier-authlib-mysql.postrm [new file with mode: 0644]
debian/courier-authlib-pipe.install [new file with mode: 0644]
debian/courier-authlib-postgresql.docs [new file with mode: 0644]
debian/courier-authlib-postgresql.install [new file with mode: 0644]
debian/courier-authlib-postgresql.postinst [new file with mode: 0644]
debian/courier-authlib-postgresql.postrm [new file with mode: 0644]
debian/courier-authlib-sqlite.dirs [new file with mode: 0644]
debian/courier-authlib-sqlite.docs [new file with mode: 0644]
debian/courier-authlib-sqlite.install [new file with mode: 0644]
debian/courier-authlib-userdb.install [new file with mode: 0644]
debian/courier-authlib.docs [new file with mode: 0644]
debian/courier-authlib.install [new file with mode: 0644]
debian/courier-authlib.postinst [new file with mode: 0644]
debian/courier-authlib.symbols [new file with mode: 0644]
debian/patches/0001-Don-t-mangle-permissions-on-install-time-as-it-s-tak.patch [new file with mode: 0644]
debian/patches/0002-Rip-AC_PROG_SYSCONFTOOL-macro-to-m4-directory.patch [new file with mode: 0644]
debian/patches/0005-libcourierauth-libraries-are-normal-shared-libraries.patch [new file with mode: 0644]
debian/patches/0007-add-missing-include.patch [new file with mode: 0644]
debian/patches/0008-fix-perl-shebang.patch [new file with mode: 0644]
debian/patches/0009-cross.patch [new file with mode: 0644]
debian/patches/series [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/source/format [new file with mode: 0644]
debian/tests/common.sh [new file with mode: 0644]
debian/tests/control [new file with mode: 0644]
debian/tests/pam [new file with mode: 0755]
debian/upstream/signing-key.asc [new file with mode: 0644]
debian/watch [new file with mode: 0644]

diff --git a/debian/authenumerate.pod b/debian/authenumerate.pod
new file mode 100644 (file)
index 0000000..1fdb539
--- /dev/null
@@ -0,0 +1,24 @@
+=head1 NAME
+
+authenumerate - Fetches all known users from the authentication modules
+
+=head1 SYNOPSIS
+
+authenumerate [ -m MODULE ]
+
+=head1 DESCRIPTION
+
+B<authenumerate> lists all known users from the authentication modules, 
+including uid, gid and home directory. Its use is documented in 
+F</usr/share/doc/courier-base/README.sharedfolders.txt.gz>.
+It may also be useful to test the authentication modules. 
+
+=head1 SEE ALSO
+
+L<courierauthtest>(8)
+
+=head1 AUTHOR
+
+This manual page was written by Willi Mann <willi@wm1.at>
+for the Debian GNU/Linux system.
+
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..099be25
--- /dev/null
@@ -0,0 +1,514 @@
+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)
+
+ -- 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
+
+  * 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
+
+ -- 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
+
+  * 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 --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..b4de394
--- /dev/null
@@ -0,0 +1 @@
+11
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..4bd2721
--- /dev/null
@@ -0,0 +1,115 @@
+Source: courier-authlib
+Section: mail
+Priority: optional
+Maintainer: Markus Wanner <markus@bluegap.ch>
+Standards-Version: 4.3.0
+Build-Depends: debhelper (>= 11),
+               dh-autoreconf,
+               pkg-kde-tools,
+               default-libmysqlclient-dev,
+               expect,
+               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.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..41f9c5e
--- /dev/null
@@ -0,0 +1,57 @@
+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 - 2016 Double Precision, Inc.
+License: GPL-3+OpenSSL-exception
+
+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.
diff --git a/debian/courier-authdaemon.dirs b/debian/courier-authdaemon.dirs
new file mode 100644 (file)
index 0000000..8b13789
--- /dev/null
@@ -0,0 +1 @@
+
diff --git a/debian/courier-authdaemon.init b/debian/courier-authdaemon.init
new file mode 100644 (file)
index 0000000..834dac7
--- /dev/null
@@ -0,0 +1,51 @@
+#!/bin/sh
+# kFreeBSD do not accept scripts as interpreters, using #!/bin/sh and sourcing.
+if [ true != "$INIT_D_SCRIPT_SOURCED" ] ; then
+    set "$0" "$@"; INIT_D_SCRIPT_SOURCED=true . /lib/init/init-d-script
+fi
+### BEGIN INIT INFO
+# Provides:          courier-authdaemon
+# Required-Start:    $remote_fs $syslog
+# Required-Stop:     $remote_fs $syslog
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+### END INIT INFO
+
+# Author: Ondřej Surý <ondrej@debian.org>
+
+DAEMON="/usr/sbin/authdaemond"
+DESC="Courier authentication services"
+PIDFILE="/run/courier/pid"
+
+do_start_prepare() {
+    do_tmpfiles courier-authdaemon
+}
+
+do_tmpfiles() {
+    local type path mode user group
+
+    TMPFILES=/usr/lib/tmpfiles.d/$1.conf
+
+    if [ -r "$TMPFILES" ]; then
+       while read type path mode user group age argument; do
+           if [ "$type" = "d" ]; then
+               mkdir -p "$path"
+               chmod "$mode" "$path"
+               chown "$user:$group" "$path"
+               [ -x /sbin/restorecon ] && /sbin/restorecon $path
+           fi
+       done < "$TMPFILES"
+    fi
+}
+
+do_start_cmd_override() {
+    $DAEMON start
+}
+
+do_stop_cmd_override() {
+    $DAEMON stop
+}
+
+do_status_override() {
+    status_of_proc "/usr/lib/courier/courier-authlib/authdaemond" "$NAME" && return 0 || return $?
+}
diff --git a/debian/courier-authdaemon.install b/debian/courier-authdaemon.install
new file mode 100644 (file)
index 0000000..44adb73
--- /dev/null
@@ -0,0 +1,2 @@
+/etc/courier/authdaemonrc
+/usr/sbin/authdaemond
diff --git a/debian/courier-authdaemon.postinst b/debian/courier-authdaemon.postinst
new file mode 100644 (file)
index 0000000..67c771f
--- /dev/null
@@ -0,0 +1,17 @@
+#!/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
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/courier-authdaemon.postrm b/debian/courier-authdaemon.postrm
new file mode 100644 (file)
index 0000000..3fdb505
--- /dev/null
@@ -0,0 +1,17 @@
+#!/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
diff --git a/debian/courier-authdaemon.service b/debian/courier-authdaemon.service
new file mode 100644 (file)
index 0000000..d37dad8
--- /dev/null
@@ -0,0 +1,11 @@
+[Unit]
+Description=Courier Authentification Daemon
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/authdaemond start
+ExecStop=/usr/sbin/authdaemond stop
+PIDFile=/run/courier/authdaemon/pid
+
+[Install]
+WantedBy=multi-user.target
diff --git a/debian/courier-authdaemon.tmpfile b/debian/courier-authdaemon.tmpfile
new file mode 100644 (file)
index 0000000..c03dbbf
--- /dev/null
@@ -0,0 +1,3 @@
+#Type Path                    Mode UID     GID     Age Argument
+    d /run/courier            0775 root    courier -   -
+    d /run/courier/authdaemon 0755 courier courier -   -
diff --git a/debian/courier-authdaemon.triggers b/debian/courier-authdaemon.triggers
new file mode 100644 (file)
index 0000000..01c498d
--- /dev/null
@@ -0,0 +1 @@
+interest-noawait /usr/lib/courier-authlib
diff --git a/debian/courier-authlib-dev.install b/debian/courier-authlib-dev.install
new file mode 100644 (file)
index 0000000..e72010c
--- /dev/null
@@ -0,0 +1,6 @@
+/usr/bin/courierauthconfig
+/usr/include
+/usr/lib/courier-authlib/*.a
+/usr/lib/libcourierauth*.a
+/usr/lib/libcourierauth*.so
+/usr/share/man/man3
diff --git a/debian/courier-authlib-ldap.docs b/debian/courier-authlib-ldap.docs
new file mode 100644 (file)
index 0000000..55d4e59
--- /dev/null
@@ -0,0 +1,2 @@
+README.ldap
+authldap.schema
\ No newline at end of file
diff --git a/debian/courier-authlib-ldap.install b/debian/courier-authlib-ldap.install
new file mode 100644 (file)
index 0000000..00ac96c
--- /dev/null
@@ -0,0 +1,2 @@
+/etc/courier/authldaprc
+/usr/lib/courier-authlib/libauthldap.so*
diff --git a/debian/courier-authlib-ldap.postinst b/debian/courier-authlib-ldap.postinst
new file mode 100644 (file)
index 0000000..bb25264
--- /dev/null
@@ -0,0 +1,17 @@
+#!/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
diff --git a/debian/courier-authlib-ldap.postrm b/debian/courier-authlib-ldap.postrm
new file mode 100644 (file)
index 0000000..2b6fc0e
--- /dev/null
@@ -0,0 +1,17 @@
+#!/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
diff --git a/debian/courier-authlib-mysql.docs b/debian/courier-authlib-mysql.docs
new file mode 100644 (file)
index 0000000..82eb811
--- /dev/null
@@ -0,0 +1 @@
+README.authmysql.html
diff --git a/debian/courier-authlib-mysql.install b/debian/courier-authlib-mysql.install
new file mode 100644 (file)
index 0000000..42d07e5
--- /dev/null
@@ -0,0 +1,2 @@
+/etc/courier/authmysqlrc
+/usr/lib/courier-authlib/libauthmysql.so*
diff --git a/debian/courier-authlib-mysql.postinst b/debian/courier-authlib-mysql.postinst
new file mode 100644 (file)
index 0000000..59c8029
--- /dev/null
@@ -0,0 +1,17 @@
+#!/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
diff --git a/debian/courier-authlib-mysql.postrm b/debian/courier-authlib-mysql.postrm
new file mode 100644 (file)
index 0000000..a270f87
--- /dev/null
@@ -0,0 +1,17 @@
+#!/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
diff --git a/debian/courier-authlib-pipe.install b/debian/courier-authlib-pipe.install
new file mode 100644 (file)
index 0000000..e68a44a
--- /dev/null
@@ -0,0 +1,2 @@
+
+/usr/lib/courier-authlib/libauthpipe*.so*
diff --git a/debian/courier-authlib-postgresql.docs b/debian/courier-authlib-postgresql.docs
new file mode 100644 (file)
index 0000000..0c4a644
--- /dev/null
@@ -0,0 +1,2 @@
+README.authmysql.html
+README.authpostgres.html
\ No newline at end of file
diff --git a/debian/courier-authlib-postgresql.install b/debian/courier-authlib-postgresql.install
new file mode 100644 (file)
index 0000000..5387e8d
--- /dev/null
@@ -0,0 +1,2 @@
+/etc/courier/authpgsqlrc
+/usr/lib/courier-authlib/libauthpgsql.so*
diff --git a/debian/courier-authlib-postgresql.postinst b/debian/courier-authlib-postgresql.postinst
new file mode 100644 (file)
index 0000000..631d7d3
--- /dev/null
@@ -0,0 +1,17 @@
+#!/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
diff --git a/debian/courier-authlib-postgresql.postrm b/debian/courier-authlib-postgresql.postrm
new file mode 100644 (file)
index 0000000..842ed60
--- /dev/null
@@ -0,0 +1,17 @@
+#!/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
diff --git a/debian/courier-authlib-sqlite.dirs b/debian/courier-authlib-sqlite.dirs
new file mode 100644 (file)
index 0000000..2df9827
--- /dev/null
@@ -0,0 +1 @@
+/var/lib/courier
diff --git a/debian/courier-authlib-sqlite.docs b/debian/courier-authlib-sqlite.docs
new file mode 100644 (file)
index 0000000..c515996
--- /dev/null
@@ -0,0 +1,2 @@
+README.authsqlite.html
+README.authmysql.html
diff --git a/debian/courier-authlib-sqlite.install b/debian/courier-authlib-sqlite.install
new file mode 100644 (file)
index 0000000..3e93a4b
--- /dev/null
@@ -0,0 +1,2 @@
+/etc/courier/authsqliterc
+/usr/lib/courier-authlib/libauthsqlite.so*
diff --git a/debian/courier-authlib-userdb.install b/debian/courier-authlib-userdb.install
new file mode 100644 (file)
index 0000000..2912808
--- /dev/null
@@ -0,0 +1,14 @@
+
+
+
+
+/usr/lib/courier-authlib/libauthuserdb.so*
+/usr/sbin/makeuserdb
+/usr/sbin/pw2userdb
+/usr/sbin/userdb
+/usr/sbin/userdb-test-cram-md5
+/usr/sbin/userdbpw
+/usr/share/man/man8/makeuserdb.8
+/usr/share/man/man8/pw2userdb.8
+/usr/share/man/man8/userdb.8
+/usr/share/man/man8/userdbpw.8
diff --git a/debian/courier-authlib.docs b/debian/courier-authlib.docs
new file mode 100644 (file)
index 0000000..49169f7
--- /dev/null
@@ -0,0 +1 @@
+README.authdebug.html
diff --git a/debian/courier-authlib.install b/debian/courier-authlib.install
new file mode 100644 (file)
index 0000000..8efc712
--- /dev/null
@@ -0,0 +1,12 @@
+/usr/lib/courier-authlib/libauthcustom*.so*
+/usr/lib/courier-authlib/libauthpam*.so*
+/usr/lib/courier/courier-authlib/
+/usr/lib/libcourierauth*.so.*
+/usr/sbin/authenumerate
+/usr/sbin/authpasswd
+/usr/sbin/authtest
+/usr/sbin/courierlogger
+/usr/share/man/man1/authpasswd.1
+/usr/share/man/man1/authtest.1
+/usr/share/man/man1/courierlogger.1
+/usr/share/man/man8/authenumerate.8
diff --git a/debian/courier-authlib.postinst b/debian/courier-authlib.postinst
new file mode 100644 (file)
index 0000000..3253259
--- /dev/null
@@ -0,0 +1,14 @@
+#!/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
diff --git a/debian/courier-authlib.symbols b/debian/courier-authlib.symbols
new file mode 100644 (file)
index 0000000..58714b6
--- /dev/null
@@ -0,0 +1,149 @@
+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
+ 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
diff --git a/debian/patches/0001-Don-t-mangle-permissions-on-install-time-as-it-s-tak.patch b/debian/patches/0001-Don-t-mangle-permissions-on-install-time-as-it-s-tak.patch
new file mode 100644 (file)
index 0000000..6ff38bb
--- /dev/null
@@ -0,0 +1,70 @@
+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(-)
+
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -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
+@@ -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
+@@ -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
+@@ -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
+@@ -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 ; \
diff --git a/debian/patches/0002-Rip-AC_PROG_SYSCONFTOOL-macro-to-m4-directory.patch b/debian/patches/0002-Rip-AC_PROG_SYSCONFTOOL-macro-to-m4-directory.patch
new file mode 100644 (file)
index 0000000..af0dee7
--- /dev/null
@@ -0,0 +1,80 @@
+From: =?utf-8?q?Ond=C5=99ej_Sur=C3=BD?= <ondrej@sury.org>
+Date: Mon, 8 Feb 2016 15:09:24 +0100
+Subject: Rip AC_PROG_SYSCONFTOOL macro to m4/ directory
+
+---
+ Makefile.am       |  2 ++
+ configure.ac      |  2 ++
+ m4/sysconftool.m4 | 37 +++++++++++++++++++++++++++++++++++++
+ 3 files changed, 41 insertions(+)
+ create mode 100644 m4/sysconftool.m4
+
+diff --git a/Makefile.am b/Makefile.am
+index bfa3981..f39338a 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -2,6 +2,8 @@
+ # Copyright 1998 - 2009 Double Precision, Inc.  See COPYING for
+ # distribution information.
++ACLOCAL_AMFLAGS = -I m4
++
+ AUTOMAKE_OPTIONS=dist-bzip2
+ SUBDIRS=libs/gdbmobj libs/bdbobj libs/md5 libs/sha1 libs/libhmac libs/numlib libs/makedat userdb libs/rfc822 libs/random128 libs/liblock liblog
+diff --git a/configure.ac b/configure.ac
+index 54dbbc6..7450d5f 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -9,6 +9,8 @@ AC_INIT([courier-authlib],[0.66.4],[courier-users@lists.sourceforge.net])
+ AC_CONFIG_SRCDIR([courierauth.h])
++AC_CONFIG_MACRO_DIR([m4])
++
+ AM_INIT_AUTOMAKE
+ AC_CONFIG_HEADERS([courier_auth_config.h])
+ >confdefs.h  # Kill PACKAGE_ macros
+diff --git a/m4/sysconftool.m4 b/m4/sysconftool.m4
+new file mode 100644
+index 0000000..5e21e7b
+--- /dev/null
++++ b/m4/sysconftool.m4
+@@ -0,0 +1,37 @@
++# Configure sysconftool
++# Copyright 2000-2005 Double Precision, Inc.  See COPYING for
++# distribution information.
++#
++# AC_PROG_SYSCONFTOOL
++
++AC_DEFUN([AC_PROG_SYSCONFTOOL],
++[
++
++      AC_PATH_PROGS(SYSCONFTOOL_PERL, perl5 perl, perl)
++
++      if test "$SYSCONFTOOL_PERL" = "perl"
++      then
++              AC_ERROR(perl not found - please install perl)
++      fi
++
++      AC_MSG_CHECKING(for sysconftool...)
++      SYSCONFTOOL=""
++      for sysconf_dir in $ac_aux_dir . .. ../..
++      do
++              if test -f $srcdir/$sysconf_dir/sysconftool
++              then
++                      SYSCONFTOOL=$srcdir/$sysconf_dir/sysconftool
++                      break
++              fi
++      done
++
++      if test "$SYSCONFTOOL" = ""
++      then
++              AC_ERROR(sysconftool missing - not in the package)
++      fi
++
++      AC_MSG_RESULT( $SYSCONFTOOL)
++      SYSCONFTOOL="$SYSCONFTOOL_PERL $SYSCONFTOOL"
++      AC_SUBST(SYSCONFTOOL)
++]
++)
diff --git a/debian/patches/0005-libcourierauth-libraries-are-normal-shared-libraries.patch b/debian/patches/0005-libcourierauth-libraries-are-normal-shared-libraries.patch
new file mode 100644 (file)
index 0000000..678ebe9
--- /dev/null
@@ -0,0 +1,60 @@
+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(-)
+
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -18,9 +18,9 @@
+ pkglibexecdir=$(libexecdir)/courier-authlib
+ pkglibexec_SCRIPTS=authsystem.passwd
+-pkglib_LTLIBRARIES=libcourierauth.la \
+-      libcourierauthcommon.la libcourierauthsasl.la libcourierauthsaslclient.la \
+-      $(modules)
++lib_LTLIBRARIES=libcourierauth.la \
++      libcourierauthcommon.la libcourierauthsasl.la libcourierauthsaslclient.la
++pkglib_LTLIBRARIES=$(modules)
+ sbin_SCRIPTS=authdaemond
+ sbin_PROGRAMS=authtest authenumerate authpasswd
+ bin_PROGRAMS=courierauthconfig
+@@ -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 \
+@@ -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
+@@ -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
diff --git a/debian/patches/0007-add-missing-include.patch b/debian/patches/0007-add-missing-include.patch
new file mode 100644 (file)
index 0000000..88a0eb9
--- /dev/null
@@ -0,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>
diff --git a/debian/patches/0008-fix-perl-shebang.patch b/debian/patches/0008-fix-perl-shebang.patch
new file mode 100644 (file)
index 0000000..1371111
--- /dev/null
@@ -0,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.
diff --git a/debian/patches/0009-cross.patch b/debian/patches/0009-cross.patch
new file mode 100644 (file)
index 0000000..447ac89
--- /dev/null
@@ -0,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,
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644 (file)
index 0000000..032b1ec
--- /dev/null
@@ -0,0 +1,6 @@
+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 --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..11c2e8f
--- /dev/null
@@ -0,0 +1,92 @@
+#!/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
+
+# see FEATURE AREAS in dpkg-buildflags(1)
+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
+
+# 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 $@ --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:
+       dh_auto_configure -- PS=/bin/ps $(COMMON_CONFOPTS)
+
+override_dh_install:
+       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 -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 -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 -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
+       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
diff --git a/debian/source/format b/debian/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/tests/common.sh b/debian/tests/common.sh
new file mode 100644 (file)
index 0000000..03c6f8b
--- /dev/null
@@ -0,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
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644 (file)
index 0000000..e6b0553
--- /dev/null
@@ -0,0 +1,3 @@
+Tests: pam
+Restrictions: needs-root
+Depends: courier-authdaemon, bsdmainutils
diff --git a/debian/tests/pam b/debian/tests/pam
new file mode 100755 (executable)
index 0000000..055d45a
--- /dev/null
@@ -0,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 --git a/debian/upstream/signing-key.asc b/debian/upstream/signing-key.asc
new file mode 100644 (file)
index 0000000..6138fb9
--- /dev/null
@@ -0,0 +1,76 @@
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+Version: GnuPG v2
+
+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
+5ptDOwjwMN1SOTHCsrFbt+Tl9A==
+=Aqs/
+-----END PGP PUBLIC KEY BLOCK-----
diff --git a/debian/watch b/debian/watch
new file mode 100644 (file)
index 0000000..afda22f
--- /dev/null
@@ -0,0 +1,5 @@
+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)))