--- /dev/null
++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
+
--- /dev/null
- Build-Depends: libmysqlclient-dev, libpam0g-dev, libgdbm-dev | libgdbmg1-dev, debhelper (>= 5.0.42), libldap-dev, libsasl2-dev | libsasl-dev, libpq-dev, libtool, libltdl3-dev, procps, expect
+Source: courier-authlib
+Section: mail
+Priority: optional
+Maintainer: Stefan Hornburg (Racke) <racke@linuxia.de>
+Standards-Version: 3.8.3
++Build-Depends: libmysqlclient-dev, libpam0g-dev, libgdbm-dev | libgdbmg1-dev, debhelper (>= 5.0.42), libldap-dev, libsasl2-dev | libsasl-dev, libpq-dev, libtool, libltdl3-dev, procps, expect, libidn11-dev
+
+Package: courier-authlib
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}, expect
+Conflicts: courier-base (<< 0.48), courier-authdaemon (<< 0.58), courier-authmysql, courier-authpostgresql
+Description: Courier authentication library
+ The Courier authentication library provides authentication services for
+ other Courier applications.
+
+Package: courier-authdaemon
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}, courier-authlib (>= ${RELUP}), lsb-base (>= 3.0-10)
+Description: Courier authentication daemon
+ This package contains the authentication daemon for the Courier applications.
+
+Package: courier-authlib-dev
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}, courier-authlib (>= ${RELUP})
+Conflicts: courier-base (<< 0.48)
+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: ${misc:Depends}, ${shlibs:Depends}, courier-authlib (>= ${RELUP})
+Conflicts: courier-base (<< 0.48)
+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: ${misc:Depends}, ${shlibs:Depends}, courier-authlib (>= ${RELUP})
+Conflicts: courier-authmysql
+Replaces: courier-authmysql
+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: ${misc:Depends}, ${shlibs:Depends}, courier-authlib (>= ${RELUP})
+Conflicts: courier-authpostgresql
+Replaces: courier-authpostgresql
+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: ${misc:Depends}, ${shlibs:Depends}, courier-authlib (>= ${RELUP})
+Description: LDAP support for the Courier authentication library
+ This package contains the LDAP support for the Courier authentication library.
+
+Package: courier-authlib-pipe
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}, courier-authlib (>= ${RELUP})
+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.
--- /dev/null
- # Symlinks for userdb manpages
- (cd $(BUILD)/usr/share/man/man8 && ln -s makeuserdb.8.gz pw2userdb.8.gz)
-
+#!/usr/bin/make -f
+#
+# Copyright 2004,2005,2008 by Stefan Hornburg (Racke) <racke@linuxia.de>
+#
+# 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.
+#
+# You should have received a copy of the GNU General Public
+# License along with this program; if not, write to the Free
+# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+# MA 02111-1307 USA.
+
+BUILD=$(shell pwd)/debian/tmp
+RELUP=$(shell dpkg-parsechangelog | perl -ne 'print $$1 if /^Version: (.*?)-(.*)$$/')
+
+# Uncomment this to turn on verbose mode.
+# export DH_VERBOSE=1
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
++export SHELL = /bin/bash
++
+# Common configuration options
+NONSSL_CONFOPTS=--without-certdb --without-authpgsql
+
+CFLAGS = `dpkg-buildflags --get CFLAGS`
+LDFLAGS = `dpkg-buildflags --get LDFLAGS`
+LDFLAGS += -lcrypt
+CPPFLAGS = `dpkg-buildflags --get CPPFLAGS`
+
+COMMON_CONFOPTS=--prefix=/usr --mandir=\$${prefix}/share/man \
+ --with-authdaemonvar=/var/run/courier/authdaemon \
+ CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" \
+ --sysconfdir=/etc/courier \
+ --with-pkgconfdir=/etc/courier \
+ --libexecdir=\$${prefix}/lib/courier \
+ --datadir=\$${prefix}/lib/courier \
+ --localstatedir=/var/lib/courier \
+ --sbindir=\$${exec_prefix}/sbin \
+ --with-mailuser=daemon \
+ --with-mailgroup=daemon \
+ --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-authdaemonvar=/var/run/courier/authdaemon \
+ --with-authldap \
+ --with-authldaprc=/etc/courier/authldaprc \
+ --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
+
+check:
+ dh_testdir
+ chmod +x debian/courier_perms
+
+build: check
+# create a list of files that currently exists
+ if [ ! -f stamp-build ]; then \
+ if [ -d /usr/include/postgresql/8.0/libpq_fe.h ]; then \
+ ./configure $(COMMON_CONFOPTS) \
+ --with-postgresql-includes=/usr/include/postgresql/8.0 \
+ && $(MAKE) && touch stamp-build; \
+ else \
+ ./configure $(COMMON_CONFOPTS) \
+ --with-postgresql-includes=/usr/include/postgresql \
+ && $(MAKE) && touch stamp-build; \
+ fi \
+ fi
+
+stamp-build: build
+
+clean: check
+ dh_testroot
+ rm -f stamp-build stamp-install
+
+# Add here commands to clean up after the build process.
+ [ ! -f Makefile ] || $(MAKE) distclean
+ dh_clean
+
+install: check stamp-build
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+# Add here commands to install the package into debian/tmp.
+ $(MAKE) DESTDIR=$(BUILD) install
+
+ sed -i "/dependency_libs/ s/'.*'/''/" `find $(BUILD) -name '*.la'`
+
+# (cd $(BUILD)/usr/lib/courier/courier-authlib/changepwd; ln -fs ../../authsystem.passwd ./authsystem.passwd)
+
+# Install authentification test program
+# mv $(BUILD)/usr/sbin/authtest $(BUILD)/usr/sbin/courierauthtest
+
+# Additional manpages
+ pod2man --center='Debian GNU/Linux Documentation' --release='Debian GNU/Linux '`cat /etc/debian_version` --section=8 debian/authenumerate.pod > $(BUILD)/usr/share/man/man8/authenumerate.8
+# pod2man --center='Debian GNU/Linux Documentation' --release='Debian GNU/Linux '`cat /etc/debian_version` --section=8 debian/courierauthtest.pod > $(BUILD)/usr/share/man/man8/courierauthtest.8
+
+ dh_installdocs
+# - change authentification default settings
+ perl -pe 's/^authmodulelist=".*?"/authmodulelist="authpam"/' $(BUILD)/etc/courier/authdaemonrc.dist > $(BUILD)/etc/courier/authdaemonrc
+# - change default LDAP server
+ perl -pe 's/^(LDAP_SERVER\s+)ldap.example.com/$$1localhost/' $(BUILD)/etc/courier/authldaprc.dist > $(BUILD)/etc/courier/authldaprc
+# - change default MySQL server
+ perl -pe 's/^(MYSQL_SERVER\s+)mysql.example.com/$$1localhost/;s%^(#?\s*MYSQL_SOCKET\s+)/.*%$$1/var/run/mysqld/mysqld.sock%' $(BUILD)/etc/courier/authmysqlrc.dist > $(BUILD)/etc/courier/authmysqlrc
+ mv $(BUILD)/etc/courier/authpgsqlrc.dist $(BUILD)/etc/courier/authpgsqlrc
+ rm $(BUILD)/etc/courier/*.dist
+
+# Lintian overrides
+ mkdir -p $(BUILD)/usr/share/lintian/overrides
+ for package in courier-authdaemon courier-authlib-ldap courier-authlib-mysql courier-authlib-postgresql; do \
+ cp debian/$$package.lintian $(BUILD)/usr/share/lintian/overrides/$$package; \
+ done
+
+# This seems to be necessary for building in fakeroot
+# environment (otherwise dh_strip fails)
+# set all binaries to 755, by checking if user has x-bit
+# debian/courier_perms will set the right permissions
+ find $(BUILD) -perm -u+x -type f | xargs chmod u+rwx,go+rx
+
+ dh_movefiles
+
+# Check if all files have moved out
+ if [ `find $(BUILD) -not -type d | wc -l` -ne 0 ]; then find $(BUILD) -not -type d; echo "File(s) found not belonging to any package, please contact maintainer"; exit 1; fi
+
+ touch stamp-install
+
+stamp-install: install
+
+# Build architecture-independent files here.
+binary-indep: stamp-build stamp-install
+ dh_testdir
+ dh_testroot
+# dh_installdebconf -i
+ dh_installexamples -i
+ dh_installmenu -i
+ dh_installinit -i
+ dh_installinfo -i
+ dh_installchangelogs -i
+ dh_strip -i
+ dh_link -i
+ dh_compress -i
+ dh_fixperms -i
+ debian/courier_perms -i
+ dh_installdeb -i
+ dh_perl -i
+ dh_shlibdeps -i
+ dh_gencontrol -i
+ dh_md5sums -i
+ dh_builddeb -i
+
+calibdir = debian/courier-authlib/usr/lib/courier-authlib
+
+# Build architecture-dependent files here.
+binary-arch: stamp-build stamp-install
+ dh_testdir
+ dh_testroot
+# dh_installdebconf -a
+ dh_installexamples -a
+ dh_installmenu -a
+ dh_installinit -a
+ dh_installcron -a
+ dh_installinfo -a
+ dh_installchangelogs -a
+ dh_strip -a
+ dh_link -a
+ dh_compress -a
+ dh_fixperms -a
+ debian/courier_perms -a
+ dh_perl -a
+ dh_makeshlibs -pcourier-authlib -- -Pdebian/courier-authlib -e$(calibdir)/libcourier*.so
+ dh_shlibdeps -a -l$(calibdir)
+ dh_installdeb -a
+ dh_gencontrol -- -VRELUP="$(RELUP)"
+ dh_md5sums -a
+ dh_builddeb -a
+
+binary: binary-arch
+
+.PHONY: check build clean binary-arch binary install