Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Nov 2023 09:36:06 GMT
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c696d5b0e3b3 - main - math/gmp-ecm: upgrade to 7.0.5
Message-ID:  <202311190936.3AJ9a64r033226@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by thierry:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c696d5b0e3b3d29ce93d9daaa14bca100826a36c

commit c696d5b0e3b3d29ce93d9daaa14bca100826a36c
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2023-11-19 09:29:29 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2023-11-19 09:34:29 +0000

    math/gmp-ecm: upgrade to 7.0.5
    
    Changelog at <https://gitlab.inria.fr/zimmerma/ecm/-/blob/master/ChangeLog>.
    
    Also add a test target.
    
    PR:             268927
    Reported by:    dclarke (at) blastwave.org
---
 math/gmp-ecm/Makefile | 16 +++++-----------
 math/gmp-ecm/distinfo |  6 +++---
 2 files changed, 8 insertions(+), 14 deletions(-)

diff --git a/math/gmp-ecm/Makefile b/math/gmp-ecm/Makefile
index 3782c5b263f8..2da9bcaf0367 100644
--- a/math/gmp-ecm/Makefile
+++ b/math/gmp-ecm/Makefile
@@ -1,8 +1,7 @@
 PORTNAME=	gmp-ecm
-DISTVERSION=	7.0.4
-PORTREVISION=	1
+DISTVERSION=	7.0.5
 CATEGORIES=	math
-MASTER_SITES=	https://gforge.inria.fr/frs/download.php/file/36224/
+MASTER_SITES=	https://gitlab.inria.fr/zimmerma/ecm/uploads/${GL_TAG}/
 DISTNAME=	ecm-${DISTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
@@ -17,12 +16,15 @@ LICENSE_FILE_LGPL21+ =	${WRKSRC}/COPYING.LIB
 LIB_DEPENDS=	libgmp.so:math/gmp
 
 USES=		gmake libtool
+
+GL_TAG=		89f6f0d65d3e980cef33dc922004e4b2
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	ac_cv_prog_XSLTPROC=no \
 		--with-gmp=${LOCALBASE} \
 		--enable-shared \
 		--disable-static
 INSTALL_TARGET=	install-strip
+TEST_TARGET=	check
 
 PLIST_FILES=	bin/ecm include/ecm.h \
 		lib/libecm.so \
@@ -30,12 +32,4 @@ PLIST_FILES=	bin/ecm include/ecm.h \
 		lib/libecm.so.1.0.0 \
 		man/man1/ecm.1.gz
 
-post-patch:
-	@${REINPLACE_CMD} s/__GMP_BITS_PER_MP_LIMB/GMP_NUMB_BITS/g \
-		${WRKSRC}/*.c ${WRKSRC}/*.h
-	@${REINPLACE_CMD} s/GMP_BITS_PER_LIMB/GMP_NUMB_BITS/g \
-		${WRKSRC}/*.c ${WRKSRC}/*.h
-	@${REINPLACE_CMD} s/mp_bits_per_limb/GMP_NUMB_BITS/g \
-		${WRKSRC}/*.c ${WRKSRC}/*.h
-
 .include <bsd.port.mk>
diff --git a/math/gmp-ecm/distinfo b/math/gmp-ecm/distinfo
index 43293fb7c022..2c7b86db085e 100644
--- a/math/gmp-ecm/distinfo
+++ b/math/gmp-ecm/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1522429265
-SHA256 (ecm-7.0.4.tar.gz) = 0cf7b3eee8462cc6f98b418b47630e1eb6b3f4f8c3fc1fb005b08e2a1811ba43
-SIZE (ecm-7.0.4.tar.gz) = 1101899
+TIMESTAMP = 1700324792
+SHA256 (ecm-7.0.5.tar.gz) = c721dd22e557c4a5dac9ac7e156a400cd2298812dd1f9b56e89966de01471ba8
+SIZE (ecm-7.0.5.tar.gz) = 1159568



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202311190936.3AJ9a64r033226>