summaryrefslogtreecommitdiff
path: root/net-misc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-14 00:47:04 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-14 00:47:04 +0000
commit633a3741c9483bd63e8c29b276d2af636ec8b390 (patch)
treeb8aa248d6496c9fe7799f1ad6a89a310cc317735 /net-misc
parentf30563609870941d7e5078dc39cfa30a0e696058 (diff)
gentoo auto-resync : 14:03:2024 - 00:47:04
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/Manifest.gzbin54957 -> 54965 bytes
-rw-r--r--net-misc/curl/Manifest2
-rw-r--r--net-misc/curl/curl-8.5.0-r3.ebuild2
-rw-r--r--net-misc/sslh/Manifest6
-rw-r--r--net-misc/sslh/metadata.xml3
-rw-r--r--net-misc/sslh/sslh-2.1.0.ebuild84
-rw-r--r--net-misc/sslh/sslh-9999.ebuild20
7 files changed, 107 insertions, 10 deletions
diff --git a/net-misc/Manifest.gz b/net-misc/Manifest.gz
index c8207f56ebf9..bb4b43e8af62 100644
--- a/net-misc/Manifest.gz
+++ b/net-misc/Manifest.gz
Binary files differ
diff --git a/net-misc/curl/Manifest b/net-misc/curl/Manifest
index 4b5cd5392d33..09d24fc3cf2c 100644
--- a/net-misc/curl/Manifest
+++ b/net-misc/curl/Manifest
@@ -7,7 +7,7 @@ DIST curl-8.5.0.tar.xz 2658520 BLAKE2B cfd591f9703b9c63712dbe74494b05a80ce5a4fc4
DIST curl-8.5.0.tar.xz.asc 488 BLAKE2B d706c401aecf345398411b94c87b8f1ecc752d73d24e1a578c8c0e62732e8e476333a2a4772428c6425eb0d124b1ceee8e377cf41d60a54b6f2df5cccc0b9f23 SHA512 9c6a2e61860878cd731d951fac1bb52cd314db20439a5173a95b48da1742737e02bfb9978d65e25de6535f839e281235203599a29f252e78e0d7a83769727329
DIST curl-8.6.0.tar.xz 2630108 BLAKE2B 1b01de396008d57e154e2b5fc1acf1dd000703fa5d70b913dafea5487f0166bd8fdb63eee5c9b5af08a1ca40dd026144a791016f67c2395fcfc9c6b555929034 SHA512 359c08d88a5dec441255b36afe1a821730eca0ca8800ba52f57132b9e7d21f32457623907b4ae4876904b5e505eb1a59652372bb7de8dbd8db429dae9785e036
DIST curl-8.6.0.tar.xz.asc 488 BLAKE2B 18d7583a9aa6a278bea5a8a74461ff06f45ec418cd4542b015c74091c353b340afcc5dfe7e5e99f0b9fac7de9251164044a85e4f6665bf042636868a2c613d0a SHA512 2b835bb4b307e5e1c929b7136c5acfb9f6f06efa471ac27060336cabcfac40e02143f40434986c5e6817d4a9562b09efa8ff3168beed310a45453148cc1b5c8f
-EBUILD curl-8.5.0-r3.ebuild 11026 BLAKE2B dd996f27904f188758daf052d130a046fa02310976169883d2461dbe64372be4e29375c7bace0d396bdaed17a9d7fcf62e817cd0198f1a7ca167a2a4541b3736 SHA512 6b27127b0bba6e9e3a696eb85d728699f52622d0742e9346509f5e920e6afea748954afb4807f7dd1ff628ef163a2256dbaaed4933c257821d31335d3992a763
+EBUILD curl-8.5.0-r3.ebuild 11025 BLAKE2B b10bc84ca0ac1ade0685a56f73558492d1fd6eb5e47280dd073ce2be1dc6542a9c5666a55fe2c26c0508c3f221409ce7f80f5846d7ccce0aaeb9ad8254a8f0ff SHA512 5e9d1aa24df4d424a5a5fc64e28e41a3aa86a2008d7d59db6ee1327efd7c17ae0d9cc4be881d0af4bb31847046cc059ed9355f2c46930a227073595b63ca57ca
EBUILD curl-8.5.0.ebuild 10777 BLAKE2B 14fea8da51ac209f0fd9ef2665066a44504f0ceeaed838dfb41bc64c52951392e67f6adc23d01ca09c34610658171b9b83dda7c310ed3a62f558825718a97bba SHA512 0c7d812544f26a7f424efffbd5231f6ce958479933716f8638f99b83d097ac0cc5e09dbe7f32e75e0b6b4705d6705870cba2b64f24e982f6edc7d5ccb90844fc
EBUILD curl-8.6.0-r1.ebuild 10837 BLAKE2B d57160af7808e5fe4a4af12e5cdd8b2fd193d0d1225adf910b1c97bd8d5efe235d23c77c0e2f914c5e72b055a9ed3722d7c59084062b0060c42297b2a507a82c SHA512 a3ded51e7124d88d62525f31a34c2edd47a95b73b464bdf31adf3bb36e30486435ef4a76898bf6bc95e2d60c4a0e3c6911150af163ccbc8ba7fff79dfa9a545d
EBUILD curl-9999.ebuild 10771 BLAKE2B 48c610c3ea379320360d48a6473b9db17f7d8ffb895fde8e602e14822f5d8d56d2a9fc499f1302a4bb941581a9b8e082b1aa799222c8aa9c9faf546776ba671a SHA512 9afd073cdbb994726349e8ffd33ab994e64b0fc1f19574343bb0f22953dbb16471b332271478bf0d016c709f82acdf633075c9b55daf286dea9ffa5a927bb6de
diff --git a/net-misc/curl/curl-8.5.0-r3.ebuild b/net-misc/curl/curl-8.5.0-r3.ebuild
index 27f813448e09..2ec6057d272b 100644
--- a/net-misc/curl/curl-8.5.0-r3.ebuild
+++ b/net-misc/curl/curl-8.5.0-r3.ebuild
@@ -17,7 +17,7 @@ else
https://curl.se/download/${P}.tar.xz
verify-sig? ( https://curl.se/download/${P}.tar.xz.asc )
"
- KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
fi
LICENSE="BSD curl ISC test? ( BSD-4 )"
diff --git a/net-misc/sslh/Manifest b/net-misc/sslh/Manifest
index 7a2fbd6150e0..cb49fd21975f 100644
--- a/net-misc/sslh/Manifest
+++ b/net-misc/sslh/Manifest
@@ -1,6 +1,8 @@
AUX sslh.conf.d-2 621 BLAKE2B 095522c582be245f1e49018848be738a33eb722cd9be4bd8a0830bbfaa1c2e4018ff480b625349372cc35ec47a1b10069cb5fd6a3c22d7e957e782c888c70b55 SHA512 31d482af0b3626f4b2f669f74a08fa6b6dfc310a40ab332cc3907306bd2fa5321f92e0e76af72c2ea185142f0d485578817e738737917b9c1764079070297e67
AUX sslh.init.d-3 270 BLAKE2B 98cc6c6ccc37a6e8af6d0e84356779e0f304e3d6f45f9fff53c3d1c870ff6b03ac780c04c29e4dce7d6aa3e4cdce365fb54228600e7ce70d9d32691202a5ffb5 SHA512 b919ae318c789ba3e5dd0f5df665a7421be791e89074b07ee00c47b3fe12475562eb5675bbb168c86388902bf50069e0d6f3e804a14666563de07a0a71075ee0
DIST sslh-1.22c.tar.gz 146954 BLAKE2B 1870623634b625bb98787be27444403555262f8a9782573c9ed116e65df9e4518c062ef2e2a40fe7bb550f811518ccc2149a23c36deef6c156911b4c42e27473 SHA512 f13560fbe74b5b08e9b360985d6afd27f2c7e157d220919162e354f3711b90f43bb81f9bda341fb21fef2651acd488f52e9a04dc2da28861540f579e7ca798c4
+DIST sslh-2.1.0.tar.gz 212289 BLAKE2B e85e330e1769cca54deb0dec601402c3d7d578722a2f5addd3ce3d178663d85a5dad9a1fa2e06e11758333f59b96e5cbf4886147ad1497de1f0fcfbe7b71fde2 SHA512 3fe2590c858132c536ce4142097b0c22d37a60f473a2247d2f2fdff5b4f511e1cffb57d8dc5ebddd36ab2a566ac0674172c4e96867b4c738d9ca463aa02ea11d
EBUILD sslh-1.22c-r1.ebuild 1902 BLAKE2B e99872913344bd8ded6857a29d3c9f9e182a17ef52876a1e7b239ffe734bc492ef5eb66dc55d49a6c4affd35cb664a9bddc94fcdbc8a8466c59e0d9bb844e79b SHA512 91e768617210ace3354b3a6a9c4da9a4c5a5e20d6d875556dfbe406a72465d8a4e951e73e5c7711a90bdfb79ae82faa724d808be94af16cf204e3b2a40302973
-EBUILD sslh-9999.ebuild 1904 BLAKE2B c4eec8bb9130f1228c6b17950ba315af9889ac2b256830cdfbc8aa19347a1a6a6592cf8caa935a2d201a959a1775dc05daed031621fc389c7ac3991b7062862d SHA512 eb02974691ff05c6ae81a47e633513a01d2f412e58d42a3d9938da6109d5c2e97870e509850f72a2da051207d7628cd205ec6f8f9f6af1a20d7faa13ac694c50
-MISC metadata.xml 389 BLAKE2B 4c59fa5cb419939b2acccf0107a7d0291ecd8f4f53327f59d060a8d1df3e0fec6bf766dd93f51053234f6b260d97c4005d8e71ef0b39aed7b7e5000c03ce004b SHA512 f75eb0261f6c5cf2d9624d687f069c3b2bcbdfdda33c240c2f963a143d62e6a540798500aa47ad4b51dee4256c5c3ced1edd4e17e8f42c325b03cf4ad5beb73b
+EBUILD sslh-2.1.0.ebuild 2068 BLAKE2B 6b5024971d2d6af50c2762c3a0decbc926ca4741db4cfa773c699430287d8417950675cfb6f6d6adc958885785578da9eb9e4014696c87283a73cb940e9485c9 SHA512 daefbbc40e2c6c637647800fa2a6213e0c89c08d9d3cdbdf8cc27d3da691f9b55e209e0e06255a12f371a11a16b0b95e6e45834b8faa563bbc2bfa12dffd7c6c
+EBUILD sslh-9999.ebuild 2068 BLAKE2B 6b5024971d2d6af50c2762c3a0decbc926ca4741db4cfa773c699430287d8417950675cfb6f6d6adc958885785578da9eb9e4014696c87283a73cb940e9485c9 SHA512 daefbbc40e2c6c637647800fa2a6213e0c89c08d9d3cdbdf8cc27d3da691f9b55e209e0e06255a12f371a11a16b0b95e6e45834b8faa563bbc2bfa12dffd7c6c
+MISC metadata.xml 482 BLAKE2B d2c26b25b184b90e3a7d85e81ceb0a0631fca8c267823a87f9302e91d40e80a31c23b184c572af1a32c5b02f86e62ec86efb7a39d5d2c01187e16dd6dc4e2f6c SHA512 3ba2f78c8498d79c318619ddf6e2b3ccd35821ead01dfd65bd2dbae95b1c7d66d7f16751221cceb1439db9629add3bb0538057feeacccc8caea3a0e5041e9184
diff --git a/net-misc/sslh/metadata.xml b/net-misc/sslh/metadata.xml
index 80b7211a3ce1..d8997e1a4379 100644
--- a/net-misc/sslh/metadata.xml
+++ b/net-misc/sslh/metadata.xml
@@ -5,6 +5,9 @@
<email>candrews@gentoo.org</email>
<name>Craig Andrews</name>
</maintainer>
+ <use>
+ <flag name="libev">Support event loops via <pkg>dev-libs/libev</pkg></flag>
+ </use>
<upstream>
<remote-id type="github">yrutschle/sslh</remote-id>
<remote-id type="cpe">cpe:/a:sslh_project:sslh</remote-id>
diff --git a/net-misc/sslh/sslh-2.1.0.ebuild b/net-misc/sslh/sslh-2.1.0.ebuild
new file mode 100644
index 000000000000..1a3dc9b9f8e3
--- /dev/null
+++ b/net-misc/sslh/sslh-2.1.0.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2024 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
+
+ # 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)" \
+ 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
+ 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
+}
diff --git a/net-misc/sslh/sslh-9999.ebuild b/net-misc/sslh/sslh-9999.ebuild
index d00e3490d2df..1a3dc9b9f8e3 100644
--- a/net-misc/sslh/sslh-9999.ebuild
+++ b/net-misc/sslh/sslh-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
@@ -11,19 +11,21 @@ if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/yrutschle/sslh.git"
inherit git-r3
else
- KEYWORDS="~amd64 ~arm ~m68k ~mips ~s390 ~x86"
+ 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 systemd tcpd"
+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"
@@ -31,11 +33,11 @@ DEPEND="${RDEPEND}
RESTRICT="test"
src_prepare() {
- default
sed -i \
-e '/MAN/s:| gzip -9 - >:>:' \
-e '/MAN=sslh.8.gz/s:.gz::' \
- Makefile || die
+ Makefile.in || die
+ default
}
src_compile() {
@@ -51,13 +53,19 @@ src_compile() {
emake \
CC="$(tc-getCC)" \
USELIBCAP=$(usev caps) \
+ USELIBEV=$(usev libev) \
USELIBWRAP=$(usev tcpd) \
USESYSTEMD=$(usev systemd)
}
src_install() {
dosbin sslh-{fork,select}
- dosym sslh-fork /usr/sbin/sslh
+ if use libev; then
+ dosbin sslh-ev
+ dosym sslh-fork /usr/sbin/sslh
+ else
+ dosym sslh-fork /usr/sbin/sslh
+ fi
doman ${PN}.8