From owner-svn-ports-all@freebsd.org Fri Mar 27 19:15:34 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 94A8727EC31; Fri, 27 Mar 2020 19:15:34 +0000 (UTC) (envelope-from thierry@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48ps50234Kz3KbS; Fri, 27 Mar 2020 19:15:32 +0000 (UTC) (envelope-from thierry@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 706AC266F7; Fri, 27 Mar 2020 19:08:02 +0000 (UTC) (envelope-from thierry@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 02RJ82QL034924; Fri, 27 Mar 2020 19:08:02 GMT (envelope-from thierry@FreeBSD.org) Received: (from thierry@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 02RJ81KY034919; Fri, 27 Mar 2020 19:08:01 GMT (envelope-from thierry@FreeBSD.org) Message-Id: <202003271908.02RJ81KY034919@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: thierry set sender to thierry@FreeBSD.org using -f From: Thierry Thomas Date: Fri, 27 Mar 2020 19:08:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r529279 - in head/math: . gf2x X-SVN-Group: ports-head X-SVN-Commit-Author: thierry X-SVN-Commit-Paths: in head/math: . gf2x X-SVN-Commit-Revision: 529279 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2020 19:15:34 -0000 Author: thierry Date: Fri Mar 27 19:08:00 2020 New Revision: 529279 URL: https://svnweb.freebsd.org/changeset/ports/529279 Log: Adding gf2x, a library for multiplying polynomials over the binary field. To be used from SageMath and NTL. Added: head/math/gf2x/ head/math/gf2x/Makefile (contents, props changed) head/math/gf2x/distinfo (contents, props changed) head/math/gf2x/pkg-descr (contents, props changed) head/math/gf2x/pkg-plist (contents, props changed) Modified: head/math/Makefile Modified: head/math/Makefile ============================================================================== --- head/math/Makefile Fri Mar 27 18:57:28 2020 (r529278) +++ head/math/Makefile Fri Mar 27 19:08:00 2020 (r529279) @@ -275,6 +275,7 @@ SUBDIR += geogram SUBDIR += geonext SUBDIR += gexpr + SUBDIR += gf2x SUBDIR += gfan SUBDIR += gfanlib SUBDIR += ggobi Added: head/math/gf2x/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/gf2x/Makefile Fri Mar 27 19:08:00 2020 (r529279) @@ -0,0 +1,38 @@ +# Created by: thierry@pompo.net +# $FreeBSD$ + +PORTNAME= gf2x +PORTVERSION= 1.3.0 +CATEGORIES= math +MASTER_SITES= https://gforge.inria.fr/frs/download.php/file/38243/ + +MAINTAINER= thierry@FreeBSD.org +COMMENT= Library for multiplying polynomials over the binary field + +LICENSE= GPLv3 LGPL21 +LICENSE_COMB= dual +LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LIB +LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING + +USES= libtool + +GNU_CONFIGURE= yes +USE_LDCONFIG= yes + +TEST_TARGET= check + +OPTIONS_RADIO= LIC +OPTIONS_RADIO_LIC= LIC_GPLV3 LIC_LGPL21 +OPTIONS_DEFAULT= LIC_GPLV3 +LIC_GPLV3_DESC= Choose the GPLv3 version +LIC_LGPL21_DESC= Choose the LGPL 2.1 version + +.include + +post-extract: +.if ${PORT_OPTIONS:MLIC_LGPL21} + ${MV} ${WRKSRC}/toom-gpl.c ${WRKSRC}/toom-gpl.c.GPLv3 + ${MV} ${WRKSRC}/toom-gpl-placeholder.c ${WRKSRC}/toom-gpl.c +.endif + +.include Added: head/math/gf2x/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/gf2x/distinfo Fri Mar 27 19:08:00 2020 (r529279) @@ -0,0 +1,3 @@ +TIMESTAMP = 1585325011 +SHA256 (gf2x-1.3.0.tar.gz) = 9472cd651972a1de38e3c4c47697a86e0ecf19d7d33454d4bc2a62bc85841b59 +SIZE (gf2x-1.3.0.tar.gz) = 727717 Added: head/math/gf2x/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/gf2x/pkg-descr Fri Mar 27 19:08:00 2020 (r529279) @@ -0,0 +1,8 @@ +gf2x is a C/C++ software package containing routines for fast arithmetic in +GF(2)[x] (multiplication, squaring, GCD) and searching for irreducible/primitive +trinomials. + +Note: this port provides either a LGPL or a GPLv3 (default) version, and you +can make your choice with the option. + +WWW: http://gf2x.gforge.inria.fr/ Added: head/math/gf2x/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/gf2x/pkg-plist Fri Mar 27 19:08:00 2020 (r529279) @@ -0,0 +1,20 @@ +include/gf2x.h +include/gf2x/gf2x-config-export.h +include/gf2x/gf2x-config.h +include/gf2x/gf2x-impl-export.h +include/gf2x/gf2x-small.h +include/gf2x/gf2x-thresholds.h +include/gf2x/gf2x_mul1.h +include/gf2x/gf2x_mul2.h +include/gf2x/gf2x_mul3.h +include/gf2x/gf2x_mul4.h +include/gf2x/gf2x_mul5.h +include/gf2x/gf2x_mul6.h +include/gf2x/gf2x_mul7.h +include/gf2x/gf2x_mul8.h +include/gf2x/gf2x_mul9.h +lib/libgf2x.a +lib/libgf2x.so +lib/libgf2x.so.3 +lib/libgf2x.so.3.0.0 +libdata/pkgconfig/gf2x.pc