/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 debian/mandos-client.README.Debian

  • Committer: Teddy Hogeborn
  • Date: 2014-07-25 22:44:20 UTC
  • mto: This revision was merged to the branch mainline in revision 724.
  • Revision ID: teddy@recompile.se-20140725224420-4a5ct2ptt0hsc92z
Require Python 2.7.

This is in preparation for the eventual move to Python 3, which will
happen as soon as all Python modules required by Mandos are available.
The mandos-ctl and mandos-monitor programs are already portable
between Python 2.6 and Python 3 without changes; this change will
bring the requirement up to Python 2.7.

* INSTALL (Prerequisites/Libraries/Mandos Server): Document
                                                   requirement of
                                                   Python 2.7; remove
                                                   Python-argparse
                                                   which is in the
                                                   Python 2.7 standard
                                                   library.
* debian/control (Source: mandos/Build-Depends-Indep): Depend on
                                                       exactly the
                                                       python2.7
                                                       package and all
                                                       the Python 2.7
                                                       versions of the
                                                       python modules.
  (Package: mandos/Depends): - '' - but still depend on python (<=2.7)
                            and the generic versions of the Python
                            modules; this is for mandos-ctl and
                            mandos-monitor, both of which are
                            compatible with Python 3, and use
                            #!/usr/bin/python.
* mandos: Use #!/usr/bin/python2.7 instead of #!/usr/bin/python.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
  is possible to verify that the correct password will be received by
17
17
  this client by running the command, on the client:
18
18
  
19
 
        /usr/lib/mandos/plugins.d/mandos-client \
 
19
        /usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH \
 
20
        )/mandos/plugins.d/mandos-client \
20
21
                --pubkey=/etc/keys/mandos/pubkey.txt \
21
22
                --seckey=/etc/keys/mandos/seckey.txt; echo
22
23
  
45
46
  The device can also be overridden at boot time on the Linux kernel
46
47
  command line using the sixth colon-separated field of the "ip="
47
48
  option; for exact syntax, read the documentation in the file
48
 
  "/usr/share/doc/linux-doc-*/Documentation/filesystems/nfsroot.txt",
 
49
  "/usr/share/doc/linux-doc-*/Documentation/filesystems/nfs/nfsroot.txt",
49
50
  available in the "linux-doc-*" package.
50
51
  
51
52
  Note that since the network interfaces are used in the initial RAM
90
91
  work, "--options-for=mandos-client:--connect=<ADDRESS>:<PORT>" needs
91
92
  to be manually added to the file "/etc/mandos/plugin-runner.conf".
92
93
 
93
 
 -- Teddy Hogeborn <teddy@recompile.se>, Sat, 16 Jun 2012 13:09:58 +0200
 
94
 -- Teddy Hogeborn <teddy@recompile.se>, Mon, 28 Oct 2013 11:02:26 +0100