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.
This commit is contained in:
Jeremy C. Reed 2004-01-06 05:51:28 +00:00 committed by Thomas Klausner
parent f79ecf2592
commit a61824d33c
5 changed files with 55 additions and 0 deletions

6
prngd/DESCR Normal file
View file

@ -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.

31
prngd/Makefile Normal file
View file

@ -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"

7
prngd/PLIST Normal file
View file

@ -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

7
prngd/TODO Normal file
View file

@ -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)

4
prngd/distinfo Normal file
View file

@ -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