From: "Craig Andrews" <candrews@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/sslh/
Date: Mon, 20 Jul 2020 13:51:57 +0000 (UTC) [thread overview]
Message-ID: <1595253113.e037677e1f8aeb0ce9aa3cf7ddb77cee7f14431a.candrews@gentoo> (raw)
commit: e037677e1f8aeb0ce9aa3cf7ddb77cee7f14431a
Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 20 13:51:19 2020 +0000
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Mon Jul 20 13:51:53 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e037677e
net-misc/sslh: 1.21b version bump
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>
net-misc/sslh/Manifest | 1 +
net-misc/sslh/sslh-1.21b.ebuild | 75 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 76 insertions(+)
diff --git a/net-misc/sslh/Manifest b/net-misc/sslh/Manifest
index f8493523663..16114562ed9 100644
--- a/net-misc/sslh/Manifest
+++ b/net-misc/sslh/Manifest
@@ -1,2 +1,3 @@
DIST sslh-1.21.tar.gz 111298 BLAKE2B 46003021292436023c7f2e0d9cbfb283f4ca7497f5da1562cb893a6f20df4ccaa1e6618fa2cdcc28f311518001396d861a5b50e36707327087192b0454f04287 SHA512 e758efc548b68ea4c50a56b6a6169f5c5bcfeb40163ff9968489ef6a3cdf2a69fa46869d1f53e24c6e31de4d44233005608dcf240968de6245653ccb068f692c
+DIST sslh-1.21b.tar.gz 111740 BLAKE2B 5d42eab551e05ac1367da9ae85eac945657e086672712c148ee07c78af5c2a546e696d77081c7282e77c8bef535c186f89d541489f07153bd7ca2d338b341a48 SHA512 59bd33b47b70f82ae1ba3d6ffac3d54897dc6b7343d0d9e3bb8384adc30ac8a44a64e71590a7eecc5a83c2f70712bd79c0eb4ea8eef15ae770633dead9888c5f
DIST sslh-v1.20.tar.gz 60459 BLAKE2B fafb1876df54edce99473db9305eaad77e2b726904724c9c74b3eb2fe8666c219c48b49888b05cc52f993104b69a263ba3c8a271efd1217ba6f73258caa83249 SHA512 eccaddd5a4299206f195c2f7a78840b2f76f8a0cf10a715b5c72f959ed5d3259fc5ea3db8d398b33f0d556d71268b15c870999d742f83383a9d49120e476770a
diff --git a/net-misc/sslh/sslh-1.21b.ebuild b/net-misc/sslh/sslh-1.21b.ebuild
new file mode 100644
index 00000000000..f112f155149
--- /dev/null
+++ b/net-misc/sslh/sslh-1.21b.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2020 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 pcre systemd tcpd"
+
+RDEPEND="caps? ( sys-libs/libcap )
+ systemd? ( sys-apps/systemd:= )
+ tcpd? ( sys-apps/tcp-wrappers )
+ >=dev-libs/libconfig-1.5"
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ pcre? ( dev-libs/libpcre:= )"
+
+RESTRICT="test"
+
+src_prepare() {
+ default
+ sed -i \
+ -e '/MAN/s:| gzip -9 - >:>:' \
+ -e '/MAN=sslh.8.gz/s:.gz::' \
+ Makefile || die
+}
+
+src_compile() {
+ # On older versions of GCC, the default gnu89 variant
+ # will reject within-for-loop initializers, bug #595426
+ # Furthermore, we need to use the gnu variant (gnu99) instead
+ # of the ISO (c99) variant, as we want the __USE_XOPEN2K macro
+ # to be defined.
+ append-cflags -std=gnu99
+
+ emake \
+ CC="$(tc-getCC)" \
+ USELIBPCRE=$(usev pcre) \
+ USELIBCAP=$(usev caps) \
+ USELIBWRAP=$(usev tcpd) \
+ USESYSTEMD=$(usev systemd)
+}
+
+src_install() {
+ dosbin sslh-{fork,select}
+ dosym sslh-fork /usr/sbin/sslh
+
+ 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
+ sed -i -e 's~/usr/bin/~/usr/sbin/~g' scripts/systemd.sslh.service || die
+ systemd_newunit scripts/systemd.sslh.service sslh.service
+ exeinto /usr/lib/systemd/system-generators/
+ doexe systemd-sslh-generator
+ fi
+}
next reply other threads:[~2020-07-20 13:52 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-20 13:51 Craig Andrews [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-05-16 20:12 [gentoo-commits] repo/gentoo:master commit in: net-misc/sslh/ Craig Andrews
2024-03-25 14:13 Craig Andrews
2024-03-25 14:13 Craig Andrews
2024-03-13 21:56 Craig Andrews
2024-03-13 21:05 Craig Andrews
2023-07-27 11:45 Sam James
2022-09-15 11:31 Sam James
2022-09-15 6:47 Agostino Sarubbo
2021-09-05 18:36 Craig Andrews
2021-08-24 20:11 Craig Andrews
2021-08-18 1:06 Craig Andrews
2021-08-02 3:18 Sam James
2021-08-02 3:18 Sam James
2021-08-02 0:50 Sam James
2021-08-02 0:44 Craig Andrews
2021-01-02 0:35 Sam James
2020-07-30 23:40 Craig Andrews
2020-07-12 2:17 Craig Andrews
2020-07-12 0:04 Craig Andrews
2019-07-06 0:41 Craig Andrews
2019-07-06 0:41 Craig Andrews
2019-05-25 0:44 Michael Palimaka
2019-05-20 11:09 Mikle Kolyada
2019-05-16 23:56 Thomas Deutschmann
2018-11-21 16:58 Craig Andrews
2018-11-12 18:59 Mikle Kolyada
2018-11-12 1:14 Thomas Deutschmann
2018-02-23 8:07 Michael Palimaka
2018-02-23 8:07 Michael Palimaka
2018-02-23 8:07 Michael Palimaka
2018-02-12 22:36 Craig Andrews
2018-02-02 12:06 Michael Palimaka
2017-12-17 3:45 Craig Andrews
2017-12-17 3:45 Craig Andrews
2017-12-17 3:45 Craig Andrews
2017-07-23 1:47 Michael Palimaka
2017-07-23 1:47 Michael Palimaka
2017-06-13 11:43 Michael Palimaka
2016-09-28 21:59 David Seifert
2016-09-14 16:02 Michael Palimaka
2016-09-14 16:02 Michael Palimaka
2016-03-30 17:47 Michael Palimaka
2016-03-30 17:47 Michael Palimaka
2015-12-15 3:56 Mike Frysinger
2015-10-25 15:18 Michael Palimaka
2015-10-25 11:02 Mikle Kolyada
2015-10-19 9:27 Agostino Sarubbo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1595253113.e037677e1f8aeb0ce9aa3cf7ddb77cee7f14431a.candrews@gentoo \
--to=candrews@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox