rng-tools: upgrade to version 5
authorHannu Nyman <hannu.nyman@iki.fi>
Wed, 23 Jul 2014 19:10:52 +0000 (22:10 +0300)
committerHannu Nyman <hannu.nyman@iki.fi>
Wed, 23 Jul 2014 19:10:52 +0000 (22:10 +0300)
Correct init script to match current options.
Update copyright year and simplify download location.
Add myself as maintainer.

utils/rng-tools/Makefile
utils/rng-tools/files/rngd.init

index 474589c7dc00ab69284507d3a0b8aba6e91f673b..2652434d29e014e7a924d48bde5a48570a7053b8 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2011 OpenWrt.org
+# Copyright (C) 2011-2014 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -8,21 +8,23 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=rng-tools
-PKG_VERSION:=3
-PKG_RELEASE:=2
+PKG_VERSION:=5
+PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=http://downloads.sourceforge.net/project/gkernel/rng-tools/3/
-PKG_MD5SUM:=fa305916ec101c85c0065aeceb81a38d
+PKG_SOURCE_URL:=@SF/gkernel/rng-tools/$(PKG_VERSION)/
+PKG_MD5SUM:=6726cdc6fae1f5122463f24ae980dd68
+PKG_MAINTAINER:=Hannu Nyman <hannu.nyman@iki.fi>
 
 PKG_FIXUP:=autoreconf
 
+PKG_BUILD_DEPENDS:=USE_UCLIBC:argp-standalone
+
 include $(INCLUDE_DIR)/package.mk
 
 define Package/rng-tools
   SECTION:=utils
   CATEGORY:=Utilities
-  DEPENDS:=+USE_UCLIBC:argp-standalone
   TITLE:=Daemon for adding entropy to kernel entropy pool
   URL:=http://sourceforge.net/projects/gkernel/
 endef
index 74d23b31afcef8c7bba0d86335448bd06df62d42..805559c4c405e3d25a3ca7f6740a1a8d5c85bf2a 100644 (file)
@@ -1,5 +1,5 @@
 #!/bin/sh /etc/rc.common
-# Copyright (C) 2011 OpenWrt.org
+# Copyright (C) 2011-2014 OpenWrt.org
 
 START=98
 
@@ -8,7 +8,7 @@ RNGD_AMOUNT=4000
 RNGD_DEVICE="/dev/urandom"
 
 start() {
-       service_start /sbin/rngd -r $RNGD_DEVICE -W $RNGD_AMOUNT -t $RNGD_INTERVAL
+       service_start /sbin/rngd -r $RNGD_DEVICE -W $RNGD_AMOUNT
 }
 
 stop() {