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?
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):
Author: Robin H. Johnson <firstname.lastname@example.org>
AuthorDate: 2020-09-15 21:21:52 +0000
Commit: Robin H. Johnson <email@example.com>
CommitDate: 2020-09-15 21:24:02 +0000
net-vpn/corkscrew: EAPI7 bump
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Robin H. Johnson <firstname.lastname@example.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(+)