commit:     ea3c3e7718c176dfa28dc790dd563b8316f9eadb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  2 01:22:07 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Apr  2 01:40:00 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea3c3e77

mail-mta/sendmail: update SRC_URI (FTP->HTTPS)

... and add fallback URL.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 mail-mta/sendmail/sendmail-8.17.1.9.ebuild | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/mail-mta/sendmail/sendmail-8.17.1.9.ebuild 
b/mail-mta/sendmail/sendmail-8.17.1.9.ebuild
index 8054945f2434..60ab81922f4f 100644
--- a/mail-mta/sendmail/sendmail-8.17.1.9.ebuild
+++ b/mail-mta/sendmail/sendmail-8.17.1.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -11,12 +11,10 @@ DESCRIPTION="Widely-used Mail Transport Agent (MTA)"
 HOMEPAGE="https://www.sendmail.org/";
 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/${PN}.${PV}.tar.gz
-               ftp://ftp.sendmail.org/pub/${PN}/snapshots/${PN}.${PV}.tar.gz";
-else
-       SRC_URI="https://ftp.sendmail.org/${PN}.${PV}.tar.gz
-               ftp://ftp.sendmail.org/pub/${PN}/${PN}.${PV}.tar.gz";
+       SRC_URI="https://ftp.sendmail.org/snapshots/${PN}.${PV}.tar.gz";
 fi
+SRC_URI+=" https://ftp.sendmail.org/${PN}.${PV}.tar.gz";
+SRC_URI+=" https://ftp.sendmail.org/past-releases/${PN}.${PV}.tar.gz";
 
 LICENSE="Sendmail GPL-2" # GPL-2 is here for initscript
 SLOT="0"

Reply via email to