/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
..
.bzr-builddeb 185 16 years ago Teddy Hogeborn * .bzr-builddeb/default.conf: New. * Makefile (in Diff
debian 185 16 years ago Teddy Hogeborn * .bzr-builddeb/default.conf: New. * Makefile (in Diff
dracut-module 1127 5 years ago Teddy Hogeborn Add dracut(8) support Add support for the dracut( Diff
network-hooks.d 505.3.10 12 years ago Teddy Hogeborn * network-hooks.d: New directory. * network-hooks. Diff
plugin-helpers 738.1.1 9 years ago Teddy Hogeborn Add a plugin helper directory, available to all pl Diff
plugins.d 13 16 years ago Björn Påhlsson Added following support: Pluginbased client handle Diff
.bzrignore 1193 4 years ago teddy at recompile Remove non-project-specific pattern from .bzrignor 260 bytes Diff Download File
bugs.xml 821 8 years ago Teddy Hogeborn Add bug reporting information to manual pages * b 539 bytes Diff Download File
clients.conf 1265 1 year ago Teddy Hogeborn Clarify documentation and a comment about GnuTLS v 3.5 KB Diff Download File
common.ent 237.4.140 1 year ago Teddy Hogeborn Version 1.8.16-1 * Makefile (version): Change to 94 bytes Diff Download File
COPYING 24.1.51 16 years ago Björn Påhlsson Added configuration files support for mandos-clien 34.2 KB Diff Download File
DBUS-API 1218 4 years ago teddy at recompile Update copyright year * DBUS-API: Update copyrigh 5.9 KB Diff Download File
dbus-mandos.conf 24.1.186 12 years ago Björn Påhlsson transitional stuff actually working documented cha 820 bytes Diff Download File
default-mandos 185 16 years ago Teddy Hogeborn * .bzr-builddeb/default.conf: New. * Makefile (in 174 bytes Diff Download File
init.d-mandos 927 6 years ago Teddy Hogeborn Remove unnecessary text left from old example init 4.2 KB Diff Download File
initramfs-tools-conf 954 6 years ago Teddy Hogeborn Move UMASK setting to more proper place * Makefil 695 bytes Diff Download File
initramfs-tools-conf-hook 1099 5 years ago Teddy Hogeborn Installation: Fix UMASK even if set by some other 647 bytes Diff Download File
File initramfs-tools-hook 1287 8 days ago Teddy Hogeborn Use new package name "libgpgme11t64" when availabl 7.6 KB Diff Download File
File initramfs-tools-script 1215 4 years ago teddy at recompile In initramfs-tools boots, only use setsid when ava 4.6 KB Diff Download File
File initramfs-tools-script-stop 956 6 years ago Teddy Hogeborn Set executable permissions on new files * initram 1.8 KB Diff Download File
File initramfs-unpack 1127 5 years ago Teddy Hogeborn Add dracut(8) support Add support for the dracut( 2.7 KB Diff Download File
INSTALL 1186 4 years ago Teddy Hogeborn INSTALL: Add "-" argument to "su" invocations. 5.8 KB Diff Download File
intro.xml 1259 2 years ago Teddy Hogeborn Update copyright year * debian/copyright: Update 17.9 KB Diff Download File
legalnotice.xml 907 7 years ago Teddy Hogeborn Alter copyright notices slightly. Actual license 1 KB Diff Download File
Makefile 1294 7 days ago Teddy Hogeborn Make all required directories when installing Whe 22.1 KB Diff Download File
File mandos 1284 8 days ago Teddy Hogeborn Be more tolerant when a client is misconfigured in 148 KB Diff Download File
mandos-clients.conf.xml 1265 1 year ago Teddy Hogeborn Clarify documentation and a comment about GnuTLS v 19.7 KB Diff Download File
File mandos-ctl 1276 9 days ago Teddy Hogeborn Improve formatting in mandos-ctl; no code changes 109 KB Diff Download File
mandos-ctl.xml 1131 5 years ago Teddy Hogeborn Make tests and man page examples match Make the t 17.8 KB Diff Download File
File mandos-keygen 237.4.140 1 year ago Teddy Hogeborn Version 1.8.16-1 * Makefile (version): Change to 12.5 KB Diff Download File
mandos-keygen.xml 1120 5 years ago Teddy Hogeborn Document bug in mandos-keygen which strips white s 16.8 KB Diff Download File
File mandos-monitor 237.4.140 1 year ago Teddy Hogeborn Version 1.8.16-1 * Makefile (version): Change to 29.4 KB Diff Download File
mandos-monitor.xml 969 5 years ago Teddy Hogeborn Update copyright year to 2019 * DBUS-API: Update 6.3 KB Diff Download File
mandos-options.xml 1123 5 years ago Teddy Hogeborn Use hexadecimal unicode character references, not 5.1 KB Diff Download File
File mandos-to-cryptroot-unlock 1218 4 years ago teddy at recompile Update copyright year * DBUS-API: Update copyrigh 2.5 KB Diff Download File
mandos.conf 777 9 years ago Teddy Hogeborn Bug fix for GnuTLS 3: be compatible with old 2048- 1.6 KB Diff Download File
mandos.conf.xml 1277 9 days ago Teddy Hogeborn Improve documentation * mandos.conf.xml (DESCRIPT 8.9 KB Diff Download File
mandos.lsm 237.4.140 1 year ago Teddy Hogeborn Version 1.8.16-1 * Makefile (version): Change to 910 bytes Diff Download File
mandos.service 1203 4 years ago teddy at recompile Allow users to more easily alter mandos.service T 1.2 KB Diff Download File
mandos.xml 1249 2 years ago Teddy Hogeborn Minor text adjustment in mandos(8) manual page * 24.1 KB Diff Download File
NEWS 1272 1 year ago Teddy Hogeborn Merge from release branch 21.9 KB Diff Download File
overview.xml 962 5 years ago Teddy Hogeborn Add support for using raw public keys in TLS (RFC 923 bytes Diff Download File
plugin-runner.c 1259 2 years ago Teddy Hogeborn Update copyright year * debian/copyright: Update 36.3 KB Diff Download File
plugin-runner.conf 342 15 years ago Teddy Hogeborn * initramfs-tools-hook: Bug fix: Add "--userid" an 380 bytes Diff Download File
plugin-runner.xml 1277 9 days ago Teddy Hogeborn Improve documentation * mandos.conf.xml (DESCRIPT 22.6 KB Diff Download File
README 844 8 years ago Teddy Hogeborn Use HTTPS in home page links Since we have a real 410 bytes Diff Download File
sysusers.d-mandos.conf 1160 5 years ago Teddy Hogeborn Client: Use the systemd sysusers.d mechanism, if p 167 bytes Diff Download File
tmpfiles.d-mandos.conf 838 8 years ago Teddy Hogeborn Server: New tmpfiles.d file for persistent state d 38 bytes Diff Download File
TODO 1278 9 days ago Teddy Hogeborn Minor documentation improvements * TODO (mandos- 5 KB Diff Download File