Date: Fri, 29 Nov 2013 09:51:02 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r335156 - in head/security/wapiti: . files Message-ID: <201311290951.rAT9p20a076917@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> 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.")
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311290951.rAT9p20a076917>