File: rules

package info (click to toggle)
libpam-ldap 186-4
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 1,672 kB
  • ctags: 450
  • sloc: ansic: 3,935; sh: 3,264; perl: 361; makefile: 42
file content (19 lines) | stat: -rwxr-xr-x 467 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS= hardening=+bindnow

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --libdir=/lib/$(DEB_HOST_MULTIARCH) \
	--with-ldap-lib=openldap \
	--with-ldap-conf-file=/etc/pam_ldap.conf \
	--with-ldap-secret-file=/etc/pam_ldap.secret

override_dh_install:
	dh_install
	install -D -m 644 debian/libpam-ldap.pam-auth-update \
		debian/libpam-ldap/usr/share/pam-configs/ldap