pkgsrc/security/openpam/Makefile
joerg b6c7847ef0 Update OpenPAM to openpam-20130907 (Nummularia), including a fix for
CVE-2014-3879:

- Better dynamic loader, supports specifying modules without ".so"
  prefix.
- Improve documentation.
- openpam_subst, openpam_readword and openpam_readlinev helpers
- PAM_HOST item for better password prompts
- user_prompt, authtok_prompt and oldauthtok_prompt module options
- pamtest(1) program for testing policies and modules
2014-06-10 13:17:42 +00:00

34 lines
914 B
Makefile

# $NetBSD: Makefile,v 1.21 2014/06/10 13:17:42 joerg Exp $
DISTNAME= openpam-20130907
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openpam/}
MAINTAINER= joerg@NetBSD.org
HOMEPAGE= http://www.openpam.org/
COMMENT= Open-source PAM library
LICENSE= modified-bsd
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
CPPFLAGS+= -DSYSCONFDIR=\"$(PKG_SYSCONFDIR)\"
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"