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
|