net-misc/sslh: drop 2.2.4

Signed-off-by: Craig Andrews <candrews@gentoo.org>
This commit is contained in:
Craig Andrews 2025-09-10 10:35:47 -04:00
parent 97104a6db5
commit ee322879d7
No known key found for this signature in database
GPG Key ID: 581BAFE062A38CB6
2 changed files with 0 additions and 77 deletions

View File

@ -1,3 +1,2 @@
DIST sslh-2.1.4.tar.gz 461963 BLAKE2B 82194b7cfe2a41b4d0c85b1ddf9c84b5b81dd8cc38e4d66f2c69aab2f9eb4091b3747c194e52a571dffb6d63308a9d1b1a53c9e8df59e1a78d314aae76b08d73 SHA512 1678682bfe28aa2615068ab738b8413632f7799744fb5ee69287f759b1bc600b891e89fed2ff28a92b6d91b79ff4e52fe12ba448572828b38471efbeffdb4f62
DIST sslh-2.2.4.tar.gz 514918 BLAKE2B 2aa3463f944e119a68c29ef3f4db834dc1bcbf9f5544611633d1d6266217c4feb01501cf540df27c50e95cbf0e7bf73ca4dd43459dc20fe1662efb4631217bdc SHA512 e017cd86fb2f97b90f2d2ffc81684c545fa19eb973456f07f04ec6ec5af1eb39b8f3355a520bd3cd7f202a0626cc0b9462f637c0d7d1ddd78318a4a2236643db
DIST sslh-2.3.0.tar.gz 533138 BLAKE2B 2191bbb4758d5f62e4da3c8d172038e8f940ffd3c88a400a03fed64300f0207a68711379d3fbc602ae2baeeb15c55d82e2380734c2c416eb32df51f28dcfb859 SHA512 8ed8ba81b74365e2ed79fad7d367c5c0d4ec1ef19b47b91946cab6030bcaa93604ea928a82878a8b7d09349505f8713785c94a29353e63cd131b787cbf745d14

View File

@ -1,76 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
inherit flag-o-matic systemd toolchain-funcs
DESCRIPTION="Port multiplexer - accept both HTTPS and SSH connections on the same port"
HOMEPAGE="https://www.rutschle.net/tech/sslh/README.html"
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/yrutschle/sslh.git"
inherit git-r3
else
KEYWORDS="~amd64 ~arm ~m68k ~mips ~s390 ~x86"
SRC_URI="https://github.com/yrutschle/sslh/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S=${WORKDIR}/${P}
fi
LICENSE="GPL-2"
SLOT="0"
IUSE="caps libev systemd tcpd"
RDEPEND="caps? ( sys-libs/libcap )
dev-libs/libpcre2:=
systemd? ( sys-apps/systemd:= )
tcpd? ( sys-apps/tcp-wrappers )
dev-libs/libconfig:=
libev? ( dev-libs/libev )
>=dev-libs/libconfig-1.5:="
DEPEND="${RDEPEND}
dev-lang/perl"
RESTRICT="test"
src_prepare() {
sed -i \
-e '/MAN/s:| gzip -9 - >:>:' \
-e '/MAN=sslh.8.gz/s:.gz::' \
Makefile.in || die
default
}
src_compile() {
append-lfs-flags
emake \
CC="$(tc-getCC)" \
USELIBCAP=$(usev caps) \
USELIBEV=$(usev libev) \
USELIBWRAP=$(usev tcpd) \
USESYSTEMD=$(usev systemd)
}
src_install() {
dosbin sslh-{fork,select}
if use libev; then
dosbin sslh-ev
dosym sslh-fork /usr/sbin/sslh
else
dosym sslh-fork /usr/sbin/sslh
fi
doman ${PN}.8
dodoc ChangeLog README.md
newinitd "${FILESDIR}"/sslh.init.d-3 sslh
newconfd "${FILESDIR}"/sslh.conf.d-2 sslh
if use systemd; then
# Gentoo puts the binaries in /usr/sbin, but upstream puts them in /usr/bin
systemd_newunit "${FILESDIR}/sslh.service" sslh.service
exeinto /usr/lib/systemd/system-generators/
doexe systemd-sslh-generator
fi
}