Bug 180899 - New port: math/ent Entropy calculation and analysis of putative random sequences
Summary: New port: math/ent Entropy calculation and analysis of putative random sequences
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-28 09:10 UTC by Horia Racoviceanu
Modified: 2013-10-07 23:00 UTC (History)
0 users

See Also:


Attachments
file.shar (1.90 KB, text/plain)
2013-07-28 09:10 UTC, Horia Racoviceanu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Horia Racoviceanu 2013-07-28 09:10:00 UTC
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/

Fix: Patch attached with submission follows:
How-To-Repeat: https://redports.org/buildarchive/20130728070900-12089/
Comment 1 dfilter service freebsd_committer freebsd_triage 2013-07-28 21:37:32 UTC
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/
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 2 Juergen Lock freebsd_committer freebsd_triage 2013-07-28 21:38:28 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-10-07 22:55:32 UTC
Author: nox (ports committer)
Date: Mon Oct  7 21:55:25 2013
New Revision: 42882
URL: http://svnweb.freebsd.org/changeset/doc/42882

Log:
  Add Horia Racoviceanu for math/ent.
  
  PR:		ports/180899
  Submitted by:	Horia Racoviceanu <horia@racoviceanu.com>

Modified:
  head/en_US.ISO8859-1/articles/contributors/contrib.additional.xml

Modified: head/en_US.ISO8859-1/articles/contributors/contrib.additional.xml
==============================================================================
--- head/en_US.ISO8859-1/articles/contributors/contrib.additional.xml	Mon Oct  7 21:47:42 2013	(r42881)
+++ head/en_US.ISO8859-1/articles/contributors/contrib.additional.xml	Mon Oct  7 21:55:25 2013	(r42882)
@@ -3960,6 +3960,11 @@
     </listitem>
 
     <listitem>
+      <para>Horia Racoviceanu
+	<email>horia@racoviceanu.com</email></para>
+    </listitem>
+
+    <listitem>
       <para>Horihiro Kumagai
 	<email>kuma@jp.FreeBSD.org</email></para>
     </listitem>
_______________________________________________
svn-doc-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "svn-doc-all-unsubscribe@freebsd.org"