From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1728535-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(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 finch.gentoo.org (Postfix) with ESMTPS id 2667D1584F2
	for <garchives@archives.gentoo.org>; Sun, 16 Mar 2025 10:06:48 +0000 (UTC)
Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189])
	(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)
	(Authenticated sender: relay-lists.gentoo.org@gentoo.org)
	by smtp.gentoo.org (Postfix) with ESMTPSA id 0C2F034320F
	for <garchives@archives.gentoo.org>; Sun, 16 Mar 2025 10:06:48 +0000 (UTC)
Received: from bobolink.gentoo.org (localhost [127.0.0.1])
	by bobolink.gentoo.org (Postfix) with ESMTP id D7CA911037F;
	Sun, 16 Mar 2025 10:06:46 +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 bobolink.gentoo.org (Postfix) with ESMTPS id CD5341102B7
	for <gentoo-commits@lists.gentoo.org>; Sun, 16 Mar 2025 10:06:46 +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) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 7B2A234308C
	for <gentoo-commits@lists.gentoo.org>; Sun, 16 Mar 2025 10:06:46 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id D4EF610F1
	for <gentoo-commits@lists.gentoo.org>; Sun, 16 Mar 2025 10:06:44 +0000 (UTC)
From: "Yixun Lan" <dlan@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, "Yixun Lan" <dlan@gentoo.org>
Message-ID: <1742119252.23ce49d1ebf6860f8ccbfeddf25d32008b5e578c.dlan@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-fs/mc/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-fs/mc/Manifest net-fs/mc/mc-2025.03.12.17.29.24.ebuild
X-VCS-Directories: net-fs/mc/
X-VCS-Committer: dlan
X-VCS-Committer-Name: Yixun Lan
X-VCS-Revision: 23ce49d1ebf6860f8ccbfeddf25d32008b5e578c
X-VCS-Branch: master
Date: Sun, 16 Mar 2025 10:06:44 +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: 0ce60e9b-f7f2-4592-a134-322fa39a6575
X-Archives-Hash: dd506bcd4d75b5492b987b0f67abf9a1

commit:     23ce49d1ebf6860f8ccbfeddf25d32008b5e578c
Author:     jinqiang zhang <peeweep <AT> 0x0 <DOT> ee>
AuthorDate: Sun Mar 16 08:42:22 2025 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Sun Mar 16 10:00:52 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23ce49d1

net-fs/mc: add 2025.03.12.17.29.24

Closes: https://bugs.gentoo.org/909028
Signed-off-by: jinqiang zhang <peeweep <AT> 0x0.ee>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 net-fs/mc/Manifest                      |  2 ++
 net-fs/mc/mc-2025.03.12.17.29.24.ebuild | 38 +++++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/net-fs/mc/Manifest b/net-fs/mc/Manifest
index 5d665be21c35..5ad6d18dfc7d 100644
--- a/net-fs/mc/Manifest
+++ b/net-fs/mc/Manifest
@@ -1,2 +1,4 @@
 DIST mc-2021.03.23.05.46.11-deps.tar.xz 400078460 BLAKE2B 849fef6e2ecbdbc06745a5245f40658988931a46f2d905da2158bb0e8481c3c2aaa1eeef0a83fbb2b360b27fc91c02aee1765b27d2a4baee732fb60766e5770d SHA512 5970f19d563eb948fbef64e82677a8c29b35b925d41ae1682241771adc2153096de57ecb6bb2b3e7e21aa800158a8dc68922e1b177df6f96882adba658f80e6b
 DIST mc-2021.03.23.05.46.11.tar.gz 438008 BLAKE2B 80c415b1d25c8381615c11565935e2d1a1e4efd37c9681ea22577338d2763a13660d32c83a3dd85dd0fbc65a515e1dde5ecc49a6496fd96b6ebdee946753fba2 SHA512 34dcb4d5c8c98ba9edf3791a01914bef0bce29c5939a7486d79e1c7949e3169897c7db4c718cd7329e507cd9402dd6cdf142fe1c426ea5fb5d6aadd0cc248f7c
+DIST mc-2025.03.12.17.29.24-vendor.tar.xz 4649352 BLAKE2B 787178215c51649a5011756afc1bab2aafeecf30a620eb7bfe67b8209efb38689430524bd78cb4fe30dfdb8dee1a90c3ed3965b230974f73eac1171f9e1aa89e SHA512 b82ef063a6ec8b4ff0c9e4aa928beb1a875a8ca2a464505f6e1506a99b77e4fdac1400a99443b1bb3b1c86c232fc461cb8ca0179eb8c06d98275f142087387e7
+DIST mc-2025.03.12.17.29.24.tar.gz 558698 BLAKE2B 7dd23fe57e0a1b07437e0a72a253ec52c3ef1bf1f26c4bc1f9784756176d31f9720372fd38e5df6a4b911430248a32894cf32bab6584f3ae441fddc07d82d3b3 SHA512 061de96085f4b35bdc122184844301587cbed13c67a75897275af60db1e00689cf8aaf8b8f4e0e9a26b86afbccc7f31c697e2ce30c2280c3e9546a6b315514b6

diff --git a/net-fs/mc/mc-2025.03.12.17.29.24.ebuild b/net-fs/mc/mc-2025.03.12.17.29.24.ebuild
new file mode 100644
index 000000000000..7220d447e663
--- /dev/null
+++ b/net-fs/mc/mc-2025.03.12.17.29.24.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module
+
+MY_PV="$(ver_cut 1-3)T$(ver_cut 4-7)Z"
+MY_PV=${MY_PV//./-}
+YEAR="$(ver_cut 1)"
+COMMIT_ID=c1d5d4cbb4caf05afef3ea06a91a56bd778336de
+
+DESCRIPTION="Minio client provides alternatives for ls, cat on cloud storage and filesystems"
+HOMEPAGE="https://github.com/minio/mc"
+SRC_URI="https://github.com/minio/mc/archive/RELEASE.${MY_PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://github.com/gentoo-zh/gentoo-deps/releases/download/${P}/${P}-vendor.tar.xz"
+
+S="${WORKDIR}/${PN}-RELEASE.${MY_PV}"
+LICENSE="Apache-2.0 BSD MIT MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="!!app-misc/mc"
+
+src_compile() {
+	# go run buildscripts/gen-ldflags.go
+	local ldflags="-s -w \
+		-X github.com/minio/mc/cmd.Version=${MY_PV} \
+		-X github.com/minio/mc/cmd.CopyrightYear=${YEAR} \
+		-X github.com/minio/mc/cmd.ReleaseTag=RELEASE.${MY_PV} \
+		-X github.com/minio/mc/cmd.CommitID=${COMMIT_ID}"
+	ego build -trimpath --ldflags "${ldflags}"
+}
+
+src_install() {
+	dobin mc
+	dodoc README.md CONTRIBUTING.md
+}