From 951fb9cf3ea8df009022dee4807f9c58bbbaf780 Mon Sep 17 00:00:00 2001 From: Gregor Feierabend Date: Wed, 1 Jul 2026 19:27:12 +0100 Subject: [PATCH] net-mail/goimapnotify: add 2.5.6 Signed-off-by: Gregor Feierabend --- net-mail/goimapnotify/Manifest | 2 ++ .../goimapnotify/goimapnotify-2.5.6.ebuild | 35 +++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 net-mail/goimapnotify/goimapnotify-2.5.6.ebuild diff --git a/net-mail/goimapnotify/Manifest b/net-mail/goimapnotify/Manifest index 380b0417af..843a3c11f7 100644 --- a/net-mail/goimapnotify/Manifest +++ b/net-mail/goimapnotify/Manifest @@ -1,2 +1,4 @@ DIST goimapnotify-2.5.5-vendor.tar.xz 981444 BLAKE2B e6a37f51a0e3c89d16130b19bccfa877aa8b13f2809c3f82b0fbc14195bcb79059d4702588bae7c1926acd669ca7b2583bfe962dd717ee037420d0d1d53e46ca SHA512 07837e68a8777a5b1414ed30927b195ae5c90772132a48756c72c7493348513f67714589728f77e8441136e963bb678f930dad871359c461fd82d59a55eacb77 DIST goimapnotify-2.5.5.tar.gz 64811 BLAKE2B 2a04fdafee0384e4b2725052c6e1b155be0af1db80e780c1015913ef39c173eaeb1c02bc11d3ee015635977b9a0b74372cceec9d5695f8f54b2543fb880b10f6 SHA512 9413819c9316b94153145506f50f96b1b6ad26b13998bff81627a8313f678f8f3f8345dcfeb2f6444c3e138bf70cacb99270f7cb73351f2c8efb91b117e191bd +DIST goimapnotify-2.5.6-vendor.tar.xz 984188 BLAKE2B 0dc47444c35b669bda2c737fc5c5a00beb076cc83f78139783096ee7442ed8a2386fe5ab5d6e1336f5fc59393134a23a91d1c0f9be17f3483b5d4c2ba5221d4b SHA512 acd6dfed453328d5ea387454c23d8f6f78026faab1ebf229a475724a146cebb9d8fbd83fbd81421fe299f5c16cf96eaa86fbb7e56b255675d9daf5493690dbce +DIST goimapnotify-2.5.6.tar.gz 68447 BLAKE2B 10f362e229e306d9ccf11c5c4106b25df741abea630e1b572fd5c9104922087e22e5048e8fabc94f57a207af5d0c3573c0c09e94004b82b3fa383864e4f3fd9a SHA512 4e296309fadab30339e3b8623c3920880c6647cbc341d224e0c559c92a83a93626c3d2b075e3739d92a6d6da844f5787a05c04e4b1b8fca4b00d0c580b05afac diff --git a/net-mail/goimapnotify/goimapnotify-2.5.6.ebuild b/net-mail/goimapnotify/goimapnotify-2.5.6.ebuild new file mode 100644 index 0000000000..fe9e5df5c6 --- /dev/null +++ b/net-mail/goimapnotify/goimapnotify-2.5.6.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +DESCRIPTION="Execute scripts on IMAP mailbox changes using IDLE, golang version." + +HOMEPAGE="https://gitlab.com/shackra/goimapnotify" + +SRC_URI=" + https://gitlab.com/shackra/goimapnotify/-/archive/${PV}/${P}.tar.gz + https://github.com/gentoo-golang-dist/goimapnotify/releases/download/${PV}/${P}-vendor.tar.xz +" + +LICENSE="GPL-3 MIT MPL-2.0 BSD BSD-2 Apache-2.0" + +SLOT="0" + +KEYWORDS="~amd64" + +src_compile() { + GIT_COMMIT=$(gunzip < "${DISTDIR}/${P}.tar.gz" | git get-tar-commit-id) + GIT_TAG="${PV}" + GIT_BRANCH="master" + + LDFLAGS="-X main.commit=${GIT_COMMIT} -X main.gittag=${GIT_TAG} -X main.branch=${GIT_BRANCH}" + + ego build -ldflags "${LDFLAGS}" -gcflags '-N -l' ./cmd/goimapnotify +} + +src_install() { + dobin goimapnotify +}