import openpam
this version comes from the freebsd sources and it has a bsdauth module added. ok ajacoutot@
This commit is contained in:
parent
d35e39fbeb
commit
b12db7e287
59
security/openpam/Makefile
Normal file
59
security/openpam/Makefile
Normal file
@ -0,0 +1,59 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2012/10/10 08:26:55 robert Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= Pluggable Authentication Module
|
||||
|
||||
V= 20121009
|
||||
DISTNAME= freebsd_pam-${V}
|
||||
PKGNAME= openpam-${V}
|
||||
|
||||
CATEGORIES= security
|
||||
|
||||
SHARED_LIBS+= pam 5.0
|
||||
|
||||
HOMEPAGE= http://www.openpam.org/
|
||||
|
||||
MAINTAINER= Robert Nagy <robert@openbsd.org>
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
WANTLIB += util
|
||||
|
||||
MASTER_SITES= http://nerd.hu/distfiles/
|
||||
|
||||
WRKSRC= ${WRKDIST}/libpam
|
||||
|
||||
MAKE_ENV+= PAM_MOD_DIR=${TRUEPREFIX}/lib/security
|
||||
|
||||
PAM_MODULES= deny echo exec nologin permit rootok \
|
||||
self bsdauth group
|
||||
|
||||
pre-build:
|
||||
cd ${WRKSRC} && ${MAKE} obj
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/lib/security
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/include/security
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pam
|
||||
|
||||
${INSTALL} ${FILESDIR}/system ${PREFIX}/share/examples/pam
|
||||
|
||||
.for _l in libpam.a libpam.so.5.0 libpam_p.a
|
||||
${INSTALL} ${WRKSRC}/libpam/obj/${_l} ${PREFIX}/lib
|
||||
.endfor
|
||||
.for _i in openpam openpam_attr openpam_version pam_appl pam_constants pam_modules pam_types
|
||||
${INSTALL} ${WRKDIST}/openpam/include/security/${_i}.h ${PREFIX}/include/security
|
||||
.endfor
|
||||
${INSTALL} ${WRKSRC}/libpam/security/pam_mod_misc.h ${PREFIX}/include/security
|
||||
|
||||
.for _m in ${PAM_MODULES}
|
||||
${INSTALL} ${WRKSRC}/modules/pam_${_m}/obj/libpam_${_m}.so.5.0 ${PREFIX}/lib/security/pam_${_m}.so
|
||||
${INSTALL} ${WRKSRC}/modules/pam_${_m}/pam_${_m}.8 ${PREFIX}/man/man8
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
2
security/openpam/distinfo
Normal file
2
security/openpam/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (freebsd_pam-20121009.tar.gz) = isNYZtYdRxEtOw8TJxAMRv5tOWAXNKLUt2EjVkb2t7c=
|
||||
SIZE (freebsd_pam-20121009.tar.gz) = 1005306
|
15
security/openpam/files/system
Normal file
15
security/openpam/files/system
Normal file
@ -0,0 +1,15 @@
|
||||
#
|
||||
# System-wide defaults
|
||||
#
|
||||
|
||||
# auth
|
||||
auth required pam_bsdauth.so no_warn try_first_pass nullok
|
||||
|
||||
# account
|
||||
account required pam_bsdauth.so
|
||||
|
||||
# session
|
||||
session required pam_bsdauth.so no_fail
|
||||
|
||||
# password
|
||||
password required pam_bsdauth.so no_warn try_first_pass
|
10
security/openpam/pkg/DESCR
Normal file
10
security/openpam/pkg/DESCR
Normal file
@ -0,0 +1,10 @@
|
||||
OpenPAM is an open source PAM library that focuses on simplicity,
|
||||
correctness, and cleanliness.
|
||||
|
||||
OpenPAM aims to gather the best features of Solaris PAM, XSSO and
|
||||
Linux-PAM, plus some innovations of its own. In areas where these
|
||||
implementations disagree, OpenPAM tries to remain compatible with
|
||||
Solaris, at the expense of XSSO conformance and Linux-PAM
|
||||
compatibility.
|
||||
|
||||
This OpenPAM port uses the FreeBSD sources.
|
36
security/openpam/pkg/PLIST
Normal file
36
security/openpam/pkg/PLIST
Normal file
@ -0,0 +1,36 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/10/10 08:26:55 robert Exp $
|
||||
include/security/
|
||||
include/security/openpam.h
|
||||
include/security/openpam_attr.h
|
||||
include/security/openpam_version.h
|
||||
include/security/pam_appl.h
|
||||
include/security/pam_constants.h
|
||||
include/security/pam_mod_misc.h
|
||||
include/security/pam_modules.h
|
||||
include/security/pam_types.h
|
||||
lib/libpam.a
|
||||
@lib lib/libpam.so.${LIBpam_VERSION}
|
||||
lib/libpam_p.a
|
||||
lib/security/
|
||||
lib/security/pam_bsdauth.so
|
||||
lib/security/pam_deny.so
|
||||
lib/security/pam_echo.so
|
||||
lib/security/pam_exec.so
|
||||
lib/security/pam_group.so
|
||||
lib/security/pam_nologin.so
|
||||
lib/security/pam_permit.so
|
||||
lib/security/pam_rootok.so
|
||||
lib/security/pam_self.so
|
||||
@man man/man8/pam_bsdauth.8
|
||||
@man man/man8/pam_deny.8
|
||||
@man man/man8/pam_echo.8
|
||||
@man man/man8/pam_exec.8
|
||||
@man man/man8/pam_group.8
|
||||
@man man/man8/pam_nologin.8
|
||||
@man man/man8/pam_permit.8
|
||||
@man man/man8/pam_rootok.8
|
||||
@man man/man8/pam_self.8
|
||||
share/examples/pam/
|
||||
@sample ${SYSCONFDIR}/pam.d/
|
||||
share/examples/pam/system
|
||||
@sample ${SYSCONFDIR}/pam.d/system
|
Loading…
Reference in New Issue
Block a user