/mandos/release

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

  • 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 237.2.216 14 years ago Teddy Hogeborn * debian/source/format: New; contains "3.0 (quilt) Diff
tests 237.7.664 5 years ago Teddy Hogeborn Debian package change: Add autopkgtest support * Diff
upstream 237.7.226 10 years ago Teddy Hogeborn Fix location and format of signing key file. * de Diff
changelog 409 1 year ago Teddy Hogeborn Version 1.8.16-1 * Makefile (version): Change to 38.6 KB Diff Download File
compat 237.7.469 6 years ago Teddy Hogeborn Update Debian Debhelper compatibility version. * 3 bytes Diff Download File
control 237.7.841 3 months ago Teddy Hogeborn Fix minor deprecated syntax issue in debian/contro 3 KB Diff Download File
copyright 237.7.807 2 years ago Teddy Hogeborn Update copyright year * debian/copyright: Update 1 KB Diff Download File
mandos-client.dirs 237.7.840 3 months ago Teddy Hogeborn Do not hardcode directory names; get them from pkg 229 bytes Diff Download File
mandos-client.docs 237.7.142 12 years ago Teddy Hogeborn * debian/copyright (Copyright): Join the two lines 17 bytes Diff Download File
mandos-client.examples 237.7.142 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 237.7.794 2 years ago Teddy Hogeborn Debian package: Client: Update Lintian override fi 2.2 KB Diff Download File
mandos-client.postinst 237.7.836 3 months ago Teddy Hogeborn Fix #1079588 by not outputting to stdout in mainta 6.5 KB Diff Download File
mandos-client.postrm 237.7.836 3 months ago Teddy Hogeborn Fix #1079588 by not outputting to stdout in mainta 1.6 KB Diff Download File
mandos-client.README.Debian 237.7.827 3 months ago Teddy Hogeborn Document how to add options to mandos-client when 5.1 KB Diff Download File
mandos-client.templates 237.7.774 4 years ago teddy at recompile Fix debconf template syntax * debian/mandos-cli 813 bytes Diff Download File
mandos.dirs 237.7.840 3 months ago Teddy Hogeborn Do not hardcode directory names; get them from pkg 111 bytes Diff Download File
mandos.docs 237.2.186 14 years ago Teddy Hogeborn Documentation changes: * DBUS-API: New file docum 26 bytes Diff Download File
mandos.lintian-overrides 237.7.700 5 years ago Teddy Hogeborn Override lintian warnings about upgrading from old 703 bytes Diff Download File
mandos.maintscript 237.7.823 1 year ago Teddy Hogeborn Move D-Bus policy file to /usr/share/dbus-1/sessio 55 bytes Diff Download File
mandos.postinst 237.7.706 5 years ago Teddy Hogeborn Debian package: Only reload dbus daemon if necessa 3.8 KB Diff Download File
mandos.prerm 237.7.318 9 years ago Teddy Hogeborn * debian/mandos.prerm: Don't run init script, use 759 bytes Diff Download File
mandos.README.Debian 237.11.2 13 years ago Teddy Hogeborn Change "fukt.bsnet.se" to "recompile.se" throughou 445 bytes Diff Download File
mandos.templates 237.7.773 4 years ago Teddy Hogeborn Revert commit 1222 1.2 KB Diff Download File
File rules 237.7.840 3 months ago Teddy Hogeborn Do not hardcode directory names; get them from pkg 2.5 KB Diff Download File
watch 237.7.524 5 years ago Teddy Hogeborn Fix Debian watch file * debian/watch: Make the ". 112 bytes Diff Download File