aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@proton.me>2023-06-12 11:49:32 -0600
committerLeonardo Hernández Hernández <leohdz172@proton.me>2023-06-12 11:49:56 -0600
commitd340412b2ddb19ca15e1a733b52e1bdca879e389 (patch)
tree41ddf60f59ed898fe6c018f836e7a209abcb56df /net-mail
parentnet-mail/hydroxide: update dependency tarball URL (diff)
downloadguru-d340412b2ddb19ca15e1a733b52e1bdca879e389.tar.gz
guru-d340412b2ddb19ca15e1a733b52e1bdca879e389.tar.bz2
guru-d340412b2ddb19ca15e1a733b52e1bdca879e389.zip
net-mail/hydroxide: add 0.2.27
Signed-off-by: Leonardo Hernández Hernández <leohdz172@proton.me>
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/hydroxide/Manifest3
-rw-r--r--net-mail/hydroxide/hydroxide-0.2.27.ebuild54
2 files changed, 57 insertions, 0 deletions
diff --git a/net-mail/hydroxide/Manifest b/net-mail/hydroxide/Manifest
index 94ef3f80b..3bf82e096 100644
--- a/net-mail/hydroxide/Manifest
+++ b/net-mail/hydroxide/Manifest
@@ -7,3 +7,6 @@ DIST hydroxide-0.2.24.tar.gz.sig 566 BLAKE2B 49a0fcd5f4d70f37fde0f77cc50f03749a5
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
+DIST hydroxide-0.2.27-deps.tar.xz 137723020 BLAKE2B fa1dd992c963c8e4785f4a624a2c7d8294f701b40130abc6ba82b816242d73213d85d0344881d442b17b6015a419671f28b6746ba37564f0c1482afaff73fd6d SHA512 88ff84f49d48910f3abfd152a2914c05f097947d69de193d44cea6965eb2703e0c1a56ce41bb7ae8fc933d2fd4900d6970bbd7fab92c61211bc43b39a7a5f4d2
+DIST hydroxide-0.2.27.tar.gz 44059 BLAKE2B cbe5e4b247091c65ea376930fc555a86e0fcf3d2e5cddeab457ac8755ed4b7dbbc7b9fe8284ae95c2741a80d1926cb9aaaffcef759b9aba85ded40851e7d5667 SHA512 960bf1a37c2365774db6e4598081bfc5459be7f2a85866caf0faef5826694c1b3d0b0cd5634987c963bf21ed416238840e3de207f5b3e39f0cb2c0eed817c3e9
+DIST hydroxide-0.2.27.tar.gz.sig 566 BLAKE2B 8af003819f369a2b68a1ed45f60a2bbebaf43be7d85b380353f0c79d3933beed1d1386dbe31d3cdc28c11b30ca210c60a493ce4acc05d01f8d9b5e611eb57958 SHA512 e1bf58ebfc690e8161adaaa903adc37f6381d80541ded6bd034bcd4a4872c59cb47c78c69045345ec744d64f46f0221c5aabd797e21849b45640646888b3d8c6
diff --git a/net-mail/hydroxide/hydroxide-0.2.27.ebuild b/net-mail/hydroxide/hydroxide-0.2.27.ebuild
new file mode 100644
index 000000000..ab55861c1
--- /dev/null
+++ b/net-mail/hydroxide/hydroxide-0.2.27.ebuild
@@ -0,0 +1,54 @@
+# Copyright 2022-2023 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://github.com/sevz17/go-deps/releases/download/${P}/${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 ""
+}