public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-misc/tinyssh/
@ 2023-07-26  8:41 Sam James
  0 siblings, 0 replies; 15+ messages in thread
From: Sam James @ 2023-07-26  8:41 UTC (permalink / raw
  To: gentoo-commits

commit:     4e5709ef2baaed3fc97fc2c968aa8965469cb3ae
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Wed Jul 26 08:28:47 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jul 26 08:41:01 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e5709ef

net-misc/tinyssh: Use pkg-config instead of hardcoding libsodium flags

Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
Closes: https://github.com/gentoo/gentoo/pull/32045
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/tinyssh/tinyssh-20230101.ebuild | 10 ++++++----
 net-misc/tinyssh/tinyssh-99999999.ebuild | 10 ++++++----
 2 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/net-misc/tinyssh/tinyssh-20230101.ebuild b/net-misc/tinyssh/tinyssh-20230101.ebuild
index 6a91309a999d..4b288ff014ec 100644
--- a/net-misc/tinyssh/tinyssh-20230101.ebuild
+++ b/net-misc/tinyssh/tinyssh-20230101.ebuild
@@ -40,13 +40,15 @@ src_prepare() {
 }
 
 src_compile() {
+	tc-export PKG_CONFIG
+
 	if use sodium
 	then
 		emake \
-			CC="$(tc-getCC)"
-			LIBS="-lsodium" \
-			CFLAGS="${CFLAGS} -I/usr/include/sodium" \
-			LDFLAGS="${LDFLAGS} -L/usr/lib"
+			CC="$(tc-getCC)" \
+			LIBS="$("${PKG_CONFIG}" --libs libsodium)" \
+			CFLAGS="${CFLAGS} $("${PKG_CONFIG}" --cflags libsodium)" \
+			LDFLAGS="${LDFLAGS}"
 	else
 		emake CC="$(tc-getCC)"
 	fi

diff --git a/net-misc/tinyssh/tinyssh-99999999.ebuild b/net-misc/tinyssh/tinyssh-99999999.ebuild
index 6a91309a999d..4b288ff014ec 100644
--- a/net-misc/tinyssh/tinyssh-99999999.ebuild
+++ b/net-misc/tinyssh/tinyssh-99999999.ebuild
@@ -40,13 +40,15 @@ src_prepare() {
 }
 
 src_compile() {
+	tc-export PKG_CONFIG
+
 	if use sodium
 	then
 		emake \
-			CC="$(tc-getCC)"
-			LIBS="-lsodium" \
-			CFLAGS="${CFLAGS} -I/usr/include/sodium" \
-			LDFLAGS="${LDFLAGS} -L/usr/lib"
+			CC="$(tc-getCC)" \
+			LIBS="$("${PKG_CONFIG}" --libs libsodium)" \
+			CFLAGS="${CFLAGS} $("${PKG_CONFIG}" --cflags libsodium)" \
+			LDFLAGS="${LDFLAGS}"
 	else
 		emake CC="$(tc-getCC)"
 	fi


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/tinyssh/
@ 2024-01-07  0:36 Yixun Lan
  0 siblings, 0 replies; 15+ messages in thread
From: Yixun Lan @ 2024-01-07  0:36 UTC (permalink / raw
  To: gentoo-commits

commit:     596d63fd68b5aedbb29cc51a4bfe1ef8caf9056d
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Thu Jan  4 02:01:51 2024 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Sun Jan  7 00:34:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=596d63fd

net-misc/tinyssh: drop 20230101

Closes: https://github.com/gentoo/gentoo/pull/34632
Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 net-misc/tinyssh/Manifest                |  1 -
 net-misc/tinyssh/tinyssh-20230101.ebuild | 73 --------------------------------
 2 files changed, 74 deletions(-)

diff --git a/net-misc/tinyssh/Manifest b/net-misc/tinyssh/Manifest
index 5d54a5ceaa82..2bd2ee5a59e1 100644
--- a/net-misc/tinyssh/Manifest
+++ b/net-misc/tinyssh/Manifest
@@ -1,2 +1 @@
-DIST tinyssh-20230101.tar.gz 249091 BLAKE2B 5efb6eab07c136763ab27588661618763d2ca174dce4b0f4b5fd5dcca56044f8361342de780931070cff8efe43f6efa68eaf912e9ae38febfcff733f79e23018 SHA512 6beaf266058a89a78c710abd1a02feff0641a93d0d92aa07a1ad1ba3f6b3344bc312bb5a4cd5c06c6dcc83d25e48a801f9cfcfbb3de0f73904f36d32d4430482
 DIST tinyssh-20240101.tar.gz 249848 BLAKE2B 228547c6f4acae3b77a338df1ced3a49e0b4c72257ce081b3b50941c29c5a39a0b1623f6aefce2721b9dde9fae03cb8c1c87b6b019658d578ddcca99e0a021f5 SHA512 b48561cfc11bb6d2e9b1c805c9dfc36be5f1bbbf04a455b8db3f02b5b8df15e420fcd93d58fb23526baaf0fd70e9969deca261152a656015f12a433a61092e90

diff --git a/net-misc/tinyssh/tinyssh-20230101.ebuild b/net-misc/tinyssh/tinyssh-20230101.ebuild
deleted file mode 100644
index 4b288ff014ec..000000000000
--- a/net-misc/tinyssh/tinyssh-20230101.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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"
-SLOT="0"
-
-IUSE="+sodium"
-
-DEPEND="
-	sodium? ( dev-libs/libsodium:= )
-"
-RDEPEND="
-	${DEPEND}
-	sys-apps/ucspi-tcp
-"
-
-src_prepare() {
-	# Leave optimization level to user CFLAGS
-	sed -i 's/-Os -fomit-frame-pointer -funroll-loops//g' ./conf-cc || die
-
-	# Use make-tinysshcc.sh script, which has no tests and doesn't execute
-	# binaries. See https://github.com/janmojzis/tinyssh/issues/2
-	sed -i 's/make-tinyssh\.sh/make-tinysshcc.sh/g' ./Makefile || die
-
-	default
-}
-
-src_compile() {
-	tc-export PKG_CONFIG
-
-	if use sodium
-	then
-		emake \
-			CC="$(tc-getCC)" \
-			LIBS="$("${PKG_CONFIG}" --libs libsodium)" \
-			CFLAGS="${CFLAGS} $("${PKG_CONFIG}" --cflags libsodium)" \
-			LDFLAGS="${LDFLAGS}"
-	else
-		emake CC="$(tc-getCC)"
-	fi
-}
-
-src_install() {
-	dosbin build/bin/tinysshd{,-makekey}
-	dobin build/bin/tinysshd-printkey
-	doman man/*
-
-	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."
-}


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/tinyssh/
@ 2024-01-07  0:36 Yixun Lan
  0 siblings, 0 replies; 15+ messages in thread
From: Yixun Lan @ 2024-01-07  0:36 UTC (permalink / raw
  To: gentoo-commits

commit:     1bcc59a0043c07b7aeaf3bfb3b40503fa55d4a9b
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Thu Jan  4 01:57:46 2024 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Sun Jan  7 00:34:33 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bcc59a0

net-misc/tinyssh: add 20240101

Adds kex-strict-s-v00 <AT> openssh.com support, required to mitigate
 CVE-2023-48795 aka Terrapin.

Links: https://github.com/advisories/GHSA-45x7-px36-x8w8
Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 net-misc/tinyssh/Manifest                |  1 +
 net-misc/tinyssh/tinyssh-20240101.ebuild | 73 ++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

diff --git a/net-misc/tinyssh/Manifest b/net-misc/tinyssh/Manifest
index 4b4495c26cdb..5d54a5ceaa82 100644
--- a/net-misc/tinyssh/Manifest
+++ b/net-misc/tinyssh/Manifest
@@ -1 +1,2 @@
 DIST tinyssh-20230101.tar.gz 249091 BLAKE2B 5efb6eab07c136763ab27588661618763d2ca174dce4b0f4b5fd5dcca56044f8361342de780931070cff8efe43f6efa68eaf912e9ae38febfcff733f79e23018 SHA512 6beaf266058a89a78c710abd1a02feff0641a93d0d92aa07a1ad1ba3f6b3344bc312bb5a4cd5c06c6dcc83d25e48a801f9cfcfbb3de0f73904f36d32d4430482
+DIST tinyssh-20240101.tar.gz 249848 BLAKE2B 228547c6f4acae3b77a338df1ced3a49e0b4c72257ce081b3b50941c29c5a39a0b1623f6aefce2721b9dde9fae03cb8c1c87b6b019658d578ddcca99e0a021f5 SHA512 b48561cfc11bb6d2e9b1c805c9dfc36be5f1bbbf04a455b8db3f02b5b8df15e420fcd93d58fb23526baaf0fd70e9969deca261152a656015f12a433a61092e90

diff --git a/net-misc/tinyssh/tinyssh-20240101.ebuild b/net-misc/tinyssh/tinyssh-20240101.ebuild
new file mode 100644
index 000000000000..5164323fe0c6
--- /dev/null
+++ b/net-misc/tinyssh/tinyssh-20240101.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+SLOT="0"
+
+IUSE="+sodium"
+
+DEPEND="
+	sodium? ( dev-libs/libsodium:= )
+"
+RDEPEND="
+	${DEPEND}
+	sys-apps/ucspi-tcp
+"
+
+src_prepare() {
+	# Leave optimization level to user CFLAGS
+	sed -i 's/-Os -fomit-frame-pointer -funroll-loops//g' ./conf-cc || die
+
+	# Use make-tinysshcc.sh script, which has no tests and doesn't execute
+	# binaries. See https://github.com/janmojzis/tinyssh/issues/2
+	sed -i 's/make-tinyssh\.sh/make-tinysshcc.sh/g' ./Makefile || die
+
+	default
+}
+
+src_compile() {
+	tc-export PKG_CONFIG
+
+	if use sodium
+	then
+		emake \
+			CC="$(tc-getCC)" \
+			LIBS="$("${PKG_CONFIG}" --libs libsodium)" \
+			CFLAGS="${CFLAGS} $("${PKG_CONFIG}" --cflags libsodium)" \
+			LDFLAGS="${LDFLAGS}"
+	else
+		emake CC="$(tc-getCC)"
+	fi
+}
+
+src_install() {
+	dosbin build/bin/tinysshd{,-makekey}
+	dobin build/bin/tinysshd-printkey
+	doman man/*
+
+	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."
+}


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/tinyssh/
@ 2024-02-28  7:07 Joonas Niilola
  0 siblings, 0 replies; 15+ messages in thread
From: Joonas Niilola @ 2024-02-28  7:07 UTC (permalink / raw
  To: gentoo-commits

commit:     75511eb3156d07a9383a540593064079e0aaa33a
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 28 07:02:20 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Feb 28 07:02:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75511eb3

net-misc/tinyssh: revbump due to implicit-function-declaration fix

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-misc/tinyssh/{tinyssh-20240101.ebuild => tinyssh-20240101-r1.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/net-misc/tinyssh/tinyssh-20240101.ebuild b/net-misc/tinyssh/tinyssh-20240101-r1.ebuild
similarity index 100%
rename from net-misc/tinyssh/tinyssh-20240101.ebuild
rename to net-misc/tinyssh/tinyssh-20240101-r1.ebuild


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/tinyssh/
@ 2024-08-30  7:33 Joonas Niilola
  0 siblings, 0 replies; 15+ messages in thread
From: Joonas Niilola @ 2024-08-30  7:33 UTC (permalink / raw
  To: gentoo-commits

commit:     e12ade455b9e37ff0e60123086bcd195ba3309b3
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Fri Aug 23 19:55:47 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Aug 30 07:33:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e12ade45

net-misc/tinyssh: fix include path to sodium

Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
Closes: https://github.com/gentoo/gentoo/pull/38273
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 .../{tinyssh-20240101-r1.ebuild => tinyssh-20240101-r2.ebuild}       | 5 +++--
 net-misc/tinyssh/tinyssh-99999999.ebuild                             | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/net-misc/tinyssh/tinyssh-20240101-r1.ebuild b/net-misc/tinyssh/tinyssh-20240101-r2.ebuild
similarity index 86%
rename from net-misc/tinyssh/tinyssh-20240101-r1.ebuild
rename to net-misc/tinyssh/tinyssh-20240101-r2.ebuild
index 442fb8e5f171..db7411fdc4a4 100644
--- a/net-misc/tinyssh/tinyssh-20240101-r1.ebuild
+++ b/net-misc/tinyssh/tinyssh-20240101-r2.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit systemd toolchain-funcs
 
@@ -46,10 +46,11 @@ src_compile() {
 
 	if use sodium
 	then
+		# -I${includedir}/sodium needed as tinyssh uses `#include "crypto_auth_hmacsha256.h"` rather than `#include <sodium.h>`
 		emake \
 			CC="$(tc-getCC)" \
 			LIBS="$("${PKG_CONFIG}" --libs libsodium)" \
-			CFLAGS="${CFLAGS} $("${PKG_CONFIG}" --cflags libsodium)" \
+			CFLAGS="${CFLAGS} $("${PKG_CONFIG}" --cflags libsodium) -I$("${PKG_CONFIG}" --variable=includedir libsodium)/sodium/" \
 			LDFLAGS="${LDFLAGS}"
 	else
 		emake CC="$(tc-getCC)"

diff --git a/net-misc/tinyssh/tinyssh-99999999.ebuild b/net-misc/tinyssh/tinyssh-99999999.ebuild
index 0edea200702b..9d2ed3e6c433 100644
--- a/net-misc/tinyssh/tinyssh-99999999.ebuild
+++ b/net-misc/tinyssh/tinyssh-99999999.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit systemd toolchain-funcs
 
@@ -45,10 +45,11 @@ src_compile() {
 
 	if use sodium
 	then
+		# -I${includedir}/sodium needed as tinyssh uses `#include "crypto_auth_hmacsha256.h"` rather than `#include <sodium.h>`
 		emake \
 			CC="$(tc-getCC)" \
 			LIBS="$("${PKG_CONFIG}" --libs libsodium)" \
-			CFLAGS="${CFLAGS} $("${PKG_CONFIG}" --cflags libsodium)" \
+			CFLAGS="${CFLAGS} $("${PKG_CONFIG}" --cflags libsodium) -I$("${PKG_CONFIG}" --variable=includedir libsodium)/sodium/" \
 			LDFLAGS="${LDFLAGS}"
 	else
 		emake CC="$(tc-getCC)"


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/tinyssh/
@ 2024-08-30  7:33 Joonas Niilola
  0 siblings, 0 replies; 15+ messages in thread
From: Joonas Niilola @ 2024-08-30  7:33 UTC (permalink / raw
  To: gentoo-commits

commit:     68f6052b7a9d1098e0c6b8dbab223261712be68d
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Fri Aug 23 20:09:39 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Aug 30 07:33:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68f6052b

net-misc/tinyssh: synchronize live ebuild

Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-misc/tinyssh/tinyssh-99999999.ebuild | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/net-misc/tinyssh/tinyssh-99999999.ebuild b/net-misc/tinyssh/tinyssh-99999999.ebuild
index 4b288ff014ec..0edea200702b 100644
--- a/net-misc/tinyssh/tinyssh-99999999.ebuild
+++ b/net-misc/tinyssh/tinyssh-99999999.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
@@ -28,10 +28,11 @@ RDEPEND="
 	sys-apps/ucspi-tcp
 "
 
-src_prepare() {
-	# Leave optimization level to user CFLAGS
-	sed -i 's/-Os -fomit-frame-pointer -funroll-loops//g' ./conf-cc || die
+PATCHES=(
+	"${FILESDIR}/tinyssh-20240101_conf_cflags.patch"
+)
 
+src_prepare() {
 	# Use make-tinysshcc.sh script, which has no tests and doesn't execute
 	# binaries. See https://github.com/janmojzis/tinyssh/issues/2
 	sed -i 's/make-tinyssh\.sh/make-tinysshcc.sh/g' ./Makefile || die


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/tinyssh/
@ 2024-11-23 16:54 Sam James
  0 siblings, 0 replies; 15+ messages in thread
From: Sam James @ 2024-11-23 16:54 UTC (permalink / raw
  To: gentoo-commits

commit:     91ddbe6aa350937b49c1b895342d2e4d1337c40c
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Tue Nov 12 04:24:20 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 23 16:54:03 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91ddbe6a

net-misc/tinyssh: add 20241111

Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/tinyssh/Manifest                          |  1 +
 ...ssh-99999999.ebuild => tinyssh-20241111.ebuild} | 38 ++++++++++------------
 net-misc/tinyssh/tinyssh-99999999.ebuild           | 38 ++++++++++------------
 3 files changed, 35 insertions(+), 42 deletions(-)

diff --git a/net-misc/tinyssh/Manifest b/net-misc/tinyssh/Manifest
index 2bd2ee5a59e1..f924b1dc6fea 100644
--- a/net-misc/tinyssh/Manifest
+++ b/net-misc/tinyssh/Manifest
@@ -1 +1,2 @@
 DIST tinyssh-20240101.tar.gz 249848 BLAKE2B 228547c6f4acae3b77a338df1ced3a49e0b4c72257ce081b3b50941c29c5a39a0b1623f6aefce2721b9dde9fae03cb8c1c87b6b019658d578ddcca99e0a021f5 SHA512 b48561cfc11bb6d2e9b1c805c9dfc36be5f1bbbf04a455b8db3f02b5b8df15e420fcd93d58fb23526baaf0fd70e9969deca261152a656015f12a433a61092e90
+DIST tinyssh-20241111.tar.gz 263324 BLAKE2B 81fbf6b3af4f6ef72acf1a339c4b0b6e7dce0aa3afee4947aa93ac45120836ff0febcf13dcbaea43be0dc4eb1e80c47a0a3b7dcfc8e4b00ad6577c1b366593ae SHA512 52716b6f8998f41180080a33cce0bcb3ff5eb1648b4c61b9ff99c3070f95c1900ab62bc23b30353905d146d557b2550b393c940f25a51d174648951cbc7ec2fc

diff --git a/net-misc/tinyssh/tinyssh-99999999.ebuild b/net-misc/tinyssh/tinyssh-20241111.ebuild
similarity index 58%
copy from net-misc/tinyssh/tinyssh-99999999.ebuild
copy to net-misc/tinyssh/tinyssh-20241111.ebuild
index 9d2ed3e6c433..07aeb225e8ec 100644
--- a/net-misc/tinyssh/tinyssh-99999999.ebuild
+++ b/net-misc/tinyssh/tinyssh-20241111.ebuild
@@ -28,38 +28,34 @@ RDEPEND="
 	sys-apps/ucspi-tcp
 "
 
-PATCHES=(
-	"${FILESDIR}/tinyssh-20240101_conf_cflags.patch"
-)
-
 src_prepare() {
-	# Use make-tinysshcc.sh script, which has no tests and doesn't execute
-	# binaries. See https://github.com/janmojzis/tinyssh/issues/2
-	sed -i 's/make-tinyssh\.sh/make-tinysshcc.sh/g' ./Makefile || die
-
 	default
+
+	echo 'gentoo-autoheaders: $(AUTOHEADERS)' >> Makefile
 }
 
-src_compile() {
-	tc-export PKG_CONFIG
+src_configure() {
+	tc-export PKG_CONFIG CC
 
 	if use sodium
 	then
-		# -I${includedir}/sodium needed as tinyssh uses `#include "crypto_auth_hmacsha256.h"` rather than `#include <sodium.h>`
-		emake \
-			CC="$(tc-getCC)" \
-			LIBS="$("${PKG_CONFIG}" --libs libsodium)" \
-			CFLAGS="${CFLAGS} $("${PKG_CONFIG}" --cflags libsodium) -I$("${PKG_CONFIG}" --variable=includedir libsodium)/sodium/" \
-			LDFLAGS="${LDFLAGS}"
-	else
-		emake CC="$(tc-getCC)"
+		# -I${includedir}/sodium needed as tinyssh uses `#include <randombytes.h>` rather than `#include <sodium.h>`
+		export CFLAGS="${CFLAGS} $("${PKG_CONFIG}" --cflags libsodium) -I$("${PKG_CONFIG}" --variable=includedir libsodium)/sodium/"
+		export LDFLAGS="${LDFLAGS} $("${PKG_CONFIG}" --libs libsodium)"
 	fi
+
+	emake gentoo-autoheaders
+
+	for i in has*.log
+	do
+		einfo "$i"
+		cat "$i"
+	done
 }
 
 src_install() {
-	dosbin build/bin/tinysshd{,-makekey}
-	dobin build/bin/tinysshd-printkey
-	doman man/*
+	einstalldocs
+	emake install DESTDIR="$D" PREFIX=/usr
 
 	newinitd "${FILESDIR}/${PN}.initd" "${PN}"
 	newconfd "${FILESDIR}/${PN}.confd" "${PN}"

diff --git a/net-misc/tinyssh/tinyssh-99999999.ebuild b/net-misc/tinyssh/tinyssh-99999999.ebuild
index 9d2ed3e6c433..07aeb225e8ec 100644
--- a/net-misc/tinyssh/tinyssh-99999999.ebuild
+++ b/net-misc/tinyssh/tinyssh-99999999.ebuild
@@ -28,38 +28,34 @@ RDEPEND="
 	sys-apps/ucspi-tcp
 "
 
-PATCHES=(
-	"${FILESDIR}/tinyssh-20240101_conf_cflags.patch"
-)
-
 src_prepare() {
-	# Use make-tinysshcc.sh script, which has no tests and doesn't execute
-	# binaries. See https://github.com/janmojzis/tinyssh/issues/2
-	sed -i 's/make-tinyssh\.sh/make-tinysshcc.sh/g' ./Makefile || die
-
 	default
+
+	echo 'gentoo-autoheaders: $(AUTOHEADERS)' >> Makefile
 }
 
-src_compile() {
-	tc-export PKG_CONFIG
+src_configure() {
+	tc-export PKG_CONFIG CC
 
 	if use sodium
 	then
-		# -I${includedir}/sodium needed as tinyssh uses `#include "crypto_auth_hmacsha256.h"` rather than `#include <sodium.h>`
-		emake \
-			CC="$(tc-getCC)" \
-			LIBS="$("${PKG_CONFIG}" --libs libsodium)" \
-			CFLAGS="${CFLAGS} $("${PKG_CONFIG}" --cflags libsodium) -I$("${PKG_CONFIG}" --variable=includedir libsodium)/sodium/" \
-			LDFLAGS="${LDFLAGS}"
-	else
-		emake CC="$(tc-getCC)"
+		# -I${includedir}/sodium needed as tinyssh uses `#include <randombytes.h>` rather than `#include <sodium.h>`
+		export CFLAGS="${CFLAGS} $("${PKG_CONFIG}" --cflags libsodium) -I$("${PKG_CONFIG}" --variable=includedir libsodium)/sodium/"
+		export LDFLAGS="${LDFLAGS} $("${PKG_CONFIG}" --libs libsodium)"
 	fi
+
+	emake gentoo-autoheaders
+
+	for i in has*.log
+	do
+		einfo "$i"
+		cat "$i"
+	done
 }
 
 src_install() {
-	dosbin build/bin/tinysshd{,-makekey}
-	dobin build/bin/tinysshd-printkey
-	doman man/*
+	einstalldocs
+	emake install DESTDIR="$D" PREFIX=/usr
 
 	newinitd "${FILESDIR}/${PN}.initd" "${PN}"
 	newconfd "${FILESDIR}/${PN}.confd" "${PN}"


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/tinyssh/
@ 2024-11-23 16:54 Sam James
  0 siblings, 0 replies; 15+ messages in thread
From: Sam James @ 2024-11-23 16:54 UTC (permalink / raw
  To: gentoo-commits

commit:     ff33eb6f5fb5988a4563810346f347876c069857
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 23 16:48:44 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 23 16:54:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff33eb6f

net-misc/tinyssh: small style tweaks

Not invasive ones, more general Gentoo style ones:
* use 'local i'
* use ${x}

And add a missing die.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/tinyssh/tinyssh-20241111.ebuild | 5 +++--
 net-misc/tinyssh/tinyssh-99999999.ebuild | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/net-misc/tinyssh/tinyssh-20241111.ebuild b/net-misc/tinyssh/tinyssh-20241111.ebuild
index 07aeb225e8ec..e1c07e90c588 100644
--- a/net-misc/tinyssh/tinyssh-20241111.ebuild
+++ b/net-misc/tinyssh/tinyssh-20241111.ebuild
@@ -31,7 +31,7 @@ RDEPEND="
 src_prepare() {
 	default
 
-	echo 'gentoo-autoheaders: $(AUTOHEADERS)' >> Makefile
+	echo 'gentoo-autoheaders: $(AUTOHEADERS)' >> Makefile || die
 }
 
 src_configure() {
@@ -46,6 +46,7 @@ src_configure() {
 
 	emake gentoo-autoheaders
 
+	local i
 	for i in has*.log
 	do
 		einfo "$i"
@@ -55,7 +56,7 @@ src_configure() {
 
 src_install() {
 	einstalldocs
-	emake install DESTDIR="$D" PREFIX=/usr
+	emake install DESTDIR="${D}" PREFIX=/usr
 
 	newinitd "${FILESDIR}/${PN}.initd" "${PN}"
 	newconfd "${FILESDIR}/${PN}.confd" "${PN}"

diff --git a/net-misc/tinyssh/tinyssh-99999999.ebuild b/net-misc/tinyssh/tinyssh-99999999.ebuild
index 07aeb225e8ec..e1c07e90c588 100644
--- a/net-misc/tinyssh/tinyssh-99999999.ebuild
+++ b/net-misc/tinyssh/tinyssh-99999999.ebuild
@@ -31,7 +31,7 @@ RDEPEND="
 src_prepare() {
 	default
 
-	echo 'gentoo-autoheaders: $(AUTOHEADERS)' >> Makefile
+	echo 'gentoo-autoheaders: $(AUTOHEADERS)' >> Makefile || die
 }
 
 src_configure() {
@@ -46,6 +46,7 @@ src_configure() {
 
 	emake gentoo-autoheaders
 
+	local i
 	for i in has*.log
 	do
 		einfo "$i"
@@ -55,7 +56,7 @@ src_configure() {
 
 src_install() {
 	einstalldocs
-	emake install DESTDIR="$D" PREFIX=/usr
+	emake install DESTDIR="${D}" PREFIX=/usr
 
 	newinitd "${FILESDIR}/${PN}.initd" "${PN}"
 	newconfd "${FILESDIR}/${PN}.confd" "${PN}"


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/tinyssh/
@ 2024-12-02 14:50 Sam James
  0 siblings, 0 replies; 15+ messages in thread
From: Sam James @ 2024-12-02 14:50 UTC (permalink / raw
  To: gentoo-commits

commit:     1085b07762f2c16150d0b2cae4b3aecd12290fa8
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Mon Dec  2 00:49:55 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec  2 14:48:28 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1085b077

net-misc/tinyssh: add 20241201

Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
Closes: https://github.com/gentoo/gentoo/pull/39549
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/tinyssh/Manifest                                  |  1 +
 .../{tinyssh-99999999.ebuild => tinyssh-20241201.ebuild}   | 14 +-------------
 net-misc/tinyssh/tinyssh-99999999.ebuild                   | 14 +-------------
 3 files changed, 3 insertions(+), 26 deletions(-)

diff --git a/net-misc/tinyssh/Manifest b/net-misc/tinyssh/Manifest
index ba2bf36ba47a..5d99373317d1 100644
--- a/net-misc/tinyssh/Manifest
+++ b/net-misc/tinyssh/Manifest
@@ -1 +1,2 @@
 DIST tinyssh-20241111.tar.gz 263324 BLAKE2B 81fbf6b3af4f6ef72acf1a339c4b0b6e7dce0aa3afee4947aa93ac45120836ff0febcf13dcbaea43be0dc4eb1e80c47a0a3b7dcfc8e4b00ad6577c1b366593ae SHA512 52716b6f8998f41180080a33cce0bcb3ff5eb1648b4c61b9ff99c3070f95c1900ab62bc23b30353905d146d557b2550b393c940f25a51d174648951cbc7ec2fc
+DIST tinyssh-20241201.tar.gz 301611 BLAKE2B de8a7cabecc9ab134adfb5e7e2eba840c47901b9d7720650f6421e4a130447784a66bb9033ab50ecc204966095ebc3cb02d9de18aef5ed0f8f4befdb6af189a2 SHA512 aa0641f92209bce1f1842c13338a053b3d46510280e891d94d7ec48304b621a4fd116abe7e46ad366ee894461e0f8db1e0458db82170622487868cdf4fdb8c66

diff --git a/net-misc/tinyssh/tinyssh-99999999.ebuild b/net-misc/tinyssh/tinyssh-20241201.ebuild
similarity index 74%
copy from net-misc/tinyssh/tinyssh-99999999.ebuild
copy to net-misc/tinyssh/tinyssh-20241201.ebuild
index e1c07e90c588..a4aed4b70c61 100644
--- a/net-misc/tinyssh/tinyssh-99999999.ebuild
+++ b/net-misc/tinyssh/tinyssh-20241201.ebuild
@@ -18,11 +18,6 @@ fi
 LICENSE="CC0-1.0"
 SLOT="0"
 
-IUSE="+sodium"
-
-DEPEND="
-	sodium? ( dev-libs/libsodium:= )
-"
 RDEPEND="
 	${DEPEND}
 	sys-apps/ucspi-tcp
@@ -35,14 +30,7 @@ src_prepare() {
 }
 
 src_configure() {
-	tc-export PKG_CONFIG CC
-
-	if use sodium
-	then
-		# -I${includedir}/sodium needed as tinyssh uses `#include <randombytes.h>` rather than `#include <sodium.h>`
-		export CFLAGS="${CFLAGS} $("${PKG_CONFIG}" --cflags libsodium) -I$("${PKG_CONFIG}" --variable=includedir libsodium)/sodium/"
-		export LDFLAGS="${LDFLAGS} $("${PKG_CONFIG}" --libs libsodium)"
-	fi
+	tc-export CC
 
 	emake gentoo-autoheaders
 

diff --git a/net-misc/tinyssh/tinyssh-99999999.ebuild b/net-misc/tinyssh/tinyssh-99999999.ebuild
index e1c07e90c588..a4aed4b70c61 100644
--- a/net-misc/tinyssh/tinyssh-99999999.ebuild
+++ b/net-misc/tinyssh/tinyssh-99999999.ebuild
@@ -18,11 +18,6 @@ fi
 LICENSE="CC0-1.0"
 SLOT="0"
 
-IUSE="+sodium"
-
-DEPEND="
-	sodium? ( dev-libs/libsodium:= )
-"
 RDEPEND="
 	${DEPEND}
 	sys-apps/ucspi-tcp
@@ -35,14 +30,7 @@ src_prepare() {
 }
 
 src_configure() {
-	tc-export PKG_CONFIG CC
-
-	if use sodium
-	then
-		# -I${includedir}/sodium needed as tinyssh uses `#include <randombytes.h>` rather than `#include <sodium.h>`
-		export CFLAGS="${CFLAGS} $("${PKG_CONFIG}" --cflags libsodium) -I$("${PKG_CONFIG}" --variable=includedir libsodium)/sodium/"
-		export LDFLAGS="${LDFLAGS} $("${PKG_CONFIG}" --libs libsodium)"
-	fi
+	tc-export CC
 
 	emake gentoo-autoheaders
 


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/tinyssh/
@ 2025-03-31 12:58 Joonas Niilola
  0 siblings, 0 replies; 15+ messages in thread
From: Joonas Niilola @ 2025-03-31 12:58 UTC (permalink / raw
  To: gentoo-commits

commit:     0933a094ab4bc04ac614173d7f9cd65dfa7bea42
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Sat Feb  1 14:35:40 2025 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Mar 31 12:55:18 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0933a094

net-misc/tinyssh: add 20250201

Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

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

diff --git a/net-misc/tinyssh/Manifest b/net-misc/tinyssh/Manifest
index 5d99373317d1..7772b1096280 100644
--- a/net-misc/tinyssh/Manifest
+++ b/net-misc/tinyssh/Manifest
@@ -1,2 +1,3 @@
 DIST tinyssh-20241111.tar.gz 263324 BLAKE2B 81fbf6b3af4f6ef72acf1a339c4b0b6e7dce0aa3afee4947aa93ac45120836ff0febcf13dcbaea43be0dc4eb1e80c47a0a3b7dcfc8e4b00ad6577c1b366593ae SHA512 52716b6f8998f41180080a33cce0bcb3ff5eb1648b4c61b9ff99c3070f95c1900ab62bc23b30353905d146d557b2550b393c940f25a51d174648951cbc7ec2fc
 DIST tinyssh-20241201.tar.gz 301611 BLAKE2B de8a7cabecc9ab134adfb5e7e2eba840c47901b9d7720650f6421e4a130447784a66bb9033ab50ecc204966095ebc3cb02d9de18aef5ed0f8f4befdb6af189a2 SHA512 aa0641f92209bce1f1842c13338a053b3d46510280e891d94d7ec48304b621a4fd116abe7e46ad366ee894461e0f8db1e0458db82170622487868cdf4fdb8c66
+DIST tinyssh-20250201.tar.gz 301543 BLAKE2B c5455f9c62717b5a29a741d8e296d5a9199319d492eb40cdafb8a61c2ef24cda4ad890d80d38e554e290f563749bd742df7dcfd1df1098f0a136fb37e689e6dd SHA512 3496967b72ee13ad22f30ba6877f58467ffc39adeb33005268f014c69615bd1c8a4e4bc2071345050e73409e9d064bb039316fb7300aa94d8f5917603f34fd2d

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


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/tinyssh/
@ 2025-03-31 12:58 Joonas Niilola
  0 siblings, 0 replies; 15+ messages in thread
From: Joonas Niilola @ 2025-03-31 12:58 UTC (permalink / raw
  To: gentoo-commits

commit:     6d157e4d8c7bc2d6b1eed3ae87e47506e0132a2e
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Sat Feb  1 14:35:52 2025 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Mar 31 12:55:18 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d157e4d

net-misc/tinyssh: drop 20241111

Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
Closes: https://github.com/gentoo/gentoo/pull/40408
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-misc/tinyssh/Manifest                |  1 -
 net-misc/tinyssh/metadata.xml            |  3 --
 net-misc/tinyssh/tinyssh-20241111.ebuild | 72 --------------------------------
 3 files changed, 76 deletions(-)

diff --git a/net-misc/tinyssh/Manifest b/net-misc/tinyssh/Manifest
index 7772b1096280..ec538f9f454a 100644
--- a/net-misc/tinyssh/Manifest
+++ b/net-misc/tinyssh/Manifest
@@ -1,3 +1,2 @@
-DIST tinyssh-20241111.tar.gz 263324 BLAKE2B 81fbf6b3af4f6ef72acf1a339c4b0b6e7dce0aa3afee4947aa93ac45120836ff0febcf13dcbaea43be0dc4eb1e80c47a0a3b7dcfc8e4b00ad6577c1b366593ae SHA512 52716b6f8998f41180080a33cce0bcb3ff5eb1648b4c61b9ff99c3070f95c1900ab62bc23b30353905d146d557b2550b393c940f25a51d174648951cbc7ec2fc
 DIST tinyssh-20241201.tar.gz 301611 BLAKE2B de8a7cabecc9ab134adfb5e7e2eba840c47901b9d7720650f6421e4a130447784a66bb9033ab50ecc204966095ebc3cb02d9de18aef5ed0f8f4befdb6af189a2 SHA512 aa0641f92209bce1f1842c13338a053b3d46510280e891d94d7ec48304b621a4fd116abe7e46ad366ee894461e0f8db1e0458db82170622487868cdf4fdb8c66
 DIST tinyssh-20250201.tar.gz 301543 BLAKE2B c5455f9c62717b5a29a741d8e296d5a9199319d492eb40cdafb8a61c2ef24cda4ad890d80d38e554e290f563749bd742df7dcfd1df1098f0a136fb37e689e6dd SHA512 3496967b72ee13ad22f30ba6877f58467ffc39adeb33005268f014c69615bd1c8a4e4bc2071345050e73409e9d064bb039316fb7300aa94d8f5917603f34fd2d

diff --git a/net-misc/tinyssh/metadata.xml b/net-misc/tinyssh/metadata.xml
index 3c123417d9f8..646af795b4d6 100644
--- a/net-misc/tinyssh/metadata.xml
+++ b/net-misc/tinyssh/metadata.xml
@@ -8,9 +8,6 @@
     <email>proxy-maint@gentoo.org</email>
     <name>Proxy Maintainers</name>
   </maintainer>
-  <use>
-    <flag name="sodium">Use <pkg>dev-libs/libsodium</pkg> for cryptography</flag>
-  </use>
   <upstream>
     <remote-id type="github">janmojzis/tinyssh</remote-id>
     <bugs-to>https://github.com/janmojzis/tinyssh/issues</bugs-to>

diff --git a/net-misc/tinyssh/tinyssh-20241111.ebuild b/net-misc/tinyssh/tinyssh-20241111.ebuild
deleted file mode 100644
index e1c07e90c588..000000000000
--- a/net-misc/tinyssh/tinyssh-20241111.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2024 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"
-SLOT="0"
-
-IUSE="+sodium"
-
-DEPEND="
-	sodium? ( dev-libs/libsodium:= )
-"
-RDEPEND="
-	${DEPEND}
-	sys-apps/ucspi-tcp
-"
-
-src_prepare() {
-	default
-
-	echo 'gentoo-autoheaders: $(AUTOHEADERS)' >> Makefile || die
-}
-
-src_configure() {
-	tc-export PKG_CONFIG CC
-
-	if use sodium
-	then
-		# -I${includedir}/sodium needed as tinyssh uses `#include <randombytes.h>` rather than `#include <sodium.h>`
-		export CFLAGS="${CFLAGS} $("${PKG_CONFIG}" --cflags libsodium) -I$("${PKG_CONFIG}" --variable=includedir libsodium)/sodium/"
-		export LDFLAGS="${LDFLAGS} $("${PKG_CONFIG}" --libs libsodium)"
-	fi
-
-	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."
-}


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/tinyssh/
@ 2025-04-21 14:14 Viorel Munteanu
  0 siblings, 0 replies; 15+ messages in thread
From: Viorel Munteanu @ 2025-04-21 14:14 UTC (permalink / raw
  To: gentoo-commits

commit:     135c914a94f7643c7be0db05cc5587aaccb94828
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Fri Apr 11 21:42:32 2025 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> 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 <contact <AT> hacktivis.me>
Closes: https://github.com/gentoo/gentoo/pull/41545
Signed-off-by: Viorel Munteanu <ceamac <AT> 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."
+}


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/tinyssh/
@ 2025-04-21 14:14 Viorel Munteanu
  0 siblings, 0 replies; 15+ messages in thread
From: Viorel Munteanu @ 2025-04-21 14:14 UTC (permalink / raw
  To: gentoo-commits

commit:     607dc71cd7b56780595babe5a5e1519705092a57
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Fri Apr 11 21:41:23 2025 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Mon Apr 21 14:02:03 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=607dc71c

net-misc/tinyssh: drop 20241201

Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 net-misc/tinyssh/Manifest                |  1 -
 net-misc/tinyssh/tinyssh-20241201.ebuild | 60 --------------------------------
 2 files changed, 61 deletions(-)

diff --git a/net-misc/tinyssh/Manifest b/net-misc/tinyssh/Manifest
index 81175da83cce..ff1f24244582 100644
--- a/net-misc/tinyssh/Manifest
+++ b/net-misc/tinyssh/Manifest
@@ -1,3 +1,2 @@
-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-20241201.ebuild b/net-misc/tinyssh/tinyssh-20241201.ebuild
deleted file mode 100644
index a4aed4b70c61..000000000000
--- a/net-misc/tinyssh/tinyssh-20241201.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2024 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"
-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."
-}


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/tinyssh/
@ 2025-05-15 17:48 Viorel Munteanu
  0 siblings, 0 replies; 15+ messages in thread
From: Viorel Munteanu @ 2025-05-15 17:48 UTC (permalink / raw
  To: gentoo-commits

commit:     11b7c4c500156fc37240f8fac18057310e0109e0
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Thu May  1 21:59:56 2025 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Thu May 15 17:47:40 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11b7c4c5

net-misc/tinyssh: drop 20250201

Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
Part-of: https://github.com/gentoo/gentoo/pull/41888
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 net-misc/tinyssh/Manifest                |  1 -
 net-misc/tinyssh/tinyssh-20250201.ebuild | 60 --------------------------------
 2 files changed, 61 deletions(-)

diff --git a/net-misc/tinyssh/Manifest b/net-misc/tinyssh/Manifest
index ff1f24244582..9587f30f7571 100644
--- a/net-misc/tinyssh/Manifest
+++ b/net-misc/tinyssh/Manifest
@@ -1,2 +1 @@
-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-20250201.ebuild b/net-misc/tinyssh/tinyssh-20250201.ebuild
deleted file mode 100644
index 3ff059060c0b..000000000000
--- a/net-misc/tinyssh/tinyssh-20250201.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# 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."
-}


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/tinyssh/
@ 2025-05-15 17:48 Viorel Munteanu
  0 siblings, 0 replies; 15+ messages in thread
From: Viorel Munteanu @ 2025-05-15 17:48 UTC (permalink / raw
  To: gentoo-commits

commit:     963c125d7f2feddf22dc7f14f5ef0e5817cb3cdb
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Thu May  1 22:01:10 2025 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Thu May 15 17:47:40 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=963c125d

net-misc/tinyssh: add 20250501

Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
Part-of: https://github.com/gentoo/gentoo/pull/41888
Closes: https://github.com/gentoo/gentoo/pull/41888
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 net-misc/tinyssh/Manifest                                             | 1 +
 net-misc/tinyssh/{tinyssh-99999999.ebuild => tinyssh-20250501.ebuild} | 4 ++--
 net-misc/tinyssh/tinyssh-99999999.ebuild                              | 4 ++--
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/net-misc/tinyssh/Manifest b/net-misc/tinyssh/Manifest
index 9587f30f7571..d0be59414555 100644
--- a/net-misc/tinyssh/Manifest
+++ b/net-misc/tinyssh/Manifest
@@ -1 +1,2 @@
 DIST tinyssh-20250411.tar.gz 421627 BLAKE2B 36664a06815201a342891fdfaa4adf4d9225ca2254702a1a8f3d5e7c13ab78a28889cbf575241007a737e05b3758e8b67c6202e6f3f5db96b9e031cee626a622 SHA512 849fa29757b8f2967cabd1a86e36a2e89c512f1d4495e084e63d1245f6294d21612f792f7dc6924bad301338959219638bf1caa3cc35d4b8135fa1f764440b60
+DIST tinyssh-20250501.tar.gz 421567 BLAKE2B acffcb249e09686fcc9364bdc617f9bbb27c98c1e4c25ed7859711cb9b25be35eff29d8afcd372eab884ec307f2c8ae51596e5782a237ae97b20fbb7e9010f44 SHA512 c303bfa1781d668a86ca05d5c5fe2b028e4b99ba864700283c5bff1bec1050d95ed2b942e8d0eb1bd62fd6e06dc0ad0c404e83e589a67f6e6997b500b857d805

diff --git a/net-misc/tinyssh/tinyssh-99999999.ebuild b/net-misc/tinyssh/tinyssh-20250501.ebuild
similarity index 93%
copy from net-misc/tinyssh/tinyssh-99999999.ebuild
copy to net-misc/tinyssh/tinyssh-20250501.ebuild
index a4aed4b70c61..3ff059060c0b 100644
--- a/net-misc/tinyssh/tinyssh-99999999.ebuild
+++ b/net-misc/tinyssh/tinyssh-20250501.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -15,7 +15,7 @@ else
 	KEYWORDS="~amd64 ~x86"
 fi
 
-LICENSE="CC0-1.0"
+LICENSE="|| ( CC0-1.0 0BSD MIT-0 MIT )"
 SLOT="0"
 
 RDEPEND="

diff --git a/net-misc/tinyssh/tinyssh-99999999.ebuild b/net-misc/tinyssh/tinyssh-99999999.ebuild
index a4aed4b70c61..3ff059060c0b 100644
--- a/net-misc/tinyssh/tinyssh-99999999.ebuild
+++ b/net-misc/tinyssh/tinyssh-99999999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -15,7 +15,7 @@ else
 	KEYWORDS="~amd64 ~x86"
 fi
 
-LICENSE="CC0-1.0"
+LICENSE="|| ( CC0-1.0 0BSD MIT-0 MIT )"
 SLOT="0"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2025-05-15 17:48 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-31 12:58 [gentoo-commits] repo/gentoo:master commit in: net-misc/tinyssh/ Joonas Niilola
  -- strict thread matches above, loose matches on Subject: below --
2025-05-15 17:48 Viorel Munteanu
2025-05-15 17:48 Viorel Munteanu
2025-04-21 14:14 Viorel Munteanu
2025-04-21 14:14 Viorel Munteanu
2025-03-31 12:58 Joonas Niilola
2024-12-02 14:50 Sam James
2024-11-23 16:54 Sam James
2024-11-23 16:54 Sam James
2024-08-30  7:33 Joonas Niilola
2024-08-30  7:33 Joonas Niilola
2024-02-28  7:07 Joonas Niilola
2024-01-07  0:36 Yixun Lan
2024-01-07  0:36 Yixun Lan
2023-07-26  8:41 Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox