File: rules

package info (click to toggle)
opensmtpd 7.8.0p0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,208 kB
  • sloc: ansic: 54,930; sh: 5,497; yacc: 3,162; makefile: 436; awk: 339
file content (23 lines) | stat: -rwxr-xr-x 609 bytes parent folder | download | duplicates (3)
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

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
	    ZCAT=/bin/zcat \
	    --with-auth-pam \
	    --with-group-queue=opensmtpq \
	    --with-path-CAfile=/etc/ssl/certs/ca-certificates.crt \
	    --with-path-empty=/var/lib/opensmtpd/empty \
	    --with-path-mbox=/var/mail \
	    --with-table-db \
	    --with-user-queue=opensmtpq \
	    --with-user-smtpd=opensmtpd

override_dh_fixperms:
	dh_fixperms
	chgrp mail debian/opensmtpd/usr/libexec/opensmtpd/mail.local
	chmod 2755 debian/opensmtpd/usr/libexec/opensmtpd/mail.local