opensmtpd: add pam.d file.
This commit is contained in:
parent
f9112599a5
commit
aef2140a13
2 changed files with 7 additions and 1 deletions
5
srcpkgs/opensmtpd/files/smtpd.pam
Normal file
5
srcpkgs/opensmtpd/files/smtpd.pam
Normal 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
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'opensmtpd'
|
# Template file for 'opensmtpd'
|
||||||
pkgname=opensmtpd
|
pkgname=opensmtpd
|
||||||
version=6.8.0p2
|
version=6.8.0p2
|
||||||
revision=3
|
revision=4
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--sysconfdir=/etc/smtpd --sbindir=/usr/bin
|
configure_args="--sysconfdir=/etc/smtpd --sbindir=/usr/bin
|
||||||
--with-path-socket=/run --with-path-pidfile=/run
|
--with-path-socket=/run --with-path-pidfile=/run
|
||||||
|
@ -49,6 +49,7 @@ post_install() {
|
||||||
for f in newaliases mailq makemap sendmail; do
|
for f in newaliases mailq makemap sendmail; do
|
||||||
ln -s smtpctl ${DESTDIR}/usr/bin/$f
|
ln -s smtpctl ${DESTDIR}/usr/bin/$f
|
||||||
done
|
done
|
||||||
|
vinstall ${FILESDIR}/smtpd.pam 644 etc/pam.d smtpd
|
||||||
vsv opensmtpd
|
vsv opensmtpd
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
vinstall /dev/null 644 etc/smtpd aliases
|
vinstall /dev/null 644 etc/smtpd aliases
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue