commit:     59ba2c056cd8eb24372423ab36c7a73d78a58f65
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Sat Mar  7 03:21:58 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 11 13:48:59 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59ba2c05

net-misc/tinyssh: add 20260301

Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/235
Merges: https://codeberg.org/gentoo/gentoo/pulls/235
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/tinyssh/Manifest                |  1 +
 net-misc/tinyssh/tinyssh-20260301.ebuild | 60 ++++++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/net-misc/tinyssh/Manifest b/net-misc/tinyssh/Manifest
index c33a7ff1239f..a059c3db7fc4 100644
--- a/net-misc/tinyssh/Manifest
+++ b/net-misc/tinyssh/Manifest
@@ -1 +1,2 @@
 DIST tinyssh-20250501.tar.gz 421567 BLAKE2B 
acffcb249e09686fcc9364bdc617f9bbb27c98c1e4c25ed7859711cb9b25be35eff29d8afcd372eab884ec307f2c8ae51596e5782a237ae97b20fbb7e9010f44
 SHA512 
c303bfa1781d668a86ca05d5c5fe2b028e4b99ba864700283c5bff1bec1050d95ed2b942e8d0eb1bd62fd6e06dc0ad0c404e83e589a67f6e6997b500b857d805
+DIST tinyssh-20260301.tar.gz 421650 BLAKE2B 
646dcd8c552c1c6b81b8cd985ccd269142fc12daaea726f75beeda2e48b5ba4b939f39827d9f88828c188df93e5d3ed4748aa318b8c45f3e6c787196ea4f1f43
 SHA512 
09a84783fcc9cfa35491396d98a67cb38f88dfcc534a708f00b13549cd2ac98f27e56d3b42a418cd89164afef969deeae7a52ced075b450cfea8d500d21e0d4f

diff --git a/net-misc/tinyssh/tinyssh-20260301.ebuild 
b/net-misc/tinyssh/tinyssh-20260301.ebuild
new file mode 100644
index 000000000000..3ff059060c0b
--- /dev/null
+++ b/net-misc/tinyssh/tinyssh-20260301.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."
+}

Reply via email to