diff options
author | 2024-03-25 12:14:52 -0400 | |
---|---|---|
committer | 2024-03-25 12:15:46 -0400 | |
commit | 207ce4a6142889db2e92ac8f7db3582684c1ff62 (patch) | |
tree | d393ee099f984c5e1546d594043b600a7e8732e2 /net-misc | |
parent | net-misc/openssh: simplify mkdir expression (diff) | |
download | gentoo-207ce4a6142889db2e92ac8f7db3582684c1ff62.tar.gz gentoo-207ce4a6142889db2e92ac8f7db3582684c1ff62.tar.bz2 gentoo-207ce4a6142889db2e92ac8f7db3582684c1ff62.zip |
net-misc/proxytunnel: add 1.12.2
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/proxytunnel/Manifest | 1 | ||||
-rw-r--r-- | net-misc/proxytunnel/proxytunnel-1.12.2.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/net-misc/proxytunnel/Manifest b/net-misc/proxytunnel/Manifest index 2365ed3fbde3..d8be5c56f56e 100644 --- a/net-misc/proxytunnel/Manifest +++ b/net-misc/proxytunnel/Manifest @@ -1,2 +1,3 @@ DIST proxytunnel-1.12.0.tar.gz 57664 BLAKE2B 3d5090a7f8f38fc928d68222e703913fcaade652c4d3cbf28b68682923c3558a7b3e17f00893a60b0cea4e27af185b50cf1ab52064e5125922c50716d5d9c0b7 SHA512 1a448728f49b34a3c6de2a876bfbd57b0f328f9f901db70cf8e6570eef81d2c26a0e0dbdfd566f683cea2d1b4816c01abc7049e5688b0335078034ec3f102b83 DIST proxytunnel-1.12.1.tar.gz 58464 BLAKE2B c2aac8c8eaed6003a5bc56cf07a9ccd47536f75069937d35794029abe36c9037e4363401d6208bbdcf1e50fb8cbed295e3d01e6c8afebb9c4bf00cb269746412 SHA512 e39ff2b623f468e885f173e70de2d6c89eb34e39ce951cbc63f306dacf58bae86af21e92bec27c5b5f777ed95e9eff10f07e2f912e2270c6e49c32487f449ede +DIST proxytunnel-1.12.2.tar.gz 58973 BLAKE2B ffa518278660c816b27ae6c497d744d6588ba9be29fab2ce254bcbc4695fc8e5339e836da541c6aed7a73c2d1e5207f529ca9b818ddbf02b699856d43bb85a57 SHA512 b336e24e9243900999f7253032d666322404377e62d56e2365c13008f242dcc8f7c7c3075d362a9ee29d424aa698feca7d973f839362a40314caa984ee8ad352 diff --git a/net-misc/proxytunnel/proxytunnel-1.12.2.ebuild b/net-misc/proxytunnel/proxytunnel-1.12.2.ebuild new file mode 100644 index 000000000000..3de0355f2f6c --- /dev/null +++ b/net-misc/proxytunnel/proxytunnel-1.12.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 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 +} |