bzr branch
http://bzr.recompile.se/loggerhead/mandos/trunk
185
by Teddy Hogeborn
* .bzr-builddeb/default.conf: New. |
1 |
#!/usr/bin/make -f |
924
by Teddy Hogeborn
Support some Debian package build options |
2 |
|
3 |
ifeq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) |
|
4 |
MAKEFLAGS += OPTIMIZE=-O0 |
|
5 |
endif
|
|
6 |
||
7 |
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) |
|
8 |
NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) |
|
9 |
MAKEFLAGS += -j$(NUMJOBS) |
|
10 |
endif
|
|
11 |
||
622
by Teddy Hogeborn
* debian/control (Build-Depends): Depend on debhelper 8.9.7 for using |
12 |
%:
|
13 |
dh $@ |
|
14 |
||
15 |
override_dh_auto_build-arch: |
|
237.6.1
by gregor herrmann
* debian/changelog (1.5.3-1.1): New entry. |
16 |
LC_ALL=en_US.utf8 dh_auto_build -- all doc |
622
by Teddy Hogeborn
* debian/control (Build-Depends): Depend on debhelper 8.9.7 for using |
17 |
|
18 |
override_dh_auto_build-indep: |
|
19 |
LC_ALL=en_US.utf8 dh_auto_build -- doc |
|
20 |
||
21 |
override_dh_installinit-indep: |
|
276
by Teddy Hogeborn
* debian/rules (install-indep): Removed "--no-start" from |
22 |
dh_installinit --onlyscripts \ |
200
by Teddy Hogeborn
* Makefile: Put the init script before avahi-daemon. |
23 |
--update-rcd-params="defaults 25 15" |
622
by Teddy Hogeborn
* debian/control (Build-Depends): Depend on debhelper 8.9.7 for using |
24 |
|
25 |
override_dh_auto_install-indep: |
|
26 |
$(MAKE) DESTDIR=$(CURDIR)/debian/mandos install-server |
|
27 |
||
28 |
override_dh_auto_install-arch: |
|
29 |
$(MAKE) DESTDIR=$(CURDIR)/debian/mandos-client \ |
|
30 |
install-client-nokey |
|
31 |
||
793
by Teddy Hogeborn
* debian/rules (override_dh_fixperms): Split into |
32 |
override_dh_fixperms-arch: |
185
by Teddy Hogeborn
* .bzr-builddeb/default.conf: New. |
33 |
dh_fixperms --exclude etc/keys/mandos \ |
218
by Teddy Hogeborn
* Makefile (uninstall-client): Do not remove obsolete README file. |
34 |
--exclude etc/mandos/plugins.d \ |
860
by Teddy Hogeborn
Fix permissions of /etc/mandos/plugin-helpers. |
35 |
--exclude etc/mandos/plugin-helpers \ |
925
by Teddy Hogeborn
Eliminate unnecessary shell commands in Debian package rules |
36 |
--exclude usr/lib/$(DEB_HOST_MULTIARCH)/mandos/plugins.d \ |
37 |
--exclude usr/lib/$(DEB_HOST_MULTIARCH)/mandos/plugin-helpers \ |
|
594
by Teddy Hogeborn
* debian/copyright (Copyright): Join the two lines to one line. |
38 |
--exclude usr/share/doc/mandos-client/examples/network-hooks.d |
622
by Teddy Hogeborn
* debian/control (Build-Depends): Depend on debhelper 8.9.7 for using |
39 |
chmod --recursive g-w -- \ |
40 |
"$(CURDIR)/debian/mandos-client/usr/share/doc/mandos-client/examples/network-hooks.d" |
|
683
by Teddy Hogeborn
Do not run self-tests when building arch-indep Debian package. |
41 |
|
793
by Teddy Hogeborn
* debian/rules (override_dh_fixperms): Split into |
42 |
override_dh_fixperms-indep: |
43 |
dh_fixperms --exclude etc/mandos/clients.conf |
|
44 |
||
683
by Teddy Hogeborn
Do not run self-tests when building arch-indep Debian package. |
45 |
override_dh_auto_test-arch: ; |
980
by Teddy Hogeborn
Fix Debian package dependency when using GnuTLS < 3.6.0 |
46 |
|
983
by Teddy Hogeborn
Remove modification of debian/control file |
47 |
#bpo## dpkg-shlibdeps sees the "libgnutls28-dev (>= 3.6.6) | |
48 |
#bpo## libgnutls28-dev (<< 3.6.0)," in the build-dependencies not as two |
|
49 |
#bpo## alternatives, but as an absolute dependency on libgnutls30 >= 3.6.6. |
|
50 |
#bpo## So we have to do this ugly hack to hide this build dependency if we |
|
51 |
#bpo## compiled with libgnutls30 << 3.6.0. |
|
52 |
#bpo#override_dh_shlibdeps-arch: |
|
53 |
#bpo# -gnutls_version=$$(dpkg-query --showformat='$${Version}' \ |
|
54 |
#bpo# --show libgnutls30); \ |
|
55 |
#bpo# dpkg --compare-versions $$gnutls_version lt 3.6.0 \ |
|
56 |
#bpo# && { cp --archive debian/control debian/control.orig; sed --expression='s/libgnutls28-dev (>= 3\.6\.6) |//' debian/control; } |
|
57 |
#bpo# dh_shlibdeps |
|
58 |
#bpo# -gnutls_version=$$(dpkg-query --showformat='$${Version}' \ |
|
59 |
#bpo# --show libgnutls30); \ |
|
60 |
#bpo# dpkg --compare-versions $$gnutls_version lt 3.6.0 \ |
|
61 |
#bpo# && mv debian/control.orig debian/control |