diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-09-16 09:32:48 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-09-16 09:32:48 +0100 |
commit | 9ee6d97c2883d42f204a533a8bc1f4562df778fb (patch) | |
tree | b690ddc0ca30f1472887edbb0b8313629bfcbbb2 /net-vpn/corkscrew/corkscrew-2.0-r1.ebuild | |
parent | b17a3ef12038de50228bade1f05502c74e135321 (diff) |
gentoo resync : 16.09.2020
Diffstat (limited to 'net-vpn/corkscrew/corkscrew-2.0-r1.ebuild')
-rw-r--r-- | net-vpn/corkscrew/corkscrew-2.0-r1.ebuild | 40 |
1 files changed, 40 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 +} |