/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: 2018-01-29 19:21:23 UTC
  • Revision ID: teddy@recompile.se-20180129192123-y6brq6tnnnxm2oi2
Fix memory leak in plugin-runner (this fixes Debian bug #886595)

* plugin-runner.c (free_plugin): Bug fix: Also free() plugin name.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
        $(MAKE) DESTDIR=$(CURDIR)/debian/mandos-client \
20
20
                install-client-nokey
21
21
 
22
 
override_dh_fixperms:
 
22
override_dh_fixperms-arch:
23
23
        dh_fixperms --exclude etc/keys/mandos \
24
 
                --exclude etc/mandos/clients.conf \
25
24
                --exclude etc/mandos/plugins.d \
26
 
                --exclude usr/lib/mandos/plugins.d \
 
25
                --exclude etc/mandos/plugin-helpers \
 
26
                --exclude usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH 2>/dev/null)/mandos/plugins.d \
 
27
                --exclude usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH 2>/dev/null)/mandos/plugin-helpers \
27
28
                --exclude usr/share/doc/mandos-client/examples/network-hooks.d
28
29
        chmod --recursive g-w -- \
29
30
        "$(CURDIR)/debian/mandos-client/usr/share/doc/mandos-client/examples/network-hooks.d"
 
31
 
 
32
override_dh_fixperms-indep:
 
33
        dh_fixperms --exclude etc/mandos/clients.conf
 
34
 
 
35
override_dh_auto_test-arch: ;