2003-01-28 23:03:00 +01:00
|
|
|
# $NetBSD: Makefile,v 1.13 2003/01/28 22:04:03 jlam Exp $
|
2000-10-21 20:41:54 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= Linux-${PKGNAME}
|
2002-12-23 22:23:56 +01:00
|
|
|
PKGNAME= PAM-0.77
|
2000-10-21 20:41:54 +02:00
|
|
|
CATEGORIES= security
|
2002-01-29 18:10:10 +01:00
|
|
|
MASTER_SITES= http://www.kernel.org/pub/linux/libs/pam/pre/library/ \
|
|
|
|
ftp://ftp.kernel.org/pub/linux/libs/pam/pre/library/
|
2000-10-21 20:41:54 +02:00
|
|
|
|
|
|
|
MAINTAINER= rh@netbsd.org
|
|
|
|
HOMEPAGE= http://www.kernel.org/pub/linux/libs/pam/
|
2001-02-17 18:42:09 +01:00
|
|
|
COMMENT= Pluggable Authentication Modules
|
2000-10-21 20:41:54 +02:00
|
|
|
|
2002-08-25 20:38:05 +02:00
|
|
|
USE_BUILDLINK2= yes
|
2003-01-28 23:03:00 +01:00
|
|
|
USE_PKGINSTALL= yes
|
2002-01-29 18:10:10 +01:00
|
|
|
USE_GMAKE= yes
|
2002-12-23 22:23:56 +01:00
|
|
|
USE_DB185= yes
|
2000-10-21 20:41:54 +02:00
|
|
|
|
2002-01-29 18:10:10 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2002-12-23 22:23:56 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-docdir=${PREFIX}/share/doc/PAM
|
2002-01-29 18:10:10 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-includedir=${PREFIX}/include
|
2002-12-23 22:23:56 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-mandir=${PREFIX}/man
|
2002-01-29 18:10:10 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-sconfigdir=${PKG_SYSCONFDIR}
|
|
|
|
CONFIGURE_ARGS+= --enable-static-libpam
|
2002-12-23 22:23:56 +01:00
|
|
|
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
|
2001-06-19 11:20:11 +02:00
|
|
|
|
2002-12-23 22:23:56 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if !empty(OPSYS:M*BSD)
|
|
|
|
CFLAGS+= -DUSE_GETLOGIN=1
|
|
|
|
.endif
|
2002-01-29 18:10:10 +01:00
|
|
|
MAKE_FLAGS+= OS_CFLAGS="${CFLAGS}"
|
2000-10-21 20:41:54 +02:00
|
|
|
|
2002-01-29 18:10:10 +01:00
|
|
|
PKG_SYSCONFSUBDIR?= pam
|
|
|
|
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
|
2000-10-21 20:41:54 +02:00
|
|
|
|
2002-01-29 18:10:10 +01:00
|
|
|
CFILES= access.conf pam_env.conf group.conf time.conf
|
|
|
|
CONF_FILES= ${EGDIR}/pam.conf ${PKG_SYSCONFBASE}/pam.conf
|
|
|
|
.for FILE in ${CFILES}
|
|
|
|
CONF_FILES+= ${EGDIR}/${FILE} ${PKG_SYSCONFDIR}/${FILE}
|
|
|
|
.endfor
|
2000-10-21 20:41:54 +02:00
|
|
|
|
|
|
|
post-install:
|
2002-01-29 18:10:10 +01:00
|
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/conf/pam.conf ${EGDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/modules/pam_access/access.conf ${EGDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/modules/pam_env/pam_env.conf-example \
|
|
|
|
${EGDIR}/pam_env.conf
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/modules/pam_group/group.conf ${EGDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/modules/pam_time/time.conf ${EGDIR}
|
|
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
2000-10-21 20:41:54 +02:00
|
|
|
|
2002-12-23 22:23:56 +01:00
|
|
|
.include "../../databases/db/buildlink2.mk"
|
2002-08-25 20:38:05 +02:00
|
|
|
.include "../../security/libcrack/buildlink2.mk"
|
2000-10-21 20:41:54 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|