2012-04-05 06:55:42 +02:00
|
|
|
# $NetBSD: Makefile,v 1.12 2012/04/05 04:55:42 obache Exp $
|
2007-01-08 06:49:01 +01:00
|
|
|
|
2011-10-17 10:47:51 +02:00
|
|
|
DISTNAME= pam_af-1.0.2
|
2007-01-08 06:49:01 +01:00
|
|
|
PKGNAME= ${DISTNAME:S/_/-/}
|
2012-01-24 10:10:50 +01:00
|
|
|
PKGREVISION= 1
|
2007-01-08 06:49:01 +01:00
|
|
|
CATEGORIES= security
|
|
|
|
MASTER_SITES= http://mbsd.msk.ru/dist/
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
MAINTAINER= obache@NetBSD.org
|
|
|
|
HOMEPAGE= http://mbsd.msk.ru/stas/pam_af.html
|
|
|
|
COMMENT= Anti-bruteforce PAM module
|
2010-05-17 04:55:18 +02:00
|
|
|
LICENSE= 2-clause-bsd
|
2007-01-08 06:49:01 +01:00
|
|
|
|
2008-06-12 04:14:13 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2011-10-17 11:38:25 +02:00
|
|
|
SUBST_CLASSES+= pkgvar
|
|
|
|
SUBST_STAGE.pkgvar= post-configure
|
|
|
|
SUBST_MESSAGE.pkgvar= replace hard-coded paths
|
|
|
|
SUBST_FILES.pkgvar= common/pam_af.h
|
|
|
|
SUBST_SED.pkgvar= -e 's|/var/|${VARBASE}/|g'
|
|
|
|
SUBST_SED.pkgvar+= -e 's|/etc/|${PKG_SYSCONFDIR}/|g'
|
|
|
|
|
|
|
|
BUILD_DEFS+= VARBASE
|
|
|
|
MAKE_DIRS+= ${VARBASE}/db
|
|
|
|
|
2012-04-05 06:55:42 +02:00
|
|
|
BUILDLINK_TRANSFORM+= rm:-Wcast-qual
|
|
|
|
|
2011-03-23 08:49:47 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
2007-01-08 06:49:01 +01:00
|
|
|
|
|
|
|
.if ${OPSYS} == "Linux"
|
2011-10-17 10:47:51 +02:00
|
|
|
.include "../../databases/gdbm_compat/buildlink3.mk"
|
2007-01-08 06:49:01 +01:00
|
|
|
.endif
|
|
|
|
.include "../../mk/pam.buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|