diff options
| author | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-09-16 00:26:37 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-09-16 00:26:37 +0000 |
| commit | 3dcea994f58dfe4db86604be3c5297939916a9fd (patch) | |
| tree | 4f198ef19a81963c63f8fb513c7f21b194965cc7 /net-vpn/corkscrew | |
| parent | 6045eaef8e9f6358f4d5a79bb21d17e1e8211671 (diff) | |
| download | baldeagleos-repo-3dcea994f58dfe4db86604be3c5297939916a9fd.tar.gz baldeagleos-repo-3dcea994f58dfe4db86604be3c5297939916a9fd.tar.xz baldeagleos-repo-3dcea994f58dfe4db86604be3c5297939916a9fd.zip | |
Updating liguros repo
Diffstat (limited to 'net-vpn/corkscrew')
| -rw-r--r-- | net-vpn/corkscrew/corkscrew-2.0-r1.ebuild | 40 | ||||
| -rw-r--r-- | net-vpn/corkscrew/files/corkscrew-2.0-crlf-with-authfile.patch | 12 | ||||
| -rw-r--r-- | net-vpn/corkscrew/metadata.xml | 3 |
3 files changed, 55 insertions, 0 deletions
diff --git a/net-vpn/corkscrew/corkscrew-2.0-r1.ebuild b/net-vpn/corkscrew/corkscrew-2.0-r1.ebuild new file mode 100644 index 000000000000..cd46ea513c7d --- /dev/null +++ b/net-vpn/corkscrew/corkscrew-2.0-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit eutils autotools + +DESCRIPTION="a tool for tunneling SSH through HTTP proxies" +HOMEPAGE="https://github.com/patpadgett/corkscrew/" +# This is the old distfile URL; the github site does not have exact matching +# checksum, but the content is otherwise identical. +SRC_URI="http://www.agroman.net/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86" +IUSE="" + +DOCS="AUTHORS ChangeLog README TODO" + +src_prepare() { + # Fix \r\n per bug 652342 + eapply "${FILESDIR}/${P}-crlf-with-authfile.patch" + + # Christoph Mende <angelos@gentoo.org (23 Jun 2010) + # Shipped configure doesn't work with some locales (bug #305771) + # Shipped missing doesn't work with new configure, so we'll force + # regeneration + rm -f install-sh missing mkinstalldirs || die + + # Samuli Suominen <ssuominen@gentoo.org> (24 Jun 2012) + # AC_HEADER_STDC is called separately and #include <string.h> is + # without #ifdef in corkscrew.c. Instead of using AC_C_PROTOTYPES, + # remove the call entirely as unused wrt bug #423193 + sed -i -e 's:AM_C_PROTOTYPES:dnl &:' configure.in || die + + mv configure.{in,ac} || die + + eautoreconf + default +} diff --git a/net-vpn/corkscrew/files/corkscrew-2.0-crlf-with-authfile.patch b/net-vpn/corkscrew/files/corkscrew-2.0-crlf-with-authfile.patch new file mode 100644 index 000000000000..1e750bc74115 --- /dev/null +++ b/net-vpn/corkscrew/files/corkscrew-2.0-crlf-with-authfile.patch @@ -0,0 +1,12 @@ +diff -ur corkscrew-2.0/corkscrew.c corkscrew-2.0.new/corkscrew.c +--- corkscrew-2.0/corkscrew.c 2001-08-23 14:27:32.000000000 -0400 ++++ corkscrew-2.0.new/corkscrew.c 2018-04-03 11:06:53.268025605 -0400 +@@ -219,7 +219,7 @@ + strncat(uri, destport, sizeof(uri) - strlen(uri) - 1); + strncat(uri, " HTTP/1.0", sizeof(uri) - strlen(uri) - 1); + if ((argc == 6) || (argc == 7)) { +- strncat(uri, "\nProxy-Authorization: Basic ", sizeof(uri) - strlen(uri) - 1); ++ strncat(uri, "\r\nProxy-Authorization: Basic ", sizeof(uri) - strlen(uri) - 1); + strncat(uri, base64_encode(up), sizeof(uri) - strlen(uri) - 1); + } + strncat(uri, linefeed, sizeof(uri) - strlen(uri) - 1); diff --git a/net-vpn/corkscrew/metadata.xml b/net-vpn/corkscrew/metadata.xml index 23e1b517776c..c56eba6c9a36 100644 --- a/net-vpn/corkscrew/metadata.xml +++ b/net-vpn/corkscrew/metadata.xml @@ -5,5 +5,8 @@ <email>sysadmin@gentoo.org</email> <name>Gentoo Sysadmin Project</name> </maintainer> +<longdescription lang="ja"> +Corkscrew は HTTP プロクシ経由の SSH トンネルを構築するツールです。 +</longdescription> <origin>gentoo-staging</origin> </pkgmetadata> |
