From owner-svn-ports-head@FreeBSD.ORG Sat May 17 08:36:16 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 118003B1; Sat, 17 May 2014 08:36:16 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F2FF32C60; Sat, 17 May 2014 08:36:15 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4H8aFpj032477; Sat, 17 May 2014 08:36:15 GMT (envelope-from miwi@svn.freebsd.org) Received: (from miwi@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4H8aFuO032475; Sat, 17 May 2014 08:36:15 GMT (envelope-from miwi@svn.freebsd.org) Message-Id: <201405170836.s4H8aFuO032475@svn.freebsd.org> From: Martin Wilke Date: Sat, 17 May 2014 08:36:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r354294 - in head/security/authforce: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 May 2014 08:36:16 -0000 Author: miwi Date: Sat May 17 08:36:15 2014 New Revision: 354294 URL: http://svnweb.freebsd.org/changeset/ports/354294 QAT: https://qat.redports.org/buildarchive/r354294/ Log: - Support USE_GITHUB - Fix info file - Options helper PR: 187752 Submitted by: Ports Fury Added: head/security/authforce/files/ head/security/authforce/files/patch-doc__authforce.texi (contents, props changed) Modified: head/security/authforce/Makefile Modified: head/security/authforce/Makefile ============================================================================== --- head/security/authforce/Makefile Sat May 17 08:24:25 2014 (r354293) +++ head/security/authforce/Makefile Sat May 17 08:36:15 2014 (r354294) @@ -3,60 +3,54 @@ PORTNAME= authforce PORTVERSION= 0.9.9 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= security www -MASTER_SITES= http://cloud.github.com/downloads/zlandau/authforce/ +MASTER_SITES= GHC MAINTAINER= ports@FreeBSD.org COMMENT= HTTP authentication brute forcer LICENSE= GPLv2 -OPTIONS_DEFINE= CURL NLS +NO_CCACHE= yes + +WRKSRC= ${WRKDIR}/${DISTNAME} -USES= ncurses readline +USE_GITHUB= yes +GH_ACCOUNT= zlandau + +USES= ncurses readline tar:bzip2 GNU_CONFIGURE= yes -USE_BZIP2= yes -NO_CCACHE= yes + +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib INFO= authforce PLIST_FILES= bin/authforce \ + man/man1/authforce.1.gz \ %%DATADIR%%/blank.lst \ %%DATADIR%%/dummy.lst \ %%DATADIR%%/password.lst \ %%DATADIR%%/username.lst \ - %%DATADIR%%/userpass.lst \ - man/man1/authforce.1.gz - + %%DATADIR%%/userpass.lst PLIST_DIRS= %%DATADIR%% -.include +OPTIONS_DEFINE= CURL NLS -.if ${PORT_OPTIONS:MCURL} -LIB_DEPENDS+= curl:${PORTSDIR}/ftp/curl -.else -CONFIGURE_ARGS+= --without-curl -.endif - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -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 +CURL_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl +CURL_CONFIGURE_WITH= curl +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls +NLS_PLIST_FILES= share/locale/nl/LC_MESSAGES/authforce.mo 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 \ - '//d' ${WRKSRC}/src/http.c -.for i in extract.c methods.c misc.c - @${REINPLACE_CMD} -e \ - 's|||' ${WRKSRC}/src/${i} -.endfor + @${FIND} ${WRKSRC}/src -name "*.c" | ${XARGS} ${REINPLACE_CMD} -e \ + 's|^\(#include \)|/* \1 */| ; \ + s|^\(#include \)|/* \1 */|' .include Added: head/security/authforce/files/patch-doc__authforce.texi ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/authforce/files/patch-doc__authforce.texi Sat May 17 08:36:15 2014 (r354294) @@ -0,0 +1,12 @@ +--- doc/authforce.texi.orig ++++ doc/authforce.texi +@@ -2,6 +2,9 @@ + @c %**start of header + @setfilename authforce.info + @settitle Authforce ++@direntry ++* Authforce: (authforce). HTTP authentification brute forcer. ++@end direntry + @c %**end of header + + @setchapternewpage odd