aboutsummaryrefslogtreecommitdiff
path: root/security/authforce/Makefile
blob: 04fb3057f307a158ff8d721e9cd056cdc4fc1ace (plain) (blame)
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
# Ports collection makefile for:  authforce
# Date created:                   08.05.2002
# Whom:                           ache
#
# $FreeBSD$
#

PORTNAME=	authforce
PORTVERSION=	0.9.9
CATEGORIES=	security www
MASTER_SITES=	http://www.divineinvasion.net/authforce/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	HTTP authentication brute forcer

LIB_DEPENDS=	curl.6:${PORTSDIR}/ftp/curl

CONFIGURE_ENV=	LDFLAGS="-L${LOCALBASE}/lib" LIBS="-lintl"
CPPFLAGS+=	-I${LOCALBASE}/include
GNU_CONFIGURE=	yes
USE_BZIP2=	yes
USE_GETTEXT=	yes

INFO=		authforce
MAN1=		authforce.1
MANCOMPRESSED=	yes

post-patch:
	@${REINPLACE_CMD} -e '/#include <malloc.h>/d' ${WRKSRC}/src/methods.c ${WRKSRC}/src/misc.c
	@${REINPLACE_CMD} -e 's|#include <malloc.h>|#include <stdlib.h>|' ${WRKSRC}/src/extract.c
	@${REINPLACE_CMD} -e '/^pwlistsdir = / s|/data$$||' ${WRKSRC}/data/Makefile.in

.include <bsd.port.mk>