summaryrefslogtreecommitdiff
path: root/security/PAM/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-12-23 21:23:56 +0000
committerjlam <jlam@pkgsrc.org>2002-12-23 21:23:56 +0000
commit3530f6ba5cc9bfe1309ae0ff7e6a7ccb1d47679a (patch)
treeb8eaf075508d7f5961ef5d63906886e321213f40 /security/PAM/Makefile
parent9b27e038933b17950b35d1b259b044d1de117b66 (diff)
downloadpkgsrc-3530f6ba5cc9bfe1309ae0ff7e6a7ccb1d47679a.tar.gz
Update security/PAM to 0.77. Changes from version 0.75 include:
* Numerous bug fixes for most of the PAM modules, including several string length checks and fixes (update recommended!). * fix for legacy behavior of pam_setcred and pam_close_session in the case that pam_authenticate and pam_open_session hadn't been called * pam_unix: - don't zero out password strings during password changing function * pam_wheel: - feature: can use the module to provide wheel access to non-root accounts. * pam_limits: - added '%' domain for maxlogins limiting, now '*' and @group have the old meaning (every) and '%' the new one (all) - handle negative priority limits (which can apply to the superuser too). * pam_userdb: - require that all of typed password matches that in database * pam_access: - added the 'fieldsep=' argument, made a PAM_RHOST of "" equivalent to NULL Incidentally, cups-1.1.18 will once again do PAM authentication using pam_unix.so if built against PAM-0.77.
Diffstat (limited to 'security/PAM/Makefile')
-rw-r--r--security/PAM/Makefile35
1 files changed, 16 insertions, 19 deletions
diff --git a/security/PAM/Makefile b/security/PAM/Makefile
index 0e1ceb41828..199e4b0389a 100644
--- a/security/PAM/Makefile
+++ b/security/PAM/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.11 2002/08/25 18:39:48 jlam Exp $
+# $NetBSD: Makefile,v 1.12 2002/12/23 21:23:56 jlam Exp $
#
DISTNAME= Linux-${PKGNAME}
-PKGNAME= PAM-0.75
+PKGNAME= PAM-0.77
CATEGORIES= security
MASTER_SITES= http://www.kernel.org/pub/linux/libs/pam/pre/library/ \
ftp://ftp.kernel.org/pub/linux/libs/pam/pre/library/
@@ -13,20 +13,29 @@ COMMENT= Pluggable Authentication Modules
USE_BUILDLINK2= yes
USE_GMAKE= yes
+USE_DB185= yes
GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --enable-docdir=${PREFIX}/share/doc/PAM
CONFIGURE_ARGS+= --enable-includedir=${PREFIX}/include
+CONFIGURE_ARGS+= --enable-mandir=${PREFIX}/man
CONFIGURE_ARGS+= --enable-sconfigdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --enable-static-libpam
+CONFIGURE_ENV+= ac_cv_prog_HAVE_SGML2TXT=no
+CONFIGURE_ENV+= ac_cv_prog_HAVE_SGML2HTML=no
+CONFIGURE_ENV+= ac_cv_prog_HAVE_SGML2LATEX=no
+CONFIGURE_ENV+= ac_cv_prog_HAVE_SGML2PS=no
+CONFIGURE_ENV+= ac_cv_prog_HAVE_PS2PDF=no
-CFLAGS+= -DHAVE_UTMP_H=1
-CFLAGS+= -fPIC
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(OPSYS:M*BSD)
+CFLAGS+= -DUSE_GETLOGIN=1
+.endif
MAKE_FLAGS+= OS_CFLAGS="${CFLAGS}"
PKG_SYSCONFSUBDIR?= pam
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
-DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
-HTMLDIR= ${PREFIX}/share/doc/html/${PKGBASE}
CFILES= access.conf pam_env.conf group.conf time.conf
CONF_FILES= ${EGDIR}/pam.conf ${PKG_SYSCONFBASE}/pam.conf
@@ -34,12 +43,6 @@ CONF_FILES= ${EGDIR}/pam.conf ${PKG_SYSCONFBASE}/pam.conf
CONF_FILES+= ${EGDIR}/${FILE} ${PKG_SYSCONFDIR}/${FILE}
.endfor
-post-extract:
- cd ${WRKSRC}/doc; \
- if [ -f ${DISTNAME}-docs.tar.gz ]; then \
- ${GZCAT} ${DISTNAME}-docs.tar.gz | ${GTAR} -xf -; \
- fi
-
post-install:
${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/conf/pam.conf ${EGDIR}
@@ -49,14 +52,8 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/modules/pam_group/group.conf ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/modules/pam_time/time.conf ${EGDIR}
${INSTALL_DATA_DIR} ${DOCDIR}
- cd ${WRKSRC}/doc; for file in modules/*.sgml; do \
- ${INSTALL_DATA} $${file} ${DOCDIR}; \
- done
- ${INSTALL_DATA_DIR} ${HTMLDIR}
- cd ${WRKSRC}/doc; for file in html/*.html; do \
- ${INSTALL_DATA} $${file} ${HTMLDIR}; \
- done
+.include "../../databases/db/buildlink2.mk"
.include "../../security/libcrack/buildlink2.mk"
.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"