Commit Graph

20 Commits

Author SHA1 Message Date
Robert Marko 272f55e87f treewide: refresh hashes after move to use ZSTD as default
With the recent move to using ZSTD as the default compression format
for packaging git repo clones we must refresh all of the hashes for
the packages feed as well.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-04-07 12:06:34 +02:00
Fabrice Fontaine 5afe5c9031 treewide: assign PKG_CPE_ID
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2024-02-04 16:16:10 -08:00
John Audia 1fd408d897 rng-tools: drop unneeded dep
Upstream dropped the libsysfs dep.[1]

1. https://github.com/nhorman/rng-tools/releases/tag/v6.12

Signed-off-by: John Audia <graysky@archlinux.us>
2022-03-01 18:01:55 -05:00
John Audia 76967bdfb0 rng-tools: update to 6.15
Upstream bump

    Build system: x86_64
    Build-tested: bcm2711/RPi4B

Signed-off-by: John Audia <graysky@archlinux.us>
2022-02-28 14:40:31 -08:00
Álvaro Fernández Rojas 55b22d131f rng-tools: fix init START
We should be using "00" to deal with alphabetical order.

Fixes: e9a126c145 ("rng-tools: start as early as possible")
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-02-20 08:58:19 +01:00
Álvaro Fernández Rojas e9a126c145 rng-tools: start as early as possible
Raspberry Pi devices (bcm2708) need this to get from:
[  102.310494] random: crng init done
to:
[   12.539744] random: crng init done

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-02-19 20:25:27 +01:00
Nathaniel Filardo 79f706b3ab rng-tools: bump to 6.10, require libopenssl
Upstream now requires libopenssl unconditionally

Signed-off-by: Nathaniel Filardo <nwfilardo@gmail.com>
2020-08-22 14:17:03 +01:00
Rosen Penev 8a07af3af3
rng-tools: Update to 6.7
Cleanup Makefile to get rid of random hacks and to simplify for
consistency between packages.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-07-14 16:14:27 -07:00
Nathaniel Wesley Filardo fd26981a03 rng-utils: version 6.6 is now available
Work around automake demanding README with a symlink.
Add new dependency on libsysfs.
Avoid dependency on libxml, curl, openssl by disabling NIST beacon support.
  We also continue to remove gcrypt, and jitterentropy is not packaged.
Remove patch that no longer cleanly applies.
  If newlines in log messages are a problem, we should take it up with
  upstream.

Signed-off-by: Nathaniel Wesley Filardo <nwfilardo@gmail.com>

Fixes: github #7303
2018-11-07 23:41:05 +00:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Philip Prindeville 067e34985d rng-tools: add upstreamed patch to fix newlines in syslog messages
Don't embed newlines in syslog strings.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-06-27 00:55:24 -06:00
Philip Prindeville 901ef617c7 rng-tools: start rngd early enough to actually be useful
lighttpd starts at priority 50, but promptly calls getrandom() on
initialization (li_rand_reseed() and li_rand_device_bytes() from
server_init()). If /dev/urandom (which getrandom() uses by default)
doesn't have sufficient entropy, this will block.

Since Openwrt runs the startup scripts serially, this can block
initialization indefinitely.  I've seen 15-20 minutes typically.

Seeding the pool early on can quickly built sufficient entropy to
complete booting without blocking.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-02-02 22:52:50 -07:00
Stefan Hellermann dc445cc242 rng-tools: Fixup Makefile and initscript
- typo in path of uci-defaults scripts
- fix init script when there is no rngd config
- convert init script to procd

Signed-off-by: Stefan Hellermann <stefan@the2masters.de>
2016-11-10 10:33:22 +01:00
Nathaniel Wesley Filardo bce6d283c1 rng-tools: uci-fy, default to doing nothing
Enabling the default configuration will pipe /dev/urandom back into
/dev/random ala the current package behavior.  Because this amounts to
disabling the in-kernel entropy estimation, default disabled.

While here, uci-paramaterize the high watermark.
While here, add a pre-command hook for real RNGs that need 'stty raw'
or other such hooks.  (e.g. the TrueRNG devices)

As offered in github openwrt/packages#3422, take over maintainership.

See github openwrt/packages#3142.

Signed-off-by: Nathaniel Wesley Filardo <nwfilardo@gmail.com>
2016-10-31 13:17:57 -04:00
Hannu Nyman e77de68fbe rng-tools: Add description, remove unused parameter
* Add description to both Makefile and init script that
  mentions the default of /dev/urandom as the entropy source.
* Remove the deprecated interval parameter from init script.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-09-22 14:25:34 +03:00
Hannu Nyman 23334b9816 rng-tools: musl compatibility
Make rng-tools to compile with musl
by adding similar argp dependencies as with uclibc.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-06-17 11:33:38 +03:00
Hannu Nyman e27824ec06 Add license info to ccrypt, haveged, rng-tools, vsftpd
I added license info to those packages that I have imported here.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2014-08-08 16:22:43 +03:00
Hannu Nyman 87cc2de3eb rng-tools: remove libgcrypt dependency
Remove libgcrypt dependency, spotted by buildbot.
It seems to be related to x86-only functionality.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2014-07-25 16:49:24 +03:00
Hannu Nyman 0b85e7e0bf rng-tools: upgrade to version 5
Edit init script to match current options.
Update copyright year.
Simplify download location.
Add myself as maintainer.

signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2014-07-23 23:07:19 +03:00
Hannu Nyman c710bc989b rng-tools: import from oldpackages
signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2014-07-23 23:06:58 +03:00