opensmtpd: add pam.d file.

This commit is contained in:
Leah Neukirchen 2021-05-24 21:28:32 +02:00
parent f9112599a5
commit aef2140a13
2 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,5 @@
#%PAM-1.0
auth required pam_nologin.so
auth include system-auth
account include system-auth
session include system-auth

View file

@ -1,7 +1,7 @@
# Template file for 'opensmtpd'
pkgname=opensmtpd
version=6.8.0p2
revision=3
revision=4
build_style=gnu-configure
configure_args="--sysconfdir=/etc/smtpd --sbindir=/usr/bin
--with-path-socket=/run --with-path-pidfile=/run
@ -49,6 +49,7 @@ post_install() {
for f in newaliases mailq makemap sendmail; do
ln -s smtpctl ${DESTDIR}/usr/bin/$f
done
vinstall ${FILESDIR}/smtpd.pam 644 etc/pam.d smtpd
vsv opensmtpd
vlicense LICENSE
vinstall /dev/null 644 etc/smtpd aliases