ports/128728: [maintainer] Update math/msieve to 1.38

Daniel Roethlisberger daniel at roe.ch
Sun Nov 9 16:20:12 UTC 2008


>Number:         128728
>Category:       ports
>Synopsis:       [maintainer] Update math/msieve to 1.38
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 09 16:20:12 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Daniel Roethlisberger
>Release:        FreeBSD 6.3-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD calvin.ustdmz.roe.ch 6.3-RELEASE-p5 FreeBSD 6.3-RELEASE-p5 #0: Wed Oct 1 05:50:20 UTC 2008 root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/SMP i386
>Description:
Update math/msieve to the latest release 1.38.

This release builds fine on RELENG_7_0 with GCC 4.2.1,
so do not force GCC 3.2 on OSVERSION >= 700042 anymore.

Note the diff against files/patch-Makefile contains
carriage return characters.
>How-To-Repeat:
>Fix:
--- msieve-1.38.diff begins here ---
diff -ruN msieve.orig/Makefile msieve/Makefile
--- msieve.orig/Makefile	2008-03-30 01:09:07.000000000 +0100
+++ msieve/Makefile	2008-11-09 16:51:08.000000000 +0100
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	msieve
-PORTVERSION=	1.34
+PORTVERSION=	1.38
 CATEGORIES=	math
 MASTER_SITES=	http://www.boo.net/~jasonp/ \
 		http://mirror.roe.ch/dist/msieve/
@@ -39,13 +39,9 @@
 CFLAGS+=	-D_FILE_OFFSET_BITS=64
 .endif
 
-# Does not build with GCC 4.2
-.if ${OSVERSION} >= 700042
-USE_GCC=	3.4
-.if ${ARCH} == "sparc64"
+.if ${OSVERSION} >= 700042 && ${ARCH} == "sparc64"
 BROKEN=		Does not compile on sparc64-7
 .endif
-.endif
 
 ALL_TARGET=	generic
 .if ${ARCH} == "i386"
diff -ruN msieve.orig/distinfo msieve/distinfo
--- msieve.orig/distinfo	2008-03-30 01:09:07.000000000 +0100
+++ msieve/distinfo	2008-11-09 16:34:49.000000000 +0100
@@ -1,3 +1,3 @@
-MD5 (msieve134.tar.gz) = 22ce5db1ddeb2c54978a074176eeee4f
-SHA256 (msieve134.tar.gz) = 570c131d4d1131129b3a68e0e2426f779f4581b9db29d61d891a70df32efba5c
-SIZE (msieve134.tar.gz) = 314962
+MD5 (msieve138.tar.gz) = e6d296466f01f0ae261219f8ee2d3277
+SHA256 (msieve138.tar.gz) = f3856abd5280b1d911569bba438b5ce8a4bfe215df71e85d495a27f77fb3aedb
+SIZE (msieve138.tar.gz) = 305807
diff -ruN msieve.orig/files/patch-Makefile msieve/files/patch-Makefile
--- msieve.orig/files/patch-Makefile	2008-03-30 01:09:07.000000000 +0100
+++ msieve/files/patch-Makefile	2008-11-09 16:38:14.000000000 +0100
@@ -7,8 +7,8 @@
 -CC = gcc
 +#CC = gcc
  WARN_FLAGS = -Wall -W -Wconversion
--OPT_FLAGS = -O3 -fomit-frame-pointer -march=athlon -D_FILE_OFFSET_BITS=64
-+#OPT_FLAGS = -O3 -fomit-frame-pointer -march=athlon -D_FILE_OFFSET_BITS=64
+-OPT_FLAGS = -O3 -fomit-frame-pointer -march=athlon-xp -D_FILE_OFFSET_BITS=64
++#OPT_FLAGS = -O3 -fomit-frame-pointer -march=athlon-xp -D_FILE_OFFSET_BITS=64
  #OPT_FLAGS = -O3 -fomit-frame-pointer -march=k8
  
 -CFLAGS = $(OPT_FLAGS) $(MACHINE_FLAGS) $(WARN_FLAGS) -Iinclude -Ignfs/poly
diff -ruN msieve.orig/pkg-descr msieve/pkg-descr
--- msieve.orig/pkg-descr	2008-03-30 01:09:07.000000000 +0100
+++ msieve/pkg-descr	2008-11-09 16:48:55.000000000 +0100
@@ -1,7 +1,7 @@
 Msieve is a library and utility for factoring large integers using the most
 powerful modern algorithms.  It features a stable and very fast implementation
 of a self-initializing multiple polynomial quadratic sieve (MPQS), plus a
-somewhat experimental general number field sieve (GNFS) code.
+somewhat experimental general number field sieve (GNFS) implementation.
 
 Primary design goals are speed, portability and ease of use.  Msieve claims to
 be the fastest implementation for factoring general inputs between 40 and 100
--- msieve-1.38.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list