High:

 * Look into the build problems with OpenSSL 1.1.0
   - debian bug report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=828244
   - upstream bug report: http://bugs.bacula.org/view.php?id=2247
   - openssl transition bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827061

Normal:

 * Check if dh_exec can help us (architecture dependent *.install and
   renames while installing)
 * Check Depends on SQL-client-libraries, they might be obsoleted by dbconfig-*sql*
 * Check if bacula-director-pgsql suggesting postgresql-contrib is useful
 * Automatically detect the introduction of a new database version and
   warn or abort package build:
   test $(grep "VersionId.*VALUES" src/cats/make_sqlite3_tables.in | sed 's/.*VALUES .\([0-9]*\).*/\1/') = 15
 * Investigate if we can obsolete the bacula-director-db packages
   by using dbconfig-common better.
 * Ask lintian maintainers about "unused-shlib-entry-in-control-file libbaccats"
 * user creation/locking is suboptimal (bacula-common.preinst)
   check dh-sysuser
   https://lists.debian.org/debian-devel/2016/10/msg00665.html
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=621833

Minor:

 * Migrate executables from bin to sbin to get to a state that's like
   an upstream install
 * Deprecate and remove the make_bacula_catalog.awk scripts

Wishlist:

 * have upstream replace sha1.* with the public domain versions by Steve Reid
   https://anonscm.debian.org/cgit/pkg-ssh/openssh.git/tree/openbsd-compat/sha1.c
   https://anonscm.debian.org/cgit/pkg-ssh/openssh.git/tree/openbsd-compat/sha1.h
 * autopkgtests
 * running bacula-fd as non-root-user. See:
   http://www.bacula.org/7.4.x-manuals/en/main/New_Features_in_5_2_13.html#SECTION00658000000000000000
   https://lists.alioth.debian.org/pipermail/pkg-bacula-devel/2016-July/001536.html
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=699149
   Missing:
        - setcap cap_dac_read_search+ep for /usr/sbin/bacula-fd via postinst
        - parsing variable ENABLE_NONROOT in bacula-fd init-script
        - decide if non-root should be default on Linux or not
        - adding ENABLE_NONROOT=true/false to /etc/default/bacula-fd
        - document way to do the systemd drop-in configuration to enable/disable non-root
 * convert debian/copyright into machine readable format
   use follow fragment in the headers
   Files-Excluded: src/lib/sha1.c
		   src/lib/sha1.h
   see: https://wiki.debian.org/UscanEnhancements
 * autopostrm would ideally become a debhelper script ...
 * Consider tending to users not using dbconfig-common
   see 2nd half of http://lists.alioth.debian.org/pipermail/pkg-bacula-devel/2016-July/001520.html
 * Install logwatch file from bacula/scripts/logwatch/

Problems:

 * dpkg --status bacula-director-(DBTYPE) lists conffiles as obsolete
   that moved to bacula-director. We probably have to live with that
   as moving conffiles between packages isn't well supported.
   See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=595112 - but
   this doesn't even take a move from dpkg- to ucf-handled conffiles
   into account

Review unmerged old changes:

 * Ask for passwords via debconf (git tag development/2011-04-29)
    d4676fc19978a0588bb09a58234cf451d15859d6 Don't set passwords at build time but ask for them
    aea2145a4f135fa6d18d33384a1af2c2bffc8617 Get rid of useless common-functions
