Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Oct 2019 20:22:40 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r513529 - in head/devel: . libjitterentropy libjitterentropy/files
Message-ID:  <201910012022.x91KMeHb040298@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Tue Oct  1 20:22:40 2019
New Revision: 513529
URL: https://svnweb.freebsd.org/changeset/ports/513529

Log:
  devel/libjitterentropy: create port
  
  The CPU Jitter Random Number Generator provides a non-physical true random
  number generator that works equally in kernel and user land. The only
  prerequisite is the availability of a high-resolution timer that is available
  in modern CPUs.
  
  WWW: http://www.chronox.de/jent.html

Added:
  head/devel/libjitterentropy/
  head/devel/libjitterentropy/Makefile   (contents, props changed)
  head/devel/libjitterentropy/distinfo   (contents, props changed)
  head/devel/libjitterentropy/files/
  head/devel/libjitterentropy/files/patch-Makefile   (contents, props changed)
  head/devel/libjitterentropy/pkg-descr   (contents, props changed)
  head/devel/libjitterentropy/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile   (contents, props changed)

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Tue Oct  1 20:19:54 2019	(r513528)
+++ head/devel/Makefile	Tue Oct  1 20:22:40 2019	(r513529)
@@ -1259,6 +1259,7 @@
     SUBDIR += libiqxmlrpc
     SUBDIR += libisofs
     SUBDIR += libixp
+    SUBDIR += libjitterentropy
     SUBDIR += libjson++
     SUBDIR += libk8055
     SUBDIR += libklel

Added: head/devel/libjitterentropy/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libjitterentropy/Makefile	Tue Oct  1 20:22:40 2019	(r513529)
@@ -0,0 +1,21 @@
+# $FreeBSD$
+
+PORTNAME=	libjitterentropy
+PORTVERSION=	2.2.0
+DISTVERSIONPREFIX=	v
+CATEGORIES=	devel
+
+MAINTAINER=	swills@FreeBSD.org
+COMMENT=	Hardware RNG based on CPU timing jitter
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILES=	${WRKSRC}/COPYING.bsd
+
+USES=		gmake
+USE_LDCONFIG=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	smuellerDD
+GH_PROJECT=	jitterentropy-library
+
+.include <bsd.port.mk>

Added: head/devel/libjitterentropy/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libjitterentropy/distinfo	Tue Oct  1 20:22:40 2019	(r513529)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1569954224
+SHA256 (smuellerDD-jitterentropy-library-v2.2.0_GH0.tar.gz) = 42d4bd1050b5f0d7b45b5453e5b6cfc45c0492bb428791f571d8f69b066351a4
+SIZE (smuellerDD-jitterentropy-library-v2.2.0_GH0.tar.gz) = 25556

Added: head/devel/libjitterentropy/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libjitterentropy/files/patch-Makefile	Tue Oct  1 20:22:40 2019	(r513529)
@@ -0,0 +1,15 @@
+--- Makefile.orig	2019-10-01 18:36:51 UTC
++++ Makefile
+@@ -56,9 +56,9 @@ cppcheck:
+ 	cppcheck --force -q --enable=performance --enable=warning --enable=portability *.h *.c
+ 
+ install:
+-	install -d -m 0755 $(DESTDIR)$(PREFIX)/share/man/man3
+-	install -m 644 doc/$(NAME).3 $(DESTDIR)$(PREFIX)/share/man/man3/
+-	gzip -9 $(DESTDIR)$(PREFIX)/share/man/man3/$(NAME).3
++	install -d -m 0755 $(DESTDIR)$(PREFIX)/man/man3
++	install -m 644 doc/$(NAME).3 $(DESTDIR)$(PREFIX)/man/man3/
++	gzip -9 $(DESTDIR)$(PREFIX)/man/man3/$(NAME).3
+ 	install -d -m 0755 $(DESTDIR)$(PREFIX)/$(LIBDIR)
+ 	install -m 0755 -s lib$(NAME).so.$(LIBVERSION) $(DESTDIR)$(PREFIX)/$(LIBDIR)/
+ 	install -d -m 0755 $(DESTDIR)$(PREFIX)/$(INCDIR)

Added: head/devel/libjitterentropy/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libjitterentropy/pkg-descr	Tue Oct  1 20:22:40 2019	(r513529)
@@ -0,0 +1,6 @@
+The CPU Jitter Random Number Generator provides a non-physical true random
+number generator that works equally in kernel and user land. The only
+prerequisite is the availability of a high-resolution timer that is available
+in modern CPUs.
+
+WWW: http://www.chronox.de/jent.html

Added: head/devel/libjitterentropy/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libjitterentropy/pkg-plist	Tue Oct  1 20:22:40 2019	(r513529)
@@ -0,0 +1,6 @@
+include/jitterentropy-base-user.h
+include/jitterentropy.h
+lib/libjitterentropy.so
+lib/libjitterentropy.so.2
+lib/libjitterentropy.so.2.2.0
+man/man3/jitterentropy.3.gz



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