Install this version:
emerge -a =mail-mta/sendgmail-20250718
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =mail-mta/sendgmail-20250718
Or alternatively:
emerge --autounmask-write -a =mail-mta/sendgmail-20250718
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 20250718 | 8 | ~amd64 | 0 |
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="Tool that uses Gmail in order to mimic sendmail for 'git send-email'."
HOMEPAGE="https://github.com/google/gmail-oauth2-tools/tree/master/go/sendgmail"
SHA="0c865b7b590292d5d8a197529127166e9d7d7d2d"
SRC_URI="https://github.com/google/gmail-oauth2-tools/archive/${SHA}.tar.gz -> ${PN}-${SHA:0:7}.tar.gz
https://github.com/Tatsh/tatsh-overlay/releases/download/__distfiles__/${P}-vendor.tar.xz"
S="${WORKDIR}/gmail-oauth2-tools-${SHA}/go/${PN}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
src_compile() {
go build -o "${PN}" || die
}
src_install() {
dobin "${PN}"
einstalldocs
}