From nobody Sun Mar 31 13:01:22 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4V6vR70kmtz5G0gb; Sun, 31 Mar 2024 13:01:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V6vR668Vhz4R3b; Sun, 31 Mar 2024 13:01:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711890082; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=eHjfFfuDsZvsSjnnK7Ve/j+yeOEuKvOCCcla2xWQsZs=; b=nWzZQ1piRRy69QiMgTKYZkstHj43Ml191qgyE5iCbrIdfDQJUQ3KNCFLDOTmObFtONa3LU oIcjG6z1eC9RWjIFAc5DsrnZ3bQKam0UNB1WYcCYlKl36WOWpzjuqOzUCeTDhOTmx8CiML 4qCvSK+VguCPVZQ5PCcc5XmN1hcc/25HQnrhgjQ20uT/MwLbwY3NBOePdKahe6Nf/ZbdK7 O5/IB7W4XDLkLDDLnMx7L6esU9MOk0UICQfVIwzozdIJWEsIZo7LCpWjwCwy8E+cU1MNUz l4jX9vrrk4SgvgiF1+YhPWX1Ye/yvKtxHrqMw4aSSGAPwskObmYrL2BGUYB1TA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711890082; a=rsa-sha256; cv=none; b=WNoZ7sVz8XTYMQ24M48BiSfnyxgOePj91cjxed+N8Qh0c6gg4LXJ/7MkdlogMtiyNz1Yc1 uDQLHlwYqWrVDU41EPRS69sereu7VHEooxKnf8cGhKQW2urepXHSmtGWJXDlk+Tpwnt2PU syRc6iPxG+8gXwgGQPJoJhMAmBLyBfSJTueiIKuovpaPzj5Mm9j8hSl8wEEHmr3R5pYE0T PppWWTApK9kxEckQ/0My9k1UGRMXSH5pjyzioNcL2huE88chz+bdyHyY/i8vU/OgnN1UUt KdiElcU70lDqNbKznCMTmqj/XnSqgNtyLmtwinlzVPVDk0BI321W64G6WF+Cug== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711890082; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=eHjfFfuDsZvsSjnnK7Ve/j+yeOEuKvOCCcla2xWQsZs=; b=rPu7F4bSvDsG3IrYiBSgLKXlPx3lgpidjYXNvoFanMz+HbJ/fqvOdyVB8Zzf6iADPzapi1 KmHr9IqLlJwHDdNAn2VyJexHGOTeAdA0W26aMc1aXlBhp4OvHtYnqvlZ5hTYsrnIml86bn e54BYJdVXZJ+Kt8wj57XQqQzM/je9zDqGLRCpg6l0l1516g0gDbc2l++ug0jVowAD6mB5I x8W/pJoxzya6lmNS3sXFfVTyzcKjI5xTUF18IqVS/Zwbuo5H0xg7onSJI40Vke8vxAF3m+ /1pdCQ71bwFncBpt/cQB23q0n//J/kv7SxvfXScitnZ2bDXizCJaN7x9zoEO9g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4V6vR65WzxzfDh; Sun, 31 Mar 2024 13:01:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 42VD1Mfk044049; Sun, 31 Mar 2024 13:01:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42VD1MRv044046; Sun, 31 Mar 2024 13:01:22 GMT (envelope-from git) Date: Sun, 31 Mar 2024 13:01:22 GMT Message-Id: <202403311301.42VD1MRv044046@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Wen Heping Subject: git: 87ef391da239 - main - math/mprime: Update to 30.19b13 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: wen X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 87ef391da239e4f5dddd814b3b5affb6e00355c0 Auto-Submitted: auto-generated The branch main has been updated by wen: URL: https://cgit.FreeBSD.org/ports/commit/?id=87ef391da239e4f5dddd814b3b5affb6e00355c0 commit 87ef391da239e4f5dddd814b3b5affb6e00355c0 Author: Wen Heping AuthorDate: 2024-03-31 12:59:34 +0000 Commit: Wen Heping CommitDate: 2024-03-31 13:00:53 +0000 math/mprime: Update to 30.19b13 PR: 278054 Reported by: maintainer --- math/mprime/Makefile | 15 ++++++++++----- math/mprime/distinfo | 6 +++--- math/mprime/files/patch-gwnum_makemsys | 21 --------------------- math/mprime/files/pkg-message.in | 9 +++++++++ 4 files changed, 22 insertions(+), 29 deletions(-) diff --git a/math/mprime/Makefile b/math/mprime/Makefile index 47efe8aa95f4..8aaafed2ced2 100644 --- a/math/mprime/Makefile +++ b/math/mprime/Makefile @@ -1,9 +1,7 @@ PORTNAME= mprime -PORTVERSION= 30.7b9 -PORTREVISION= 1 +PORTVERSION= 30.19b13 CATEGORIES= math benchmarks net -MASTER_SITES= http://www.mersenne.org/ftp_root/gimps/ \ - ftp://mersenne.org/gimps/ +MASTER_SITES= https://www.mersenne.org/download/software/v${PORTVERSION:R}/${PORTVERSION:R}.19/ DISTNAME= p95v${PORTVERSION:R}${PORTVERSION:E}.source MAINTAINER= rozhuk.im@gmail.com @@ -23,6 +21,7 @@ LIB_DEPENDS= libcurl.so:ftp/curl \ libgmp.so:math/gmp USES= localbase zip +PKGMESSAGE= ${WRKSRC}/pkg-message NO_WRKSUBDIR= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} @@ -31,7 +30,7 @@ MAKEFILE= makebsd ALL_TARGET= mprime LLD_UNSAFE= yes -SUB_FILES= wrapper.sh +SUB_FILES= pkg-message wrapper.sh PLIST_FILES+= bin/mprime bin/mprime-real @@ -45,6 +44,12 @@ WRKSRC_SUBDIR= linux post-patch: @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \ + -e "s|CC = .*||g" \ + -e "s|CXX = .*||g" \ + -e "s|CFLAGS = |CFLAGS += |g" \ + -e "s|CXXFLAGS = |CXXFLAGS += |g" \ + ${PATCH_WRKSRC}/gwnum/makebsd64 \ + ${PATCH_WRKSRC}/gwnum/makemsys \ ${PATCH_WRKSRC}/linux64/makebsd \ ${PATCH_WRKSRC}/linux/makebsd diff --git a/math/mprime/distinfo b/math/mprime/distinfo index b7cb84ef5375..915102738886 100644 --- a/math/mprime/distinfo +++ b/math/mprime/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1656319706 -SHA256 (p95v307b9.source.zip) = e89ce78b01eb3055f5503eabd9d0aec95e1e832361f3f2987098969fe649fdb5 -SIZE (p95v307b9.source.zip) = 50929924 +TIMESTAMP = 1711883789 +SHA256 (p95v3019b13.source.zip) = 032b3898fa0e347a07f9857aeb9b193331c52a1f60747e2af3f1898826d88f2f +SIZE (p95v3019b13.source.zip) = 40668313 diff --git a/math/mprime/files/patch-gwnum_makemsys b/math/mprime/files/patch-gwnum_makemsys deleted file mode 100644 index 813bc31b1981..000000000000 --- a/math/mprime/files/patch-gwnum_makemsys +++ /dev/null @@ -1,21 +0,0 @@ ---- gwnum/makemsys.orig 2019-04-23 03:05:20 UTC -+++ gwnum/makemsys -@@ -2,10 +2,10 @@ - # - - CC ?= cc --CFLAGS = -I.. -I../sqlite-amalgamation-3180000 -O2 -march=i486 -+CFLAGS += -I.. -I../sqlite-amalgamation-3180000 -O2 -march=i486 - - CXX ?= cc --CXXFLAGS = -I.. -I../qd -O2 -march=i486 -+CXXFLAGS += -I.. -I../qd -O2 -march=i486 - - AR ?= ar - -@@ -29,4 +29,4 @@ distclean: clean - $(CC) $(CFLAGS) -c $< - - .cpp.o: -- $(CPP) $(CPPFLAGS) -c $< -+ $(CXX) $(CXXFLAGS) -c $< diff --git a/math/mprime/files/pkg-message.in b/math/mprime/files/pkg-message.in new file mode 100644 index 000000000000..6fb77481856d --- /dev/null +++ b/math/mprime/files/pkg-message.in @@ -0,0 +1,9 @@ +[ +{ type: install + message: <