Bug 107477 - New port: math/msieve - Fast factorization using MPQS/NFS
Summary: New port: math/msieve - Fast factorization using MPQS/NFS
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-03 16:10 UTC by Daniel Roethlisberger
Modified: 2007-01-05 08:00 UTC (History)
1 user (show)

See Also:


Attachments
msieve-1.13.shar (5.24 KB, text/plain)
2007-01-03 16:10 UTC, Daniel Roethlisberger
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Roethlisberger 2007-01-03 16:10:26 UTC
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
highly experimental and unfinished number field sieve (NFS) 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
decimal digits.

Author: Jason Papadopoulos <jasonp@boo.net>
WWW: http://www.boo.net/~jasonp/qs.html
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2007-01-03 16:14:22 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 2 Daniel Roethlisberger 2007-01-03 17:04:15 UTC
The OSVERSION problem in nmap (ports/107478) has made its way into the
msieve port too... please patch with the patch below before committing.

-- 
Daniel Roethlisberger <daniel@roe.ch>


diff -ruN msieve.orig/files/patch-include-util.h msieve/files/patch-include-util.h
--- msieve.orig/files/patch-include-util.h	Wed Jan  3 16:06:47 2007
+++ msieve/files/patch-include-util.h	Wed Jan  3 18:00:21 2007
@@ -1,11 +1,12 @@
 --- include/util.h.orig	Sun Dec 31 16:30:03 2006
-+++ include/util.h	Wed Jan  3 14:22:17 2007
-@@ -43,7 +43,9 @@
++++ include/util.h	Wed Jan  3 18:00:10 2007
+@@ -43,7 +43,10 @@
  #include <math.h>
  #include <stdarg.h>
  #include <time.h>
 -#ifndef _MSC_VER
-+#if defined(FREEBSD) && (OSVERSION < 500000)
++#include <osreldate.h>
++#if defined(FREEBSD) && (__FreeBSD_version < 500000)
 +#include <inttypes.h>
 +#elsif !defined(_MSC_VER)
  #include <stdint.h>
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2007-01-05 07:58:44 UTC
State Changed
From-To: open->closed

New port added. Thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2007-01-05 07:58:59 UTC
miwi        2007-01-05 07:58:52 UTC

  FreeBSD ports repository

  Modified files:
    math                 Makefile 
  Added files:
    math/msieve          Makefile distinfo pkg-descr 
    math/msieve/files    patch-Makefile patch-include-util.h 
  Log:
  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
  highly experimental and unfinished number field sieve (NFS) 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
  decimal digits.
  
  Author: Jason Papadopoulos <jasonp@boo.net>
  WWW: http://www.boo.net/~jasonp/qs.html
  
  PR:             ports/107477
  Submitted by:   Daniel Roethlisberger <daniel at roe.ch>
  
  Revision  Changes    Path
  1.440     +1 -0      ports/math/Makefile
  1.1       +55 -0     ports/math/msieve/Makefile (new)
  1.1       +3 -0      ports/math/msieve/distinfo (new)
  1.1       +46 -0     ports/math/msieve/files/patch-Makefile (new)
  1.1       +14 -0     ports/math/msieve/files/patch-include-util.h (new)
  1.1       +10 -0     ports/math/msieve/pkg-descr (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"