/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 debian/rules

* mandos (Client.timeout, Client.interval): Changed from being a
                                            property to be a normal
                                            attribute.
  (Client._timeout, Client._interval): Removed.
  (Client._timeout_milliseconds): Changed from being an attribute to
                                  be a method "timeout_milliseconds".
                                  All users changed.
  (Client._interval_milliseconds): Changed from being an attribute to
                                   be method "interval_milliseconds".
                                   All users changed.
  (Client.__init__): Take additional "use_dbus" keyword argument.
                     Only provide D-Bus interface if "use_dbus" is
                     True.
  (Client.use_dbus): New attribute.
  (Client.dbus_object_path): Changed to only be set if "self.use_dbus"
                             is True.
  (Client.enable, Client.disable, Client.checker_callback,
  Client.bump_timeout, Client.start_checker, Client.stop_checker):
  Only emit D-Bus signals if "self.use_dbus".
  (Client.SetChecker, Client.SetHost, Client.Enable): Bug fix: Emit
                                                      D-Bus signals.
  (Client.SetInterval, Client.SetTimeout): Changed to emit D-Bus
                                           signals.

  (main): Remove deprecated "default" keyword argument to "--check"
          option.  Added new "--no-dbus" option.  Added corresponding
          "use_dbus" server configuration option.  Only provide D-Bus
          interface and emit D-Bus signals if "use_dbus".  Pass
          "use_dbus" on to Client constructor.

* mandos-options.xml ([@id="dbus"]): New option.

* mandos.conf (use_dbus): New option.

* mandos.conf.xml (OPTIONS): New option "use_dbus".
  (EXAMPLE): - '' -

* mandos.xml (SYNOPSIS): New option "--no-dbus".
  (D-BUS INTERFACE): New section.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
        rm -f build-arch-stamp build-indep-stamp configure-stamp
39
39
        dh_auto_clean
40
40
        dh_clean
 
41
        debconf-updatepo
41
42
 
42
43
install: install-indep install-arch
43
44
install-indep:
47
48
        dh_installdirs --indep
48
49
        $(MAKE) DESTDIR=$(CURDIR)/debian/mandos install-server
49
50
        dh_lintian
50
 
        dh_installinit --onlyscripts --no-start
 
51
        dh_installinit --onlyscripts --no-start \
 
52
                --update-rcd-params="defaults 25 15"
51
53
        dh_install --indep
52
54
 
53
55
install-arch:
64
66
        dh_testroot
65
67
        dh_installchangelogs
66
68
        dh_installdocs
67
 
#       dh_installdebconf
 
69
        dh_installdebconf
68
70
        dh_link
69
71
        dh_strip
70
72
        dh_compress
71
73
        dh_fixperms --exclude etc/keys/mandos \
72
74
                --exclude etc/mandos/clients.conf \
 
75
                --exclude etc/mandos/plugins.d \
73
76
                --exclude usr/lib/mandos/plugins.d
74
77
        dh_installdeb
75
78
        dh_shlibdeps