From owner-svn-ports-head@FreeBSD.ORG Fri Nov 29 09:51:03 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7B6F7F4E; Fri, 29 Nov 2013 09:51:03 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6805B1AB9; Fri, 29 Nov 2013 09:51:03 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAT9p3Kq076925; Fri, 29 Nov 2013 09:51:03 GMT (envelope-from antoine@svn.freebsd.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAT9p20a076917; Fri, 29 Nov 2013 09:51:02 GMT (envelope-from antoine@svn.freebsd.org) Message-Id: <201311290951.rAT9p20a076917@svn.freebsd.org> From: Antoine Brodin Date: Fri, 29 Nov 2013 09:51:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r335156 - in head/security/wapiti: . 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.16 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, 29 Nov 2013 09:51:03 -0000 Author: antoine Date: Fri Nov 29 09:51:02 2013 New Revision: 335156 URL: http://svnweb.freebsd.org/changeset/ports/335156 Log: - Update to 2.3.0 - Add LICENSE - Take maintainership - Stage support Changelog: http://wapiti.sourceforge.net/ChangeLog_Wapiti Approved by: jadawin (previous maintainer) Added: head/security/wapiti/files/ head/security/wapiti/files/patch-setup.py (contents, props changed) head/security/wapiti/files/patch-wapitiCore__language__language.py (contents, props changed) Modified: head/security/wapiti/Makefile head/security/wapiti/distinfo Modified: head/security/wapiti/Makefile ============================================================================== --- head/security/wapiti/Makefile Fri Nov 29 09:35:27 2013 (r335155) +++ head/security/wapiti/Makefile Fri Nov 29 09:51:02 2013 (r335156) @@ -2,34 +2,22 @@ # $FreeBSD$ PORTNAME= wapiti -PORTVERSION= 1.1.6 -PORTREVISION= 1 +PORTVERSION= 2.3.0 CATEGORIES= security MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} -MAINTAINER= jadawin@FreeBSD.org +MAINTAINER= antoine@FreeBSD.org COMMENT= Wapiti is a vulnerability scanner for web applications -RUN_DEPENDS= ${PYTHON_SITELIBDIR}/tidy:${PORTSDIR}/www/py-utidy +LICENSE= GPLv2 -USE_PYTHON= 2.5+ -NO_BUILD= yes -PORTDOCS= README - -PLIST_FILES= bin/wapiti.py \ - bin/lswww.py \ - bin/getcookie.py \ - bin/cookie.py \ - bin/BeautifulSoup.py - -NO_STAGE= yes -do-install: -.for i in wapiti.py lswww.py getcookie.py cookie.py BeautifulSoup.py - ${INSTALL_SCRIPT} ${WRKSRC}/${i} ${PREFIX}/bin/ -.endfor -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} -.endif +# easy_install puts man page and doc in the egg, so use install with setuptools +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:${PORTSDIR}/devel/py-setuptools +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup32>=0:${PORTSDIR}/www/py-beautifulsoup32 \ + ${PYTHON_PKGNAMEPREFIX}requests>=1.2.3:${PORTSDIR}/www/py-requests + +USE_PYTHON= -2.7 +USE_PYDISTUTILS=yes +PYDISTUTILS_AUTOPLIST=yes .include Modified: head/security/wapiti/distinfo ============================================================================== --- head/security/wapiti/distinfo Fri Nov 29 09:35:27 2013 (r335155) +++ head/security/wapiti/distinfo Fri Nov 29 09:51:02 2013 (r335156) @@ -1,2 +1,2 @@ -SHA256 (wapiti-1.1.6.tar.gz) = cb9fb6b969d01e84e953235f7e7554fee62916aaf3215a1abd4455a0efecbaed -SIZE (wapiti-1.1.6.tar.gz) = 51200 +SHA256 (wapiti-2.3.0.tar.gz) = 6b836a4810f17b7eda4345fb12293112129961ba243140c72a8da0ac2572f4b4 +SIZE (wapiti-2.3.0.tar.gz) = 305739 Added: head/security/wapiti/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/wapiti/files/patch-setup.py Fri Nov 29 09:51:02 2013 (r335156) @@ -0,0 +1,11 @@ +--- ./setup.py.orig 2013-10-20 12:04:17.000000000 +0000 ++++ ./setup.py 2013-11-28 19:47:25.000000000 +0000 +@@ -14,7 +14,7 @@ + "README", + "TODO", + "VERSION"])) +-doc_and_conf_files.append(("share/man/man1", ["doc/wapiti.1.gz"])) ++doc_and_conf_files.append(("man/man1", ["doc/wapiti.1.gz"])) + + # Main + setup( Added: head/security/wapiti/files/patch-wapitiCore__language__language.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/wapiti/files/patch-wapitiCore__language__language.py Fri Nov 29 09:51:02 2013 (r335156) @@ -0,0 +1,12 @@ +--- ./wapitiCore/language/language.py.orig 2013-10-02 19:36:32.000000000 +0000 ++++ ./wapitiCore/language/language.py 2013-11-28 19:46:44.000000000 +0000 +@@ -55,7 +55,8 @@ + # if lang is not specified, default language is used + defLocale = locale.getdefaultlocale() + langCounty = defLocale[0] # en_UK +- lang = langCounty[:2] # en ++ if langCounty is not None: ++ lang = langCounty[:2] # en + if lang not in self.AVAILABLE_LANGS: + # if lang is not one of the supported languages, we use english + print("Oups! No translations found for your language... Using english.")