From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 136F0158043 for ; Sun, 14 Apr 2024 16:09:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5B954E29F5; Sun, 14 Apr 2024 16:09:04 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 4157BE29F5 for ; Sun, 14 Apr 2024 16:09:04 +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 79E2C34334A for ; Sun, 14 Apr 2024 16:09:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 181EF16D0 for ; Sun, 14 Apr 2024 16:09:02 +0000 (UTC) From: "Matthew Smith" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthew Smith" Message-ID: <1713110788.d957ecba5ba19ac8a13bfbaff79b90c68387cf20.matthew@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/gimps/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/gimps/Manifest sci-mathematics/gimps/gimps-30.19.14.ebuild X-VCS-Directories: sci-mathematics/gimps/ X-VCS-Committer: matthew X-VCS-Committer-Name: Matthew Smith X-VCS-Revision: d957ecba5ba19ac8a13bfbaff79b90c68387cf20 X-VCS-Branch: master Date: Sun, 14 Apr 2024 16:09:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9fc52e4e-462a-42d5-bcf7-39c0b9176189 X-Archives-Hash: 7f8a55b891386b44c579bbe7120322ff commit: d957ecba5ba19ac8a13bfbaff79b90c68387cf20 Author: Paolo Pedroni iol it> AuthorDate: Wed Apr 3 14:23:39 2024 +0000 Commit: Matthew Smith gentoo org> CommitDate: Sun Apr 14 16:06:28 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d957ecba sci-mathematics/gimps: Version Bump to 30.19.14 Closes: https://bugs.gentoo.org/928514 Signed-off-by: Paolo Pedroni iol.it> Closes: https://github.com/gentoo/gentoo/pull/36076 Signed-off-by: Matthew Smith gentoo.org> sci-mathematics/gimps/Manifest | 2 + sci-mathematics/gimps/gimps-30.19.14.ebuild | 73 +++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) diff --git a/sci-mathematics/gimps/Manifest b/sci-mathematics/gimps/Manifest index 165d7d57d1ed..10b1f7c02642 100644 --- a/sci-mathematics/gimps/Manifest +++ b/sci-mathematics/gimps/Manifest @@ -1,5 +1,7 @@ DIST gimps-30.19.13.linux32.tar.gz 4696212 BLAKE2B d48c12ea6b317e2785cb825e4f7994a6be067580c8382dafed56bd3ad30092093ee3deab28a8903fcaaaebe694cf2125f821f2882edcf0c8744ebbaeeefe9d3b SHA512 0398bf6f23c0cf66c24f4a0c1f69c0bc7ad205610cb935a34ac893f3d0775758fe917f152300d7416c754e52a1b32e947fefd453857ba423fab1e4cc7af47b1e DIST gimps-30.19.13.linux64.tar.gz 5912390 BLAKE2B add84251cb432f092360d6f7855c6cef3f6570a9f37b14837e435363899a5395ed913b8feb1142ca47446d03a772dffc5086a7f67d8b7b50d1d9c962b4a33e59 SHA512 a674fbfe5c26758bf3199ff315942f586e2acb71dbf23307e13a81441ae6ae7e927744f954e50da5e8720cbedc3882fc648c0a615e80dae90972e43c139b3e2c +DIST gimps-30.19.14.linux32.tar.gz 4695497 BLAKE2B 41067b8ed04d9d8aa00c3ac54ab70089acd4900eed16c9217f81d488438e731ae4c27dd87c462efbef8950e79d9268a74273d68e333df9c64bb166ad1b52b72d SHA512 78c2074225d63b1139601f0b352cc6ab77b840ffaf23385d5e0ded76f4b19cdd422d41dc931799ceb13e592a83cd2032c01e1950d41e81a76802ecf2de4b321c +DIST gimps-30.19.14.linux64.tar.gz 5912298 BLAKE2B 75f0c0cdd02a8d3ddc83cad8cabc48ed5b33fcdf5e94606cfde500da47848cdb3e49e227a5386d62b8b76ac4461ed96c4c315e38ba614cfe1a9d3c0ee59bca29 SHA512 87995b17d6721a4f17b3770531a8361fccc5a073dc11bd922420d387bfff1cc9b5675f9ce6cd4b9efa0f210c962c879339203b0149b49f7e04f590102c73a547 DIST gimps-30.7.9.linux32.tar.gz 5966449 BLAKE2B b31b93417857d338e5e7454e1466bd881422fef51ce0cecb9f7991f7dd19526fcfc01283e0ed871859e32aa4672492fe222bdacd2e06b55ef8401a2169c1846a SHA512 0491f7ec80953b8a86c75b6cc58532130dd51c6abd28617c87208da22a1fb4a1d2f4bea15bf6bd5de3a6706f5b8dcaa5a4cf7bcd39a47f5db0ee4ec74c41cfbd DIST gimps-30.7.9.linux64.tar.gz 7100830 BLAKE2B 8ebae083d26309f7c624e38c943e3bb0c7fe40a538840970dc222ed33ba5eaa9a5c0767b822682921eaae27f839c1eca5c0204b2c135748002e5d072744afe25 SHA512 5e6f3fbcc50b9b91fda7b286392bb17e58fd8d55a8386f27e206c63c560993da9713513d5eb4355e8e934f2e8703b39fc96f3c6f01058b729330f3526d37479b DIST gimps-30.8.15.linux32.tar.gz 6029035 BLAKE2B 4b84ebd89d45d5f0d0de28539ea8bc5bfb0f7383f39bb02ac00d51ba46897bba222db6215578e38fb939f541dae2569f431547caa51825dcdc6845e7e62f028b SHA512 b0a30d2d629d0f08dd2838be9dbe669c7f8f3d9f50ccfedc94c453a994cba9972440182e05d8e3b74b258e6e60cff53f6521e73a7ebdb34a45701a81d8b3f671 diff --git a/sci-mathematics/gimps/gimps-30.19.14.ebuild b/sci-mathematics/gimps/gimps-30.19.14.ebuild new file mode 100644 index 000000000000..df7238cd585d --- /dev/null +++ b/sci-mathematics/gimps/gimps-30.19.14.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit pax-utils readme.gentoo-r1 systemd tmpfiles + +DESCRIPTION="The Great Internet Mersenne Prime Search" +HOMEPAGE="https://www.mersenne.org/" + +# The author has finally caved in to the pressure of putting the build +# number in the package name. Some dark magic necessary to get to the +# package name + +MY_PV=$(ver_rs 2 'b' ) + +SRC_URI=" + amd64? ( https://www.mersenne.org/download/software/v$(ver_cut 1)/$(ver_cut 1-2)/p95v${MY_PV/./}.linux64.tar.gz -> ${P}.linux64.tar.gz ) + x86? ( https://www.mersenne.org/download/software/v$(ver_cut 1)/$(ver_cut 1-2)/p95v${MY_PV/./}.linux32.tar.gz -> ${P}.linux32.tar.gz ) + " + +S="${WORKDIR}" +SLOT="0" +LICENSE="GIMPS" +RESTRICT="mirror bindist" +KEYWORDS="-* ~amd64 ~x86" + +# Since there are no statically linked binaries for this version of mprime, +# and no static binaries for amd64 in general, we use the dynamically linked +# ones and try to cover the .so deps with the packages listed in RDEPEND. +# libgmp.so.10.4.1 is bundled within the .tar.gz, but we use the system one. + +RDEPEND="net-misc/curl + >=dev-libs/gmp-6.1.2" + +OPTINSTALLDIR="/opt/gimps" + +QA_PREBUILT="opt/gimps/mprime" + +DOCS=( license.txt readme.txt stress.txt undoc.txt whatsnew.txt ) + +src_install() { + dodir ${OPTINSTALLDIR} + keepdir /var/lib/gimps + pax-mark m mprime + cp mprime "${D}/${OPTINSTALLDIR}" || die + fperms a-w "${OPTINSTALLDIR}/mprime" + fowners root:0 "${OPTINSTALLDIR}" + fowners root:0 "${OPTINSTALLDIR}/mprime" + + einstalldocs + + readme.gentoo_create_doc + + newinitd "${FILESDIR}/${PN}-28.9-init.d" gimps + newconfd "${FILESDIR}/${PN}-25.6-conf.d" gimps + + systemd_dounit "${FILESDIR}/${PN}.service" + newtmpfiles "${FILESDIR}/${PN}.tmpfiles" "${PN}.conf" +} + +pkg_postinst() { + tmpfiles_process "${PN}.conf" + + readme.gentoo_print_elog +} + +pkg_postrm() { + echo + einfo "GIMPS data files were not removed." + einfo "Remove them manually from /var/lib/gimps/" + echo +}