/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

Use D-Bus properties instead of our own methods.

* mandos (Client._datetime_to_milliseconds): Renamed to
                                             "_timedelta_to_milliseconds".
                                             All callers changed.
  (dbus_service_property): New decorator for D-Bus properties.
  (DBusPropertyException, DBusPropertyAccessException,
  DBusPropertyNotFound): New D-Bus exception classes.
  (DBusObjectWithProperties): New; extends "dbus.service.Object" with
                              support for properties.
  (ClientDBus): Inherit from, and call up to, "DBusObjectWithProperties".
  (ClientDBus.CheckedOK, ClientDBus.GetAllProperties,
  ClientDBus.SetChecker, ClientDBus.SetHost, ClientDBus.SetInterval,
  ClientDBus.SetSecret, ClientDBus.SetTimeout, ClientDBus.Enable,
  ClientDBus.StartChecker, ClientDBus.Disable,
  ClientDBus.StopChecker): Removed, replaced with properties.
  (ClientDBus.IsStillValid): Removed, superfluous.
  (ClientDBus.name_dbus_property,
  ClientDBus.fingerprint_dbus_property, ClientDBus.host_dbus_property,
  ClientDBus.created_dbus_property,
  ClientDBus.last_enabled_dbus_property,
  ClientDBus.enabled_dbus_property,
  ClientDBus.last_checked_ok_dbus_property,
  ClientDBus.timeout_dbus_property, ClientDBus.interval_dbus_property,
  ClientDBus.checker_dbus_property,
  ClientDBus.checker_running_dbus_property,
  ClientDBus.object_path_dbus_property,
  ClientDBus.secret_dbus_property): New D-Bus properties.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
Begin4
2
2
Title:          Mandos
3
 
Version:        1.0.4
4
 
Entered-date:   2009-01-15
 
3
Version:        1.0.12
 
4
Entered-date:   2009-09-17
5
5
Description:    The Mandos system allows computers to have encrypted
6
6
root file systems and at the same time be capable of remote and/or
7
7
unattended reboots.
12
12
Maintained-by:  teddy@fukt.bsnet.se (Teddy Hogeborn),
13
13
                belorn@fukt.bsnet.se (Björn Påhlsson)
14
14
Primary-site: http://www.fukt.bsnet.se/mandos
15
 
              94K mandos_1.0.4.orig.tar.gz
 
15
              103K mandos_1.0.12.orig.tar.gz
16
16
Alternate-site: ftp://ftp.fukt.bsnet.se/pub/mandos
17
 
                94K mandos_1.0.4.orig.tar.gz
18
 
Platforms:      Requires GCC, GNU libC, Avahi, GnuPG, Python 2.4, and
 
17
                103K mandos_1.0.12.orig.tar.gz
 
18
Platforms:      Requires GCC, GNU libC, Avahi, GnuPG, Python 2.5, and
19
19
various other libraries.  While made for Debian GNU/Linux, it is
20
20
probably portable to other distributions, but not other Unixes.
21
21
Copying-policy: GNU General Public License version 3.0 or later