File: rules

package info (click to toggle)
duo-unix 1.11.3-1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye
  • size: 2,880 kB
  • sloc: sh: 12,108; ansic: 9,223; python: 1,639; makefile: 156
file content (23 lines) | stat: -rwxr-xr-x 599 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

# Enable full hardening.
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --with-pam=/lib/$(DEB_HOST_MULTIARCH)/security \
			     --sysconfdir=/etc/security \
			     --includedir=\$${prefix}/include/duo

# Disable testsuite completely -- it is very broken on buildds
override_dh_auto_test:

override_dh_fixperms:
	dh_fixperms
	chmod 0600 debian/libpam-duo/etc/security/pam_duo.conf