diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-24 03:02:55 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-24 03:02:55 +0000 |
commit | 530a5a826feeb71085fb8a01927f4d775a0b131b (patch) | |
tree | b7669c45ea3f2a3a37b2437817a370226bb1c819 /net-misc/tinyssh | |
parent | 71dd9d29cdaf7cc0ecdb9ea37d128726a941c630 (diff) |
gentoo auto-resync : 24:11:2024 - 03:02:54
Diffstat (limited to 'net-misc/tinyssh')
-rw-r--r-- | net-misc/tinyssh/Manifest | 8 | ||||
-rw-r--r-- | net-misc/tinyssh/files/tinyssh-20240101_c99.patch | 33 | ||||
-rw-r--r-- | net-misc/tinyssh/files/tinyssh-20240101_conf_cflags.patch | 10 | ||||
-rw-r--r-- | net-misc/tinyssh/tinyssh-20241111.ebuild (renamed from net-misc/tinyssh/tinyssh-20240101-r2.ebuild) | 40 | ||||
-rw-r--r-- | net-misc/tinyssh/tinyssh-99999999.ebuild | 39 |
5 files changed, 39 insertions, 91 deletions
diff --git a/net-misc/tinyssh/Manifest b/net-misc/tinyssh/Manifest index bd166b5313d7..4cda1b99452c 100644 --- a/net-misc/tinyssh/Manifest +++ b/net-misc/tinyssh/Manifest @@ -1,11 +1,9 @@ -AUX tinyssh-20240101_c99.patch 899 BLAKE2B a08fadcb958a2e15b68b04c7e39e733ccd71186d18e0786f942ea2dd29c04c4e2446bc6d2d8894e50b65e3cae5e95e00aae6cd0acdd5305e440f564df164c42c SHA512 bd3e1356473862a1453183c85e81618380bad741f8bc3a0c8e82a0f859094ba707b1e4fa54ffc7cb83a4b8ad808e9167581969bd3f098733003e5d567640d2a5 -AUX tinyssh-20240101_conf_cflags.patch 193 BLAKE2B f453b0ce527d04fcba68d53a73690ab0c7020f23afc92902f742deaa10dad42448f52a603d16f417e0b63f8e0deec683b95f557a8bcf3f2ba8916aa478b37a45 SHA512 a932e6345236d14178f5294743221bfc1a7136825607d2e80c03e7baa56dc6db5291bef13ad294f6f2509ca554067acd77c6049999757a51f2e9ccea9e2246d1 AUX tinyssh-makekey.service 186 BLAKE2B 2e433a22acb4c29a620a7d42b473536f88de1934af8d67bf7c8ca5d18989d85235cd6a7fee0c543c10792f354fc0266d93bdf11b48889046b8ef06fd628945ae SHA512 b890e6e61f88fa3f738ad042ecc5c5712449b7afb3849203b2528a27b9b6ac43d03f6656386cf3cdbc8ad4b3c205fcc3362a84f8894a3cf6edf77e2e689cb7e4 AUX tinyssh.confd 184 BLAKE2B 6165de2e40d5025eba45390b95dc41f6056c1f4886dc4c60dc81e0973037fb249d9dfe7551c0828f9c9991085b675615c92e41e1185bec303edb63dd94c15d34 SHA512 9cda5967554a04547dce75ecaba9c09328a171998889ec821bfc8f1e9d30e115763d3a75a1572f5d4d829630e0c7146f0827dbc84ac876d533e8e7b99556aa24 AUX tinyssh.initd 807 BLAKE2B e133e79f49fef0f65e9230cbc7fca2d541261652a4acb07a6aeedb45aa40293334afa9c85328de91917c840d6bf56e56602b551d925ab98d44a7da5584eae984 SHA512 519b7849b18375a3fb99d65a0a335f72d01192d4b40c70fc40554b931811b394537bf65c7aa7a177d1b93577d71322a63fe2d9bce3717a89a36b759a013156c9 AUX tinyssh.service 214 BLAKE2B c02041eeb9109fef53a5d08f66d1807eb545d1da1dd9f38f4da4e07860e1fe80bc58a15bed98b7dfc8a9205e1d8852a0d726afc6fe256b187c75212834778f8f SHA512 220c2507b329bc4e4d38caccce8f278ee61d2b9ed6874f36c8e69785edb5021cbb2796d6f5bb51b60d45f1f00306799f5ffbdb26d83fe6db14f69198d4e27d43 AUX tinyssh.socket 222 BLAKE2B 4bc71c8a1f8c45280350324af7c53f891f937b6854bf9647086db7339dd89a47254a8d9f3ced88352ce76cab0d02c326f2109e38c87f81b86336703336bd2a49 SHA512 e3cfb592135d8e1f99781ce17ed580a1854dd70bc8102971ef61654ec32933ae1e8e40f5cb79440b21115764fd301c18b25d59dc722367819f8991cb386dabbc -DIST tinyssh-20240101.tar.gz 249848 BLAKE2B 228547c6f4acae3b77a338df1ced3a49e0b4c72257ce081b3b50941c29c5a39a0b1623f6aefce2721b9dde9fae03cb8c1c87b6b019658d578ddcca99e0a021f5 SHA512 b48561cfc11bb6d2e9b1c805c9dfc36be5f1bbbf04a455b8db3f02b5b8df15e420fcd93d58fb23526baaf0fd70e9969deca261152a656015f12a433a61092e90 -EBUILD tinyssh-20240101-r2.ebuild 1895 BLAKE2B 359a09a4b665b6081db414af2b77e9450cc66bae8256a4437792df733061b3e376f54811abb9a6f2292f8127f8b5198e366d065b04ea12bcc8206f443854ef80 SHA512 d29aac74abc210a20b8785615b267e8a96f4953507df3e09e06856c44570c973f1d6314c92197340707a9e5dc5a5546d325d556c4f28202f2b557aff614b84f4 -EBUILD tinyssh-99999999.ebuild 1853 BLAKE2B 42603829346e6c5194fb31e642ef230949d98cad81734bfe6c08809aebd2aacbc180799228f8d58686116fa49492077342cf4b9d6026f15aa875898829af0b50 SHA512 95d80af4561f3bb4b09c4e8a608c80af8fa5d459c9fa59fb1d57edb38aac70b27d9d6d14e4ec5a78346200a7cb99f9845e9b391a0c3e3a0bdb34b69a51b64401 +DIST tinyssh-20241111.tar.gz 263324 BLAKE2B 81fbf6b3af4f6ef72acf1a339c4b0b6e7dce0aa3afee4947aa93ac45120836ff0febcf13dcbaea43be0dc4eb1e80c47a0a3b7dcfc8e4b00ad6577c1b366593ae SHA512 52716b6f8998f41180080a33cce0bcb3ff5eb1648b4c61b9ff99c3070f95c1900ab62bc23b30353905d146d557b2550b393c940f25a51d174648951cbc7ec2fc +EBUILD tinyssh-20241111.ebuild 1639 BLAKE2B 120b3915cbf57df05f2777a2daed8aa2b64611db31850c31faad7c05b224ea5103ffefb9a9f0593666ae96f00dfa04a4e92654decb4069bca5363eb77a54a7bf SHA512 ee8bcf5a7b939f7ae10c96a5153e6cedacb6011d18c8cc00a2cc1c4d0ebd45203b63fb35e0b33c7f03a6b32676c333d8188167c23ec1353bcd99585c58a280c2 +EBUILD tinyssh-99999999.ebuild 1639 BLAKE2B 120b3915cbf57df05f2777a2daed8aa2b64611db31850c31faad7c05b224ea5103ffefb9a9f0593666ae96f00dfa04a4e92654decb4069bca5363eb77a54a7bf SHA512 ee8bcf5a7b939f7ae10c96a5153e6cedacb6011d18c8cc00a2cc1c4d0ebd45203b63fb35e0b33c7f03a6b32676c333d8188167c23ec1353bcd99585c58a280c2 MISC metadata.xml 2107 BLAKE2B 6e166d2ea373129eb377c030dac7eae8ac06937cdd4ffd2c1afdc4abae691569be7ae5a46a634e9c2a4c13bbfbc915285ee8244f13d88d2219f94dbca38da58f SHA512 845cc482edd4e62a12e3cf3d01699b2e44d4ac9424170c7b867719c5c400aaafd5cb150866f4af309c208211dbba80a52e52bb72ec09d4cf7bbb4a4556a60232 diff --git a/net-misc/tinyssh/files/tinyssh-20240101_c99.patch b/net-misc/tinyssh/files/tinyssh-20240101_c99.patch deleted file mode 100644 index 38b2e845eaa5..000000000000 --- a/net-misc/tinyssh/files/tinyssh-20240101_c99.patch +++ /dev/null @@ -1,33 +0,0 @@ -From ae059fda00c11236a32499f105e803f962d1e243 Mon Sep 17 00:00:00 2001 -From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me> -Date: Tue, 9 Jan 2024 19:51:14 +0100 -Subject: [PATCH] packet_put: Add missing bug.h include for global_die - -``` -packet_put.c:53:9: error: call to undeclared function 'global_die'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - global_die(111); - ^ -1 error generated. -``` - -Upstream: https://github.com/janmojzis/tinyssh/pull/84 - ---- - tinyssh/packet_put.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/tinyssh/packet_put.c b/tinyssh/packet_put.c -index 17e8d84..7f46ff6 100644 ---- a/tinyssh/packet_put.c -+++ b/tinyssh/packet_put.c -@@ -6,6 +6,7 @@ Public domain. - - #include "uint32_pack_big.h" - #include "buf.h" -+#include "bug.h" - #include "sshcrypto.h" - #include "ssh.h" - #include "log.h" --- -2.41.0 - diff --git a/net-misc/tinyssh/files/tinyssh-20240101_conf_cflags.patch b/net-misc/tinyssh/files/tinyssh-20240101_conf_cflags.patch deleted file mode 100644 index 8dd35d91b828..000000000000 --- a/net-misc/tinyssh/files/tinyssh-20240101_conf_cflags.patch +++ /dev/null @@ -1,10 +0,0 @@ -diff --git a/conf-cflags b/conf-cflags ---- a/conf-cflags -+++ b/conf-cflags -@@ -15,6 +15,3 @@ - -fstack-protector-strong - -fwrapv - -fno-strict-overflow ---Os ---fomit-frame-pointer ---funroll-loops diff --git a/net-misc/tinyssh/tinyssh-20240101-r2.ebuild b/net-misc/tinyssh/tinyssh-20241111.ebuild index db7411fdc4a4..e1c07e90c588 100644 --- a/net-misc/tinyssh/tinyssh-20240101-r2.ebuild +++ b/net-misc/tinyssh/tinyssh-20241111.ebuild @@ -28,39 +28,35 @@ RDEPEND=" sys-apps/ucspi-tcp " -PATCHES=( - "${FILESDIR}/tinyssh-20240101_c99.patch" - "${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 || die } -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 + + local i + 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..e1c07e90c588 100644 --- a/net-misc/tinyssh/tinyssh-99999999.ebuild +++ b/net-misc/tinyssh/tinyssh-99999999.ebuild @@ -28,38 +28,35 @@ 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 || die } -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 + + local i + 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}" |