/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 Makefile

  • Committer: Teddy Hogeborn
  • Date: 2018-08-15 09:26:02 UTC
  • Revision ID: teddy@recompile.se-20180815092602-xoyb5s6gf8376i7u
mandos-client: Set system clock if necessary

* plugins.d/mandos-client.c (init_gpgme/import_key): If the system
  clock is not set, or set to january 1970, set the system clock to
  the more plausible value that is the mtime of the key file.  This is
  required by GnuPG to be able to import the keys.  (We can't pass the
  --ignore-time-conflict or the --ignore-valid-from options though
  GPGME.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
396
396
                "$(CONFDIR)/network-hooks.d"
397
397
        install --mode=u=rwx,go=rx \
398
398
                --target-directory=$(LIBDIR)/mandos plugin-runner
399
 
        install --mode=u=rwx,go=rx \
400
 
                --target-directory=$(LIBDIR)/mandos mandos-to-cryptroot-unlock
401
399
        install --mode=u=rwx,go=rx --target-directory=$(PREFIX)/sbin \
402
400
                mandos-keygen
403
401
        install --mode=u=rwx,go=rx \
425
423
                $(INITRAMFSTOOLS)/hooks/mandos
426
424
        install --mode=u=rw,go=r initramfs-tools-hook-conf \
427
425
                $(INITRAMFSTOOLS)/conf-hooks.d/mandos
428
 
        install --mode=u=rw,go=r initramfs-tools-conf \
429
 
                $(INITRAMFSTOOLS)/conf.d/mandos-conf
430
426
        install initramfs-tools-script \
431
427
                $(INITRAMFSTOOLS)/scripts/init-premount/mandos
432
 
        install initramfs-tools-script-stop \
433
 
                $(INITRAMFSTOOLS)/scripts/local-premount/mandos
434
428
        install --mode=u=rw,go=r plugin-runner.conf $(CONFDIR)
435
429
        gzip --best --to-stdout mandos-keygen.8 \
436
430
                > $(MANDIR)/man8/mandos-keygen.8.gz