From 837e98bcf50fee35bf2f4d5769f05b41cd168cb2 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Wed, 12 May 2021 20:43:47 +0200 Subject: [PATCH 1/3] net-misc/tinyssh: Add live ebuild Signed-off-by: Haelwenn (lanodan) Monnier --- net-misc/tinyssh/tinyssh-20210319.ebuild | 9 ++- net-misc/tinyssh/tinyssh-99999999.ebuild | 71 ++++++++++++++++++++++++ 2 files changed, 78 insertions(+), 2 deletions(-) create mode 100644 net-misc/tinyssh/tinyssh-99999999.ebuild diff --git a/net-misc/tinyssh/tinyssh-20210319.ebuild b/net-misc/tinyssh/tinyssh-20210319.ebuild index 1fccc0e226..1137216026 100644 --- a/net-misc/tinyssh/tinyssh-20210319.ebuild +++ b/net-misc/tinyssh/tinyssh-20210319.ebuild @@ -7,11 +7,16 @@ inherit systemd DESCRIPTION="A small SSH server with state-of-the-art cryptography" HOMEPAGE="https://tinyssh.org" -SRC_URI="https://github.com/janmojzis/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +if [[ "${PV}" == "9999" ]]; 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="public-domain" SLOT="0" -KEYWORDS="~amd64 ~x86" IUSE="+sodium" diff --git a/net-misc/tinyssh/tinyssh-99999999.ebuild b/net-misc/tinyssh/tinyssh-99999999.ebuild new file mode 100644 index 0000000000..48d90965d5 --- /dev/null +++ b/net-misc/tinyssh/tinyssh-99999999.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit systemd + +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="public-domain" +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() { + if use sodium + then + emake \ + CC="$(tc-getCC)" + LIBS="-lsodium" \ + CFLAGS="${CFLAGS} -I/usr/include/sodium" \ + LDFLAGS="${LDFLAGS} -L/usr/lib" + 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." +} From badb3a0ded8b0717579e1fd5eb33ec2184655340 Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Thu, 13 May 2021 08:37:47 +0200 Subject: [PATCH 2/3] net-im/rocketchat-desktop-bin: version bump 3.2.0 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan --- net-im/rocketchat-desktop-bin/Manifest | 2 +- ...top-bin-3.1.1.ebuild => rocketchat-desktop-bin-3.2.0.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename net-im/rocketchat-desktop-bin/{rocketchat-desktop-bin-3.1.1.ebuild => rocketchat-desktop-bin-3.2.0.ebuild} (100%) diff --git a/net-im/rocketchat-desktop-bin/Manifest b/net-im/rocketchat-desktop-bin/Manifest index 39341e3f7e..9428924494 100644 --- a/net-im/rocketchat-desktop-bin/Manifest +++ b/net-im/rocketchat-desktop-bin/Manifest @@ -1 +1 @@ -DIST rocketchat-3.1.1.x86_64.rpm 55360392 BLAKE2B 6384297c1707c549d9a8a26662a610b7fd9c168886b65ebe875eee15553c600be1f322716284011ccc8f6db70d489feea8ae3b7934651315968caccf4e871c1a SHA512 685e64b1c023baf69b1689aac83ebbfd990a0ae35b3c7b3447058595c04a7d845074d845f33dac698d59506069d05aead03b117039782c7703954b324be3cbf2 +DIST rocketchat-3.2.0.x86_64.rpm 55347176 BLAKE2B 69f5dc15a61029aee97638dbde40ede5fd860f8ef51dc40bec09b142f31d2b5ab2d1ca81604ce909327888174a5f549775d4f7a03e55d9a3251004c4164f9a1e SHA512 7d5827c5f8822ab7c1966e5938801de8a8ef73d49f594647294cdb69e0ea37315ed6277830aa1680442577157d705455e1b832b04d7d7a821bdd4e5810598e0d diff --git a/net-im/rocketchat-desktop-bin/rocketchat-desktop-bin-3.1.1.ebuild b/net-im/rocketchat-desktop-bin/rocketchat-desktop-bin-3.2.0.ebuild similarity index 100% rename from net-im/rocketchat-desktop-bin/rocketchat-desktop-bin-3.1.1.ebuild rename to net-im/rocketchat-desktop-bin/rocketchat-desktop-bin-3.2.0.ebuild From 5b1a9372269140b8c5da5da8019f708e213fb868 Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Thu, 13 May 2021 08:39:53 +0200 Subject: [PATCH 3/3] dev-cpp/vexcl: fix indentation, whitspace -> tab Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan --- dev-cpp/vexcl/vexcl-1.4.2-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cpp/vexcl/vexcl-1.4.2-r1.ebuild b/dev-cpp/vexcl/vexcl-1.4.2-r1.ebuild index 4385b24d4f..a2599bbb7c 100644 --- a/dev-cpp/vexcl/vexcl-1.4.2-r1.ebuild +++ b/dev-cpp/vexcl/vexcl-1.4.2-r1.ebuild @@ -58,7 +58,7 @@ src_configure() { src_compile() { cmake_src_compile - docs_compile + docs_compile } src_install() {