security/obfsproxy: Unbreak; Rename to security/py-obfsproxy-tor
Port changes:
* Unbreak: removed unnecessary lines in setup.py that were failing
* Changed MASTER_SITES to CHEESESHOP
* Added PKGNAMEPREFIX as every python port should have
* Added PKGNAMESUFFIX=-tor to easily identify as being for Tor
* Added LICENSE_FILE
* Deleted pkg-plist
* Added USE_PYTHON=autoplist instead of pkg-plist
* Added USE_PYTHON=noflavors (an app)
* Added NO_ARCH
* Updated WWW
Approved by: tcberner (mentor, implicit)
Approved by: portmgr (port compliance, infrastructure)
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above )
security/obfsproxy: Make argparse a conditional dependency
Backport a patch to setup.py making argparse a conditional dependency
to fix the following error at runtime:
pkg_resources.DistributionNotFound: The 'argparse' distribution was not found
and is required by obfsproxy
While I'm here, pet portlint, USE_* comes before USES. Bump PORTREVISION.
PR: 223320
Submitted by: cpm
Reported by: Hadi <rezaee.hadi@gmail.com>
Approved by: cs (maintainer timeout, 2 weeks)
Remove dependency on devel/py-argparse which is expired and included in
Python 2.7+ / 3.2+ by default.
sysutils/osquery fails to build because of C++ errors.
New USES=twisted, to replace the old USE_TWISTED knob.
twisted can be configured with the arguments run or build to replace
the previous USE_TWISTED_RUN and USE_TWISTED_BUILD knobs. The twisted
components can be added as comma-separated arguments. If you previously
wrote
USE_TWISTED= yes
USE_TWISTED= conch names
USE_TWISTED_RUN= yes
you now would write
USES= twisted
USES= twisted:conch,names
USES= twisted:run
obfsproxy is a tool that attempts to circumvent censorship, by transforming the
Tor traffic between the client and the bridge. This way, censors, who usually
monitor traffic between the client and the bridge, will see innocent-looking
transformed traffic instead of the actual Tor traffic.
WWW: https://www.torproject.org/projects/obfsproxy.html.en
Approved by: glarkin@ (mentor)