pkgsrc/sysutils/gkrellm/patches/patch-aq

26 lines
668 B
Text
Raw Normal View History

Update gkrellm to version 2.2.7. pkgsrc changes: - use REQD_DIRS where appropriate - add a patch to allow gkrellm to read everything off sysctl() and thus don't install it setgid kem on NetBSD 3.99.1+ - use options framework to choose between OpenSSL and gnutls - minor nits gkrellm changes: 2.2.7 - Tue May 24, 2005 ------------------------ * gkrellmd can send a network interface connect time to be displayed on client timer button panels by configuring a net-timer in gkrellmd.conf. * Don't add virtual disk (/dev/mdX) stats to composite disk. * Bugfixes: o server/main.c inet6 compile error on machines with old libc. o Philipp Hartmann patch: add gnutls multithread initialization to mail.c o While mixing draw_decal_text and decal_scroll_text calls on transparent panels the text layer pixmap was not cleanup up properly. * Translation updates 2.2.6 - Fri May 13, 2005 ------------------------ * Stanislav Likavcan patch: add monitoring of ibm acpi sensors to linux.c. * UI improvement in fs.c and mail.c config button sensitivities and labels. * Bugfixes: o Test for not force creating user mailbox did not consider a configured mail fetch. o gkrellmd server mail check was missing the gkrellmd_need_serve() call and server/mail.c mailbox code needed syncing with src/mail.c. o gkrellmd glib 1.2 g_file_test compatibility was broken. o gkrellmd debug-level option was missing. o Darwin Makefile: add HAVE_GETADDRINFO=1 o Don Bostrom patch: when remote mail checking, handle select() EINTR. o Charles Bailey patches: 1) darwin.c and Makefile tweaks for building on OS X 10.3.8. 2) darwin.c prevent left bit sign extension when shifting memory monitor data. o Don't read disabled sensors in the sensors thread. * Translation updates
2005-09-08 15:19:56 +02:00
$NetBSD: patch-aq,v 1.2 2005/09/08 13:19:56 cube Exp $
Update gkrellm to version 2.2.7. pkgsrc changes: - use REQD_DIRS where appropriate - add a patch to allow gkrellm to read everything off sysctl() and thus don't install it setgid kem on NetBSD 3.99.1+ - use options framework to choose between OpenSSL and gnutls - minor nits gkrellm changes: 2.2.7 - Tue May 24, 2005 ------------------------ * gkrellmd can send a network interface connect time to be displayed on client timer button panels by configuring a net-timer in gkrellmd.conf. * Don't add virtual disk (/dev/mdX) stats to composite disk. * Bugfixes: o server/main.c inet6 compile error on machines with old libc. o Philipp Hartmann patch: add gnutls multithread initialization to mail.c o While mixing draw_decal_text and decal_scroll_text calls on transparent panels the text layer pixmap was not cleanup up properly. * Translation updates 2.2.6 - Fri May 13, 2005 ------------------------ * Stanislav Likavcan patch: add monitoring of ibm acpi sensors to linux.c. * UI improvement in fs.c and mail.c config button sensitivities and labels. * Bugfixes: o Test for not force creating user mailbox did not consider a configured mail fetch. o gkrellmd server mail check was missing the gkrellmd_need_serve() call and server/mail.c mailbox code needed syncing with src/mail.c. o gkrellmd glib 1.2 g_file_test compatibility was broken. o gkrellmd debug-level option was missing. o Darwin Makefile: add HAVE_GETADDRINFO=1 o Don Bostrom patch: when remote mail checking, handle select() EINTR. o Charles Bailey patches: 1) darwin.c and Makefile tweaks for building on OS X 10.3.8. 2) darwin.c prevent left bit sign extension when shifting memory monitor data. o Don't read disabled sensors in the sensors thread. * Translation updates
2005-09-08 15:19:56 +02:00
--- server/main.c.orig 2005-05-24 05:46:38.000000000 +0200
+++ server/main.c
Update gkrellm to version 2.2.7. pkgsrc changes: - use REQD_DIRS where appropriate - add a patch to allow gkrellm to read everything off sysctl() and thus don't install it setgid kem on NetBSD 3.99.1+ - use options framework to choose between OpenSSL and gnutls - minor nits gkrellm changes: 2.2.7 - Tue May 24, 2005 ------------------------ * gkrellmd can send a network interface connect time to be displayed on client timer button panels by configuring a net-timer in gkrellmd.conf. * Don't add virtual disk (/dev/mdX) stats to composite disk. * Bugfixes: o server/main.c inet6 compile error on machines with old libc. o Philipp Hartmann patch: add gnutls multithread initialization to mail.c o While mixing draw_decal_text and decal_scroll_text calls on transparent panels the text layer pixmap was not cleanup up properly. * Translation updates 2.2.6 - Fri May 13, 2005 ------------------------ * Stanislav Likavcan patch: add monitoring of ibm acpi sensors to linux.c. * UI improvement in fs.c and mail.c config button sensitivities and labels. * Bugfixes: o Test for not force creating user mailbox did not consider a configured mail fetch. o gkrellmd server mail check was missing the gkrellmd_need_serve() call and server/mail.c mailbox code needed syncing with src/mail.c. o gkrellmd glib 1.2 g_file_test compatibility was broken. o gkrellmd debug-level option was missing. o Darwin Makefile: add HAVE_GETADDRINFO=1 o Don Bostrom patch: when remote mail checking, handle select() EINTR. o Charles Bailey patches: 1) darwin.c and Makefile tweaks for building on OS X 10.3.8. 2) darwin.c prevent left bit sign extension when shifting memory monitor data. o Don't read disabled sensors in the sensors thread. * Translation updates
2005-09-08 15:19:56 +02:00
@@ -203,7 +203,10 @@ cidr_match(struct sockaddr *sa, socklen_
char *p, *ep;
guchar *addr, *pat;
u_int32_t mask;
- int plen, i;
+ int plen;
+#if defined(INET6)
+ int i;
+#endif
gboolean result;
buf = g_strdup(allowed);
@@ -1062,7 +1065,7 @@ main(gint argc, gchar **argv)
{
client_fd = accept(server_fd,
(struct sockaddr *) &client_addr,
- (socklen_t *) &addr_len);
+ (socklen_t *) (void *)&addr_len);
if (client_fd == -1)
{
fprintf(stderr, "gkrellmd accept() failed: %s\n",