summaryrefslogtreecommitdiff
path: root/security/pam-af/Makefile
blob: 089a921f586350253b48c43807aee2cf9e297159 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $NetBSD: Makefile,v 1.13 2012/10/23 18:16:47 asau Exp $

DISTNAME=	pam_af-1.0.2
PKGNAME=	${DISTNAME:S/_/-/}
PKGREVISION=	1
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
LICENSE=	2-clause-bsd

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

BUILDLINK_TRANSFORM+=	rm:-Wcast-qual

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} == "Linux"
.include "../../databases/gdbm_compat/buildlink3.mk"
.endif
.include "../../mk/pam.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"