pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/pam-mkhomedir Initial import of the mkhomedir...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/129d0361030a
branches:  trunk
changeset: 554492:129d0361030a
user:      tonnerre <tonnerre%pkgsrc.org@localhost>
date:      Sun Feb 15 13:21:52 2009 +0000

description:
Initial import of the mkhomedir PAM module.

The pam_mkhomedir module provides the means for automatic creation of
home directories upon login, if necessary. Key Benefits are:

 * Uses the Pluggable Authentication Module API defined in OSF DCE RFC 86.0.
 * Removes the need to pre-create user home directories.

The software is distributed under the terms of the 2.5-clause BSD license.

diffstat:

 security/pam-mkhomedir/Makefile |  46 +++++++++++++++++++++++++++++++++++++++++
 security/pam-mkhomedir/PLIST    |   2 +
 2 files changed, 48 insertions(+), 0 deletions(-)

diffs (56 lines):

diff -r 69f4fb6a9ccd -r 129d0361030a security/pam-mkhomedir/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pam-mkhomedir/Makefile   Sun Feb 15 13:21:52 2009 +0000
@@ -0,0 +1,46 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/02/15 13:21:52 tonnerre Exp $
+
+DISTNAME=      pam-mkhomedir-1
+CATEGORIES=    security
+MASTER_SITES=  # empty
+DISTFILES=     # empty
+
+MAINTAINER=    tonnerre%NetBSD.org@localhost
+COMMENT=       Pluggable authentication module for automatic homedir creation
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+INSTALLATION_DIRS=     lib/security
+LDLIBS=                        -lpam
+
+USE_LIBTOOL=           yes
+
+NO_FETCH=              yes
+NO_CHECKSUM=           yes
+WRKSRC=                        ${WRKDIR}
+
+do-extract:
+       ${CP} ${FILESDIR}/pam_mkhomedir.c ${WRKSRC}
+
+do-build:
+       cd ${WRKSRC} && ${SHLIBTOOL} --mode=compile ${CC} ${CFLAGS}     \
+               -c pam_mkhomedir.c
+       cd ${WRKSRC} && ${SHLIBTOOL} --mode=link ${CC} ${LDFLAGS}       \
+               -avoid-version -module ${LDLIBS} -o pam_mkhomedir.la    \
+               -rpath ${PREFIX}/lib/security pam_mkhomedir.lo
+
+do-install:
+       ${SHLIBTOOL} --mode=install ${INSTALL_PROGRAM} -c               \
+               ${WRKSRC}/pam_mkhomedir.la ${PREFIX}/lib/security
+
+# Fix (workaround?) a bug with openpam/NetBSD
+# The bug is described in PR security/39313.
+#
+.include "../../mk/bsd.prefs.mk"
+#
+.if ${OPSYS} == "NetBSD"
+CFLAGS+=               -DNO_STATIC_MODULES
+.endif
+
+.include "../../mk/pam.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 69f4fb6a9ccd -r 129d0361030a security/pam-mkhomedir/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pam-mkhomedir/PLIST      Sun Feb 15 13:21:52 2009 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/02/15 13:22:24 tonnerre Exp $
+lib/security/pam_mkhomedir.la



Home | Main Index | Thread Index | Old Index