From mboxrd@z Thu Jan 1 00:00:00 1970 From: git@ipfire.org To: ipfire-scm@lists.ipfire.org Subject: [git.ipfire.org] IPFire 3.x development tree branch, master, updated. 067b907e7944972efa42cfb0405f388c527d75dc Date: Sat, 12 Apr 2014 20:06:46 +0200 Message-ID: <20140412180646.884ED210FA@argus.ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2924318286833300029==" List-Id: --===============2924318286833300029== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 3.x development tree". The branch, master has been updated via 067b907e7944972efa42cfb0405f388c527d75dc (commit) from bef9b7be19c1df172576f3c963c9febe270c8c5a (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 067b907e7944972efa42cfb0405f388c527d75dc Author: Michael Tremer Date: Sat Apr 12 20:06:24 2014 +0200 rng-tools: New package. ----------------------------------------------------------------------- Summary of changes: rng-tools/patches/rng-tools-man.patch | 21 ++++++++++++++ rng-tools/rng-tools.nm | 52 +++++++++++++++++++++++++++++++++= ++ rng-tools/systemd/rngd.service | 8 ++++++ 3 files changed, 81 insertions(+) create mode 100644 rng-tools/patches/rng-tools-man.patch create mode 100644 rng-tools/rng-tools.nm create mode 100644 rng-tools/systemd/rngd.service Difference in files: diff --git a/rng-tools/patches/rng-tools-man.patch b/rng-tools/patches/rng-to= ols-man.patch new file mode 100644 index 0000000..010d20d --- /dev/null +++ b/rng-tools/patches/rng-tools-man.patch @@ -0,0 +1,21 @@ +diff -up rng-tools-3/rngtest.1.in.man rng-tools-3/rngtest.1.in +--- rng-tools-3/rngtest.1.in.man 2009-12-24 07:47:24.000000000 +0100 ++++ rng-tools-3/rngtest.1.in 2012-01-12 10:12:27.909567190 +0100 +@@ -43,7 +43,7 @@ Exit after processing n input blocks, if + Dump statistics every n blocks, if n is not zero. + .TP + \fB\-t\fR \fIn\fR, \fB\-\-timedstats=3D\fIn\fR (default: 0) +-Dump statistics every n secods, if n is not zero. ++Dump statistics every n seconds, if n is not zero. + .TP + \fB\-?\fR, \fB\-\-help\fR + Give a short summary of all program options. +@@ -62,7 +62,7 @@ other statistics show a breakdown of the + tests are defined on FIPS 140-1 and FIPS 140-2 errata of 2001-10-10. They + were removed in FIPS 140-2 errata of 2002-12-03). + .PP +-The speed statistics are taken for every 20000-bit block trasferred or ++The speed statistics are taken for every 20000-bit block transferred or + processed. +=20 + .SH EXIT STATUS diff --git a/rng-tools/rng-tools.nm b/rng-tools/rng-tools.nm new file mode 100644 index 0000000..ef5e035 --- /dev/null +++ b/rng-tools/rng-tools.nm @@ -0,0 +1,52 @@ +############################################################################= ### +# IPFire.org - An Open Source Firewall Solution = # +# Copyright (C) - IPFire Development Team = # +############################################################################= ### + +name =3D rng-tools +version =3D 4 +release =3D 1 + +groups =3D System/Base +url =3D http://sourceforge.net/projects/gkernel/ +license =3D GPLv2+ +summary =3D Random number generator related utilities. + +description + %{summary} +end + +source_dl =3D http://downloads.sourceforge.net/project/gkernel/rng-tools/%{= version}/ + +build + requires + gettext + groff + end +end + +packages + package %{name} + script postin + /bin/systemctl daemon-reload >/dev/null 2>&1 || : + end + + script preun + /bin/systemctl --no-reload disable rngd.service > /dev/null 2>&1 || : + /bin/systemctl stop rngd.service > /dev/null 2>&1 || : + end + + script postun + /bin/systemctl daemon-reload >/dev/null 2>&1 || : + end + + script postup + /bin/systemctl daemon-reload 2>&1 || : + /bin/systemctl reload-or-try-restart rngd.service >/dev/null 2>&1 || : + end + end + + package %{name}-debuginfo + template DEBUGINFO + end +end diff --git a/rng-tools/systemd/rngd.service b/rng-tools/systemd/rngd.service new file mode 100644 index 0000000..770bc62 --- /dev/null +++ b/rng-tools/systemd/rngd.service @@ -0,0 +1,8 @@ +[Unit] +Description=3DHardware RNG Entropy Gatherer Daemon + +[Service] +ExecStart=3D/usr/sbin/rngd -f --no-tpm=3D1 + +[Install] +WantedBy=3Dmulti-user.target hooks/post-receive -- IPFire 3.x development tree --===============2924318286833300029==--