diff options
author | 2015-08-08 13:49:04 -0700 | |
---|---|---|
committer | 2015-08-08 17:38:18 -0700 | |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-proxy/obfsproxy | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-proxy/obfsproxy')
-rw-r--r-- | net-proxy/obfsproxy/Manifest | 3 | ||||
-rw-r--r-- | net-proxy/obfsproxy/files/obfsproxy-0.2.8-remove-argparse.patch | 11 | ||||
-rw-r--r-- | net-proxy/obfsproxy/files/obfsproxy-0.2.9-remove-argparse.patch | 11 | ||||
-rw-r--r-- | net-proxy/obfsproxy/files/obfsproxy.confd | 45 | ||||
-rw-r--r-- | net-proxy/obfsproxy/files/obfsproxy.initd | 58 | ||||
-rw-r--r-- | net-proxy/obfsproxy/metadata.xml | 11 | ||||
-rw-r--r-- | net-proxy/obfsproxy/obfsproxy-0.2.11.ebuild | 27 | ||||
-rw-r--r-- | net-proxy/obfsproxy/obfsproxy-0.2.12.ebuild | 27 | ||||
-rw-r--r-- | net-proxy/obfsproxy/obfsproxy-0.2.13.ebuild | 27 |
9 files changed, 220 insertions, 0 deletions
diff --git a/net-proxy/obfsproxy/Manifest b/net-proxy/obfsproxy/Manifest new file mode 100644 index 000000000000..48f61f1b7507 --- /dev/null +++ b/net-proxy/obfsproxy/Manifest @@ -0,0 +1,3 @@ +DIST obfsproxy-0.2.11.tar.gz 92478 SHA256 121a0e5869e5233e3130ab8355f9cda94bb366e845556cb03b5beb63fb26cb94 SHA512 305667c8a9d7050a8a2eb5e9d889607e25b4a1adf116bb7d1c078285f6e43b734c7e39d505993a3d7389ae2316b2ac026b89ee86a429599682fbd6335e4d21fd WHIRLPOOL ce205ea7179c82c4475cfcd509a57f832c9abcf14720924b744cf5e085d61dc162e905a42d1d0a8406c24ac5fdb34ac3691d5f992589c8f65b4cafd2eb10e767 +DIST obfsproxy-0.2.12.tar.gz 92513 SHA256 419a5b0ac138ea46e62a5bcfcf173d3346d2b8d5feb8d07c0616278e2aa74527 SHA512 fd4cb967200b188607327dda612ff5f6c59ccf18852b8229077c56e0b32696d6bedb26a89dbfbf2ea88f5d315500e94c88df14e530cb09f7df6838468f074058 WHIRLPOOL f711ab624dd410d8c114a8f565597db9ba3a493d41259c7e4fe7daaf59c7e0ae6ede27e090172bd3e31eb879f5123e3737849fded6b975db1131c7920ffecf1a +DIST obfsproxy-0.2.13.tar.gz 93435 SHA256 1e26c2faef1cfcf856ddf60e9647058a7c78fb0d47f05b58a0f847ed7cc41a66 SHA512 1ed4a70e932a71224f731f3bb5510e4d6ddc58e07ff7205bb9e627fd2848fd28d2c23c9b4c8813c2e7dd1b5c1713c09a23754966f2c60bd359028568e1de655b WHIRLPOOL 2ac34f5f495703df3fa3f44db33ab5f02fd7de609ec37e00e32360a1084f4abaf6860736a1a2c225f742349f03d374224f4e155ef8f6e9e93462fcf211e2638a diff --git a/net-proxy/obfsproxy/files/obfsproxy-0.2.8-remove-argparse.patch b/net-proxy/obfsproxy/files/obfsproxy-0.2.8-remove-argparse.patch new file mode 100644 index 000000000000..9c5051667669 --- /dev/null +++ b/net-proxy/obfsproxy/files/obfsproxy-0.2.8-remove-argparse.patch @@ -0,0 +1,11 @@ +diff -Naur obfsproxy-0.2.8.orig/setup.py obfsproxy-0.2.8/setup.py +--- obfsproxy-0.2.8.orig/setup.py 2014-03-27 13:24:39.000000000 -0400 ++++ obfsproxy-0.2.8/setup.py 2014-03-29 15:10:05.063283282 -0400 +@@ -32,7 +32,6 @@ + 'setuptools', + 'PyCrypto', + 'Twisted', +- 'argparse', + 'pyptlib >= 0.0.5', + 'pyyaml' + ], diff --git a/net-proxy/obfsproxy/files/obfsproxy-0.2.9-remove-argparse.patch b/net-proxy/obfsproxy/files/obfsproxy-0.2.9-remove-argparse.patch new file mode 100644 index 000000000000..ef3d28ecf75c --- /dev/null +++ b/net-proxy/obfsproxy/files/obfsproxy-0.2.9-remove-argparse.patch @@ -0,0 +1,11 @@ +diff -Naur obfsproxy-0.2.9.orig/setup.py obfsproxy-0.2.9/setup.py +--- obfsproxy-0.2.9.orig/setup.py 2014-05-01 14:37:27.000000000 -0400 ++++ obfsproxy-0.2.9/setup.py 2014-05-02 09:28:37.278675261 -0400 +@@ -32,7 +32,6 @@ + 'setuptools', + 'PyCrypto', + 'Twisted', +- 'argparse', + 'pyptlib >= 0.0.6', + 'pyyaml' + ], diff --git a/net-proxy/obfsproxy/files/obfsproxy.confd b/net-proxy/obfsproxy/files/obfsproxy.confd new file mode 100644 index 000000000000..f86d648c9ab8 --- /dev/null +++ b/net-proxy/obfsproxy/files/obfsproxy.confd @@ -0,0 +1,45 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# protocols ofbsproxy will obfuscate = obfs2 | dummy +PROTOCOL="obfs2" + +#options for PROTOCOLE="dummy" +# dummy <mode> <listen_address> [<target_address>] +# mode ~ server|client|socks +# listen_address, target_address ~ host:port +# target_address is required for server and client mode, and forbidden for socks mode. +# Examples: +# obfsproxy dummy socks 127.0.0.1:5000 +# obfsproxy dummy client 127.0.0.1:5000 192.168.1.99:11253 +# obfsproxy dummy server 192.168.1.99:11253 127.0.0.1:9005 + +#MODE="socks" +#LISTEN="127.0.0.1:5000" +#TARGET="127.0.0.1:9005" + + +#options for PROTOCOL="obfs2" +# obfs2 [obfs2_args] obfs2_opts +# 'obfs2_opts': +# mode ~ server|client|socks +# listen address ~ host:port +# 'obfs2_args': +# Destination Address ~ --dest=host:port +# Shared Secret ~ --shared-secret=<secret> +# Example: +# obfsproxy obfs2 --dest=127.0.0.1:666 --shared-secret=himitsu server 127.0.0.1:1026 + +MODE="server" +DESTINATION="127.0.0.1:666" +SECRET="changeme" +LISTEN="127.0.0.1:1026" + +#Logging +# --log-file=<file> ~ set logfile +# --log-min-severity=warn|notice|info|debug ~ set minimum logging severity (default: notice) +# --no-log ~ disable logging +# --no-safe-logging ~ disable safe (scrubbed address) logging + +LOGGING="--log-file=/var/log/obfsproxy.log --log-min-severity=warn" diff --git a/net-proxy/obfsproxy/files/obfsproxy.initd b/net-proxy/obfsproxy/files/obfsproxy.initd new file mode 100644 index 000000000000..fbdf6fc8f148 --- /dev/null +++ b/net-proxy/obfsproxy/files/obfsproxy.initd @@ -0,0 +1,58 @@ +#!/sbin/runscript +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +PIDFILE="/var/run/obfsproxy.pid" +DAEMON="/usr/bin/obfsproxy" + +depend() { + need net +} + +checkconfig() { + [[ "x${PROTOCOL}" = "x" ]] \ + && eerror "PROTOCOL not given" && return 1 + [[ "x${MODE}" = "x" ]] \ + && eerror "MODE not given" && return 1 + if [ ${PROTOCOL} = "dummy" ] ; then + [[ "x${LISTEN}" = "x" ]] \ + && eerror "No listen address was given" && return 1 + [[ "x${MODE}" = "xserver" && "x${TARGET}" = "x" ]] \ + && eerror "MODE=server but no target address was given" && return 1 + [[ "x${MODE}" = "xsocks" && "x${TARGET}" != "x" ]] \ + && eerror "MODE=sock but a target address was given" && return 1 + CMDLINE="${LOGGING} ${PROTOCOL} ${MODE} ${LISTEN} ${TARGET}" + elif [ ${PROTOCOL} = "obfs2" ] ; then + [[ "x${MODE}" = "xsocks" && "x${DESTINATION}" != "x" ]] \ + && eerror "MODE=sock but a destination address was given" && return 1 + [[ "x${LISTEN}" = "x" ]] \ + && eerror "LISTEN host:port was not given" && return 1 + [[ "x${DESTINATION}" != "x" ]] \ + && DESTINATION="--dest=${DESTINATION}" + [[ "x${SECRET}" != "x" ]] \ + && SECRET="--shared-secret=${SECRET}" + CMDLINE="${LOGGING} ${PROTOCOL} ${DESTINATION} ${SECRET} ${MODE} ${LISTEN}" + else + eerror "Unknown protocol ${PROTOCOL}" + return 1 + fi + return 0 +} + +start() { + checkconfig || return 1 + ebegin "Starting obfsproxy server" + start-stop-daemon --start \ + --background --make-pidfile --pidfile ${PIDFILE} \ + --exec ${DAEMON} -- ${CMDLINE} + eend $? +} + +stop() { + ebegin "Stopping obfsproxy server" + start-stop-daemon --stop \ + --pidfile ${PIDFILE} \ + --exec ${DAEMON} + eend $? +} diff --git a/net-proxy/obfsproxy/metadata.xml b/net-proxy/obfsproxy/metadata.xml new file mode 100644 index 000000000000..6a0f62fd3235 --- /dev/null +++ b/net-proxy/obfsproxy/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>blueness@gentoo.org</email> + <name>Anthony G. Basile</name> + </maintainer> + <upstream> + <remote-id type="pypi">obfsproxy</remote-id> + </upstream> +</pkgmetadata> diff --git a/net-proxy/obfsproxy/obfsproxy-0.2.11.ebuild b/net-proxy/obfsproxy/obfsproxy-0.2.11.ebuild new file mode 100644 index 000000000000..d212f2c34ff2 --- /dev/null +++ b/net-proxy/obfsproxy/obfsproxy-0.2.11.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="An obfuscating proxy using Tor's pluggable transport protocol" +HOMEPAGE="https://www.torproject.org/projects/obfsproxy.html" +SRC_URI="mirror://pypi/o/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~mips ~x86" + +DOCS=( ChangeLog INSTALL README TODO doc/HOWTO.txt ) + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" + +RDEPEND=">=dev-python/pyptlib-0.0.6[${PYTHON_USEDEP}] + >=dev-python/pycrypto-2.6-r2[${PYTHON_USEDEP}] + dev-python/twisted-core[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}]" + +PATCHES=( "${FILESDIR}"/${PN}-0.2.9-remove-argparse.patch ) diff --git a/net-proxy/obfsproxy/obfsproxy-0.2.12.ebuild b/net-proxy/obfsproxy/obfsproxy-0.2.12.ebuild new file mode 100644 index 000000000000..d212f2c34ff2 --- /dev/null +++ b/net-proxy/obfsproxy/obfsproxy-0.2.12.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="An obfuscating proxy using Tor's pluggable transport protocol" +HOMEPAGE="https://www.torproject.org/projects/obfsproxy.html" +SRC_URI="mirror://pypi/o/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~mips ~x86" + +DOCS=( ChangeLog INSTALL README TODO doc/HOWTO.txt ) + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" + +RDEPEND=">=dev-python/pyptlib-0.0.6[${PYTHON_USEDEP}] + >=dev-python/pycrypto-2.6-r2[${PYTHON_USEDEP}] + dev-python/twisted-core[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}]" + +PATCHES=( "${FILESDIR}"/${PN}-0.2.9-remove-argparse.patch ) diff --git a/net-proxy/obfsproxy/obfsproxy-0.2.13.ebuild b/net-proxy/obfsproxy/obfsproxy-0.2.13.ebuild new file mode 100644 index 000000000000..d212f2c34ff2 --- /dev/null +++ b/net-proxy/obfsproxy/obfsproxy-0.2.13.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="An obfuscating proxy using Tor's pluggable transport protocol" +HOMEPAGE="https://www.torproject.org/projects/obfsproxy.html" +SRC_URI="mirror://pypi/o/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~mips ~x86" + +DOCS=( ChangeLog INSTALL README TODO doc/HOWTO.txt ) + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" + +RDEPEND=">=dev-python/pyptlib-0.0.6[${PYTHON_USEDEP}] + >=dev-python/pycrypto-2.6-r2[${PYTHON_USEDEP}] + dev-python/twisted-core[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}]" + +PATCHES=( "${FILESDIR}"/${PN}-0.2.9-remove-argparse.patch ) |