OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.4 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../rng-tools/hw_random.patch.rng-tools
  5. # Copyright (C) 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. --- rng-tools-2/rngd.c.orig 2006-01-01 18:05:05.000000000 +0000
  17. +++ rng-tools-2/rngd.c 2006-01-01 18:05:49.000000000 +0000
  18. @@ -81,7 +81,7 @@
  19. "Kernel device used for random number output (default: /dev/random)" },
  20. { "rng-device", 'r', "file", 0,
  21. - "Kernel device used for random number input (default: /dev/hwrandom)" },
  22. + "Kernel device used for random number input (default: /dev/hw_random)" },
  23. { "random-step", 's', "nnn", 0,
  24. "Number of bytes written to random-device at a time (default: 64)" },
  25. @@ -96,7 +96,7 @@
  26. };
  27. static struct arguments default_arguments = {
  28. - .rng_name = "/dev/hwrandom",
  29. + .rng_name = "/dev/hw_random",
  30. .random_name = "/dev/random",
  31. .poll_timeout = 60,
  32. .random_step = 64,