From adc0079491319daa28cb8b86da4f033d546e2266 Mon Sep 17 00:00:00 2001 From: benoit Date: Wed, 27 May 2009 19:09:26 +0000 Subject: [PATCH] - update ecm to 6.2.3 - regen PLIST - add SHARED_LIBS - change maintainer - change MASTER_SITES ok pvalchev@, ajacoutot@ --- math/ecm/Makefile | 36 +++++++++++++++++++----------------- math/ecm/distinfo | 10 +++++----- math/ecm/pkg/PFRAG.shared | 2 ++ math/ecm/pkg/PLIST | 6 ++++-- 4 files changed, 30 insertions(+), 24 deletions(-) create mode 100644 math/ecm/pkg/PFRAG.shared diff --git a/math/ecm/Makefile b/math/ecm/Makefile index 9ca652aa3eb..ae4e6912c71 100644 --- a/math/ecm/Makefile +++ b/math/ecm/Makefile @@ -1,29 +1,31 @@ -# $OpenBSD: Makefile,v 1.3 2007/09/15 18:44:36 steven Exp $ +# $OpenBSD: Makefile,v 1.4 2009/05/27 19:09:26 benoit Exp $ -COMMENT= elliptic curve method (ECM) factorization library +COMMENT = elliptic curve method (ECM) factorization library -DISTNAME= ecm-6.1.2 -CATEGORIES= math +DISTNAME = ecm-6.2.3 +SHARED_LIBS = ecm 0.0 +CATEGORIES = math -HOMEPAGE= http://gforge.inria.fr/projects/ecm/ +HOMEPAGE = http://gforge.inria.fr/projects/ecm/ -MASTER_SITES= http://gforge.inria.fr/frs/download.php/1498/ +MAINTAINER = Benoit Lecocq -MAINTAINER= Peter Valchev +# GPLv2 / LGLPv2.1 +PERMIT_PACKAGE_CDROM = Yes +PERMIT_PACKAGE_FTP = Yes +PERMIT_DISTFILES_CDROM =Yes +PERMIT_DISTFILES_FTP = Yes -# GPL/LGLP -PERMIT_PACKAGE_CDROM= Yes -PERMIT_PACKAGE_FTP= Yes -PERMIT_DISTFILES_CDROM= Yes -PERMIT_DISTFILES_FTP= Yes +WANTLIB = c m -WANTLIB= c m +MASTER_SITES = http://gforge.inria.fr/frs/download.php/22124/ -LIB_DEPENDS= gmp.::devel/gmp +LIB_DEPENDS = gmp.::devel/gmp -CONFIGURE_STYLE=gnu -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_STYLE = gnu +CONFIGURE_ARGS += ${CONFIGURE_SHARED} +CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" post-install: ${INSTALL_MAN} ${WRKSRC}/ecm.1 ${PREFIX}/man/man1 diff --git a/math/ecm/distinfo b/math/ecm/distinfo index 7772865a3fb..476b2839447 100644 --- a/math/ecm/distinfo +++ b/math/ecm/distinfo @@ -1,5 +1,5 @@ -MD5 (ecm-6.1.2.tar.gz) = SDEkw5b3cJ1/UtDkW0KFdA== -RMD160 (ecm-6.1.2.tar.gz) = irxs5WvJHH7TaEDlch+0+YV8vEA= -SHA1 (ecm-6.1.2.tar.gz) = 7eFpBgVfpBgQEsfRL819y20YH8M= -SHA256 (ecm-6.1.2.tar.gz) = ivLib1SzmSe2ZyrQy7RmAd4fAnbeTC+k0MYVWDu0mRY= -SIZE (ecm-6.1.2.tar.gz) = 388248 +MD5 (ecm-6.2.3.tar.gz) = 2MyjeEhXqr/qmzybCSbFkw== +RMD160 (ecm-6.2.3.tar.gz) = veJJj1b0YB/IuaA/07ECm/VT9bc= +SHA1 (ecm-6.2.3.tar.gz) = uX0bGzjeGkWHyqXITXOH/BN1Ozs= +SHA256 (ecm-6.2.3.tar.gz) = FwG/A2od/kR8r6fWmvA1wXvEoIIiCeibkYfyXf6CnMc= +SIZE (ecm-6.2.3.tar.gz) = 761357 diff --git a/math/ecm/pkg/PFRAG.shared b/math/ecm/pkg/PFRAG.shared new file mode 100644 index 00000000000..3774b2d0185 --- /dev/null +++ b/math/ecm/pkg/PFRAG.shared @@ -0,0 +1,2 @@ +@comment $OpenBSD: PFRAG.shared,v 1.1 2009/05/27 19:09:28 benoit Exp $ +@lib lib/libecm.so.${LIBecm_VERSION} diff --git a/math/ecm/pkg/PLIST b/math/ecm/pkg/PLIST index c1a2c2a7357..8c15d2c5a4a 100644 --- a/math/ecm/pkg/PLIST +++ b/math/ecm/pkg/PLIST @@ -1,5 +1,7 @@ -@comment $OpenBSD: PLIST,v 1.1.1.1 2006/10/14 18:52:12 pvalchev Exp $ -bin/ecm +@comment $OpenBSD: PLIST,v 1.2 2009/05/27 19:09:28 benoit Exp $ +%%SHARED%% +@bin bin/ecm include/ecm.h lib/libecm.a +lib/libecm.la @man man/man1/ecm.1