summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-12-05 06:04:52 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-12-05 06:04:52 +0000
commit8f18041fe06c89a816b3372836a22547a6596349 (patch)
tree51e0b167a6d54192a9112547c7a6acbedd48cf61 /math
parenttextproc/ripgrep: unbreak AVX=on on i386 after r454995 (diff)
New port: math/flintqs: Quadratic Sieve integer factorization algorithm
Notes
Notes: svn path=/head/; revision=486652
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/flintqs/Makefile23
-rw-r--r--math/flintqs/distinfo3
-rw-r--r--math/flintqs/pkg-descr4
4 files changed, 31 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 2f50efb0d81c..aa6f0c8ef2c2 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -211,6 +211,7 @@
SUBDIR += fityk
SUBDIR += flann
SUBDIR += flint2
+ SUBDIR += flintqs
SUBDIR += form
SUBDIR += fpc-fftw
SUBDIR += fpc-gmp
diff --git a/math/flintqs/Makefile b/math/flintqs/Makefile
new file mode 100644
index 000000000000..5cbe74de5f0c
--- /dev/null
+++ b/math/flintqs/Makefile
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+PORTNAME= FlintQS
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.0
+CATEGORIES= math
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Quadratic Sieve integer factorization algorithm
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+LIB_DEPENDS= libgmp.so:math/gmp
+
+USES= autoreconf gmake localbase:ldflags
+GNU_CONFIGURE= yes
+USE_GITHUB= yes
+GH_ACCOUNT= sagemath
+
+PLIST_FILES= bin/QuadraticSieve
+
+.include <bsd.port.mk>
diff --git a/math/flintqs/distinfo b/math/flintqs/distinfo
new file mode 100644
index 000000000000..9b7a28a23ce0
--- /dev/null
+++ b/math/flintqs/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1543985253
+SHA256 (sagemath-FlintQS-v1.0_GH0.tar.gz) = b983052f267988192c9ec59c9d2754470e5f2db74b45e364cf7ad62f349bc9eb
+SIZE (sagemath-FlintQS-v1.0_GH0.tar.gz) = 43549
diff --git a/math/flintqs/pkg-descr b/math/flintqs/pkg-descr
new file mode 100644
index 000000000000..43e895f05172
--- /dev/null
+++ b/math/flintqs/pkg-descr
@@ -0,0 +1,4 @@
+A fast implementation of the self initialising quadratic sieve (SIMPQS),
+for factoring large integers, written by William Hart.
+
+WWW: http://www.friedspace.com/QS/