pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/prngd Initial import of prngd-0.9.29
details: https://anonhg.NetBSD.org/pkgsrc/rev/28543f75526b
branches: trunk
changeset: 478061:28543f75526b
user: recht <recht%pkgsrc.org@localhost>
date: Thu Jul 15 23:10:35 2004 +0000
description:
Initial import of prngd-0.9.29
from othyro at freeshell dot org via pkgsrc-wip
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.
diffstat:
security/prngd/DESCR | 6 ++++++
security/prngd/MESSAGE | 28 ++++++++++++++++++++++++++++
security/prngd/Makefile | 44 ++++++++++++++++++++++++++++++++++++++++++++
security/prngd/PLIST | 9 +++++++++
security/prngd/distinfo | 4 ++++
5 files changed, 91 insertions(+), 0 deletions(-)
diffs (111 lines):
diff -r e3388d7c7bcb -r 28543f75526b security/prngd/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/prngd/DESCR Thu Jul 15 23:10:35 2004 +0000
@@ -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 -r e3388d7c7bcb -r 28543f75526b security/prngd/MESSAGE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/prngd/MESSAGE Thu Jul 15 23:10:35 2004 +0000
@@ -0,0 +1,28 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2004/07/15 23:10:35 recht Exp $
+
+- Edit the PRNGD configuration file ${PKG_SYSCONFDIR}/prngd.conf
+ (see ${PREFIX}/share/doc/prngd). An example conf file was installed in
+ ${PREFIX}/share/examples/prngd/prngd.conf.netbsd.
+
+-- Regarding entropy gathering commands in prngd.conf:
+
+The "rate" represents the number of bits of usuable entropy per byte of
+command output. Adjust the rates as you see fit, but be conservative.
+
+Depending on the usage of your system, some commands may not produce
+output that varies significantly over time. Keep in mind the usage of
+such commands will not produce considerably random data. Use commands
+whose output will gather decent entropy.
+
+- Add this example to /etc/rc.local for PRNGD to start on system boot:
+
+echo ''
+echo 'Starting PRNGD.'
+if [ -f /usr/pkg/bin/prngd ]; then
+ /usr/pkg/bin/prngd /var/run/egd-pool
+fi
+
+- Browse the manual, docs, and the PRNGD home page for more information.
+
+===========================================================================
diff -r e3388d7c7bcb -r 28543f75526b security/prngd/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/prngd/Makefile Thu Jul 15 23:10:35 2004 +0000
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/07/15 23:10:35 recht Exp $
+
+DISTNAME= prngd-0.9.29
+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@localhost
+HOMEPAGE= http://www.aet.tu-cottbus.de/personen/jaenicke/postfix_tls/prngd.html
+COMMENT= Pseudo Random Number Generator Daemon
+
+MAKE_ENV+= DEFS="-DRANDSAVENAME=\\\"${VARBASE}/db/prngd-seed\\\" -DCONFIGFILE=\\\"${PKG_SYSCONFDIR}/prngd.conf\\\""
+
+EGDIR= ${PREFIX}/share/examples/prngd
+CONF_FILES= ${EGDIR}/prngd.conf.netbsd ${PKG_SYSCONFDIR}/prngd.conf
+
+INSTALLATION_DIRS= bin man/man1
+
+SUBST_CLASSES= path
+SUBST_STAGE.path= pre-install
+SUBST_FILES.path= prngd.man
+SUBST_SED.path= -e 's,/usr/local,${PREFIX},g'
+SUBST_SED.path+= -e 's,/var,${VARBASE},g'
+SUBST_MESSAGE.path= "Fixing paths in man page."
+
+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_DIR} ${PREFIX}/share/examples/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_DATA} ${WRKSRC}/contrib/NetBSD1/prngd.conf.netbsd ${PREFIX}/share/examples/prngd
+ ${INSTALL_MAN} ${WRKSRC}/prngd.man ${PREFIX}/man/man1/prngd.1
+
+.include "../../mk/bsd.pkg.mk"
diff -r e3388d7c7bcb -r 28543f75526b security/prngd/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/prngd/PLIST Thu Jul 15 23:10:35 2004 +0000
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/15 23:10:35 recht Exp $
+bin/prngd
+man/man1/prngd.1
+share/doc/prngd/00DESIGN
+share/doc/prngd/00README
+share/doc/prngd/00README.gatherers
+share/examples/prngd/prngd.conf.netbsd
+@dirrm share/examples/prngd
+@dirrm share/doc/prngd
diff -r e3388d7c7bcb -r 28543f75526b security/prngd/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/prngd/distinfo Thu Jul 15 23:10:35 2004 +0000
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/07/15 23:10:35 recht Exp $
+
+SHA1 (prngd-0.9.29.tar.gz) = 72e82928b99a94e11fe379159d5fe3a5ddab4112
+Size (prngd-0.9.29.tar.gz) = 76392 bytes
Home |
Main Index |
Thread Index |
Old Index