diff --git a/net-proxy/sshttp/Manifest b/net-proxy/sshttp/Manifest index c2c2ef315..0ff334d25 100644 --- a/net-proxy/sshttp/Manifest +++ b/net-proxy/sshttp/Manifest @@ -1 +1,2 @@ DIST sshttp-0.35_p2.tar.gz 35339 BLAKE2B 59248c0d47f488c776582ed2da8ea6d30d5a218f3ed1f3ada55347d0645d50111d9ddaac9e6bcad2cc0a0e6d3ec4919b824bbc8ac0b2af8bfbfe29af366fab90 SHA512 2a4cfc88faffe8a681d9da5f44cd114a39981f537f941dad82e85c286e16dd29120dd622f43d6227f56bd847968e8d6c5ceba146056d201766a1d1d5194d71c0 +DIST sshttp-0.35_p20191108.tar.gz 35218 BLAKE2B be2609c0d83edd68b06f89c5b1dbe26089b4d6287947fa276821f0a73a2561fa6b7bd47a1f59099b665b519698b349913dce904578fcbc7caf64dfea9c0a7f08 SHA512 2c4af3f37af2e58d416efb703c5399f33ae4bcdbaf47b5de8496db60be302a279563bbf5344484c943a7d81349e6490aac0d66ede7cf6fb3f9099b751c72de71 diff --git a/net-proxy/sshttp/sshttp-0.35_p20191108.ebuild b/net-proxy/sshttp/sshttp-0.35_p20191108.ebuild new file mode 100644 index 000000000..1afbfb6ee --- /dev/null +++ b/net-proxy/sshttp/sshttp-0.35_p20191108.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="An easy to use OSI-Layer5 switching daemon" +HOMEPAGE="https://c-skills.blogspot.com/" + +HASH_COMMIT="28acbad7dcac95d6352d06ddf81765a84f2044f9" # 20191108 +SRC_URI="https://github.com/stealth/sshttp/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="net-libs/libpcap" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}-${HASH_COMMIT}" + +src_prepare() { + default + sed -i "/^CFLAGS/s|-O2|${CFLAGS}|g" Makefile || die +} + +src_compile() { + emake CXX=$(tc-getCXX) LD=$(tc-getLD) +} + +src_install() { + dobin sshttpd + dodoc *.md Changelog HINTS + + exeinto /usr/share/${PN} + doexe nf-setup +}