Hi,

Here is a patch to update gkrellm to the newest version.

Note that the conf file here by default allows connections from
anywhere, but this shouldn't matter because the server isn't enabled by
default and the firewall will block it on the wan by default.


Thanks,

Adam

Index: admin/gkrellmd/patches/100-conf.patch
===================================================================
--- admin/gkrellmd/patches/100-conf.patch	(revision 10571)
+++ admin/gkrellmd/patches/100-conf.patch	(working copy)
@@ -1,6 +1,6 @@
-diff -ur gkrellm-2.2.10~/server/gkrellmd.conf gkrellm-2.2.10/server/gkrellmd.conf
---- gkrellm-2.2.10~/server/gkrellmd.conf	2005-05-22 11:56:53.000000000 -0400
-+++ gkrellm-2.2.10/server/gkrellmd.conf	2007-03-10 23:32:23.000000000 -0500
+diff -ur gkrellm-2.3.1~/server/gkrellmd.conf gkrellm-2.3.1/server/gkrellmd.conf
+--- gkrellm-2.3.1~/server/gkrellmd.conf	2007-10-20 14:28:50.000000000 -0400
++++ gkrellm-2.3.1/server/gkrellmd.conf	2008-03-08 19:10:34.000000000 -0500
 @@ -4,7 +4,7 @@
  # the client update frequency.  Values may be from 1 to 10 and should be
  # smaller values to reduce network traffic.
@@ -10,22 +10,27 @@
  
  # Limit number of simultaneous clients allowed to connect.
  #
-@@ -17,18 +17,18 @@
- # List of hosts allowed to connect.  If no hosts are specified in a
- # gkrellmd.conf file or on the command line, all hosts will be allowed.
+@@ -13,7 +13,7 @@
+ # Specify a specific network interface to listen on for connections.
+ # By default gkrellmd listens on all available network interfaces.
  #
--#allow-host	localhost
-+allow-host	localhost
- #allow-host	127.0.0.1
- #allow-host	::1
- #allow-host	192.168.0.*
+-address 127.0.0.1
++#address 127.0.0.1
  
+ # Specify the port to listen on for connections.
+ #
+@@ -29,14 +29,14 @@
+ 
  # Drop privileges after startup (you must start gkrellmd as root to do it).
  #
 -#user	nobody
 +user	nobody
  #group	proc
  
+ # Create a PID file for the running gkrellmd.  Default is no PID file.
+-#pidfile /var/run/gkrellmd.pid
++pidfile /var/run/gkrellmd.pid
+ 
  # Run in background and detach from the controlling terminal
 -#detach
 +detach
Index: admin/gkrellmd/Makefile
===================================================================
--- admin/gkrellmd/Makefile	(revision 10571)
+++ admin/gkrellmd/Makefile	(working copy)
@@ -9,12 +9,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=gkrellmd
-PKG_VERSION:=2.2.10
+PKG_VERSION:=2.3.1
 PKG_RELEASE:=1
 
 PKG_SOURCE_URL:=http://members.dslextreme.com/users/billw/gkrellm/
 PKG_SOURCE:=gkrellm-$(PKG_VERSION).tar.bz2
-PKG_MD5SUM:=57ef0525c0997ac2e7720712811f5a84
+PKG_MD5SUM:=009d8dddd3ce5cc83a4bb4d559ee922d
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/gkrellm-$(PKG_VERSION)
 

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to