]> git.ipfire.org Git - thirdparty/pdns.git/blob - builder-support/debian/dnsdist/ubuntu-trusty/rules
configure: with-gnutls
[thirdparty/pdns.git] / builder-support / debian / dnsdist / ubuntu-trusty / rules
1 #!/usr/bin/make -f
2 # See debhelper(7) (uncomment to enable)
3 # output every command that modifies files on the build system.
4 #DH_VERBOSE = 1
5
6 # Enable hardening features for daemons
7 export DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow,+pie
8 # see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
9 DPKG_EXPORT_BUILDFLAGS = 1
10 include /usr/share/dpkg/default.mk
11
12 # for atomic support on powerpc (automatic on mipsel)
13 LDFLAGS += -latomic
14
15 %:
16 dh $@
17
18 override_dh_auto_clean:
19 rm -f dnslabeltext.cc
20 dh_auto_clean
21
22 override_dh_auto_configure:
23 ./configure \
24 --host=$(DEB_HOST_GNU_TYPE) \
25 --build=$(DEB_BUILD_GNU_TYPE) \
26 --prefix=/usr \
27 --sysconfdir=/etc/dnsdist \
28 --mandir=\$${prefix}/share/man \
29 --infodir=\$${prefix}/share/info \
30 --libdir='$${prefix}/lib/$(DEB_HOST_MULTIARCH)' \
31 --libexecdir='$${prefix}/lib' \
32 --disable-dnscrypt \
33 --without-gnutls \
34 --disable-libsodium \
35 --disable-re2 \
36 --enable-dns-over-tls \
37 --with-ebpf \
38 --with-lua=luajit \
39 --with-protobuf \
40 --disable-systemd
41
42 override_dh_auto_build-arch:
43 dh_auto_build -- V=1
44
45 override_dh_installexamples:
46 cp dnsdistconf.lua dnsdist.conf
47 dh_installexamples
48 rm -f dnsdist.conf
49
50 override_dh_strip:
51 dh_strip --dbg-package=dnsdist-dbg