From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1446539-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 0D3CD158020
	for <garchives@archives.gentoo.org>; Thu, 13 Oct 2022 00:15:34 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 5A0E9E0769;
	Thu, 13 Oct 2022 00:15:33 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 44576E0769
	for <gentoo-commits@lists.gentoo.org>; Thu, 13 Oct 2022 00:15:33 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 5C4E0340BEF
	for <gentoo-commits@lists.gentoo.org>; Thu, 13 Oct 2022 00:15:32 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id F18DC5F7
	for <gentoo-commits@lists.gentoo.org>; Thu, 13 Oct 2022 00:15:30 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1665620125.d6f9cebe09f5419c12d368d1d2b32c00bec3fabe.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/man-pages/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sys-apps/man-pages/Manifest sys-apps/man-pages/man-pages-6.00.ebuild sys-apps/man-pages/man-pages-6.0_rc1.ebuild sys-apps/man-pages/man-pages-9999.ebuild
X-VCS-Directories: sys-apps/man-pages/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: d6f9cebe09f5419c12d368d1d2b32c00bec3fabe
X-VCS-Branch: master
Date: Thu, 13 Oct 2022 00:15:30 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 92f6fda0-175e-4548-8049-70a5b4c5104d
X-Archives-Hash: f246b2336989b42487e24f744a6cb8c2

commit:     d6f9cebe09f5419c12d368d1d2b32c00bec3fabe
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 13 00:14:49 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 13 00:15:25 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6f9cebe

sys-apps/man-pages: add 6.00, drop 6.0_rc1

Upstream said we should just make our own dist tarball for now,
see https://lore.kernel.org/linux-man/364ecc74-4e97-a1a3-7480-7914f28dcba3 <AT> gmail.com/T/#u.

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

 sys-apps/man-pages/Manifest                               |  2 +-
 .../{man-pages-6.0_rc1.ebuild => man-pages-6.00.ebuild}   | 15 +++++++++++----
 sys-apps/man-pages/man-pages-9999.ebuild                  | 15 +++++++++++----
 3 files changed, 23 insertions(+), 9 deletions(-)

diff --git a/sys-apps/man-pages/Manifest b/sys-apps/man-pages/Manifest
index bd2e2ab38be7..462284747bb9 100644
--- a/sys-apps/man-pages/Manifest
+++ b/sys-apps/man-pages/Manifest
@@ -1,4 +1,4 @@
 DIST man-pages-5.12.tar.xz 1778220 BLAKE2B 347c5ef63cb80134018f322f810545354ccc7afdb8acb62f83e3b06ef15d7fbe6c0c68db37f52ce9727682a856a7810a5e64f1dcbe1cc11b22f83fb0273f7add SHA512 455794ed6e3bf20649f78b464300d5c1adad5000668a82a1194c1af8bdcbd064e4d930696cbe534481368d6526c7cda69927e958b9a868d95891202476fb4608
 DIST man-pages-5.13.tar.xz 1788980 BLAKE2B 7cca88b7f201d177b087893f60e6a87fd3ed8c78a183bd6ebcd0c28961f5f5d24aa2ba9d3a1d9cec4e0fc9cc0b26489c91e991a2d4420c28e1f61b850b882752 SHA512 a68c0bd5f078aff2f13f962060863e5d30734c1c562e8e9e3d5eda5a329b18ad3e9b4ebb883d31cacfc0a476f91fccb8dd4257598acd75d09dd21351893d3499
-DIST man-pages-6.0-rc1.tar.gz 2636606 BLAKE2B adeaa325669631125fe55fd140abe25309b287c03a377aa665e39b4279241fc1e711199493498e97c03c8af9c5a3370a47991f88d7c602e7fc54e5f6ef61ff55 SHA512 61be0a14e5ffb9c89bdbdb3a83967c65a6fae15a6f46f5c2e7304205646bf8ab6d10f954a4ea003f3d75bc2775fcb0a88b5cd6ad15e6beed3dd56a25f395342e
+DIST man-pages-6.00.tar.xz 1797552 BLAKE2B 11b0b402200557b40df9d619b93f7f6b0dab03c1fc76ab382d715bf82f00526cedc5984e5dabe933d1ff59b882dffadfdfb290099fa106073d20bd7de5ac774d SHA512 f761a75bc5e8ec18d89db3ecfe254c74228598aa95d6201d5985bd5a12ed73ca703028085ea303534f595ff37bd20de1893b2004131bb17b1bae56956e154b20
 DIST man-pages-gentoo-2.tar.bz2 5141 BLAKE2B c5c7956ab47c8a473e258b1902d5d19d9eb2e9d01786e907d9c3ba691c2a506834ed96cd1f54e8d8415e65d4fea0056659537f0faffe68fcbed33aa728a5e61e SHA512 6e6524b8ad6f1b8c9b147665ee32af49e05603dac61d433acd6b4f1164adef27cd542898f272b07d8659725013dac59c7f34a858968cc054a4785c945e14a770

diff --git a/sys-apps/man-pages/man-pages-6.0_rc1.ebuild b/sys-apps/man-pages/man-pages-6.00.ebuild
similarity index 83%
rename from sys-apps/man-pages/man-pages-6.0_rc1.ebuild
rename to sys-apps/man-pages/man-pages-6.00.ebuild
index ca09d48f31f6..066f23c22b8e 100644
--- a/sys-apps/man-pages/man-pages-6.0_rc1.ebuild
+++ b/sys-apps/man-pages/man-pages-6.00.ebuild
@@ -3,6 +3,9 @@
 
 EAPI=8
 
+# Sometimes there's no dist tarball available post-release and upstream
+# encourage distros to make their own. Set to 1 if none is available, 0 otherwise.
+MAN_PAGES_GENTOO_DIST=1
 GENTOO_PATCH=2
 
 DESCRIPTION="A somewhat comprehensive collection of Linux man pages"
@@ -16,10 +19,14 @@ elif [[ ${PV} == *_rc* ]] ; then
 	SRC_URI="https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/snapshot/${MY_P}.tar.gz"
 	S="${WORKDIR}"/${MY_P}
 else
-	SRC_URI="
-		https://www.kernel.org/pub/linux/docs/man-pages/Archive/${P}.tar.xz
-		https://www.kernel.org/pub/linux/docs/man-pages/${P}.tar.xz
-	"
+	if [[ ${MAN_PAGES_GENTOO_DIST} -eq 1 ]] ; then
+		SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz"
+	else
+		SRC_URI="
+			https://www.kernel.org/pub/linux/docs/man-pages/Archive/${P}.tar.xz
+			https://www.kernel.org/pub/linux/docs/man-pages/${P}.tar.xz
+		"
+	fi
 
 	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
 fi

diff --git a/sys-apps/man-pages/man-pages-9999.ebuild b/sys-apps/man-pages/man-pages-9999.ebuild
index ca09d48f31f6..066f23c22b8e 100644
--- a/sys-apps/man-pages/man-pages-9999.ebuild
+++ b/sys-apps/man-pages/man-pages-9999.ebuild
@@ -3,6 +3,9 @@
 
 EAPI=8
 
+# Sometimes there's no dist tarball available post-release and upstream
+# encourage distros to make their own. Set to 1 if none is available, 0 otherwise.
+MAN_PAGES_GENTOO_DIST=1
 GENTOO_PATCH=2
 
 DESCRIPTION="A somewhat comprehensive collection of Linux man pages"
@@ -16,10 +19,14 @@ elif [[ ${PV} == *_rc* ]] ; then
 	SRC_URI="https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/snapshot/${MY_P}.tar.gz"
 	S="${WORKDIR}"/${MY_P}
 else
-	SRC_URI="
-		https://www.kernel.org/pub/linux/docs/man-pages/Archive/${P}.tar.xz
-		https://www.kernel.org/pub/linux/docs/man-pages/${P}.tar.xz
-	"
+	if [[ ${MAN_PAGES_GENTOO_DIST} -eq 1 ]] ; then
+		SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz"
+	else
+		SRC_URI="
+			https://www.kernel.org/pub/linux/docs/man-pages/Archive/${P}.tar.xz
+			https://www.kernel.org/pub/linux/docs/man-pages/${P}.tar.xz
+		"
+	fi
 
 	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
 fi