system/bit-babbler: Updated for version 0.7.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
7fa7546f80
commit
6df589e5e5
|
@ -1,8 +1,5 @@
|
|||
The BitBabbler is a hardware True Random Number Generator (TRNG)
|
||||
manufactured by Voicetronix of Australia. This package installs the
|
||||
software necessary to control and perform basic health checks on both
|
||||
White and Black BB devices.
|
||||
software necessary to control and test White and Black BB devices.
|
||||
|
||||
Please see README.Slackare for installation tips.
|
||||
|
||||
Enjoy!
|
||||
|
|
|
@ -1,26 +1,27 @@
|
|||
After installing this package, you'll need to addgroup "bit-babbler"
|
||||
OR: put a modified copy of
|
||||
/lib/udev/rules.d/90-bit-babbler.rules
|
||||
**OR** put a modified copy of /lib/udev/rules.d/90-bit-babbler.rules
|
||||
into /etc/udev/rules.d that uses an existing group (e.g., "wheel").
|
||||
(So long as the filename is the same, the modified rules file in this
|
||||
directory will override the original installed by this package.)
|
||||
(So long as the file name is identical, the modified rules file in this
|
||||
directory will override the default rules installed by this package.)
|
||||
|
||||
To have your BitBabbler device(s) start feeding entropy to the
|
||||
kernel at boot:
|
||||
|
||||
1) Add the following lines to /etc/rc.d/rc.local:
|
||||
1. Add the following lines to /etc/rc.d/rc.local:
|
||||
|
||||
# Start BitBabbler TRNG.
|
||||
if [ -x /etc/rc.d/rc.seedd ]; then
|
||||
. /etc/rc.d/rc.seedd start
|
||||
fi
|
||||
# Start BitBabbler TRNG.
|
||||
if [ -x /etc/rc.d/rc.seedd ]; then
|
||||
. /etc/rc.d/rc.seedd start
|
||||
fi
|
||||
|
||||
2) And add the following to /etc/rc.d/rc.local_shutdown:
|
||||
2. Add the following to /etc/rc.d/rc.local_shutdown:
|
||||
|
||||
# Stop BitBabbler TRNG.
|
||||
if [ -x /etc/rc.d/rc.seedd ]; then
|
||||
. /etc/rc.d/rc.seedd stop
|
||||
fi
|
||||
# Stop BitBabbler TRNG.
|
||||
if [ -x /etc/rc.d/rc.seedd ]; then
|
||||
. /etc/rc.d/rc.seedd stop
|
||||
fi
|
||||
|
||||
3) Then be sure the execute bit is set (chmod) for rc.local,
|
||||
rc.local_shutdown, and rc.seedd.
|
||||
3. Make sure the execute bit is set (chmod) for
|
||||
/etc/rc.d/rc.local
|
||||
/etc/rc.d/rc.local_shutdown
|
||||
/etc/rc.d/rc.seedd
|
||||
|
|
|
@ -1,34 +1,28 @@
|
|||
#!/bin/sh
|
||||
|
||||
# SlackBuild for BitBabbler TRNG software, 4 December 2016
|
||||
# Arthur W. Green <awg@posteo.us>
|
||||
# SlackBuild for bit-babbler, 24 September 2017
|
||||
# AW Green <awg@posteo.us>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification,
|
||||
# is permitted provided that the following conditions are met:
|
||||
# Permission to use, copy, modify, or distribute this software for any
|
||||
# purpose with or without fee is hereby granted, provided that this
|
||||
# notice of copyright and permission appear in all copies.
|
||||
#
|
||||
# 1. Redistributions of this script must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR
|
||||
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
|
||||
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
|
||||
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
|
||||
# WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
|
||||
# WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
|
||||
# AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
|
||||
# DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
|
||||
# PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
||||
# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
# PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
# The BitBabbler software itself remains a copyrighted work under the
|
||||
# terms of the GNU GPL v2. Please see the file "copyright" in the
|
||||
# bit-babbler source distribution for more on this.
|
||||
## The BitBabbler software itself remains a copyrighted work. Please
|
||||
## see the file 'copyright' in the bit-babbler source distribution.
|
||||
|
||||
PRGNAM=bit-babbler
|
||||
VERSION=${VERSION:-0.6}
|
||||
BUILD=${BUILD:-2}
|
||||
VERSION=${VERSION:-0.7}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="bit-babbler"
|
||||
VERSION="0.6"
|
||||
VERSION="0.7"
|
||||
HOMEPAGE="http://bit-babbler.org/"
|
||||
DOWNLOAD="http://bit-babbler.org/downloads/bit-babbler_0.6.tar.gz"
|
||||
MD5SUM="1f4c62b7d116d6a3f7b551b24da8cf18"
|
||||
DOWNLOAD="http://bit-babbler.org/downloads/bit-babbler_0.7.tar.gz"
|
||||
MD5SUM="70f3387149df13caa722820774592090"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="Arthur W. Green"
|
||||
MAINTAINER="AW Green"
|
||||
EMAIL="awg@posteo.us"
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#!/bin/sh
|
||||
# /etc/rc.d/rc.seedd: start and stop BitBabbler TRNG(s).
|
||||
#
|
||||
# Revised 1 November 2016
|
||||
# /etc/rc.d/rc.seedd: start and stop BitBabbler TRNG(s).
|
||||
|
||||
seedd_start() {
|
||||
if [ -S /var/run/bit-babbler/seedd.socket ]; then
|
||||
|
|
|
@ -6,11 +6,11 @@
|
|||
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
bit-babbler: bit-babbler (Hardware True Random Number generator)
|
||||
bit-babbler: bit-babbler (Software for BitBabbler TRNG devices)
|
||||
bit-babbler:
|
||||
bit-babbler: The BitBabbler is a hardware True Random Number generator (TRNG).
|
||||
bit-babbler: This package installs the software necessary to control and perform
|
||||
bit-babbler: basic health checks on BitBabbler devices.
|
||||
bit-babbler: The BitBabbler is a hardware True Random Number Generator (TRNG)
|
||||
bit-babbler: manufactured by Voicetronix of Australia. This package installs the
|
||||
bit-babbler: software necessary to control and test White and Black BB devices.
|
||||
bit-babbler:
|
||||
bit-babbler: http://bit-babbler.org/
|
||||
bit-babbler:
|
||||
|
|
Loading…
Reference in New Issue