/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 mandos.lsm

  • Committer: Teddy Hogeborn
  • Date: 2019-03-31 04:39:25 UTC
  • mto: This revision was merged to the branch mainline in revision 382.
  • Revision ID: teddy@recompile.se-20190331043925-0j9pdspo3hux5nka
mandos-ctl: Refactor: Move command list generation into argparse

* mandos-ctl (add_command_line_options): Don't simply set flags for
                                         each option; instead, add
                                         command objects to a
                                         "commands" list.
  (check_option_syntax): Rework to deal with an already-generated
                         command list.
  (commands_from_options): Remove all code to generate command list,
                           but add more code to move command.Deny
                           ahead of command.Remove in command list.
  (command.PropertySetterValue.argparse): New; used in
                                          add_command_line_options.
  (Test_check_option_syntax): Refactor to pass actual string arguments
                              to parse_args() instead of modifying an
                              argparse.Namespace.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
Begin4
2
2
Title:          Mandos
3
 
Version:        1.6.7
4
 
Entered-date:   2014-07-17
 
3
Version:        1.8.3
 
4
Entered-date:   2019-02-11
5
5
Description:    The Mandos system allows computers to have encrypted
6
6
                root file systems and at the same time be capable of
7
7
                remote and/or unattended reboots.
11
11
                belorn@recompile.se (Björn Påhlsson)
12
12
Maintained-by:  teddy@recompile.se (Teddy Hogeborn),
13
13
                belorn@recompile.se (Björn Påhlsson)
14
 
Primary-site:   http://www.recompile.se/mandos
15
 
                161K mandos_1.6.7.orig.tar.gz
 
14
Primary-site:   https://www.recompile.se/mandos
 
15
                182K mandos_1.8.3.orig.tar.gz
16
16
Alternate-site: ftp://ftp.recompile.se/pub/mandos
17
 
                161K mandos_1.6.7.orig.tar.gz
18
 
Platforms:      Requires GCC, GNU libC, Avahi, GnuPG, Python 2.6, and
 
17
                182K mandos_1.8.3.orig.tar.gz
 
18
Platforms:      Requires GCC, GNU libC, Avahi, GnuPG, Python 2.7, and
19
19
                various other libraries.  While made for Debian
20
20
                GNU/Linux, it is probably portable to other
21
21
                distributions, but not other Unixes.