[gmp-ecm] 01/77: Imported Debian patch 6.1.1-4

Jerome Benoit calculus-guest at moszumanska.debian.org
Sat Jun 6 12:33:46 UTC 2015


This is an automated email from the git hooks/post-receive script.

calculus-guest pushed a commit to branch master
in repository gmp-ecm.

commit cb8807ff040876a7facdc50692c63549661a4cba
Author: Laurent Fousse <laurent at komite.net>
Date:   Sat Jul 21 11:38:12 2007 +0200

    Imported Debian patch 6.1.1-4
---
 debian/README.Debian |  19 ++++++++++
 debian/changelog     | 100 +++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/compat        |   1 +
 debian/control       |  26 ++++++++++++++
 debian/copyright     |  31 ++++++++++++++++
 debian/docs          |   3 ++
 debian/rules         |  99 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sp.h                 |   3 ++
 8 files changed, 282 insertions(+)

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..8b6cce0
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,19 @@
+The ECMNET Project
+------------------
+
+Several number factorization projects could use your help. Since
+composite numbers lists can become obsolete quickly, they are not
+included in the package but you can have a look at upstream's page to
+get you started:
+
+    http://www.loria.fr/~zimmerma/records/ecmnet.html
+
+
+Library version
+---------------
+
+Starting with version 6.0, gmp-ecm now ships with a library version
+too. The library is not included in the debian package yet, please
+file a wishlist bug asking for it if you find it useful.
+
+ -- Laurent Fousse <laurent at komite.net>, Mon, 28 Feb 2005 16:34:07 +0100
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..fae9b19
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,100 @@
+gmp-ecm (6.1.1-4) unstable; urgency=low
+
+  * Disable assembly on hppa as well (closes: #379006).
+
+ -- Laurent Fousse <laurent at komite.net>  Mon, 31 Jul 2006 12:29:51 +0200
+
+gmp-ecm (6.1.1-3) unstable; urgency=low
+
+  * The build failure on s390 is of a more complicated nature,
+    disable assembly completely until someone fixes it.
+
+ -- Laurent Fousse <laurent at komite.net>  Thu, 20 Jul 2006 13:58:34 +0200
+
+gmp-ecm (6.1.1-2) unstable; urgency=low
+
+  * Define types before inclusion of longlong.h, fixes build
+    failure on s390.
+
+ -- Laurent Fousse <laurent at komite.net>  Thu, 20 Jul 2006 10:31:17 +0200
+
+gmp-ecm (6.1.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Change debian/copyright to point to new download page.
+  * Upgraded Standards-Version to 3.7.2, no change needed.
+
+ -- Laurent Fousse <laurent at komite.net>  Wed, 19 Jul 2006 21:50:56 +0200
+
+gmp-ecm (6.0.1-2) unstable; urgency=low
+
+  * Updated Standards-Version to 3.6.2 (no change needed).
+  * Rebuild needed because of GMP C++ transition (closes: #326196).
+
+ -- Laurent Fousse <laurent at komite.net>  Sun,  4 Sep 2005 10:40:16 +0200
+
+gmp-ecm (6.0.1-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Laurent Fousse <laurent at komite.net>  Fri,  1 Apr 2005 15:02:22 +0200
+
+gmp-ecm (6.0-2) unstable; urgency=low
+
+  * Applied upstream patches 04 through 08, fixes misc bugs including
+    potential segfault.
+
+ -- Laurent Fousse <laurent at komite.net>  Fri, 11 Mar 2005 10:37:00 +0100
+
+gmp-ecm (6.0-1) unstable; urgency=low
+
+  * New upstream release, repackaged since upstream switched to autotools.
+  * Applied upstream patch 02, fixes linking problem.
+  * Applied upstream patch 03, fixes segfault.
+  * Backported test.ecm from CVS, makes tests a lot faster.
+  * Add manpage link gmp-ecm(1).
+  * Changed to Standards-Version 3.6.1 (no change needed).
+
+ -- Laurent Fousse <laurent at komite.net>  Mon, 28 Feb 2005 16:02:28 +0100
+
+gmp-ecm (5.0.3-3) unstable; urgency=low
+
+  * Fix typo in manpage, thanks Bill Allombert (closes: #254255).
+
+ -- Laurent Fousse <laurent at komite.net>  Thu, 24 Jun 2004 15:18:15 +0200
+
+gmp-ecm (5.0.3-2) unstable; urgency=low
+
+  * Fixed debian/rules, "test" target no longer called twice.
+  * Updated to newer Cunningham numbers input list.
+
+ -- Laurent Fousse <laurent at komite.net>  Mon, 26 Jan 2004 13:33:03 +0100
+
+gmp-ecm (5.0.3-1) unstable; urgency=low
+
+  * New upstream release.
+  * "test" target added in debian/rules and called at build time.
+  * License for two files is LGPL, not GPL.
+  * Watch file removed as it is not applicable anymore.
+
+ -- Laurent Fousse <laurent at komite.net>  Sun,  9 Nov 2003 13:10:49 +0100
+
+gmp-ecm (5.0.1-3) unstable; urgency=low
+
+  * Added upstream patch that checks mallocs (closes: #197444).
+  * Updated Standards-Version to 3.6.0.
+
+ -- Laurent Fousse <laurent at komite.net>  Sun, 14 Sep 2003 17:26:43 +0200
+
+gmp-ecm (5.0.1-2) unstable; urgency=low
+
+  * Updated manpage. Closes: #197443
+
+ -- Laurent Fousse <laurent at komite.net>  Mon, 16 Jun 2003 08:07:29 +0000
+
+gmp-ecm (5.0.1-1) unstable; urgency=low
+
+  * Initial Release. Closes: #180191
+
+ -- Laurent Fousse <laurent at komite.net>  Sun, 25 May 2003 09:54:44 +0000
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b8626c4
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+4
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..b54388a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,26 @@
+Source: gmp-ecm
+Section: math
+Priority: optional
+Maintainer: Laurent Fousse <laurent at komite.net>
+Build-Depends: debhelper (>= 4.0.0) , libgmp3-dev
+Standards-Version: 3.7.2
+
+Package: gmp-ecm
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Factor integers using the Elliptic Curve Method
+ gmp-ecm is a free implementation of the Elliptic Curve Method (ECM)
+ for integer factorization.
+ .
+ The original purpose of the ECMNET project was to make Richard Brent's
+ prediction true, i.e. to find a factor of 50 digits or more by
+ ECM. This goal was attained on September 14, 1998, when Conrad Curry
+ found a 53-digit factor of 2^677-1 c150 using George Woltman's mprime
+ program. The new goal of ECMNET is now to find other large factors by
+ ecm, mainly by contributing to the Cunningham project, most likely the
+ longest, ongoing computational project in history according to Bob
+ Silverman. A new record was set by Nik Lygeros and Michel Mizony, who
+ found in December 1999 a prime factor of 54 digits using GMP-ECM.
+ .
+ See http://www.loria.fr/~zimmerma/records/ecmnet.html for more
+ informations about ecmnet.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..fde333f
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,31 @@
+This package was debianized by Laurent Fousse <laurent at komite.net> on
+Tue, 22 Apr 2003 10:19:24 +0200.
+
+It was downloaded from http://gforge.inria.fr/projects/ecm/
+
+Upstream Authors (from upstream `AUTHORS' file):
+    Jim Fougeron <jfoug at cox dot net>
+    Laurent Fousse <laurent at komite dot net>
+    Alexander Kruppa <firstname.lastname at mytum.de> (substitute appropriately)
+    Dave Newman <david dot newman at jesus dot ox dot ac dot uk>
+    Paul Zimmermann <zimmerma at loria dot fr>
+
+This software is copyright (C) 2001-2006 Paul Zimmerman and Alexander Kruppa,
+(C) 2003-2005 Jim Fougeron, Laurent Fousse and Dave Newman.
+
+You are free to distribute the files:
+    auxlib.c bestd.c ecm-gmp.h ecm.c ecm2.c factor.c getprime.c ks-multiply.c
+    listz.c lucas.c median.c memory.c mpmod.c mul_lo.c pm1.c polyeval.c pp1.c
+    random.c rho.c schoen_strass.c stage2.c toomcook.c
+under the terms of the GNU Lesser General Public License, version 2.1 or any
+later version, and the files:
+    Fgw.c auxi.c b1_ainc.c candi.c ecm-ecm.h ecm-impl.h ecm.h ecmfactor.c
+    eval.c getprime2.c main.c random2.c resume.c smartprp.c trial.c tune.c
+    tune2.c
+under the terms of the GNU General Public License, version 2 or any later
+version.
+
+On Debian systems, the complete texts of the GNU General Public
+License and of the GNU Lesser General Public License can be found in
+the file `/usr/share/common-licenses/GPL' and `/usr/share/common-licenses/LGPL'
+respectively.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..9a58ad6
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,3 @@
+README
+AUTHORS
+NEWS
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..853a07a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,99 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+config.status: configure
+	dh_testdir
+	# Add here commands to configure the package.
+	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
+
+
+build: build-stamp
+
+build-stamp:  config.status
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+	$(MAKE) check
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) distclean
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+	cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+	cp -f /usr/share/misc/config.guess config.guess
+endif
+
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/gmp-ecm.
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/gmp-ecm
+	rm -rf $(CURDIR)/debian/gmp-ecm/usr/lib
+	rm -rf $(CURDIR)/debian/gmp-ecm/usr/include
+	mkdir -p $(CURDIR)/debian/gmp-ecm/usr/share/man/man1
+	cp ecm.1 debian/gmp-ecm/usr/share/man/man1
+	ln -s /usr/share/man/man1/ecm.1.gz debian/gmp-ecm/usr/share/man/man1/gmp-ecm.1.gz
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog
+	dh_installdocs
+	dh_installexamples
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 
diff --git a/sp.h b/sp.h
index a8df283..99ff6db 100644
--- a/sp.h
+++ b/sp.h
@@ -71,6 +71,9 @@ typedef unsigned long UDItype;
 #define ULONG_MAX __GMP_ULONG_MAX
 #endif
 
+#if defined (__s390__) || defined (__hppa__)
+#define NO_ASM
+#endif
 #include "longlong.h"
 
 /* Use a library function for invert_limb, if available. */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/gmp-ecm.git



More information about the debian-science-commits mailing list