Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jul 2013 20:37:23 +0000 (UTC)
From:      Juergen Lock <nox@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r323853 - in head/math: . ent
Message-ID:  <201307282037.r6SKbN4U091755@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <horia@racoviceanu.com>

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 <horia@racoviceanu.com>
+# $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 <bsd.port.mk>

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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307282037.r6SKbN4U091755>