From 466f9093734c13aff8707a61cfcc1385a1cb1d8f Mon Sep 17 00:00:00 2001 From: Leonardo Hernández Hernández Date: Fri, 21 Apr 2023 15:54:29 -0600 Subject: net-mail/hydroxide: add 0.2.26 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Leonardo Hernández Hernández --- net-mail/hydroxide/Manifest | 3 ++ net-mail/hydroxide/hydroxide-0.2.26.ebuild | 54 ++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 net-mail/hydroxide/hydroxide-0.2.26.ebuild (limited to 'net-mail') diff --git a/net-mail/hydroxide/Manifest b/net-mail/hydroxide/Manifest index 110dc2800..94ef3f80b 100644 --- a/net-mail/hydroxide/Manifest +++ b/net-mail/hydroxide/Manifest @@ -4,3 +4,6 @@ DIST hydroxide-0.2.23.tar.gz.sig 566 BLAKE2B f8ba4f03ea9dd41f79cade5acdf19ef29ed 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 +DIST hydroxide-0.2.26-deps.tar.xz 128526636 BLAKE2B 50381725b624a2e0d7f4fcab3ef40663f1d0cb0dd64a868280aed47ceffe4e97f51835e805800d0a8a2b365eee64ceaf49d81e1396442df5d2159b74a8b97bab SHA512 cdf406352031ecc47a360a56a88554fc3b5a5079df9a063abf5c5bdd7bbbdc945436b1a63e58bd2bd810dc43c6787fced2d05e9a1f4acc8b6474a660d6e7b4f9 +DIST hydroxide-0.2.26.tar.gz 44023 BLAKE2B 0842af01d89dbfc7aae2c5ae5488883d18c104ee905961628055d08f62f2115ff4cecef4a03775b77c29ec97c838009c380573387640ce1247737b11c0707178 SHA512 1d4dfa9de6c489948bf4e76524c53b02e925ee078b34b55067e437a3c27decc297415d4c1b62ad1a928af828ed3c460e4b5890a407be4c02267697a7c1063330 +DIST hydroxide-0.2.26.tar.gz.sig 566 BLAKE2B 75eb9efe93eebeec2f055076fb83c57cb84465ec02fd5bea9ba52a73499b64ce9d8dc6ebdcbe5f24b7b636f5f41766d82c18ab9411a63e7126115030557119dc SHA512 9aaf30b6adcc856a1665075b8fdf9abd819aa965a1abe6d0ebc0205a09656c33298063d6da2ae564c2a0122601f49ced2394d84486cd46130ecacf91760fe097 diff --git a/net-mail/hydroxide/hydroxide-0.2.26.ebuild b/net-mail/hydroxide/hydroxide-0.2.26.ebuild new file mode 100644 index 000000000..f75d823e4 --- /dev/null +++ b/net-mail/hydroxide/hydroxide-0.2.26.ebuild @@ -0,0 +1,54 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module multiprocessing + +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 -x -p "$(makeopts_jobs)" ./cmd/hydroxide +} + +src_install() { + default + dobin "${PN}" +} + +pkg_postinst() { + elog "" + elog "In order to use ${PN} you need to read" + elog "https://github.com/emersion/hydroxide#installing" + elog "" +} -- cgit v1.2.3-65-gdbad