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

  • Committer: Teddy Hogeborn
  • Date: 2019-03-30 07:03:04 UTC
  • Revision ID: teddy@recompile.se-20190330070304-dqgch62lsaaygg46
mandos-ctl: Refactor D-Bus operations

* mandos-ctl (dbus): Rename imported module to "dbus_python".
  (main): Only create a bus object and do everything via that object.
  (get_mandos_dbus_object): Remove and move code into dbus or
                            dbus_python_adapter namespaces.
  (if_dbus_exception_log_with_exception_and_exit): - '' -
  (SilenceLogger): - '' -
  (dbus): New; move everything dbus-specific into this module-like
          namespace.
  (dbus_python_adapter): New; move everything specific to the
                         dbus-python D-Bus module into this
                         module-like namespace.
  (command.Base.run): Take only a bus argument; use only that.  Pass
                      "client" argument as a D-Bus object path string,
                      not a dbus-python proxy object.  All derivatives
                      adjusted.
  (command.IsEnabled.is_enabled): Remove.
  (command.Approve, command.Deny, command.Remove,
  command.PropertySetter): Do no logging of D-Bus commands, and use
  only bus, not client, to do D-Bus calls.
  (command.DumpJSON.dbus_boolean_to_bool): Remove; move filtering to
                                           dbus_python_adapter.
  (command.Enable, command.Disable, command.StopChecker,
  command.ApproveByDefault): Use normal Python booleans instead of
  dbus-python's special Boolean types.
  (Unique): New; move here out from inside TestPropertySetterCmd.
  (Test_get_mandos_dbus_object): Remove.
  (Test_get_managed_objects): - '' -
  (Test_dbus_exceptions): New.
  (Test_dbus_MandosBus): - '' -
  (Test_dbus_python_adapter_SystemBus): - '' -
  (Test_dbus_python_adapter_CachingBus): - '' -
  (Test_commands_from_options): Don't create mock client proxy
  objects, define dict of client properties and use a mock dbus to
  verify that the correct D-Bus calls are made.  Also remove any types
  specific to dbus-python.
  (TestEnableCmd, TestDisableCmd, TestStartCheckerCmd,
  TestStopCheckerCmd, TestApproveByDefaultCmd, TestDenyByDefaultCmd):
  Use normal Python booleans instead of dbus-python's special Boolean
  types.
  (TestPropertySetterValueCmd.runTest): Remove; unnecessary.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
mandos (1.8.6-1) unstable; urgency=medium
2
 
 
3
 
  * New upstream release.
4
 
  * Fix "mandos FTCBFS: hard codes build architecture pkg-config"
5
 
    by making pkg-config overridable (Closes: #933701)
6
 
  * debian/mandos.postinst (configure): After creating (or renaming) user
7
 
    & group, reload D-Bus daemon (if present).
8
 
 
9
 
 -- Teddy Hogeborn <teddy@recompile.se>  Sat, 03 Aug 2019 14:51:01 +0200
10
 
 
11
 
mandos (1.8.5-1) unstable; urgency=medium
12
 
 
13
 
  * New upstream release.
14
 
  * Fix "does not reap children" by reaping children (Closes: #933387)
15
 
  * debian/mandos-client.README.Debian: Use new-style interface name.
16
 
  * debian/tests/control: New file; implements autopkgtest support.
17
 
  * debian/mandos-client.lintian-overrides
18
 
    (manpage-has-errors-from-man): Remove; unnecessary.
19
 
  * debian/mandos.lintian-overrides
20
 
    (init.d-script-needs-depends-on-lsb-base): - '' -
21
 
  * debian/mandos-client.postinst (update_initramfs): Upstream now
22
 
    supports dracut(8), so update commands here to and run the correct
23
 
    command to update initramfs.
24
 
  * debian/control (Build-Depends): Add GLib -dev package.
25
 
    (mandos-client/Depends): Add dracut(8) as an alternative dependency to
26
 
    initramfs-tools.
27
 
    (mandos-client/Conflicts): New; set to "dracut-config-generic".
28
 
    (debian/mandos-client.README.Debian): Update for dracut(8) support.
29
 
  * debian/mandos-client.templates: Reflowed by debconf-gettextize(1).
30
 
  * debian/mandos.templates: - '' -
31
 
  * debian/po/POTFILES.in: New.
32
 
  * debian/po/templates.pot: - '' -
33
 
  * debian/source/lintian-overrides: New.
34
 
  * debian/control (Standards-Version): Update to "4.4.0".
35
 
 
36
 
 -- Teddy Hogeborn <teddy@recompile.se>  Tue, 30 Jul 2019 20:41:29 +0200
37
 
 
38
 
mandos (1.8.4-1) unstable; urgency=medium
39
 
 
40
 
  * Fix "dirs in initrd are not accessible by mandos plugin-runner" by
41
 
    making sure UMASK is set, no matter what other packages have installed
42
 
    in "/usr/share/initramfs-tools/conf-hooks.d". (Closes: #926641)
43
 
  * Fix "LeakSanitizer: detected memory leaks, fails to decrypt"
44
 
    by fixing memory leak in plugin-runner. (Closes: #926643)
45
 
  * debian/mandos-client.dirs: Add
46
 
    "usr/share/initramfs-tools/conf-hooks.d", needed by fix for #926641.
47
 
 
48
 
 -- Teddy Hogeborn <teddy@recompile.se>  Tue, 09 Apr 2019 22:05:39 +0200
49
 
 
50
 
mandos (1.8.3-3) unstable; urgency=medium
51
 
 
52
 
  * Fix "src:mandos: modifies d/control during build" by not doing that
53
 
    anymore.  (Closes: #922202)
54
 
  * debian/rules (override_dh_shlibdeps-arch): Commented out.
55
 
 
56
 
 -- Teddy Hogeborn <teddy@recompile.se>  Wed, 13 Feb 2019 09:52:39 +0100
57
 
 
58
1
mandos (1.8.3-2) unstable; urgency=medium
59
2
 
60
3
  * debian/rules (override_dh_shlibdeps-arch): New; conditionally edit