From a61824d33c325398d7bb3058a8c4f5fc3f6418fa Mon Sep 17 00:00:00 2001 From: "Jeremy C. Reed" Date: Tue, 6 Jan 2004 05:51:28 +0000 Subject: [PATCH] PRNGD is a Pseudo Random Number Generator Daemon. It is intended to replace EGD, and provides an EGD compatible interface to obtain random data and as an entropy source. PRNGD is never drained and can never block. And it has a seed-save file, so that it is immediately usable after system start. diro of bw113.antioch-college.edu suggested this new package in NetBSD PR pkg/23998. --- prngd/DESCR | 6 ++++++ prngd/Makefile | 31 +++++++++++++++++++++++++++++++ prngd/PLIST | 7 +++++++ prngd/TODO | 7 +++++++ prngd/distinfo | 4 ++++ 5 files changed, 55 insertions(+) create mode 100644 prngd/DESCR create mode 100644 prngd/Makefile create mode 100644 prngd/PLIST create mode 100644 prngd/TODO create mode 100644 prngd/distinfo diff --git a/prngd/DESCR b/prngd/DESCR new file mode 100644 index 0000000000..ac19b93c21 --- /dev/null +++ b/prngd/DESCR @@ -0,0 +1,6 @@ +PRNGD is a Pseudo Random Number Generator Daemon. It is intended +to replace EGD, and provides an EGD compatible interface to obtain +random data and as an entropy source. + +PRNGD is never drained and can never block. And it has a seed-save +file, so that it is immediately usable after system start. diff --git a/prngd/Makefile b/prngd/Makefile new file mode 100644 index 0000000000..949fbe2af2 --- /dev/null +++ b/prngd/Makefile @@ -0,0 +1,31 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/01/06 05:51:28 jeremy-c-reed Exp $ +# + +DISTNAME= prngd-0.9.27 +CATEGORIES= security +MASTER_SITES= ftp://ftp.aet.tu-cottbus.de/pub/postfix_tls/related/prngd/ \ + ftp://ftp.ayamura.org/pub/prngd/ \ + ftp://ftp.win.ne.jp/pub/misc/prngd/ \ + http://www.mirrors.wiretapped.net/security/cryptography/libraries/math/prng-and-entropy/prngd/ \ + ftp://ftp.mirrors.wiretapped.net/pub/security/cryptography/libraries/math/prng-and-entropy/prngd/ \ + http://planetmirror.com/pub/solaris-random/prngd/ \ + ftp://planetmirror.com/pub/solaris-random/prngd/ + +MAINTAINER= tech-pkg@netbsd.org +HOMEPAGE= http://www.aet.tu-cottbus.de/personen/jaenicke/postfix_tls/prngd.html +COMMENT= Pseudo Random Number Generator Daemon + +MAKE_ENV+= DEFS="-DRANDSAVENAME=\\\"/var/db/prngd-seed\\\" -DCONFIGFILE=\\\"${PKG_SYSCONFDIR}/prngd.conf\\\"" + +do-build: + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/prngd ${PREFIX}/bin/prngd + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/prngd + ${INSTALL_DATA} ${WRKSRC}/00README ${PREFIX}/share/doc/prngd + ${INSTALL_DATA} ${WRKSRC}/00README.gatherers ${PREFIX}/share/doc/prngd + ${INSTALL_DATA} ${WRKSRC}/00DESIGN ${PREFIX}/share/doc/prngd + ${INSTALL_MAN} ${WRKSRC}/prngd.man ${PREFIX}/man/man1/prngd.1 + +.include "../../mk/bsd.pkg.mk" diff --git a/prngd/PLIST b/prngd/PLIST new file mode 100644 index 0000000000..96459d0735 --- /dev/null +++ b/prngd/PLIST @@ -0,0 +1,7 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/06 05:51:28 jeremy-c-reed Exp $ +bin/prngd +man/man1/prngd.1 +share/doc/prngd/00DESIGN +share/doc/prngd/00README +share/doc/prngd/00README.gatherers +@dirrm share/doc/prngd diff --git a/prngd/TODO b/prngd/TODO new file mode 100644 index 0000000000..7a9c2b4811 --- /dev/null +++ b/prngd/TODO @@ -0,0 +1,7 @@ +Install example configuration. Look in contrib/ directory. + +Have MESSAGE about entropy. + +Is this okay? RANDSAVENAME="/var/db/prngd-seed" + +Patch man page for paths (use sed in pre-install) diff --git a/prngd/distinfo b/prngd/distinfo new file mode 100644 index 0000000000..4ecff6b334 --- /dev/null +++ b/prngd/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/01/06 05:51:28 jeremy-c-reed Exp $ + +SHA1 (prngd-0.9.27.tar.gz) = a440ecfbe6474506a2f1c412915067428cacca2d +Size (prngd-0.9.27.tar.gz) = 73598 bytes