Created attachment 526446 [details] updated corkscrew ebuild and patch Corkscrew (an http-proxy tunnelling software) doesn't work with modern proxies when an authfile is specified. The reason is, most (all?) modern http servers expect newlines to be of the form \r\n (cr,lf) rather than just \n. Even the comments in the source code admits as much, but the code handling the authfile isn't written in that way. This patch *should* go upstream, but the software seems to have been abandoned in 2001, so I figure there isn't much hope of that...instead, let's make life better for Gentoo users...maybe users of other distros can look here for guidance.
Thank you. This could be also interesting for others. Here is a collection of the distributions. Do they have more patches? https://repology.org/metapackage/corkscrew/versions A tunnelling software, which was abandoned in 2001 is still worth to compile, but no one forks it?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52dbb9774fa246374cd0f5a499e700e0c6a13aaf commit 52dbb9774fa246374cd0f5a499e700e0c6a13aaf Author: Robin H. Johnson <robbat2@gentoo.org> AuthorDate: 2020-09-15 21:21:52 +0000 Commit: Robin H. Johnson <robbat2@gentoo.org> CommitDate: 2020-09-15 21:24:02 +0000 net-vpn/corkscrew: EAPI7 bump Closes: https://bugs.gentoo.org/652342 Closes: https://bugs.gentoo.org/742029 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> net-vpn/corkscrew/corkscrew-2.0-r1.ebuild | 40 ++++++++++++++++++++++ .../files/corkscrew-2.0-crlf-with-authfile.patch | 12 +++++++ net-vpn/corkscrew/metadata.xml | 3 ++ 3 files changed, 55 insertions(+)