/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to debian/mandos.lintian-overrides

  • Committer: Teddy Hogeborn
  • Date: 2024-09-08 07:04:52 UTC
  • Revision ID: teddy@recompile.se-20240908070452-oyxj1zojswt0aft5
Fix #1069689 by using pkg-config in debian/rules

The directory for systemd unit files (output of "pkg-config systemd
--variable=systemdsystemunitdir") has changed.  But there was a
hardcoded instance of this directory in debian/mandos.dirs.  Fix this
by removing the directory from debian/mandos.dirs, and instead
creating the correct directory explicitly in debian/rules.

* debian/mandos.dirs (lib/systemd/system): Removed.
* debian/rules (PKG_CONFIG): New; copied from Makefile.
  (override_dh_installdirs-indep): New; run dh_installdirs twice:
  first normally, and again for the systemd unit file directory.

Closes: #1069689
Reported-By: Helmut Grohne <helmut@subdivi.de>
Thanks: Helmut Grohne <helmut@subdivi.de> for report and analysis

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# This config file will normally have encrypted secret client keys in
 
2
# it, so it must be kept unreadable for non-root users.
 
3
#
1
4
mandos binary: non-standard-file-perm etc/mandos/clients.conf 0600 != 0644
 
5
 
 
6
# The debconf templates is only used for displaying information
 
7
# detected in the postinst, not for saving answers to questions, so we
 
8
# don't need a .config file.
 
9
mandos binary: no-debconf-config
 
10
 
 
11
# The notice displayed from the postinst script really is critical
 
12
mandos binary: postinst-uses-db-input
 
13
 
 
14
# These are very important to work around bugs or changes in the old
 
15
# versions, and there is no pressing need to remove them.
 
16
mandos binary: maintainer-script-supports-ancient-package-version *