From nobody Sun Nov 27 10:12:23 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NKktH702zz4hSw7; Sun, 27 Nov 2022 10:12:23 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NKktH6Kklz4JtF; Sun, 27 Nov 2022 10:12:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669543943; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wNBjRWLbf6CfqwgBps8gr1rBIalv9tAnS5a/WkiU4bo=; b=RjHptXvJR9931vE6felIOrf+/gnPOtzZ7BBnIc7bOx6lhwf34y/p0b593Hp2d0eR+Wp5DT +VmIgsEeijEAHJrq8jBpVG2/zoIXzrRy4nXiDCtyDOVvmbnuMHU2Ebp+y1+nD3fkp4hrDr fgdgLstjssewxugEg+1E1YV1wqvqeTg/m/Li00n80qTHQS2j+U1OnrW42YqhkZNlfn7iMI U5Za8W/7ZbMaaNxI18fzNdPSzvJerdIAZJj6LRneIWHJKBiE3R4yUJhyhm++tC+iJ7dSdi G7BTsykSOcDpASydpucUWfR3WHrUFDdmLvPZskdfalisjGbiB9qN+iSnOhGL5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669543943; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wNBjRWLbf6CfqwgBps8gr1rBIalv9tAnS5a/WkiU4bo=; b=nAaeELy8ekNw6iaAfXhDRO7dy6ErPl+wE1pnGd8N1k6twFUzXOxkQlhdzvNsHvd8vGVi8z +B68sOxhgCjjaiH+H2ALvhzBNb/sSeuB4A7fZ879ywAaV6ncmvqtWJPHqTP3Mmuu7YQVvL on8ht+ccgMeQRrac2AERHeWjzJmYfm9iAC3S2FjbW/3d/aHH4uAv7Z16WJ/KqGjyfK/FPq xjWos5Hz3mXbmMFcdBR4XUGnaxYGmx38r97A9U9OQHPxAQVvnon0y4UF5oZjZYOuIeeel3 sIGbAcWMOKzF5Xp1YJiHf0Gaw0EmtAS+sXLK+YIC34dZY/9U3yazlML+VTHzSQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669543943; a=rsa-sha256; cv=none; b=En9llVP7PdK5siIfuxhvALAfmbc5djrkUjNHJMnsMD/8CTcMpvDMP0u5rSvxe3FLzs/YiX obUqdLHqZUQ0SDwFm7Wm8fpcg4g7rGg/7bd63Jj4cP5Mq9ssB611t9+aDRHXYGhZTNPPO/ XLNx2uuzc3kYwJ5/v7eKeoniWXVr8Akgq1AQldXsBXFNTPl00BuZUQzAaDSJKc036bTHUN d6CBC6BeMjjGtFctYPbvNoNxCDXahcNv4Wl683C41yXrg1rJuWtGzg8ukaU0zgi2kH9Isk IUcrr9qAHQKL7pnS9JwfGVOiEaXn7MuoOtLqURGEohmELXhV20xtAnAxH2P/gQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NKktH5PLPzvXF; Sun, 27 Nov 2022 10:12:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2ARACNiM026938; Sun, 27 Nov 2022 10:12:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2ARACNpq026937; Sun, 27 Nov 2022 10:12:23 GMT (envelope-from git) Date: Sun, 27 Nov 2022 10:12:23 GMT Message-Id: <202211271012.2ARACNpq026937@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 6c2798989f0e - main - devel/random123: New port: Counter-based random number generators for C, C++ and CUDA List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6c2798989f0eb8c5d62fdb47b891ce41ee38499d Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=6c2798989f0eb8c5d62fdb47b891ce41ee38499d commit 6c2798989f0eb8c5d62fdb47b891ce41ee38499d Author: Yuri Victorovich AuthorDate: 2022-11-27 07:47:32 +0000 Commit: Yuri Victorovich CommitDate: 2022-11-27 10:12:20 +0000 devel/random123: New port: Counter-based random number generators for C, C++ and CUDA --- devel/Makefile | 1 + devel/random123/Makefile | 28 ++++++++++++++++++++++++++++ devel/random123/distinfo | 3 +++ devel/random123/files/patch-GNUmakefile | 11 +++++++++++ devel/random123/pkg-descr | 9 +++++++++ devel/random123/pkg-plist | 27 +++++++++++++++++++++++++++ 6 files changed, 79 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 7342758933f1..23aa4a4d484d 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5710,6 +5710,7 @@ SUBDIR += radian SUBDIR += ragel SUBDIR += raknet + SUBDIR += random123 SUBDIR += rang SUBDIR += range-v3 SUBDIR += rapidcheck diff --git a/devel/random123/Makefile b/devel/random123/Makefile new file mode 100644 index 000000000000..fc752fcbf8df --- /dev/null +++ b/devel/random123/Makefile @@ -0,0 +1,28 @@ +PORTNAME= random123 +DISTVERSIONPREFIX= v +DISTVERSION= 1.14.0-5 +DISTVERSIONSUFFIX= -g9545ff6 +CATEGORIES= devel +MASTER_SITES= https://github.com/GlobalArrays/ga/releases/download/v${DISTVERSION}/ + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Counter-based random number generators for C, C++ and CUDA +WWW= https://github.com/DEShawResearch/random123 + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= gmake + +USE_GITHUB= yes +GH_ACCOUNT= DEShawResearch + +MAKEFILE= GNUmakefile + +NO_ARCH= yes +NO_BUILD= yes + +INSTALL_TARGET= install-include +TEST_TARGET= check + +.include diff --git a/devel/random123/distinfo b/devel/random123/distinfo new file mode 100644 index 000000000000..d843f9523384 --- /dev/null +++ b/devel/random123/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1669533688 +SHA256 (DEShawResearch-random123-v1.14.0-5-g9545ff6_GH0.tar.gz) = ffb858bdbd0622bfb355fe87c4c09f15607536ac6eb4e7cab2868b501a5956e3 +SIZE (DEShawResearch-random123-v1.14.0-5-g9545ff6_GH0.tar.gz) = 318644 diff --git a/devel/random123/files/patch-GNUmakefile b/devel/random123/files/patch-GNUmakefile new file mode 100644 index 000000000000..93879c7c3273 --- /dev/null +++ b/devel/random123/files/patch-GNUmakefile @@ -0,0 +1,11 @@ +--- GNUmakefile.orig 2022-01-17 21:45:51 UTC ++++ GNUmakefile +@@ -24,7 +24,7 @@ install: install-html install-include install-examples + # recursively copy include/Random123 to $(includedir) + install-include: + mkdir -p $(DESTDIR)$(includedir) +- cp -dr include/Random123 $(DESTDIR)$(includedir) ++ cp -r include/Random123 $(DESTDIR)$(includedir) + .PHONY: install-include + + # docs/main.md is the same as README.md, but it has a @mainpage diff --git a/devel/random123/pkg-descr b/devel/random123/pkg-descr new file mode 100644 index 000000000000..2623347c1758 --- /dev/null +++ b/devel/random123/pkg-descr @@ -0,0 +1,9 @@ +The Random123 library is a collection of counter-based random number generators +( "CBRNGs") for CPUs (C and C++) and GPUs (CUDA and OpenCL), as described in +Parallel Random Numbers: As Easy as 1, 2, 3, Salmon, Moraes, Dror & Shaw, SC11, +Seattle, Washington, USA, 2011, ACM . They are intended for use in statistical +applications and Monte Carlo simulation and have passed all of the rigorous +SmallCrush, Crush and BigCrush tests in the extensive TestU01 suite of +statistical tests for random number generators. They are not suitable for use in +cryptography or security even though they are constructed using principles drawn +from cryptography. diff --git a/devel/random123/pkg-plist b/devel/random123/pkg-plist new file mode 100644 index 000000000000..e052d99e444f --- /dev/null +++ b/devel/random123/pkg-plist @@ -0,0 +1,27 @@ +include/Random123/MicroURNG.hpp +include/Random123/ReinterpretCtr.hpp +include/Random123/aes.h +include/Random123/array.h +include/Random123/ars.h +include/Random123/boxmuller.hpp +include/Random123/conventional/Engine.hpp +include/Random123/conventional/gsl_cbrng.h +include/Random123/features/clangfeatures.h +include/Random123/features/compilerfeatures.h +include/Random123/features/fujitsufeatures.h +include/Random123/features/gccfeatures.h +include/Random123/features/iccfeatures.h +include/Random123/features/metalfeatures.h +include/Random123/features/msvcfeatures.h +include/Random123/features/nvccfeatures.h +include/Random123/features/open64features.h +include/Random123/features/openclfeatures.h +include/Random123/features/pgccfeatures.h +include/Random123/features/sse.h +include/Random123/features/sunprofeatures.h +include/Random123/features/xlcfeatures.h +include/Random123/gsl_microrng.h +include/Random123/philox.h +include/Random123/threefry.h +include/Random123/u01fixedpt.h +include/Random123/uniform.hpp