- Stage support

- Use PYDISTUTILS_AUTOPLIST
- Fix RUN_DEPENDS
This commit is contained in:
Antoine Brodin 2014-02-17 18:45:43 +00:00
parent 775ae2ad79
commit ccd8ad982f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344815
2 changed files with 6 additions and 36 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= sslstrip
PORTVERSION= 0.9
PORTREVISION= 1
CATEGORIES= security python
MASTER_SITES= http://www.thoughtcrime.org/software/sslstrip/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -10,9 +11,11 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= kitchetech@gmail.com
COMMENT= Python program for SSL stripping
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openssl>=0:${PORTSDIR}/security/py-openssl \
${PYTHON_PKGNAMEPREFIX}twistedWeb>=0:${PORTSDIR}/www/py-twistedWeb
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= sslstrip
RUN_DEPENDS = ${LOCALBASE}/lib/python2.7/site-packages/twisted/web:${PORTSDIR}/www/py-twistedWeb
NO_STAGE= yes
PYDISTUTILS_AUTOPLIST= yes
.include <bsd.port.mk>

View file

@ -1,33 +0,0 @@
bin/sslstrip
%%PYTHON_SITELIBDIR%%/sslstrip/ClientRequest.py
%%PYTHON_SITELIBDIR%%/sslstrip/ClientRequest.pyc
%%PYTHON_SITELIBDIR%%/sslstrip/ClientRequest.pyo
%%PYTHON_SITELIBDIR%%/sslstrip/CookieCleaner.py
%%PYTHON_SITELIBDIR%%/sslstrip/CookieCleaner.pyc
%%PYTHON_SITELIBDIR%%/sslstrip/CookieCleaner.pyo
%%PYTHON_SITELIBDIR%%/sslstrip/SSLServerConnection.py
%%PYTHON_SITELIBDIR%%/sslstrip/SSLServerConnection.pyc
%%PYTHON_SITELIBDIR%%/sslstrip/SSLServerConnection.pyo
%%PYTHON_SITELIBDIR%%/sslstrip/ServerConnection.py
%%PYTHON_SITELIBDIR%%/sslstrip/ServerConnection.pyc
%%PYTHON_SITELIBDIR%%/sslstrip/ServerConnection.pyo
%%PYTHON_SITELIBDIR%%/sslstrip/ServerConnectionFactory.py
%%PYTHON_SITELIBDIR%%/sslstrip/ServerConnectionFactory.pyc
%%PYTHON_SITELIBDIR%%/sslstrip/ServerConnectionFactory.pyo
%%PYTHON_SITELIBDIR%%/sslstrip/StrippingProxy.py
%%PYTHON_SITELIBDIR%%/sslstrip/StrippingProxy.pyc
%%PYTHON_SITELIBDIR%%/sslstrip/StrippingProxy.pyo
%%PYTHON_SITELIBDIR%%/sslstrip/URLMonitor.py
%%PYTHON_SITELIBDIR%%/sslstrip/URLMonitor.pyc
%%PYTHON_SITELIBDIR%%/sslstrip/URLMonitor.pyo
%%PYTHON_SITELIBDIR%%/sslstrip/DnsCache.py
%%PYTHON_SITELIBDIR%%/sslstrip/DnsCache.pyc
%%PYTHON_SITELIBDIR%%/sslstrip/DnsCache.pyo
%%PYTHON_SITELIBDIR%%/sslstrip/__init__.py
%%PYTHON_SITELIBDIR%%/sslstrip/__init__.pyc
%%PYTHON_SITELIBDIR%%/sslstrip/__init__.pyo
%%DATADIR%%/COPYING
%%DATADIR%%/README
%%DATADIR%%/lock.ico
@dirrm %%DATADIR%%
@dirrm %%PYTHON_SITELIBDIR%%/sslstrip