/mandos/trunk

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

  • Committer: Teddy Hogeborn
  • Date: 2024-09-09 01:36:41 UTC
  • Revision ID: teddy@recompile.se-20240909013641-6zu6kx2f7meu134k
Make all required directories when installing

When installing into a normal system, one can assume that target
directories, such as /usr/bin, already exists.  But when installing
into a subdirectory for the purpose of creating a package, one cannot
assume that all directories already exist.  Therefore, when
installing, we must not check if any directories exist, and must
instead always create any directories we want to install into.

* Makefile (confdir/mandos.conf, confdir/clients.conf, install-html):
  Use the "-D" option to "install" instead of creating the directory
  separately.
  (install-server): Move creation of $(CONFDIR) down to before it is
  needed.  Don't check if the $(TMPFILES) or $(SYSUSERS) directories
  exist; instead create them by using the "-D" option to "install".
  Create the $(PREFIX)/sbin directory.  Always use
  "--target-directory" if possible; i.e. if the file name is the same.
  Create the $(DBUSPOLICYDIR) and $(DESTDIR)/etc/init.d directories by
  using the "-D" option to "install".  Don't check if the $(SYSTEMD)
  directory exists; instead create it by using the "-D" option to
  "install".  Create the $(DESTDIR)/etc/default and $(MANDIR)/man8
  directories by using the "-D" option to "install".  Create the
  $(MANDIR)/man5 directories explicitly.
  (install-client-nokey): Remove unnecessary creation of the
  $(CONFDIR) directory.  Don't check if the $(SYSUSERS) directory
  exists; instead create it by using the "-D" option to "install".
  Move the "--directory" argument to be the first argument, for
  clarity.  Create the $(PREFIX)/sbin directory.  Use the "-D"
  argument to "install" when installing
  $(INITRAMFSTOOLS)/hooks/mandos,
  $(INITRAMFSTOOLS)/conf.d/mandos-conf,
  $(INITRAMFSTOOLS)/conf-hooks.d/zz-mandos,
  $(INITRAMFSTOOLS)/scripts/init-premount/mandos,
  $(INITRAMFSTOOLS)/scripts/local-premount/mandos,
  $(DRACUTMODULE)/ask-password-mandos.path, and
  $(DRACUTMODULE)/dracut-module/ask-password-mandos.service.  Create
  the $(MANDIR)/man8 directory.

Reported-By: Erich Eckner <erich@eckner.net>
Thanks: Erich Eckner <erich@eckner.net> for analysis
Filename Latest Rev Last Changed Committer Comment Size
..
po 199 16 years ago Teddy Hogeborn * Makefile: Bug fix: fix syntax error. * debian/c Diff
source 452.1.1 14 years ago Teddy Hogeborn * debian/source/format: New; contains "3.0 (quilt) Diff
tests 1116 5 years ago Teddy Hogeborn Debian package change: Add autopkgtest support * Diff
upstream 678 10 years ago Teddy Hogeborn Fix location and format of signing key file. * de Diff
changelog 237.4.140 1 year ago Teddy Hogeborn Version 1.8.16-1 * Makefile (version): Change to 38.6 KB Diff Download File
compat 921 6 years ago Teddy Hogeborn Update Debian Debhelper compatibility version. * 3 bytes Diff Download File
control 1293 2 months ago Teddy Hogeborn Fix minor deprecated syntax issue in debian/contro 3 KB Diff Download File
copyright 1259 2 years ago Teddy Hogeborn Update copyright year * debian/copyright: Update 1 KB Diff Download File
mandos-client.dirs 1292 2 months ago Teddy Hogeborn Do not hardcode directory names; get them from pkg 229 bytes Diff Download File
mandos-client.docs 594 12 years ago Teddy Hogeborn * debian/copyright (Copyright): Join the two lines 17 bytes Diff Download File
mandos-client.examples 594 12 years ago Teddy Hogeborn * debian/copyright (Copyright): Join the two lines 16 bytes Diff Download File
mandos-client.links 191 16 years ago Teddy Hogeborn * debian/mandos-client.docs: New. Add README and 93 bytes Diff Download File
mandos-client.lintian-overrides 1246 2 years ago Teddy Hogeborn Debian package: Client: Update Lintian override fi 2.2 KB Diff Download File
mandos-client.postinst 1288 2 months ago Teddy Hogeborn Fix #1079588 by not outputting to stdout in mainta 6.5 KB Diff Download File
mandos-client.postrm 1288 2 months ago Teddy Hogeborn Fix #1079588 by not outputting to stdout in mainta 1.6 KB Diff Download File
mandos-client.README.Debian 1279 2 months ago Teddy Hogeborn Document how to add options to mandos-client when 5.1 KB Diff Download File
mandos-client.templates 1226 3 years ago teddy at recompile Fix debconf template syntax * debian/mandos-cli 813 bytes Diff Download File
mandos.dirs 1292 2 months ago Teddy Hogeborn Do not hardcode directory names; get them from pkg 111 bytes Diff Download File
mandos.docs 423 14 years ago Teddy Hogeborn Documentation changes: * DBUS-API: New file docum 26 bytes Diff Download File
mandos.lintian-overrides 1152 5 years ago Teddy Hogeborn Override lintian warnings about upgrading from old 703 bytes Diff Download File
mandos.maintscript 1275 1 year ago Teddy Hogeborn Move D-Bus policy file to /usr/share/dbus-1/sessio 55 bytes Diff Download File
mandos.postinst 1158 5 years ago Teddy Hogeborn Debian package: Only reload dbus daemon if necessa 3.8 KB Diff Download File
mandos.prerm 770 9 years ago Teddy Hogeborn * debian/mandos.prerm: Don't run init script, use 759 bytes Diff Download File
mandos.README.Debian 505.1.2 13 years ago Teddy Hogeborn Change "fukt.bsnet.se" to "recompile.se" throughou 445 bytes Diff Download File
mandos.templates 1225 3 years ago Teddy Hogeborn Revert commit 1222 1.2 KB Diff Download File
File rules 1292 2 months ago Teddy Hogeborn Do not hardcode directory names; get them from pkg 2.5 KB Diff Download File
watch 976 5 years ago Teddy Hogeborn Fix Debian watch file * debian/watch: Make the ". 112 bytes Diff Download File