pkgsrc/security/openpam/Makefile
jlam eb65092610 Update security/openpam to openpam-20071221 (Hydrangea). Changes from
version 20050616 (Figwort) include:

 - ENHANCE: API function arguments are now const where appropriate, to
   match corresponding changes in the Solaris PAM and Linux-PAM APIs.

 - ENHANCE: corrected a number of C namespace violations.

 - ENHANCE: the module cache has been removed, allowing long-lived
   applications to pick up module changes.  This also allows multiple
   threads to use PAM simultaneously (as long as they use separate PAM
   contexts), since the module cache was the only part of OpenPAM that
   was not thread-safe.
2008-02-18 16:48:12 +00:00

33 lines
878 B
Makefile

# $NetBSD: Makefile,v 1.15 2008/02/18 16:48:12 jlam Exp $
DISTNAME= openpam-20071221
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openpam/}
MAINTAINER= joerg@NetBSD.org
HOMEPAGE= http://www.openpam.org/
COMMENT= Open-source PAM library
PKG_DESTDIR_SUPPORT= user-destdir
CONFLICTS+= PAM-[0-9]*
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+= --without-pam-su
CONFIGURE_ARGS+= --with-pam-unix
CONFIGURE_ARGS+= --with-modules-dir=${PREFIX}/lib/security
OWN_DIRS= ${PKG_SYSCONFDIR}/pam.d
.include "../../mk/dlopen.buildlink3.mk"
# Create a fake perl binary to avoid recreating the man pages.
post-tools:
${RM} -f ${TOOLS_DIR}/bin/perl
${ECHO} "#!${TOOLS_SHELL}" > ${TOOLS_DIR}/bin/perl
${ECHO} "${TRUE}" >> ${TOOLS_DIR}/bin/perl
${CHMOD} +x ${TOOLS_DIR}/bin/perl
.include "../../mk/bsd.pkg.mk"