Quellcode durchsuchen

watchdog: update to 5.16

Waldemar Brodkorb vor 2 Wochen
Ursprung
Commit
5f3ffdbb34

+ 3 - 3
package/watchdog/Makefile

@@ -4,14 +4,14 @@
 include ${ADK_TOPDIR}/rules.mk
 
 PKG_NAME:=		watchdog
-PKG_VERSION:=		5.13
+PKG_VERSION:=		5.16
 PKG_RELEASE:=		1
-PKG_HASH:=		141e0faf3ee4d8187a6ff4e00b18ef7b7a4ce432a2d4c8a6e6fdc62507fc6eb0
+PKG_HASH:=		b8e7c070e1b72aee2663bdc13b5cc39f76c9232669cfbb1ac0adc7275a3b019d
 PKG_DESCR:=		watchdog daemon
 PKG_SECTION:=		sys/hw
 PKG_DEPENDS:=		libtirpc
 PKG_BUILDDEP:=		libtirpc
-PKG_SITES:=		${MASTER_SITE_SOURCEFORGE:=watchdog/}
+PKG_SITES:=		https://sourceforge.net/projects/watchdog/files/watchdog/$(PKG_VERSION)/
 PKG_BB:=		1
 
 DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz

+ 0 - 9
package/watchdog/patches/patch-include_extern_h

@@ -1,9 +0,0 @@
---- watchdog-5.13.orig/include/extern.h	2013-02-01 12:15:44.000000000 +0100
-+++ watchdog-5.13/include/extern.h	2014-03-22 15:41:57.000000000 +0100
-@@ -1,5 +1,6 @@
- #include <netinet/in.h>
- #include <stdio.h>
-+#include <time.h>
- 
- /* external variables */
- extern int softboot, watchdog, temp, maxtemp, tint, lastts, nrts;

+ 0 - 11
package/watchdog/patches/patch-src_memory_c

@@ -1,11 +0,0 @@
---- watchdog-5.13.orig/src/memory.c	2013-02-01 12:15:44.000000000 +0100
-+++ watchdog-5.13/src/memory.c	2014-03-22 16:07:15.000000000 +0100
-@@ -81,7 +81,7 @@ int check_memory(void)
- 	syslog(LOG_INFO, "currently there are %d kB of free memory available", free);
- #endif				/* USE_SYSLOG */
- 
--    if (free < minpages * (EXEC_PAGESIZE / 1024)) {
-+    if (free < minpages * (4096 / 1024)) {
- #if USE_SYSLOG
- 	syslog(LOG_ERR, "memory %d kB is less than %d pages", free, minpages);
- #endif				/* USE_SYSLOG */

+ 0 - 10
package/watchdog/patches/patch-src_net_c

@@ -1,10 +0,0 @@
---- watchdog-5.13.orig/src/net.c	2013-02-01 12:15:44.000000000 +0100
-+++ watchdog-5.13/src/net.c	2014-03-22 16:18:27.000000000 +0100
-@@ -6,6 +6,7 @@
- 
- #include <errno.h>
- #include <sys/time.h>
-+#include <sys/types.h>
- #include <netinet/ip.h>
- #include <netinet/ip_icmp.h>
- 

+ 0 - 18
package/watchdog/patches/patch-src_shutdown_c

@@ -1,18 +0,0 @@
---- watchdog-5.13.orig/src/shutdown.c	2013-02-01 12:15:44.000000000 +0100
-+++ watchdog-5.13/src/shutdown.c	2014-03-22 16:29:44.000000000 +0100
-@@ -186,6 +186,7 @@ static void mnt_off()
-     FILE *fp;
-     struct mntent *mnt;
- 
-+#if defined __GLIBC__
-     fp = setmntent(MNTTAB, "r");
-     /* in some rare cases fp might be NULL so be careful */
-     while (fp != NULL && ((mnt = getmntent(fp)) != (struct mntent *) 0)) {
-@@ -241,6 +242,7 @@ static void mnt_off()
- #endif
-     }
-     endmntent(fp);
-+#endif
- }
- 
- /* Parts of the following two functions are taken from Miquel van */