mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
- Add port for shipping of PAM modules used by KDM.
It deprecates the "kde" module in base, and installs (optionally) the "kde-np" module, which enables auto-logins.
This commit is contained in:
parent
c8e3068b20
commit
1f49a8777b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=283639
@ -569,6 +569,7 @@
|
||||
SUBDIR += pam_google_authenticator
|
||||
SUBDIR += pam_helper
|
||||
SUBDIR += pam_jail
|
||||
SUBDIR += pam_kde
|
||||
SUBDIR += pam_krb5
|
||||
SUBDIR += pam_ldap
|
||||
SUBDIR += pam_mkhomedir
|
||||
|
35
security/pam_kde/Makefile
Normal file
35
security/pam_kde/Makefile
Normal file
@ -0,0 +1,35 @@
|
||||
# New ports collection Makefile for: pam_kde
|
||||
# Date created: 29 September 2011
|
||||
# Whom: Alberto Villa <avilla@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= pam_kde
|
||||
PORTVERSION= 1.0
|
||||
CATEGORIES= security kde
|
||||
MASTER_SITES= # empty
|
||||
DISTFILES= # none
|
||||
|
||||
MAINTAINER= kde@FreeBSD.org
|
||||
COMMENT= PAM modules for KDE Display Manager
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
PLIST_FILES= etc/pam.d/kde
|
||||
|
||||
OPTIONS= AUTOLOGIN "Install module for automatic login" on
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.ifndef(WITHOUT_AUTOLOGIN)
|
||||
PLIST_FILES+= etc/pam.d/kde-np
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${FILESDIR}/kde ${PREFIX}/etc/pam.d
|
||||
.ifndef(WITHOUT_AUTOLOGIN)
|
||||
${INSTALL_DATA} ${FILESDIR}/kde-np ${PREFIX}/etc/pam.d
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
19
security/pam_kde/files/kde
Normal file
19
security/pam_kde/files/kde
Normal file
@ -0,0 +1,19 @@
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
# PAM configuration for the "kde" service
|
||||
#
|
||||
|
||||
# auth
|
||||
#auth sufficient pam_krb5.so no_warn try_first_pass
|
||||
#auth sufficient pam_ssh.so no_warn try_first_pass
|
||||
auth required pam_unix.so no_warn try_first_pass
|
||||
|
||||
# account
|
||||
account required pam_nologin.so
|
||||
#account required pam_krb5.so
|
||||
account required pam_unix.so
|
||||
|
||||
# session
|
||||
#session optional pam_ssh.so want_agent
|
||||
session required pam_permit.so
|
20
security/pam_kde/files/kde-np
Normal file
20
security/pam_kde/files/kde-np
Normal file
@ -0,0 +1,20 @@
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
# PAM configuration for the "kde-np" service
|
||||
#
|
||||
|
||||
# auth
|
||||
#auth sufficient pam_krb5.so no_warn try_first_pass
|
||||
#auth sufficient pam_ssh.so no_warn try_first_pass
|
||||
#auth required pam_unix.so no_warn try_first_pass
|
||||
auth required pam_permit.so
|
||||
|
||||
# account
|
||||
account required pam_nologin.so
|
||||
#account required pam_krb5.so
|
||||
account required pam_unix.so
|
||||
|
||||
# session
|
||||
#session optional pam_ssh.so want_agent
|
||||
session required pam_permit.so
|
1
security/pam_kde/pkg-descr
Normal file
1
security/pam_kde/pkg-descr
Normal file
@ -0,0 +1 @@
|
||||
This port installs PAM modules used by KDM to log into a KDE session.
|
Loading…
Reference in New Issue
Block a user