commit: ba02b3343546f99556589102c64e15dd427f4029 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed Apr 2 01:25:08 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Apr 2 01:40:02 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba02b334
app-shells/smrsh: update SRC_URI (FTP->HTTPS) ... and add fallback URL. Signed-off-by: Sam James <sam <AT> gentoo.org> app-shells/smrsh/smrsh-8.15.2-r1.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app-shells/smrsh/smrsh-8.15.2-r1.ebuild b/app-shells/smrsh/smrsh-8.15.2-r1.ebuild index 3288e11b0579..64a1ee3e9606 100644 --- a/app-shells/smrsh/smrsh-8.15.2-r1.ebuild +++ b/app-shells/smrsh/smrsh-8.15.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,7 +7,12 @@ inherit toolchain-funcs DESCRIPTION="Sendmail restricted shell, for use with MTAs other than Sendmail" HOMEPAGE="https://www.proofpoint.com/us/products/email-protection/open-source-email-solution" -SRC_URI="https://ftp.sendmail.org/sendmail.${PV}.tar.gz" +if [[ -n $(ver_cut 4) ]] ; 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.${PV}.tar.gz" +fi +SRC_URI+=" https://ftp.sendmail.org/sendmail.${PV}.tar.gz" +SRC_URI+=" https://ftp.sendmail.org/past-releases/sendmail.${PV}.tar.gz" S="${WORKDIR}/sendmail-${PV}" LICENSE="Sendmail"
