Сравнение tinyssh-20260401 с tinyssh-99999999

/usr/portage/net-misc/tinyssh/tinyssh-99999999.ebuild 2026-09-13 20:03:04.178708062 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
inherit systemd toolchain-funcs
6
inherit systemd toolchain-funcs eapi9-ver
7 7

  
8 8
DESCRIPTION="A small SSH server with state-of-the-art cryptography"
9 9
HOMEPAGE="https://tinyssh.org"
......
11 11
	inherit git-r3
12 12
	EGIT_REPO_URI="https://github.com/janmojzis/tinyssh.git"
13 13
else
14
	SRC_URI="https://github.com/janmojzis/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
15
	KEYWORDS="amd64 arm64 x86"
14
	inherit verify-sig
15
	SRC_URI="
16
		https://github.com/janmojzis/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
17
		verify-sig? ( https://github.com/janmojzis/tinyssh/releases/download/${PV}/${PV}.tar.gz.asc -> ${P}.tar.gz.asc )
18
	"
19
	KEYWORDS="~amd64 ~arm64 ~x86"
16 20
fi
17 21

  
18 22
LICENSE="|| ( CC0-1.0 0BSD MIT-0 MIT )"
......
22 26
	${DEPEND}
23 27
	sys-apps/ucspi-tcp
24 28
"
29
if [[ "${PV}" != "99999999" ]]; then
30
	BDEPEND="${BDEPEND} verify-sig? ( sec-keys/openpgp-keys-janmojzis )"
31
	VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/janmojzis.asc"
32
fi
25 33

  
26 34
src_prepare() {
27 35
	default
28 36

  
29 37
	echo 'gentoo-autoheaders: $(AUTOHEADERS)' >> Makefile || die
38

  
39
	# test-subprocess-auth.sh depends on checks if (sub)directories are
40
	# owned either by current user or root, and not group-writable
41
	# (/var/tmp/portage typically is g=rwX)
42
	sed -i '/TESTS=/s,test-subprocess-auth[.]sh,,' tests/Makefile || die
30 43
}
31 44

  
32 45
src_configure() {
......
57 70
pkg_postinst() {
58 71
	einfo "TinySSH is in beta stage, and ready for production use."
59 72
	einfo "See https://tinyssh.org for more information."
73

  
74
	if ver_replacing -lt "20260906"; then
75
		elog "Starting with TinySSH-20260906 subdirectories of .ssh/authorized_keys"
76
		elog "are checked against group-write permissions and owner not matching"
77
		elog "root or target user"
78
	fi
60 79
}
Спасибо!