From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C65291584AD for ; Mon, 21 Apr 2025 14:15:11 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 877703430A0 for ; Mon, 21 Apr 2025 14:15:11 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 7B4E91104B9; Mon, 21 Apr 2025 14:14:42 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 74D061104B9 for ; Mon, 21 Apr 2025 14:14:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 29C6A34302E for ; Mon, 21 Apr 2025 14:14:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7A3F2240A for ; Mon, 21 Apr 2025 14:14:40 +0000 (UTC) From: "Viorel Munteanu" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Viorel Munteanu" Message-ID: <1745244122.135c914a94f7643c7be0db05cc5587aaccb94828.ceamac@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/tinyssh/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/tinyssh/Manifest net-misc/tinyssh/tinyssh-20250411.ebuild X-VCS-Directories: net-misc/tinyssh/ X-VCS-Committer: ceamac X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: 135c914a94f7643c7be0db05cc5587aaccb94828 X-VCS-Branch: master Date: Mon, 21 Apr 2025 14:14:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 52eaf641-8c32-48c5-9825-352bc1af9414 X-Archives-Hash: e9323e94a21f8b29acb8108161b9cd2e commit: 135c914a94f7643c7be0db05cc5587aaccb94828 Author: Haelwenn (lanodan) Monnier hacktivis me> AuthorDate: Fri Apr 11 21:42:32 2025 +0000 Commit: Viorel Munteanu gentoo org> CommitDate: Mon Apr 21 14:02:02 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=135c914a net-misc/tinyssh: add 20250411 Signed-off-by: Haelwenn (lanodan) Monnier hacktivis.me> Closes: https://github.com/gentoo/gentoo/pull/41545 Signed-off-by: Viorel Munteanu gentoo.org> net-misc/tinyssh/Manifest | 1 + net-misc/tinyssh/tinyssh-20250411.ebuild | 60 ++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/net-misc/tinyssh/Manifest b/net-misc/tinyssh/Manifest index ec538f9f454a..81175da83cce 100644 --- a/net-misc/tinyssh/Manifest +++ b/net-misc/tinyssh/Manifest @@ -1,2 +1,3 @@ DIST tinyssh-20241201.tar.gz 301611 BLAKE2B de8a7cabecc9ab134adfb5e7e2eba840c47901b9d7720650f6421e4a130447784a66bb9033ab50ecc204966095ebc3cb02d9de18aef5ed0f8f4befdb6af189a2 SHA512 aa0641f92209bce1f1842c13338a053b3d46510280e891d94d7ec48304b621a4fd116abe7e46ad366ee894461e0f8db1e0458db82170622487868cdf4fdb8c66 DIST tinyssh-20250201.tar.gz 301543 BLAKE2B c5455f9c62717b5a29a741d8e296d5a9199319d492eb40cdafb8a61c2ef24cda4ad890d80d38e554e290f563749bd742df7dcfd1df1098f0a136fb37e689e6dd SHA512 3496967b72ee13ad22f30ba6877f58467ffc39adeb33005268f014c69615bd1c8a4e4bc2071345050e73409e9d064bb039316fb7300aa94d8f5917603f34fd2d +DIST tinyssh-20250411.tar.gz 421627 BLAKE2B 36664a06815201a342891fdfaa4adf4d9225ca2254702a1a8f3d5e7c13ab78a28889cbf575241007a737e05b3758e8b67c6202e6f3f5db96b9e031cee626a622 SHA512 849fa29757b8f2967cabd1a86e36a2e89c512f1d4495e084e63d1245f6294d21612f792f7dc6924bad301338959219638bf1caa3cc35d4b8135fa1f764440b60 diff --git a/net-misc/tinyssh/tinyssh-20250411.ebuild b/net-misc/tinyssh/tinyssh-20250411.ebuild new file mode 100644 index 000000000000..3ff059060c0b --- /dev/null +++ b/net-misc/tinyssh/tinyssh-20250411.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit systemd toolchain-funcs + +DESCRIPTION="A small SSH server with state-of-the-art cryptography" +HOMEPAGE="https://tinyssh.org" +if [[ "${PV}" == "99999999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/janmojzis/tinyssh.git" +else + SRC_URI="https://github.com/janmojzis/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="|| ( CC0-1.0 0BSD MIT-0 MIT )" +SLOT="0" + +RDEPEND=" + ${DEPEND} + sys-apps/ucspi-tcp +" + +src_prepare() { + default + + echo 'gentoo-autoheaders: $(AUTOHEADERS)' >> Makefile || die +} + +src_configure() { + tc-export CC + + emake gentoo-autoheaders + + local i + for i in has*.log + do + einfo "$i" + cat "$i" + done +} + +src_install() { + einstalldocs + emake install DESTDIR="${D}" PREFIX=/usr + + newinitd "${FILESDIR}/${PN}.initd" "${PN}" + newconfd "${FILESDIR}/${PN}.confd" "${PN}" + + systemd_newunit "${FILESDIR}/${PN}.service" "${PN}@.service" + systemd_newunit "${FILESDIR}/${PN}.socket" "${PN}@.socket" + systemd_dounit "${FILESDIR}/${PN}-makekey.service" +} + +pkg_postinst() { + einfo "TinySSH is in beta stage, and ready for production use." + einfo "See https://tinyssh.org for more information." +}