/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

  • Committer: Teddy Hogeborn
  • Date: 2008-09-19 17:30:43 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080919173043-oar4cbayx4ow122x
* debian/control (mandos, mandos-client): Depend on "adduser".
  (mandos): Removed unused substitution variables.

* debian/mandos-client.postinst (update_initramfs, create_key): Do not
                                                                use
                                                                "type".
  (add_mandos_user): Do not call the user "Mandos password daemon".

* debian/mandos.postinst (add_mandos_user): - '' -

* debian/mandos-client.postrm (purge): Do not use "type".  Do not
                                       remove config directories; this
                                       is done automatically.

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
 
ifneq (,$(findstring :$(DEB_HOST_ARCH):,:mips:mipsel:))
19
 
  BROKEN_PIE := yes
20
 
  export BROKEN_PIE
21
 
endif
22
 
ifneq (,$(findstring :$(DEB_BUILD_ARCH):,:mips:mipsel:))
23
 
  BROKEN_PIE := yes
24
 
  export BROKEN_PIE
25
 
endif
26
 
 
27
18
configure: configure-stamp
28
19
configure-stamp:
29
20
        dh_testdir
56
47
        dh_installdirs --indep
57
48
        $(MAKE) DESTDIR=$(CURDIR)/debian/mandos install-server
58
49
        dh_lintian
59
 
        dh_installinit --onlyscripts \
60
 
                --update-rcd-params="defaults 25 15"
 
50
        dh_installinit --onlyscripts --no-start
61
51
        dh_install --indep
62
52
 
63
53
install-arch:
74
64
        dh_testroot
75
65
        dh_installchangelogs
76
66
        dh_installdocs
 
67
#       dh_installdebconf
77
68
        dh_link
78
69
        dh_strip
79
70
        dh_compress
80
71
        dh_fixperms --exclude etc/keys/mandos \
81
72
                --exclude etc/mandos/clients.conf \
82
 
                --exclude etc/mandos/plugins.d \
83
73
                --exclude usr/lib/mandos/plugins.d
84
74
        dh_installdeb
85
75
        dh_shlibdeps