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

  • Committer: Teddy Hogeborn
  • Date: 2008-12-29 02:44:54 UTC
  • Revision ID: teddy@fukt.bsnet.se-20081229024454-nbsei556dwy5azr1
* 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:
15
15
# This has to be exported to make some magic below work.
16
16
export DH_OPTIONS
17
17
 
18
 
# -pie is broken on the mips and mipsel architectures, see
19
 
# <http://bugs.debian.org/526961>
20
 
ifneq (,$(findstring :$(DEB_HOST_ARCH):,:mips:mipsel:))
21
 
  BROKEN_PIE := yes
22
 
  export BROKEN_PIE
23
 
endif
24
 
ifneq (,$(findstring :$(DEB_BUILD_ARCH):,:mips:mipsel:))
25
 
  BROKEN_PIE := yes
26
 
  export BROKEN_PIE
27
 
endif
28
 
 
29
18
configure: configure-stamp
30
19
configure-stamp:
31
20
        dh_testdir
49
38
        rm -f build-arch-stamp build-indep-stamp configure-stamp
50
39
        dh_auto_clean
51
40
        dh_clean
 
41
        debconf-updatepo
52
42
 
53
43
install: install-indep install-arch
54
44
install-indep:
58
48
        dh_installdirs --indep
59
49
        $(MAKE) DESTDIR=$(CURDIR)/debian/mandos install-server
60
50
        dh_lintian
61
 
        dh_installinit --onlyscripts \
 
51
        dh_installinit --onlyscripts --no-start \
62
52
                --update-rcd-params="defaults 25 15"
63
53
        dh_install --indep
64
54
 
76
66
        dh_testroot
77
67
        dh_installchangelogs
78
68
        dh_installdocs
 
69
        dh_installdebconf
79
70
        dh_link
80
71
        dh_strip
81
72
        dh_compress