aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@outlook.com>2022-09-08 21:00:09 -0500
committerLeonardo Hernández Hernández <leohdz172@outlook.com>2022-09-08 21:52:03 -0500
commitdcefdb7b0fa187d8f57e39d0cb23b051433377c2 (patch)
tree0e3a9953c7203c0344dee23e5c02dbcfe26f7b6b /net-mail
parentnet-mail/hydroxide: don't add LICENSE file to $DOCS (diff)
downloadguru-dcefdb7b0fa187d8f57e39d0cb23b051433377c2.tar.gz
guru-dcefdb7b0fa187d8f57e39d0cb23b051433377c2.tar.bz2
guru-dcefdb7b0fa187d8f57e39d0cb23b051433377c2.zip
net-mail/hydroxide: add 0.2.24
Signed-off-by: Leonardo Hernández Hernández <leohdz172@outlook.com>
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/hydroxide/Manifest3
-rw-r--r--net-mail/hydroxide/hydroxide-0.2.24.ebuild56
2 files changed, 59 insertions, 0 deletions
diff --git a/net-mail/hydroxide/Manifest b/net-mail/hydroxide/Manifest
index 6ccab93da..110dc2800 100644
--- a/net-mail/hydroxide/Manifest
+++ b/net-mail/hydroxide/Manifest
@@ -1,3 +1,6 @@
DIST hydroxide-0.2.23-deps.tar.xz 24543788 BLAKE2B 589d9a1f9c65ea192817f76bb00cce56d9d1bfa4c496dd392fbab65edaee34ac850fcc55d05d8ec944c49d98a7432bf4e2b4271e7acbc870d9bf115c4f0a8002 SHA512 ab1dfbc65677caac4d51e6e6301328046811e0359c45552e702da5605e990152040cdc6eec2920d7dd914cbdaf15d8179ae41a9a51d5e0b507c442d875516caf
DIST hydroxide-0.2.23.tar.gz 43602 BLAKE2B d238758a67475620325ac7b267aa714a84871d45762f22547798dddc0562419988c382cb79a314d7239dd5fa9eafd407ae1cc20a491391a14ef872af36ad3495 SHA512 9f2c9b59cb7c1dfcfec9cc626767f340b1d5caea4db69e81de6b87c4bcf26840d14cd6568a0d3aad36d8e31184e2f1827a5e27745338bc2f38265ce64fe2d4a4
DIST hydroxide-0.2.23.tar.gz.sig 566 BLAKE2B f8ba4f03ea9dd41f79cade5acdf19ef29ed40cb456465240ea60ba7bdfed86e5c842a9b74d78e4c49629de86d8d0630bd54b23923d50df926df2203fc0a5d543 SHA512 e2f87ec14412720479cdfc854268bd2422080bdf528491cf3d004f9e46e86fa5872f853b4085513c28f2a929a8f799a4f30538e66496f93aebc81a06a0ff584e
+DIST hydroxide-0.2.24-deps.tar.xz 68892640 BLAKE2B 6d30090862dbe9df1978e04c6e5e5e8f93ab1e7c8403eafaab82040f40aff80efe4032584701fb926af8c972bee6f63aae2a52cd2a594df1f79d459dac2e015b SHA512 c8cb7621c34369af15a6c47a8ac6bd9245c52ea65c20ddcdd894062a3a5f2b46f436aa184093b25fad3338287f1d4d64a857e305cf000191bb4644e43e1d26f0
+DIST hydroxide-0.2.24.tar.gz 43788 BLAKE2B ea7cd766531fad4eff57ec0a87c6dcc964a15116fbfc21b7a7cce503f57618c192f91560756ee09a21d7d7ffcd6d818dbfdfde501e8a44a8253de7e7941bf0bb SHA512 925e7516cffbb06ea8fa8cbc25fce18832ad78da747c9b77a83db96f8bf8d05f05bcb300b972d9f6cf62a794a330f3efc086f32021ddaf608603f10462699583
+DIST hydroxide-0.2.24.tar.gz.sig 566 BLAKE2B 49a0fcd5f4d70f37fde0f77cc50f03749a5dfe0b9c83c565b283f996127762fc204d4b04f0b0797b12c98840a72f2328fdb5fbccb180d4fbd4000d4e7b3fde38 SHA512 e0fb3308012111af91ee593b1ea998b0ae3e61a3ce947a0dbe08e88728ecce6a9da035a785bbac7e58905e68951935f20096b0035fa475346c259c1344104656
diff --git a/net-mail/hydroxide/hydroxide-0.2.24.ebuild b/net-mail/hydroxide/hydroxide-0.2.24.ebuild
new file mode 100644
index 000000000..ef3cb95b9
--- /dev/null
+++ b/net-mail/hydroxide/hydroxide-0.2.24.ebuild
@@ -0,0 +1,56 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module
+
+if [[ "${PV}" == "9999" ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/emersion/hydroxide.git"
+else
+ inherit verify-sig
+ SRC_URI="https://github.com/emersion/${PN}/releases/download/v${PV}/${P}.tar.gz
+ verify-sig? ( https://github.com/emersion/${PN}/releases/download/v${PV}/${P}.tar.gz.sig )
+ https://gitlab.com/sevz17/go-deps/-/raw/main/${P}-deps.tar.xz
+ "
+ VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/emersion.asc"
+ BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-emersion )"
+ KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="A third-party, open-source ProtonMail CardDAV, IMAP and SMTP bridge"
+HOMEPAGE="https://github.com/emersion/hydroxide"
+
+LICENSE="MIT BSD"
+SLOT="0"
+
+src_unpack() {
+ if [[ "${PV}" == "9999" ]]; then
+ git-r3_src_unpack
+ go-module_live_vendor
+ else
+ if use verify-sig; then
+ verify-sig_verify_detached "${DISTDIR}"/"${P}".tar.gz{,.sig}
+ fi
+ go-module_src_unpack
+ fi
+}
+
+src_compile() {
+ ego build -v ./cmd/hydroxide
+}
+
+src_install() {
+ local DOCS=( "README.md" )
+ einstalldocs
+
+ dobin "${PN}"
+}
+
+pkg_postinst() {
+ elog ""
+ elog "In order to use ${PN} you need to read"
+ elog "https://github.com/emersion/hydroxide#installing"
+ elog ""
+}