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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8247B139082 for ; Thu, 30 Nov 2017 14:47:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 654FDE0DE4; Thu, 30 Nov 2017 14:47:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 31261E0DE4 for ; Thu, 30 Nov 2017 14:47:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 354EA3406D1 for ; Thu, 30 Nov 2017 14:47:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F0EE2ACD8 for ; Thu, 30 Nov 2017 14:47:01 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1512053148.1bfb1137cf241f1ae7fbaba01a1f7a957eedb41a.monsieurp@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-29.4.5.ebuild X-VCS-Directories: sci-mathematics/gimps/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 1bfb1137cf241f1ae7fbaba01a1f7a957eedb41a X-VCS-Branch: master Date: Thu, 30 Nov 2017 14:47:01 +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-Archives-Salt: 6702243a-2f5c-4772-9806-33c726092197 X-Archives-Hash: 79ac673b7642c96728dbe14614bf6188 commit: 1bfb1137cf241f1ae7fbaba01a1f7a957eedb41a Author: PPed72 iol it> AuthorDate: Mon Nov 27 18:03:39 2017 +0000 Commit: Patrice Clement gentoo org> CommitDate: Thu Nov 30 14:45:48 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bfb1137 sci-mathematics/gimps: version bump to 29.4.5. Closes: https://bugs.gentoo.org/638452 Closes: https://github.com/gentoo/gentoo/pull/6325 sci-mathematics/gimps/Manifest | 2 + sci-mathematics/gimps/gimps-29.4.5.ebuild | 69 +++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/sci-mathematics/gimps/Manifest b/sci-mathematics/gimps/Manifest index 3fb857d5a13..16dbc7f87e8 100644 --- a/sci-mathematics/gimps/Manifest +++ b/sci-mathematics/gimps/Manifest @@ -1,2 +1,4 @@ DIST p95v2810.linux32.tar.gz 4610763 SHA256 ef9b90e9b82c6710af53471eb18328b80cc46f0a41f137bc224efca0ed570d95 SHA512 ac2e0f2e1b557b71084027a5bd7cafeb350df3ee9edf347766d34d4a607034827494eb15dae30404da33f8c9f279a85e033cf845800868f4c51087a35b49c521 WHIRLPOOL f3609de0845308811e09f4a2159709ea69b070f20fe3cc9e71d0bd9d98fff579e0763b8f52cfcc65339dfa3723f622bd97334ae3daf975ad0a9898f803d6c70a DIST p95v2810.linux64.tar.gz 5707219 SHA256 ed5a8b94fdd65436e98e57ea0838035fd44c62492009d00f5fba508cb85481c7 SHA512 c4fd692df3018e5e73ba6095de5ed394f36d5c89dd81c2c7f2c74a4ce3184b22176dc13b8b59e4f42c1781e911107dc12224cfcddef882535931319ec93120f1 WHIRLPOOL 91c1f657df196b8eb27b88727e35cee831a98cbe99d3a88834ba868c4b491144fc4efb66d389f76203481f252b3ef9cc0c2241aa3d153abc1857f09cf3971ac7 +DIST p95v294b5.linux32.tar.gz 5455113 SHA256 218e1b6008163a811a26c786be90619649dc9818fd974b0a0a81411db5e8d8b6 SHA512 e8a0061c363333a7c36eb24ef72e9293903404563d04cdcad6432e63d25d8b85e1f0c8e8a46d9795a204830a01031024f82362bcedec4fcec954899e4d6e7127 WHIRLPOOL 949e462fe687bff5b66f32e320b491bc0eea2ee1ceb9b1b55cc6440343cc6503aceb567a86df2dec58144036ae9ecea6590bb5d5f810ae7da217a5d7cc86c02e +DIST p95v294b5.linux64.tar.gz 6244650 SHA256 6c389f981886b4c3df1544b6cc3945df807497460193c5bb220f2b523a24ff89 SHA512 e315ea226649df2135895a1206e5845fd05587ad190b676228e5e1cfca04a11b698f1a7d5b8e7c96b0cd174ce3dbeb6000240b67a3f0f90572f3bf15166020e5 WHIRLPOOL 9dc54bb78a3a9d1e7374bff02f99ca1da607011d90f8b5dfb095cc50d17a8e075cb0fd8f2b51fadfb20acae84fc782c9a0a2d000225c7760f25e41f149233297 diff --git a/sci-mathematics/gimps/gimps-29.4.5.ebuild b/sci-mathematics/gimps/gimps-29.4.5.ebuild new file mode 100644 index 00000000000..a4815dbb80f --- /dev/null +++ b/sci-mathematics/gimps/gimps-29.4.5.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit pax-utils systemd readme.gentoo-r1 versionator + +DESCRIPTION="The Great Internet Mersenne Prime Search" +HOMEPAGE="http://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=$(replace_version_separator 2 'b' ) + +SRC_URI=" + amd64? ( ftp://mersenne.org/gimps/p95v${MY_PV/./}.linux64.tar.gz ) + x86? ( ftp://mersenne.org/gimps/p95v${MY_PV/./}.linux32.tar.gz )" + +SLOT="0" +LICENSE="GIMPS" +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.3.2 is bundled within the .tar.gz, but we use the system one. + +DEPEND="" +RDEPEND="net-misc/curl + >=dev-libs/gmp-6.1.2" + +S="${WORKDIR}" +I="/opt/gimps" + +QA_PREBUILT="opt/gimps/mprime" + +DOCS=( license.txt readme.txt stress.txt whatsnew.txt undoc.txt ) + +src_install() { + dodir ${I} /var/lib/gimps + pax-mark m mprime + cp mprime "${D}/${I}" || die + fperms a-w "${I}/mprime" + fowners root:0 "${I}" + fowners root:0 "${I}/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" + systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles" "${PN}.conf" +} + +pkg_postinst() { + readme.gentoo_print_elog +} + +pkg_postrm() { + echo + einfo "GIMPS data files were not removed." + einfo "Remove them manually from /var/lib/gimps/" + echo +}