Import ecm-6.1.1

Integer factorization library and program using the Elliptic
Curve Method (ECM), the P-1 or P+1 methods (which the ECM
method can be viewed as a generalization of).
This commit is contained in:
pvalchev 2006-10-14 18:52:12 +00:00
parent 4bf4d67fe1
commit d6a632e5b7
4 changed files with 43 additions and 0 deletions

31
math/ecm/Makefile Normal file
View File

@ -0,0 +1,31 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/10/14 18:52:12 pvalchev Exp $
COMMENT= "elliptic curve method (ECM) factorization library"
DISTNAME= ecm-6.1.1
CATEGORIES= math
HOMEPAGE= http://gforge.inria.fr/projects/ecm/
MASTER_SITES= http://gforge.inria.fr/frs/download.php/912/
MAINTAINER= Peter Valchev <pvalchev@openbsd.org>
# GPL/LGLP
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m
LIB_DEPENDS= gmp.::devel/gmp
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-install:
${INSTALL_MAN} ${WRKSRC}/ecm.1 ${PREFIX}/man/man1
.include <bsd.port.mk>

4
math/ecm/distinfo Normal file
View File

@ -0,0 +1,4 @@
MD5 (ecm-6.1.1.tar.gz) = 15ac2f5e5d26f45acb39674134fe2239
RMD160 (ecm-6.1.1.tar.gz) = 5c16da9e3570d8cf647191b184232fd3835d4a30
SHA1 (ecm-6.1.1.tar.gz) = 8d4c13624c3a893455c7d38da083e9f880349448
SIZE (ecm-6.1.1.tar.gz) = 387085

3
math/ecm/pkg/DESCR Normal file
View File

@ -0,0 +1,3 @@
Integer factorization library and program using the Elliptic
Curve Method (ECM), the P-1 or P+1 methods (which the ECM
method can be viewed as a generalization of).

5
math/ecm/pkg/PLIST Normal file
View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/10/14 18:52:12 pvalchev Exp $
bin/ecm
include/ecm.h
lib/libecm.a
@man man/man1/ecm.1