aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2023-07-26 10:09:51 +0200
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>2023-07-26 10:12:25 +0200
commite45697264ed7c726178a5e7935e613584ace9b5a (patch)
tree6bde0bc1362c91c4ff91b6d98471dc1813f515da /dev-hare
parentapp-admin/himitsu-ssh: unkeyword 0.2 for ~amd64 (diff)
downloadguru-e45697264ed7c726178a5e7935e613584ace9b5a.tar.gz
guru-e45697264ed7c726178a5e7935e613584ace9b5a.tar.bz2
guru-e45697264ed7c726178a5e7935e613584ace9b5a.zip
dev-hare/hare-ssh: add 0_pre20230623
Fixes missing keyworded lib for 49064acd96abee4dfb1738cf983def64041bf2b9 Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Diffstat (limited to 'dev-hare')
-rw-r--r--dev-hare/hare-ssh/Manifest1
-rw-r--r--dev-hare/hare-ssh/hare-ssh-0_pre20230623.ebuild30
-rw-r--r--dev-hare/hare-ssh/hare-ssh-9999.ebuild20
3 files changed, 46 insertions, 5 deletions
diff --git a/dev-hare/hare-ssh/Manifest b/dev-hare/hare-ssh/Manifest
new file mode 100644
index 000000000..a47870502
--- /dev/null
+++ b/dev-hare/hare-ssh/Manifest
@@ -0,0 +1 @@
+DIST hare-ssh-9fe392eb4478dc26680c8c5c42deb87d192447db.tar.gz 32799 BLAKE2B 94bc993415f76c41d711b06f38504df012982bc13528f6a88bc4fad7c601578c8ff5abdbc86cae60ff2965c14898da5aa2b02a301af10583de9b49d8229d24fe SHA512 9f14229630330878ca7b8a9935c82fd0c6b547918d662591b0871314c7df86aee32e55fda7273bee3c6ae04d3c75acc628edd500e735272af3609b2bdabeaaec
diff --git a/dev-hare/hare-ssh/hare-ssh-0_pre20230623.ebuild b/dev-hare/hare-ssh/hare-ssh-0_pre20230623.ebuild
new file mode 100644
index 000000000..60e214600
--- /dev/null
+++ b/dev-hare/hare-ssh/hare-ssh-0_pre20230623.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+if [[ "${PV}" = 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/hare-ssh"
+ SLOT="0"
+else
+ EGIT_COMMIT="9fe392eb4478dc26680c8c5c42deb87d192447db"
+ MY_P="${PN}-${EGIT_COMMIT}"
+ SRC_URI="https://git.sr.ht/~sircmpwn/hare-ssh/archive/${EGIT_COMMIT}.tar.gz -> ${MY_P}.tar.gz"
+ S="${WORKDIR}/${MY_P}"
+ SLOT="0/${PV}"
+
+ KEYWORDS="~amd64 ~arm64 ~riscv"
+fi
+
+DESCRIPTION="SSH library for Hare"
+HOMEPAGE="https://git.sr.ht/~sircmpwn/hare-ssh"
+LICENSE="MPL-2.0"
+
+RDEPEND="<=dev-lang/hare-0_pre20220922"
+DEPEND="${DEPEND}"
+
+src_prepare() {
+ default
+ sed -i 's;^PREFIX=.*;PREFIX=/usr;' Makefile || die
+}
diff --git a/dev-hare/hare-ssh/hare-ssh-9999.ebuild b/dev-hare/hare-ssh/hare-ssh-9999.ebuild
index 1a123cd62..60e214600 100644
--- a/dev-hare/hare-ssh/hare-ssh-9999.ebuild
+++ b/dev-hare/hare-ssh/hare-ssh-9999.ebuild
@@ -1,17 +1,27 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit git-r3
+if [[ "${PV}" = 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/hare-ssh"
+ SLOT="0"
+else
+ EGIT_COMMIT="9fe392eb4478dc26680c8c5c42deb87d192447db"
+ MY_P="${PN}-${EGIT_COMMIT}"
+ SRC_URI="https://git.sr.ht/~sircmpwn/hare-ssh/archive/${EGIT_COMMIT}.tar.gz -> ${MY_P}.tar.gz"
+ S="${WORKDIR}/${MY_P}"
+ SLOT="0/${PV}"
+
+ KEYWORDS="~amd64 ~arm64 ~riscv"
+fi
DESCRIPTION="SSH library for Hare"
HOMEPAGE="https://git.sr.ht/~sircmpwn/hare-ssh"
-EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/hare-ssh"
LICENSE="MPL-2.0"
-SLOT="0"
-RDEPEND="dev-lang/hare"
+RDEPEND="<=dev-lang/hare-0_pre20220922"
DEPEND="${DEPEND}"
src_prepare() {