Gentoo Archives: gentoo-commits

From: Haelwenn Monnier <contact@×××××××××.me>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-misc/tinyssh/
Date: Sun, 01 Jan 2023 21:28:40
Message-Id: 1672608477.2aa3d2f13a0d6e893123515df790565103b6b506.lanodan@gentoo
1 commit: 2aa3d2f13a0d6e893123515df790565103b6b506
2 Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
3 AuthorDate: Sun Jan 1 21:20:36 2023 +0000
4 Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
5 CommitDate: Sun Jan 1 21:27:57 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2aa3d2f1
7
8 net-misc/tinyssh: drop 20220222
9
10 Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
11
12 net-misc/tinyssh/Manifest | 1 -
13 net-misc/tinyssh/tinyssh-20220222.ebuild | 71 --------------------------------
14 2 files changed, 72 deletions(-)
15
16 diff --git a/net-misc/tinyssh/Manifest b/net-misc/tinyssh/Manifest
17 index 3e400bcbb..739578697 100644
18 --- a/net-misc/tinyssh/Manifest
19 +++ b/net-misc/tinyssh/Manifest
20 @@ -1,2 +1 @@
21 -DIST tinyssh-20220222.tar.gz 248788 BLAKE2B cabcd12d3cd6d862fea9c4cba03b72ed2edebe2584feb5cdcff9294b05f41e553fb1f9f127306a63890bc6481eb88b04953f357cf9c505e4678f85f7a38128c9 SHA512 ff6285abd5a963a031cb21fbfdd8fe38e7d7a4d17b053ebc2abeb503fdd2afb5d3a3c0921ea53624ae3d8c29cd64a7fa6810e2c053aaf4d2ad949d7c4ba21ad0
22 DIST tinyssh-20220801.tar.gz 249071 BLAKE2B 77509d2e2c7f84d675bb1f64df6ee7925e5c1f3f1be998b8438fa6e63954fca5dcbc724eb9993f22267f23e840e5f66077d48dfaba0f8d3c0b4b51d5098b457f SHA512 fe9f45f7a06c7c30d56a2ce32e656b1d3a8d12ccdb99dfd4087a145fdf4c5b54a1f1739f5a83dc8158f1164f36c89c6e349b370e1946ca0cfc81d27cae143135
23
24 diff --git a/net-misc/tinyssh/tinyssh-20220222.ebuild b/net-misc/tinyssh/tinyssh-20220222.ebuild
25 deleted file mode 100644
26 index 27fb9b615..000000000
27 --- a/net-misc/tinyssh/tinyssh-20220222.ebuild
28 +++ /dev/null
29 @@ -1,71 +0,0 @@
30 -# Copyright 1999-2022 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -
35 -inherit systemd toolchain-funcs
36 -
37 -DESCRIPTION="A small SSH server with state-of-the-art cryptography"
38 -HOMEPAGE="https://tinyssh.org"
39 -if [[ "${PV}" == "9999" ]]; then
40 - inherit git-r3
41 - EGIT_REPO_URI="https://github.com/janmojzis/tinyssh.git"
42 -else
43 - SRC_URI="https://github.com/janmojzis/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
44 - KEYWORDS="~amd64 ~x86"
45 -fi
46 -
47 -LICENSE="public-domain"
48 -SLOT="0"
49 -
50 -IUSE="+sodium"
51 -
52 -DEPEND="
53 - sodium? ( dev-libs/libsodium )
54 -"
55 -RDEPEND="
56 - ${DEPEND}
57 - sys-apps/ucspi-tcp
58 -"
59 -
60 -src_prepare() {
61 - # Leave optimization level to user CFLAGS
62 - sed -i 's/-Os -fomit-frame-pointer -funroll-loops//g' ./conf-cc || die
63 -
64 - # Use make-tinysshcc.sh script, which has no tests and doesn't execute
65 - # binaries. See https://github.com/janmojzis/tinyssh/issues/2
66 - sed -i 's/make-tinyssh\.sh/make-tinysshcc.sh/g' ./Makefile || die
67 -
68 - default
69 -}
70 -
71 -src_compile() {
72 - if use sodium
73 - then
74 - emake \
75 - CC="$(tc-getCC)"
76 - LIBS="-lsodium" \
77 - CFLAGS="${CFLAGS} -I/usr/include/sodium" \
78 - LDFLAGS="${LDFLAGS} -L/usr/lib"
79 - else
80 - emake CC="$(tc-getCC)"
81 - fi
82 -}
83 -
84 -src_install() {
85 - dosbin build/bin/tinysshd{,-makekey}
86 - dobin build/bin/tinysshd-printkey
87 - doman man/*
88 -
89 - newinitd "${FILESDIR}/${PN}.initd" "${PN}"
90 - newconfd "${FILESDIR}/${PN}.confd" "${PN}"
91 -
92 - systemd_newunit "${FILESDIR}/${PN}.service" "${PN}@.service"
93 - systemd_newunit "${FILESDIR}/${PN}.socket" "${PN}@.socket"
94 - systemd_dounit "${FILESDIR}/${PN}-makekey.service"
95 -}
96 -
97 -pkg_postinst() {
98 - einfo "TinySSH is in beta stage, and ready for production use."
99 - einfo "See https://tinyssh.org for more information."
100 -}