mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
mail-filter/libmilter: add verify-sig support
Signed-off-by: Cristian Othón Martínez Vera <cfuga@cfuga.mx> Part-of: https://github.com/gentoo/gentoo/pull/43481 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
56163b04bc
commit
0cfba32452
@ -1,2 +1,3 @@
|
||||
DIST sendmail.8.17.1.9.tar.gz 2345302 BLAKE2B 378f2f98ffff6457c49f934228964e792acec6f33fbabd89a8712f09f1dc7afc951b7c984a397aa7dd3773d86bdf57a946ea9ac54ae426bc0b8ea4c040e2ad4a SHA512 ad8198b12bdc0037de5b64b2504bd5e0a42bf054274a4834163a7c46953b9aec23d52d58063cc6b925d90199973608f35edeb40128671ae32889f4558e5c0d4b
|
||||
DIST sendmail.8.18.1.tar.gz 2401566 BLAKE2B 3afa36073fd611c7fdb43ef0ab9f02d5fb8ae388e9471bdc7275c6c9dcee0a654f46ddef505b70e978cb1b818b0da375250678e501676d8bace534d59ee40d90 SHA512 9ce713b44439d4de6faa9e3cdfa2226b44b4fbeb352a5f81584c062570e9472da244158287e489aabe258d28fe54ca4964565c7b0adc7e1763d212be42f98061
|
||||
DIST sendmail.8.18.1.tar.gz.sig 543 BLAKE2B f5f8ffaee2b4380babb033257aa30a3ade3686f3ae3dc4ced3beb25698c1917489e05456cf6b3cfcf3f0a8a1725ac42a6ce1db317939f944012e994672f6c22d SHA512 a1b3fc2278061c220ca36b954e333867a187b52c32ecd10793a12c1c90c0466bc3f1e6f76ca3aeaaf02e14f71f8cef418f5291557461b61509ed255c55c6ef47
|
||||
|
||||
@ -5,7 +5,8 @@ EAPI=8
|
||||
|
||||
# Note: please bump this together with mail-mta/sendmail and app-shells/smrsh
|
||||
|
||||
inherit toolchain-funcs
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/sendmail.asc"
|
||||
inherit toolchain-funcs verify-sig
|
||||
|
||||
# This library is part of sendmail, but it does not share the version number with it.
|
||||
# In order to find the right libmilter version number, check SMFI_VERSION definition
|
||||
@ -19,10 +20,20 @@ DESCRIPTION="The Sendmail Filter API (Milter)"
|
||||
HOMEPAGE="https://www.proofpoint.com/us/products/email-protection/open-source-email-solution"
|
||||
if [[ -n $(ver_cut 4 ${SENDMAIL_VER}) ]] ; then
|
||||
# Snapshots have an extra version component (e.g. 8.17.1 vs 8.17.1.9)
|
||||
SRC_URI="https://ftp.sendmail.org/snapshots/sendmail.${SENDMAIL_VER}.tar.gz"
|
||||
SRC_URI="
|
||||
https://ftp.sendmail.org/snapshots/sendmail.${SENDMAIL_VER}.tar.gz
|
||||
verify-sig? ( https://ftp.sendmail.org/snapshots/sendmail.${SENDMAIL_VER}.tar.gz.sig )
|
||||
|
||||
"
|
||||
fi
|
||||
SRC_URI+=" https://ftp.sendmail.org/sendmail.${SENDMAIL_VER}.tar.gz"
|
||||
SRC_URI+=" https://ftp.sendmail.org/past-releases/sendmail.${SENDMAIL_VER}.tar.gz"
|
||||
SRC_URI+="
|
||||
https://ftp.sendmail.org/sendmail.${SENDMAIL_VER}.tar.gz
|
||||
verify-sig? ( https://ftp.sendmail.org/sendmail.${SENDMAIL_VER}.tar.gz.sig )
|
||||
"
|
||||
SRC_URI+="
|
||||
https://ftp.sendmail.org/past-releases/sendmail.${SENDMAIL_VER}.tar.gz
|
||||
verify-sig? ( https://ftp.sendmail.org/past-releases/sendmail.${SENDMAIL_VER}.tar.gz.sig )
|
||||
"
|
||||
S="${WORKDIR}/sendmail-${SENDMAIL_VER}"
|
||||
|
||||
LICENSE="Sendmail"
|
||||
@ -35,7 +46,10 @@ SLOT="0/${PV}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="poll"
|
||||
|
||||
BDEPEND="sys-devel/m4"
|
||||
BDEPEND="
|
||||
sys-devel/m4
|
||||
verify-sig? ( ~sec-keys/openpgp-keys-sendmail-20250220 )
|
||||
"
|
||||
|
||||
# build system patch copied from sendmail ebuild
|
||||
PATCHES=(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user