From owner-svn-ports-head@FreeBSD.ORG Fri Oct 26 23:54:32 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CD6A173A; Fri, 26 Oct 2012 23:54:32 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B2C778FC08; Fri, 26 Oct 2012 23:54:32 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9QNsWo8035006; Fri, 26 Oct 2012 23:54:32 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9QNsW1H035003; Fri, 26 Oct 2012 23:54:32 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201210262354.q9QNsW1H035003@svn.freebsd.org> From: Baptiste Daroussin Date: Fri, 26 Oct 2012 23:54:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r306478 - 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.14 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: Fri, 26 Oct 2012 23:54:33 -0000 Author: bapt Date: Fri Oct 26 23:54:32 2012 New Revision: 306478 URL: http://svn.freebsd.org/changeset/ports/306478 Log: - 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 Feature safe: yes Deleted: head/security/authforce/files/ head/security/authforce/pkg-plist Modified: head/security/authforce/Makefile head/security/authforce/pkg-descr Modified: head/security/authforce/Makefile ============================================================================== --- head/security/authforce/Makefile Fri Oct 26 23:32:25 2012 (r306477) +++ head/security/authforce/Makefile Fri Oct 26 23:54:32 2012 (r306478) @@ -1,38 +1,63 @@ -# Ports collection makefile for: authforce -# Date created: 08.05.2002 -# Whom: ache -# +# Created by: ache # $FreeBSD$ -# PORTNAME= authforce PORTVERSION= 0.9.9 CATEGORIES= security www -MASTER_SITES= http://www.divineinvasion.net/authforce/ +MASTER_SITES= http://cloud.github.com/downloads/zlandau/authforce/ MAINTAINER= ports@FreeBSD.org COMMENT= HTTP authentication brute forcer -DEPRECATED= No more public distfiles -EXPIRATION_DATE= 2012-10-20 +LICENSE= GPLv2 -LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl +OPTIONS_DEFINE= CURL NLS -CONFIGURE_ENV= LIBS="-lintl" -LDFLAGS+= -L${LOCALBASE}/lib -CPPFLAGS+= -I${LOCALBASE}/include +USE_NCURSES= yes +#USE_READLINE= yes GNU_CONFIGURE= yes USE_BZIP2= yes -USE_GETTEXT= yes +MAKE_JOBS_SAFE= yes +NO_CCACHE= yes -INFO= authforce -MAN1= authforce.1 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 + +.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 +.else +CONFIGURE_ARGS+= --disable-nls +.endif post-patch: - @${REINPLACE_CMD} -e '/#include /d' ${WRKSRC}/src/methods.c ${WRKSRC}/src/misc.c - @${REINPLACE_CMD} -e 's|#include |#include |' ${WRKSRC}/src/extract.c - @${REINPLACE_CMD} -e '/^pwlistsdir = / s|/data$$||' ${WRKSRC}/data/Makefile.in - @${REINPLACE_CMD} -e '//d' ${WRKSRC}/src/http.c + @${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 .include Modified: head/security/authforce/pkg-descr ============================================================================== --- head/security/authforce/pkg-descr Fri Oct 26 23:32:25 2012 (r306477) +++ head/security/authforce/pkg-descr Fri Oct 26 23:54:32 2012 (r306478) @@ -5,4 +5,4 @@ and common username/password pairs. It i of your site and to prove the insecurity of HTTP authentication based on the fact that users just don't pick good passwords. -WWW: http://www.divineinvasion.net/authforce/ +WWW: https://github.com/zlandau/authforce