diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2020-09-15 14:21:52 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2020-09-15 14:24:02 -0700 |
commit | 52dbb9774fa246374cd0f5a499e700e0c6a13aaf (patch) | |
tree | c9c3c83dc00554b6f0226aa69b80fd5d82beb315 /net-vpn/corkscrew/corkscrew-2.0-r1.ebuild | |
parent | app-text/blogc: version bump (diff) | |
download | gentoo-52dbb9774fa246374cd0f5a499e700e0c6a13aaf.tar.gz gentoo-52dbb9774fa246374cd0f5a499e700e0c6a13aaf.tar.bz2 gentoo-52dbb9774fa246374cd0f5a499e700e0c6a13aaf.zip |
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>
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 +} |