From owner-svn-ports-head@FreeBSD.ORG Sun Jul 28 20:37:24 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4EBED962; Sun, 28 Jul 2013 20:37:24 +0000 (UTC) (envelope-from nox@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2D794299D; Sun, 28 Jul 2013 20:37:24 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r6SKbOj4091759; Sun, 28 Jul 2013 20:37:24 GMT (envelope-from nox@svn.freebsd.org) Received: (from nox@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r6SKbN4U091755; Sun, 28 Jul 2013 20:37:23 GMT (envelope-from nox@svn.freebsd.org) Message-Id: <201307282037.r6SKbN4U091755@svn.freebsd.org> From: Juergen Lock Date: Sun, 28 Jul 2013 20:37:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r323853 - in head/math: . ent X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jul 2013 20:37:24 -0000 Author: nox Date: Sun Jul 28 20:37:23 2013 New Revision: 323853 URL: http://svnweb.freebsd.org/changeset/ports/323853 Log: Add new port math/ent: ent applies various tests to sequences of bytes stored in files and reports the results of those tests. The program is useful for evaluating pseudorandom number generators for encryption and statistical sampling applications, compression algorithms, and other applications where the information density of a file is of interest. WWW: http://www.fourmilab.ch/random/ PR: ports/180899 Submitted by: Horia Racoviceanu Added: head/math/ent/ head/math/ent/Makefile (contents, props changed) head/math/ent/distinfo (contents, props changed) head/math/ent/pkg-descr (contents, props changed) Modified: head/math/Makefile Modified: head/math/Makefile ============================================================================== --- head/math/Makefile Sun Jul 28 20:35:56 2013 (r323852) +++ head/math/Makefile Sun Jul 28 20:37:23 2013 (r323853) @@ -105,6 +105,7 @@ SUBDIR += elmer-umfpack SUBDIR += emacs-calc SUBDIR += emc2 + SUBDIR += ent SUBDIR += entropy SUBDIR += ess SUBDIR += eukleides Added: head/math/ent/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/ent/Makefile Sun Jul 28 20:37:23 2013 (r323853) @@ -0,0 +1,29 @@ +# Created by: Horia Racoviceanu +# $FreeBSD$ + +PORTNAME= ent +PORTVERSION= 0.20080128 +CATEGORIES= math +MASTER_SITES= http://www.fourmilab.ch/random/ +DISTNAME= random +DIST_SUBDIR= ${PORTNAME}/${PORTVERSION} + +MAINTAINER= horia@racoviceanu.com +COMMENT= Entropy calculation and analysis of putative random sequences + +USE_ZIP= yes +NO_WRKSUBDIR= yes +ALL_TARGET= ent +PLIST_FILES= bin/ent + +regression-test: build + @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check) + +post-patch: + ${REINPLACE_CMD} -e '/CC = /d' -e '/CFLAGS = /s,$$, ${CFLAGS},' \ + ${WRKSRC}/Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/ent ${PREFIX}/bin + +.include Added: head/math/ent/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/ent/distinfo Sun Jul 28 20:37:23 2013 (r323853) @@ -0,0 +1,2 @@ +SHA256 (ent/0.20080128/random.zip) = c14ed62db24511848d6b37d4bf8869185b65be9042ffad5272257f3a249569ec +SIZE (ent/0.20080128/random.zip) = 76200 Added: head/math/ent/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/ent/pkg-descr Sun Jul 28 20:37:23 2013 (r323853) @@ -0,0 +1,7 @@ +ent applies various tests to sequences of bytes stored in files and reports the +results of those tests. The program is useful for evaluating pseudorandom +number generators for encryption and statistical sampling applications, +compression algorithms, and other applications where the information density of +a file is of interest. + +WWW: http://www.fourmilab.ch/random/