summaryrefslogtreecommitdiff
path: root/net-misc/proxytunnel
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/proxytunnel
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/proxytunnel')
-rw-r--r--net-misc/proxytunnel/Manifest6
-rw-r--r--net-misc/proxytunnel/files/proxytunnel-allowTLS.patch22
-rw-r--r--net-misc/proxytunnel/metadata.xml18
-rw-r--r--net-misc/proxytunnel/proxytunnel-1.9.1-r1.ebuild37
4 files changed, 83 insertions, 0 deletions
diff --git a/net-misc/proxytunnel/Manifest b/net-misc/proxytunnel/Manifest
new file mode 100644
index 000000000000..6ba7e58ee591
--- /dev/null
+++ b/net-misc/proxytunnel/Manifest
@@ -0,0 +1,6 @@
+AUX proxytunnel-allowTLS.patch 592 SHA256 fc8ee55c56a230410bb89b95c7824fa976cecf0ef1c0b2582afd519ddee0f07a SHA512 67b0103054c56c69cd9c0d1aa144498151f105004b400bcdbbb3df519d37424630554e101e5617faf075fd978edddfc4d06cca7524c51e28cd33c1165b6a22f9 WHIRLPOOL e9afde509b74248bba62511d3e60ce030263b18f95e57b67ab4538b86c57c782a9326ab0ecd61c08cc813939e6fe9467b240eae9fefe4c8f7728221ecc740b30
+DIST proxytunnel-1.9.1.tar.gz 48025 SHA256 4a68d2c33bf53c290346b0a76e2c3d25556e954ba346be68cf65ae8f73ae8007 SHA512 819dd11bc13fc279d2d475b89909c0eea414ff71d772d4bfed742dd8d425669dc502f2c22d983bb8c58e426a2bc7209526cb21492ca5f8e92ea1b9ea961fcfdc WHIRLPOOL 5ec64622c062c45bf21275efc785ccb91bd9f61ff13b2cf40b45ea3d73edd06ef6f1b569f5e80ccd3db51a64b38601462edfe2adebf3cdf18ae34b88184a0940
+EBUILD proxytunnel-1.9.1-r1.ebuild 1062 SHA256 68c8ad01ef66b6381b1f884baf2947de5287facdfdcc5cd74bab66151513d0f3 SHA512 8bc963c149db9d497a969d6f24b3cedd64d0a9d099d94825cf85b89415e98d9b11defc545f424dd1366aa1c28f089692f2efd0f8bc3e488341d7b09bdddf1518 WHIRLPOOL 5b2fd5664fae07a553371e568566c47e2507f1506e2e0ab358c9f988209afb6e7586b99aba3cccdca3e28f2a081051b2f5c84514dd55e5b18eed152beeee3b20
+MISC ChangeLog 2888 SHA256 e60cae9dc01b25286ea15d8edecfae11c29ea0ed5ee697074469a789b6b5ed04 SHA512 7f9cde32d9cf520fde165aec582b09a4b80957c4b30cc9caae48866c22e3c2cd1d1f413b261e94151882a4a66fa7dab0a5f40eb0e25037ea483abb4a7544c94a WHIRLPOOL de4b2970094512a187c4bd7d617c8ccbc3f109de94deebce9ff90fd5d3c3f513a4d27026296fa535b8e4a44ea1c6ce36995a68b757389d2c3978a8c350586a59
+MISC ChangeLog-2015 4127 SHA256 373c5a798afb0bae5e5f1d82c280d66f68d97f09e805381781e2f3f402cf96d9 SHA512 25bc7eb7db52e33ada06b174f10afca673d5d6a9e8fc2bb957070d0b8c23b7a6528da433e46833f1541a64576623e891297efc11af7c85924d24169415649694 WHIRLPOOL 7c32527cb86e44cb7cfeec52fc3face2aa121338f6cf1b1bbf0054f8e9fe24d527d5493694300fc2cb848c5171f3d54a59d474e06c0beac18c3a1fab3d78f6dc
+MISC metadata.xml 722 SHA256 477f1398f6c1095193b743fb4ec506f1dd453f2c412d24eb2c8df5e9fc07efc6 SHA512 b51f63b3865144d4a4f21f851d7316ebab5e2c194e5019333ce80d6df7f41bf1b9217ba864dafbc8db7569a89a22861fc0a6bd07664040172e472fe9de00c7eb WHIRLPOOL b34695467493755e6b5e4b5880a5a30a4593711fbbd0da8acd0a4a903999ca15eba4ee4ac613f1d51a67b3537f129e526fdcbbe6d25ee39dad5004021bcf746c
diff --git a/net-misc/proxytunnel/files/proxytunnel-allowTLS.patch b/net-misc/proxytunnel/files/proxytunnel-allowTLS.patch
new file mode 100644
index 000000000000..b6865a73fc5f
--- /dev/null
+++ b/net-misc/proxytunnel/files/proxytunnel-allowTLS.patch
@@ -0,0 +1,22 @@
+From 2a26224b5ff103d2b8e2ff7be56e616d1ecde1f4 Mon Sep 17 00:00:00 2001
+From: wicher <wicher@gavagai.eu>
+Date: Sun, 26 Apr 2015 13:07:13 +0200
+Subject: [PATCH] Allow TLS
+
+---
+ ptstream.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/ptstream.c b/ptstream.c
+index 4c87c80..6d55137 100644
+--- a/ptstream.c
++++ b/ptstream.c
+@@ -151,7 +151,7 @@ int stream_enable_ssl(PTSTREAM *pts) {
+
+ /* Initialise the connection */
+ SSLeay_add_ssl_algorithms();
+- meth = SSLv3_client_method();
++ meth = SSLv23_client_method();
+ SSL_load_error_strings();
+
+ ctx = SSL_CTX_new (meth);
diff --git a/net-misc/proxytunnel/metadata.xml b/net-misc/proxytunnel/metadata.xml
new file mode 100644
index 000000000000..faa64f120cb8
--- /dev/null
+++ b/net-misc/proxytunnel/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>vikraman@gentoo.org</email>
+ <name>Vikraman Choudhury</name>
+ </maintainer>
+ <longdescription lang="en">
+ ProxyTunnel is a program that connects stdin and stdout to a server
+ somewhere on the network, through a standard HTTPS proxy. We mostly use
+ it to tunnel SSH sessions through HTTP(S) proxies, allowing us to do
+ many things that wouldn't be possible without ProxyTunnel.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">proxytunnel/proxytunnel</remote-id>
+ <remote-id type="sourceforge">proxytunnel</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/net-misc/proxytunnel/proxytunnel-1.9.1-r1.ebuild b/net-misc/proxytunnel/proxytunnel-1.9.1-r1.ebuild
new file mode 100644
index 000000000000..40ac24ea6cf2
--- /dev/null
+++ b/net-misc/proxytunnel/proxytunnel-1.9.1-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Connect stdin and stdout to a server somewhere on the network, through a standard HTTPS proxy"
+HOMEPAGE="https://github.com/proxytunnel/proxytunnel/ http://proxytunnel.sourceforge.net/"
+SRC_URI="https://github.com/proxytunnel/proxytunnel/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="static"
+
+RDEPEND="dev-libs/openssl:="
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ app-text/asciidoc
+ app-text/xmlto
+ "
+
+src_prepare() {
+ sed -i -e 's/libssl/libssl libcrypto/' Makefile || die "Sed failed!"
+ epatch "${FILESDIR}"/${PN}-allowTLS.patch
+}
+
+src_compile() {
+ use static && append-ldflags -static
+ emake CC="$(tc-getCC)" || die
+}
+
+src_install() {
+ emake install prefix="${EPREFIX}"/usr DESTDIR="${D}" || die
+ dodoc CHANGES CREDITS INSTALL KNOWN_ISSUES LICENSE.txt README RELNOTES TODO
+}