head	1.25;
access;
symbols
	RELEASE_8_3_0:1.21
	RELEASE_9_0_0:1.20
	RELEASE_7_4_0:1.17
	RELEASE_8_2_0:1.17
	RELEASE_6_EOL:1.17
	RELEASE_8_1_0:1.17
	RELEASE_7_3_0:1.15
	RELEASE_8_0_0:1.15
	RELEASE_7_2_0:1.15
	RELEASE_7_1_0:1.14
	RELEASE_6_4_0:1.14
	RELEASE_5_EOL:1.13
	RELEASE_7_0_0:1.12
	RELEASE_6_3_0:1.12
	PRE_XORG_7:1.12
	RELEASE_4_EOL:1.12
	RELEASE_6_2_0:1.11
	RELEASE_6_1_0:1.11
	RELEASE_5_5_0:1.11
	RELEASE_6_0_0:1.9
	RELEASE_5_4_0:1.9
	RELEASE_4_11_0:1.9
	RELEASE_5_3_0:1.9
	RELEASE_4_10_0:1.8
	RELEASE_5_2_1:1.6
	RELEASE_5_2_0:1.6
	RELEASE_4_9_0:1.6
	RELEASE_5_1_0:1.3
	RELEASE_4_8_0:1.3
	RELEASE_5_0_0:1.2
	RELEASE_4_7_0:1.2
	RELEASE_4_6_2:1.1
	RELEASE_4_6_1:1.1
	RELEASE_4_6_0:1.1;
locks; strict;
comment	@# @;


1.25
date	2012.11.17.06.01.00;	author svnexp;	state Exp;
branches;
next	1.24;

1.24
date	2012.11.05.22.30.28;	author adamw;	state Exp;
branches;
next	1.23;

1.23
date	2012.10.26.23.54.32;	author bapt;	state Exp;
branches;
next	1.22;

1.22
date	2012.09.21.10.07.33;	author bapt;	state Exp;
branches;
next	1.21;

1.21
date	2012.03.08.08.04.10;	author sunpoet;	state Exp;
branches;
next	1.20;

1.20
date	2011.09.23.22.25.08;	author amdmi3;	state Exp;
branches;
next	1.19;

1.19
date	2011.09.01.16.54.01;	author sunpoet;	state Exp;
branches;
next	1.18;

1.18
date	2011.08.30.07.41.44;	author ache;	state Exp;
branches;
next	1.17;

1.17
date	2010.05.31.02.00.47;	author ade;	state Exp;
branches;
next	1.16;

1.16
date	2010.04.03.10.44.29;	author roam;	state Exp;
branches;
next	1.15;

1.15
date	2009.01.23.15.43.07;	author roam;	state Exp;
branches;
next	1.14;

1.14
date	2008.06.06.14.00.46;	author edwin;	state Exp;
branches;
next	1.13;

1.13
date	2008.03.20.10.03.39;	author pav;	state Exp;
branches;
next	1.12;

1.12
date	2006.12.13.12.41.33;	author roam;	state Exp;
branches;
next	1.11;

1.11
date	2005.12.04.10.58.18;	author edwin;	state Exp;
branches;
next	1.10;

1.10
date	2005.11.14.21.09.39;	author ache;	state Exp;
branches;
next	1.9;

1.9
date	2004.06.03.22.41.39;	author roam;	state Exp;
branches;
next	1.8;

1.8
date	2004.02.04.04.36.23;	author marcus;	state Exp;
branches;
next	1.7;

1.7
date	2004.01.23.18.12.19;	author trevor;	state Exp;
branches;
next	1.6;

1.6
date	2003.08.26.20.25.54;	author marcus;	state Exp;
branches;
next	1.5;

1.5
date	2003.08.25.05.41.34;	author marcus;	state Exp;
branches;
next	1.4;

1.4
date	2003.07.14.02.53.02;	author sf;	state Exp;
branches;
next	1.3;

1.3
date	2003.03.07.06.10.38;	author ade;	state Exp;
branches;
next	1.2;

1.2
date	2002.08.01.16.22.33;	author ade;	state Exp;
branches;
next	1.1;

1.1
date	2002.05.08.09.43.25;	author ache;	state Exp;
branches;
next	;


desc
@@


1.25
log
@Switch exporter over
@
text
@# Created by: ache
# $FreeBSD: head/security/authforce/Makefile 307042 2012-11-05 22:30:28Z adamw $

PORTNAME=	authforce
PORTVERSION=	0.9.9
PORTREVISION=	1
CATEGORIES=	security www
MASTER_SITES=	http://cloud.github.com/downloads/zlandau/authforce/

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

LICENSE=	GPLv2

OPTIONS_DEFINE=	CURL NLS

USE_NCURSES=	yes
#USE_READLINE=	yes
GNU_CONFIGURE=	yes
USE_BZIP2=	yes
MAKE_JOBS_SAFE=	yes
NO_CCACHE=	yes

MANCOMPRESSED=	yes
MAN1=		authforce.1
INFO=		authforce

PLIST_FILES=	bin/authforce \
		%%DATADIR%%/blank.lst \
		%%DATADIR%%/dummy.lst \
		%%DATADIR%%/password.lst \
		%%DATADIR%%/username.lst \
		%%DATADIR%%/userpass.lst

PLIST_DIRS=	%%DATADIR%%

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MCURL}
LIB_DEPENDS+=	curl:${PORTSDIR}/ftp/curl
.else
CONFIGURE_ARGS+=	--without-curl
.endif

.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT=	yes
PLIST_FILES+=	share/locale/nl/LC_MESSAGES/authforce.mo
CONFIGURE_ENV+=	CPPFLAGS=-I${PREFIX}/include LDFLAGS=-L${PREFIX}/lib
.else
CONFIGURE_ARGS+=	--disable-nls
.endif

post-patch:
	@@${REINPLACE_CMD} -e \
		'/^pwlistsdir = / s|/data$$||' ${WRKSRC}/data/Makefile.in
	@@${REINPLACE_CMD} -e \
		'/^mangdir = / s|/mang$$|/man1|' ${WRKSRC}/doc/Makefile.in
	@@${REINPLACE_CMD} -e \
		'/<curl\/types.h>/d' ${WRKSRC}/src/http.c
.for i in extract.c methods.c misc.c
	@@${REINPLACE_CMD} -e \
		's|<malloc.h>|<stdlib.h>|' ${WRKSRC}/src/${i}
.endfor

.include <bsd.port.mk>
@


1.24
log
@SVN rev 307042 on 2012-11-05 22:30:28Z by adamw

Force NLS support with a very broken autotools configure. This fixes
package building. PORTREVISION bump for plist change if NLS enabled.

Feature safe:	yes
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.23
log
@SVN rev 306478 on 2012-10-26 23:54:32Z by bapt

- Update MASTER_SITES and WWW: line
- Add LICENSE
- Add MAKE_JOBS_SAFE
- Support PLIST_FILES

Remove file:
files/patch-ad
pkg-plist

Comment for now USE_READLINE as it is buggy

PR:		ports/172053
Submitted by:	KATO Tsuguru <tkato432@@yahoo.com>
Feature safe:	yes
@
text
@d6 1
d48 1
@


1.22
log
@SVN rev 304618 on 2012-09-21 10:07:33Z by bapt

Deprecate a bunch a ports with no more public distfiles (thanks ehaupt's distilator)
@
text
@d1 1
a1 4
# Ports collection makefile for:  authforce
# Date created:                   08.05.2002
# Whom:                           ache
#
a2 1
#
d7 1
a7 1
MASTER_SITES=	http://www.divineinvasion.net/authforce/
d12 1
a12 2
DEPRECATED=	No more public distfiles
EXPIRATION_DATE=	2012-10-20
d14 1
a14 1
LIB_DEPENDS=	curl.6:${PORTSDIR}/ftp/curl
d16 2
a17 3
CONFIGURE_ENV=	LIBS="-lintl"
LDFLAGS+=	-L${LOCALBASE}/lib
CPPFLAGS+=	-I${LOCALBASE}/include
d20 2
a21 1
USE_GETTEXT=	yes
d23 2
d26 24
a49 2
MAN1=		authforce.1
MANCOMPRESSED=	yes
d52 10
a61 4
	@@${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
	@@${REINPLACE_CMD} -e '/<curl\/types.h>/d' ${WRKSRC}/src/http.c
@


1.21
log
@- Fix build with curl 7.24.0: curl/types.h was removed (unused since Apr 2004)

Submitted by:	sunpoet (myself)
Tested by:	exp-run by linimon
Approved by:	linimon (with portmgr hat)
@
text
@d16 3
@


1.20
log
@- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
@
text
@d33 1
@


1.19
log
@- Update to 0.9.9
@
text
@d18 2
a19 1
CONFIGURE_ENV=	LDFLAGS="-L${LOCALBASE}/lib" LIBS="-lintl"
@


1.18
log
@Remove myself from MAINTAINER
@
text
@d9 1
a9 2
PORTVERSION=	0.9.6
PORTREVISION=	9
d18 3
a22 4
GNU_CONFIGURE=	yes
CONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib" \
		LIBS="-lintl"
d24 1
d27 5
a31 1
INFO=		authforce
@


1.17
log
@Bounce PORTREVISION for gettext-related ports.  Have fun, ya'll.
@
text
@d14 1
a14 1
MAINTAINER=	ache@@FreeBSD.org
@


1.16
log
@Chase the ftp/curl shlib version bump.
@
text
@d10 1
a10 1
PORTREVISION=	8
@


1.15
log
@Bump the version of the curl shared library after the ftp/curl update
to 7.19.2.
Bump PORTREVISION, even on the ports that do not have a versioned
dependency, since the binaries will most probably still stop working.
@
text
@d10 1
a10 1
PORTREVISION=	7
d17 1
a17 1
LIB_DEPENDS=	curl.5:${PORTSDIR}/ftp/curl
@


1.14
log
@Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@@
Approved by:    portmgr (pav)
@
text
@d10 1
a10 1
PORTREVISION=	6
d17 1
a17 1
LIB_DEPENDS=	curl.4:${PORTSDIR}/ftp/curl
@


1.13
log
@- Remove USE_GETOPT_LONG which is a no-op since March 2007
@
text
@d10 1
a10 1
PORTREVISION=	5
@


1.12
log
@Update the ftp/curl port to 7.16.0.
Bump PORTREVISION of all dependent ports.
Fix the build errors in the few ports that still use the long deprecated,
and now obsoleted, cURL options.

Thanks to everyone who took the time to look over the patch!

Discussed on:	-ports
@
text
@a19 1
USE_GETOPT_LONG=yes
@


1.11
log
@Add INFO macro
@
text
@d10 1
a10 1
PORTREVISION=	4
d17 1
a17 1
LIB_DEPENDS=	curl.3:${PORTSDIR}/ftp/curl
@


1.10
log
@Website moved
@
text
@d29 1
@


1.9
log
@Update ftp/curl to 7.12.0 and bump the shared library version in all
dependent ports.
@
text
@d3 1
a3 1
# Whom:                           Andrey A. Chernov <ache@@freebsd.org>
d12 1
a12 1
MASTER_SITES=	http://kapheine.hypa.net/authforce/
@


1.8
log
@Add USE_GETTEXT and bump PORTREVISION.

Submitted by:	trevor
Tested by:	bento
@
text
@d10 1
a10 1
PORTREVISION=	3
d17 1
a17 1
LIB_DEPENDS=	curl.2:${PORTSDIR}/ftp/curl
@


1.7
log
@Now gettext 0.12.1 is gettext-old.
@
text
@d10 1
a10 1
PORTREVISION=	2
d17 1
a17 2
LIB_DEPENDS=	curl.2:${PORTSDIR}/ftp/curl \
		intl.5:${PORTSDIR}/devel/gettext-old
d21 1
@


1.6
log
@Bump the PORTREVISION for the ports directly affected by the gettext upgrade.

Prodded by:	kris
@
text
@d18 1
a18 1
		intl.5:${PORTSDIR}/devel/gettext
@


1.5
log
@Chase the libintl.so shared lib version.
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.4
log
@get rid of libgnugetopt dependency for -CURRENT,
use USE_GETOPT_LONG instead.
@
text
@d18 1
a18 1
		intl.4:${PORTSDIR}/devel/gettext
@


1.3
log
@Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
@
text
@d8 5
a12 4
PORTNAME=       authforce
PORTVERSION=    0.9.6
CATEGORIES=     security www
MASTER_SITES=   http://kapheine.hypa.net/authforce/
d14 1
a14 1
MAINTAINER=     ache@@FreeBSD.org
d17 1
a17 2
LIB_DEPENDS=    gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
		curl.2:${PORTSDIR}/ftp/curl \
d20 4
a23 4
USE_BZIP2=      yes

GNU_CONFIGURE=  yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
d25 1
a25 1
		LIBS="-lgnugetopt -lintl"
d27 2
a28 2
MAN1=           authforce.1
MANCOMPRESSED=  yes
@


1.2
log
@Chase shlib rev of devel/gettext

Submitted by:	lots and lots
Pointy hat to:	ade
@
text
@d14 1
@


1.1
log
@Authforce is an HTTP authentication brute forcer.
@
text
@d17 1
a17 1
		intl.2:${PORTSDIR}/devel/gettext
@

