From owner-svn-ports-all@freebsd.org Wed May 8 05:50:43 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9A11F159EB48; Wed, 8 May 2019 05:50:43 +0000 (UTC) (envelope-from yuri@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 3E3C98CCF3; Wed, 8 May 2019 05:50:43 +0000 (UTC) (envelope-from yuri@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 12704167A; Wed, 8 May 2019 05:50:43 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x485ogT3090536; Wed, 8 May 2019 05:50:42 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x485ogNO090532; Wed, 8 May 2019 05:50:42 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201905080550.x485ogNO090532@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Wed, 8 May 2019 05:50:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r500995 - in head/math: . primesieve X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/math: . primesieve X-SVN-Commit-Revision: 500995 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 3E3C98CCF3 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.98)[-0.978,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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: Wed, 08 May 2019 05:50:43 -0000 Author: yuri Date: Wed May 8 05:50:41 2019 New Revision: 500995 URL: https://svnweb.freebsd.org/changeset/ports/500995 Log: New port: math/primesieve: Fast prime number generator Added: head/math/primesieve/ head/math/primesieve/Makefile (contents, props changed) head/math/primesieve/distinfo (contents, props changed) head/math/primesieve/pkg-descr (contents, props changed) head/math/primesieve/pkg-plist (contents, props changed) Modified: head/math/Makefile Modified: head/math/Makefile ============================================================================== --- head/math/Makefile Wed May 8 05:49:01 2019 (r500994) +++ head/math/Makefile Wed May 8 05:50:41 2019 (r500995) @@ -679,6 +679,7 @@ SUBDIR += plplot-ada SUBDIR += polylib SUBDIR += primegen + SUBDIR += primesieve SUBDIR += primme SUBDIR += prng SUBDIR += proofgeneral Added: head/math/primesieve/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/primesieve/Makefile Wed May 8 05:50:41 2019 (r500995) @@ -0,0 +1,28 @@ +# $FreeBSD$ + +PORTNAME= primesieve +DISTVERSIONPREFIX= v +DISTVERSION= 7.4-26 +DISTVERSIONSUFFIX= -g5b757b77 +CATEGORIES= math + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Fast prime number generator + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= cmake compiler:c++11-lang +USE_GITHUB= yes +GH_ACCOUNT= kimwalisch +USE_LDCONFIG= yes + +CMAKE_OFF= BUILD_STATIC_LIBS + +do-test: + @cd ${BUILD_WRKSRC} && \ + ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_TESTS:BOOL=ON ${CMAKE_SOURCE_PATH} && \ + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test + +.include Added: head/math/primesieve/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/primesieve/distinfo Wed May 8 05:50:41 2019 (r500995) @@ -0,0 +1,3 @@ +TIMESTAMP = 1557293982 +SHA256 (kimwalisch-primesieve-v7.4-26-g5b757b77_GH0.tar.gz) = df450b205e4a03f297d0dacb256e810357277c0aacf185bd2c40239cfae36655 +SIZE (kimwalisch-primesieve-v7.4-26-g5b757b77_GH0.tar.gz) = 170496 Added: head/math/primesieve/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/primesieve/pkg-descr Wed May 8 05:50:41 2019 (r500995) @@ -0,0 +1,6 @@ +primesieve is a program and C/C++ library that generates primes using a highly +optimized sieve of Eratosthenes implementation. It counts the primes below 10^10 +in just 0.4 seconds on an Intel Core i7-6700 CPU (4 x 3.4 GHz). primesieve can +generate primes and prime k-tuplets up to 2^64. + +WWW: https://github.com/kimwalisch/primesieve Added: head/math/primesieve/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/primesieve/pkg-plist Wed May 8 05:50:41 2019 (r500995) @@ -0,0 +1,16 @@ +bin/primesieve +include/primesieve.h +include/primesieve.hpp +include/primesieve/StorePrimes.hpp +include/primesieve/iterator.h +include/primesieve/iterator.hpp +include/primesieve/primesieve_error.hpp +lib/cmake/primesieve/primesieveConfig.cmake +lib/cmake/primesieve/primesieveConfigVersion.cmake +lib/cmake/primesieve/primesieveShared-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/primesieve/primesieveShared.cmake +lib/libprimesieve.so +lib/libprimesieve.so.9 +lib/libprimesieve.so.9.5.0 +libdata/pkgconfig/primesieve.pc +man/man1/primesieve.1.gz