commit:     be39a95bc952aa1eb01cceaf69172d80e80b608d
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 30 18:09:30 2025 +0000
Commit:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Tue Sep 30 19:00:14 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be39a95b

net-mail/public-inbox: add 1.9.0_p20250930

Anti-DoS means that we have to change the snapshot source to the other
canonical repo listed on the project website.

Signed-off-by: Jason A. Donenfeld <zx2c4 <AT> gentoo.org>

 .../public-inbox-1.9.0_p20250930.ebuild            | 53 ++++++++++++++++++++++
 1 file changed, 53 insertions(+)

diff --git a/net-mail/public-inbox/public-inbox-1.9.0_p20250930.ebuild 
b/net-mail/public-inbox/public-inbox-1.9.0_p20250930.ebuild
new file mode 100644
index 000000000000..197eabc25646
--- /dev/null
+++ b/net-mail/public-inbox/public-inbox-1.9.0_p20250930.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit perl-module
+
+DESCRIPTION="An archives-first approach to mailing lists"
+HOMEPAGE="https://public-inbox.org";
+
+if [[ ${PV} == 9999 ]] ; then
+       EGIT_REPO_URI="
+               https://public-inbox.org/public-inbox.git/
+               https://repo.or.cz/public-inbox.git
+       "
+       inherit git-r3
+elif [[ ${PV} == *_p* ]] ; then
+       PUBLIC_INBOX_COMMIT="e0066f045f37b413b3fab1aca855d5022e57351f"
+       
SRC_URI="https://repo.or.cz/public-inbox.git/snapshot/${PUBLIC_INBOX_COMMIT}.tar.gz
 -> ${P}.tar.gz"
+       S="${WORKDIR}"/${PN}-${PUBLIC_INBOX_COMMIT:0:7}
+else
+       SRC_URI="https://public-inbox.org/public-inbox.git/snapshot/${P}.tar.gz";
+fi
+
+LICENSE="AGPL-3+"
+SLOT="0"
+if [[ ${PV} != 9999 ]] ; then
+       KEYWORDS="~amd64"
+fi
+
+# in order of mention in INSTALL.html, going more for feature completeness
+# than for minimal footprint
+RDEPEND="
+       dev-perl/BSD-Resource
+       dev-perl/DBD-SQLite
+       dev-perl/Email-Address-XS
+       dev-perl/Inline-C
+       dev-perl/Linux-Inotify2
+       dev-perl/Mail-IMAPClient
+       dev-perl/Net-Server
+       dev-perl/Parse-RecDescent
+       dev-perl/Plack
+       dev-perl/Search-Xapian
+       dev-perl/TimeDate
+       dev-perl/URI
+       dev-vcs/git
+       net-misc/curl
+       virtual/mta
+"
+BDEPEND="
+       ${RDEPEND}
+       virtual/perl-ExtUtils-MakeMaker
+"

Reply via email to