Real fixes:
- authforge-daemon Depends: policykit-1 -> polkitd | policykit-1
(policykit-1 was renamed; old name is obsolete on noble).
- debian/rules: drop manual install of authforge-daemon.service to
/lib/systemd/system/ — dh_installsystemd auto-installs to
/usr/lib/systemd/system/, the manual line caused a file-in-root-and-usr
duplicate flagged by usrmerge.
- authforge-pam.{postinst,prerm}: replace [ -x /usr/sbin/pam-auth-update ]
with command -v pam-auth-update — lintian flags hard-coded paths in
test syntax; command -v is the portable idiom.
Overrides (with rationale in each file):
- no-manual-page on the three binaries — manpages deferred to Phase 18.
- desktop-command-not-in-package authforge in gnome-integration —
command lives in authforge-gui (cross-package Depends).
- initial-upload-closes-no-bugs on every package — AuthForge ships
via PPA, not the Debian archive, so there is no ITP to close.
After fixes, lintian on the five binary debs is silent (zero W/E).
25 lines
637 B
Bash
Executable File
25 lines
637 B
Bash
Executable File
#!/bin/sh
|
|
# Registers /usr/share/pam-configs/authforge via pam-auth-update on first
|
|
# install and reconfigure events. The profile ships Default: no, so this
|
|
# is a no-op for fresh installs — the metapackage's debconf flow flips it
|
|
# on if the admin opted in. Idempotent: safe to call repeatedly.
|
|
set -e
|
|
|
|
case "$1" in
|
|
configure)
|
|
if command -v pam-auth-update >/dev/null 2>&1; then
|
|
pam-auth-update --package
|
|
fi
|
|
;;
|
|
abort-upgrade|abort-remove|abort-deconfigure)
|
|
;;
|
|
*)
|
|
echo "postinst called with unknown argument \`$1'" >&2
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
#DEBHELPER#
|
|
|
|
exit 0
|