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

  • Committer: Teddy Hogeborn
  • Date: 2016-08-26 18:44:21 UTC
  • mto: (237.7.594 trunk)
  • mto: This revision was merged to the branch mainline in revision 350.
  • Revision ID: teddy@recompile.se-20160826184421-gjqjgzxy3lupx9n3
Fix bug where mandos server could not find GnuTLS library

* mandos (GnuTLS): Try to find both "gnutls" and variant name
                   "gnutls-deb0", for a Debian Jessie system which
                   does not have the package "gnutls28-dev" installed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
#
4
4
# Mandos Monitor - Control and monitor the Mandos server
5
5
#
6
 
# Copyright © 2008-2017 Teddy Hogeborn
7
 
# Copyright © 2008-2017 Björn Påhlsson
 
6
# Copyright © 2008-2016 Teddy Hogeborn
 
7
# Copyright © 2008-2016 Björn Påhlsson
8
8
#
9
9
# This program is free software: you can redistribute it and/or modify
10
10
# it under the terms of the GNU General Public License as published by
38
38
import re
39
39
import os
40
40
import collections
 
41
import doctest
41
42
import json
42
43
 
43
44
import dbus
74
75
server_path = "/"
75
76
server_interface = domain + ".Mandos"
76
77
client_interface = domain + ".Mandos.Client"
77
 
version = "1.7.15"
 
78
version = "1.7.10"
78
79
 
79
80
 
80
81
try:
344
345
        parser.error("--all requires an action.")
345
346
 
346
347
    if options.check:
347
 
        import doctest
348
348
        fail_count, test_count = doctest.testmod()
349
349
        sys.exit(os.EX_OK if fail_count == 0 else 1)
350
350