/mandos/release

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

« back to all changes in this revision

Viewing changes to debian/control

  • Committer: Teddy Hogeborn
  • Date: 2024-09-09 01:36:41 UTC
  • mto: This revision was merged to the branch mainline in revision 410.
  • 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

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
Source: mandos
2
2
Section: admin
3
 
Priority: extra
 
3
Priority: optional
4
4
Maintainer: Mandos Maintainers <mandos@recompile.se>
5
5
Uploaders: Teddy Hogeborn <teddy@recompile.se>,
6
6
           Björn Påhlsson <belorn@recompile.se>
7
 
Build-Depends: debhelper (>= 7), docbook-xml, docbook-xsl,
8
 
        libavahi-core-dev, libgpgme11-dev, libgnutls-dev, xsltproc,
9
 
        pkg-config, man, locales-all
10
 
Standards-Version: 3.9.2
11
 
Vcs-Bzr: http://ftp.recompile.se/pub/mandos/trunk
12
 
Vcs-Browser: http://bzr.recompile.se/loggerhead/mandos/trunk/files
13
 
Homepage: http://www.recompile.se/mandos
14
 
DM-Upload-Allowed: yes
 
7
Build-Depends: debhelper (>= 10), docbook-xml, docbook-xsl,
 
8
        libavahi-core-dev, libgpgme-dev | libgpgme11-dev,
 
9
        libglib2.0-dev (>=2.40), libgnutls28-dev (>= 3.3.0),
 
10
        libgnutls28-dev (>= 3.6.6) | libgnutls28-dev (<< 3.6.0),
 
11
        xsltproc, pkg-config, libnl-route-3-dev,
 
12
        systemd-dev | systemd (<< 256~rc2-1)
 
13
Build-Depends-Indep: python3 (>= 3), python3-dbus, python3-gi,
 
14
        po-debconf
 
15
Standards-Version: 4.6.2
 
16
Vcs-Bzr: https://ftp.recompile.se/pub/mandos/trunk
 
17
Vcs-Browser: https://bzr.recompile.se/loggerhead/mandos/trunk/files
 
18
Homepage: https://www.recompile.se/mandos
 
19
Rules-Requires-Root: binary-targets
15
20
 
16
21
Package: mandos
17
22
Architecture: all
18
 
Depends: ${misc:Depends}, python (>=2.6), python-gnutls, python-dbus,
19
 
        python-avahi, python-gobject, avahi-daemon, adduser,
20
 
        python-urwid, python (>=2.7) | python-argparse,
21
 
        python-gnupginterface
22
 
Recommends: fping
 
23
Depends: ${misc:Depends}, python3 (>= 3),
 
24
        libgnutls30t64 | libgnutls30 (>= 3.3.0),
 
25
        libgnutls30t64 | libgnutls30 (>= 3.6.6) | libgnutls30 (<< 3.6.0),
 
26
        python3-dbus, python3-gi, avahi-daemon, adduser,
 
27
        python3-urwid, gnupg, systemd-sysv | lsb-base (>= 3.0-6),
 
28
        debconf (>= 1.5.5) | debconf-2.0
 
29
Recommends: ssh-client | fping
 
30
Suggests: libc6-dev | libc-dev, c-compiler
23
31
Description: server giving encrypted passwords to Mandos clients
24
32
 This is the server part of the Mandos system, which allows
25
33
 computers to have encrypted root file systems and at the
28
36
 The computers run a small client program in the initial RAM
29
37
 disk environment which will communicate with a server over a
30
38
 network.  All network communication is encrypted using TLS.
31
 
 The clients are identified by the server using an OpenPGP
 
39
 The clients are identified by the server using a TLS public
32
40
 key; each client has one unique to it.  The server sends the
33
41
 clients an encrypted password.  The encrypted password is
34
 
 decrypted by the clients using the same OpenPGP key, and the
 
42
 decrypted by the clients using an OpenPGP key, and the
35
43
 password is then used to unlock the root file system,
36
44
 whereupon the computers can continue booting normally.
37
45
 
38
46
Package: mandos-client
39
 
Architecture: any
40
 
Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, cryptsetup,
41
 
        gnupg (<< 2), initramfs-tools
 
47
Architecture: linux-any
 
48
Depends: ${shlibs:Depends}, ${misc:Depends}, adduser,
 
49
        cryptsetup (<< 2:2.0.3-1) | cryptsetup-initramfs,
 
50
        initramfs-tools (>= 0.99) | dracut (>= 044+241-3),
 
51
        dpkg-dev (>=1.16.0),
 
52
        gnutls-bin (>= 3.6.6) | libgnutls30 (<< 3.6.0),
 
53
        debconf (>= 1.5.5) | debconf-2.0
 
54
Recommends: ssh
42
55
Breaks: dropbear (<= 0.53.1-1)
43
56
Enhances: cryptsetup
 
57
Conflicts: dracut-config-generic
44
58
Description: do unattended reboots with an encrypted root file system
45
59
 This is the client part of the Mandos system, which allows
46
60
 computers to have encrypted root file systems and at the
49
63
 The computers run a small client program in the initial RAM
50
64
 disk environment which will communicate with a server over a
51
65
 network.  All network communication is encrypted using TLS.
52
 
 The clients are identified by the server using an OpenPGP
 
66
 The clients are identified by the server using a TLS public
53
67
 key; each client has one unique to it.  The server sends the
54
68
 clients an encrypted password.  The encrypted password is
55
 
 decrypted by the clients using the same OpenPGP key, and the
 
69
 decrypted by the clients using an OpenPGP key, and the
56
70
 password is then used to unlock the root file system,
57
71
 whereupon the computers can continue booting normally.