/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 legalnotice.xml

  • 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
<?xml version="1.0" encoding="UTF-8"?>
 
2
<!DOCTYPE legalnotice PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
 
3
        "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
 
4
<legalnotice>
 
5
  <para>
 
6
    This manual page is part of Mandos.
 
7
  </para>
 
8
  
 
9
  <para>
 
10
    Mandos is free software: you can redistribute it and/or modify it
 
11
    under the terms of the <acronym>GNU</acronym> General Public
 
12
    License as published by the Free Software Foundation, either
 
13
    version 3 of the License, or (at your option) any later version.
 
14
  </para>
 
15
  
 
16
  <para>
 
17
    Mandos is distributed in the hope that it will be useful, but
 
18
    WITHOUT ANY WARRANTY; without even the implied warranty of
 
19
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
20
    <acronym>GNU</acronym> General Public License for more details.
 
21
  </para>
 
22
  
 
23
  <para>
 
24
    You should have received a copy of the <acronym>GNU</acronym>
 
25
    General Public License along with Mandos.  If not, see <ulink
 
26
    url="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</ulink>.
 
27
  </para>
 
28
</legalnotice>