/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: 2009-11-09 05:10:35 UTC
  • Revision ID: teddy@fukt.bsnet.se-20091109051035-zcmvuhioo9gjs0cb
* mandos-monitor (MandosClientPropertyCache): Remove conversion of
                                              D-Bus types to native
                                              Python types.
  (MandosClientPropertyCache.type_map): Removed attribute.
  (MandosClientPropertyCache.conversion): Removed method.
  (ConstrainedListBox): New; a ListBox which will keep the focus.
  (UserInterface.__init__): Take new argument "max_log_length".
  (UserInterface.divider, UserInterface.log,
  UserInterface.max_log_length, UserInterface.logbox,
  UserInterface.log_visible, UserInterface.log_wrap): New attributes.
  (UserInterface.rebuild, UserInterface.log_message,
  UserInterface.toggle_log_display, UserInterface.change_log_display):
  New methods.
  (UserInterface.remove_client): Bug fix: Eliminate double client
                                 listing when an empty list gets a
                                 ClientAdded signal.
  (UserInterface.process_input): Add more key translations.

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
 
18
29
configure: configure-stamp
19
30
configure-stamp:
20
31
        dh_testdir
38
49
        rm -f build-arch-stamp build-indep-stamp configure-stamp
39
50
        dh_auto_clean
40
51
        dh_clean
41
 
        debconf-updatepo
42
52
 
43
53
install: install-indep install-arch
44
54
install-indep:
48
58
        dh_installdirs --indep
49
59
        $(MAKE) DESTDIR=$(CURDIR)/debian/mandos install-server
50
60
        dh_lintian
51
 
        dh_installinit --onlyscripts --no-start \
 
61
        dh_installinit --onlyscripts \
52
62
                --update-rcd-params="defaults 25 15"
53
63
        dh_install --indep
54
64
 
66
76
        dh_testroot
67
77
        dh_installchangelogs
68
78
        dh_installdocs
69
 
        dh_installdebconf
70
79
        dh_link
71
80
        dh_strip
72
81
        dh_compress
73
82
        dh_fixperms --exclude etc/keys/mandos \
74
83
                --exclude etc/mandos/clients.conf \
 
84
                --exclude etc/mandos/plugins.d \
75
85
                --exclude usr/lib/mandos/plugins.d
76
86
        dh_installdeb
77
87
        dh_shlibdeps