/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 mandos-monitor

  • Committer: Teddy Hogeborn
  • Date: 2019-11-21 19:30:47 UTC
  • Revision ID: teddy@recompile.se-20191121193047-nszsowvqcvk081p2
Makefile: Use target-specific variables

Instead of overriding a whole rule and invoking $(LINK.c) explicitly
for certain targets (in order to append special compilation flags),
set CFLAGS and LDLIBS as target-specific variables on those targets.

* Makefile (plugins.d/mandos-client): Replace with a target-specific
  variable setting.
  (plugin-helpers/mandos-client-iprouteadddel): - ''-
  (dracut-module/password-agent): - '' -

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
import dbus
48
48
 
49
49
if sys.version_info.major == 2:
50
 
    __metaclass__ = type
51
50
    str = unicode
52
51
 
53
52
log = logging.getLogger(os.path.basename(sys.argv[0]))
89
88
                             int(fraction*1000000))  # Microseconds
90
89
 
91
90
 
92
 
class MandosClientPropertyCache:
 
91
class MandosClientPropertyCache(object):
93
92
    """This wraps a Mandos Client D-Bus proxy object, caches the
94
93
    properties and calls a hook function when any of them are
95
94
    changed.
407
406
        return ret
408
407
 
409
408
 
410
 
class UserInterface:
 
409
class UserInterface(object):
411
410
    """This is the entire user interface - the whole screen
412
411
    with boxes, lists of client widgets, etc.
413
412
    """