From d7ed2b01311f15ba54fe8ea872aab7d59ab2b193 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 29 Jan 2021 18:03:51 +0000 Subject: gentoo resync : 29.01.2021 --- .../proxytunnel/proxytunnel-1.10.20210128.ebuild | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 net-misc/proxytunnel/proxytunnel-1.10.20210128.ebuild (limited to 'net-misc/proxytunnel/proxytunnel-1.10.20210128.ebuild') diff --git a/net-misc/proxytunnel/proxytunnel-1.10.20210128.ebuild b/net-misc/proxytunnel/proxytunnel-1.10.20210128.ebuild new file mode 100644 index 000000000000..e15bad2afce3 --- /dev/null +++ b/net-misc/proxytunnel/proxytunnel-1.10.20210128.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Connect stdin and stdout to a server via an HTTPS proxy" +HOMEPAGE="https://github.com/proxytunnel/proxytunnel/ https://proxytunnel.sourceforge.net/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="static" + +RDEPEND="dev-libs/openssl:=" +DEPEND="${RDEPEND} + app-text/asciidoc + app-text/xmlto + " +BDEPEND="virtual/pkgconfig" + +DOCS=( CHANGES CREDITS INSTALL.md KNOWN_ISSUES LICENSE.txt README.md RELNOTES TODO ) + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" + inherit git-r3 +else + SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +fi + +src_prepare() { + default + sed -i -e 's/libssl/libssl libcrypto/' Makefile || die "Sed failed!" +} + +src_compile() { + use static && append-ldflags -static + emake CC="$(tc-getCC)" +} + +src_install() { + emake install prefix="${EPREFIX}"/usr DESTDIR="${D}" + einstalldocs +} -- cgit v1.2.3