pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils Update to 2.1.26.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d502ae6f6651
branches:  trunk
changeset: 469579:d502ae6f6651
user:      cube <cube%pkgsrc.org@localhost>
date:      Wed Feb 25 08:41:56 2004 +0000

description:
Update to 2.1.26.

Pkgsrc change:
        o use subst.mk instead of hand-crafted sed which removes the need
          for patches.

GKrellM changes:
        * Patches:
          o Frederick Bruckman <fredb--at--immanent.net> detect multiple CPUs
            on NetBSD.
        * Bugfixes:
          o Andreas Liebe <liebe--at--hrz.tu-darmstadt.de> patch to solaris.c
            prevents running out of fds on some SPARC servers.
          o CPU and Net stats from 64 bit gkrellmd server overflowed on a 32
            bit client.
          o Changed Linux sysfs sensor temperature factor from 100 to 1000.
            Those running Linux kernels >= 2.6.2 should now only need gkrellm
            config temperature factors of 1.0.  But those still running kernels
            <= 2.6.1 may still need factor of 10 gkrellm config adjustments.
          o $d should be %d typo in cs.po

diffstat:

 sysutils/gkrellm-server/Makefile        |  10 +++++-----
 sysutils/gkrellm/Makefile               |   9 +++++----
 sysutils/gkrellm/Makefile.common        |   4 ++--
 sysutils/gkrellm/distinfo               |   8 +++-----
 sysutils/gkrellm/files/top.Makefile.inc |   7 ++++---
 sysutils/gkrellm/patches/patch-ac       |  18 ------------------
 sysutils/gkrellm/patches/patch-af       |  13 -------------
 7 files changed, 19 insertions(+), 50 deletions(-)

diffs (140 lines):

diff -r 0e101724b337 -r d502ae6f6651 sysutils/gkrellm-server/Makefile
--- a/sysutils/gkrellm-server/Makefile  Wed Feb 25 07:35:47 2004 +0000
+++ b/sysutils/gkrellm-server/Makefile  Wed Feb 25 08:41:56 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/02/24 22:30:25 cube Exp $
+# $NetBSD: Makefile,v 1.2 2004/02/25 08:41:56 cube Exp $
 .include "../../sysutils/gkrellm/Makefile.common"
 
 GKRELLM_PKGBASE=       gkrellm-server
@@ -24,10 +24,10 @@
 # Define this to use glib-1.2 instead of glib-2
 BUILD_DEFS+=           GKRELLMSERVER_USE_GLIB12
 
-pre-build:
-       ${SED} -e s,@@PREFIX@@,${PREFIX}, \
-           <${WRKSRC}/server/gkrellmd.h >${WRKSRC}/server/gkrellmd.h.sed
-       ${MV} ${WRKSRC}/server/gkrellmd.h.sed ${WRKSRC}/server/gkrellmd.h
+SUBST_STAGE.gkprefix=  post-patch
+SUBST_FILES.gkprefix=  ${WRKSRC}/server/gkrellmd.h
+SUBST_SED.gkprefix=    -e '/GKRELLMD_SYS_ETC/{s!/etc!${PREFIX}&!;}'
+SUBST_CLASSES+=                gkprefix
 
 post-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gkrellm-server
diff -r 0e101724b337 -r d502ae6f6651 sysutils/gkrellm/Makefile
--- a/sysutils/gkrellm/Makefile Wed Feb 25 07:35:47 2004 +0000
+++ b/sysutils/gkrellm/Makefile Wed Feb 25 08:41:56 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2004/02/25 00:36:11 cube Exp $
+# $NetBSD: Makefile,v 1.29 2004/02/25 08:41:56 cube Exp $
 .include "Makefile.common"
 
 GKRELLM_PKGBASE=       gkrellm
@@ -22,9 +22,10 @@
 
 MAKE_ENV+=             MODULES=src LINK_FLAGS=${EXPORT_SYMBOLS_LDFLAGS}
 
-pre-build:
-       ${SED} -e s,@@PREFIX@@,${PREFIX}, <${WRKSRC}/src/gkrellm.h >${WRKSRC}/src/gkrellm.h.sed
-       ${MV} ${WRKSRC}/src/gkrellm.h.sed ${WRKSRC}/src/gkrellm.h
+SUBST_STAGE.gkprefix=  post-patch
+SUBST_FILES.gkprefix=  ${WRKSRC}/src/gkrellm.h
+SUBST_SED.gkprefix=    -e '/SYSTEM_/{s!/usr!${PREFIX}!;}'
+SUBST_CLASSES+=                gkprefix
 
 post-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/lib/gkrellm2
diff -r 0e101724b337 -r d502ae6f6651 sysutils/gkrellm/Makefile.common
--- a/sysutils/gkrellm/Makefile.common  Wed Feb 25 07:35:47 2004 +0000
+++ b/sysutils/gkrellm/Makefile.common  Wed Feb 25 08:41:56 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.1.1.1 2004/02/24 22:11:28 cube Exp $
+# $NetBSD: Makefile.common,v 1.2 2004/02/25 08:41:56 cube Exp $
 
 DISTNAME=      ${GKRELLM_DISTBASE}
 PKGNAME=       ${GKRELLM_PKGBASE}-${GKRELLM_VERSION}
@@ -16,7 +16,7 @@
 
 MAKE_ENV+=             LOCALEDIR=${PREFIX}/${PKGLOCALEDIR}/locale
 
-GKRELLM_VERSION=       2.1.25
+GKRELLM_VERSION=       2.1.26
 GKRELLM_DISTBASE=      gkrellm-${GKRELLM_VERSION}
 GKRELLM_SRCDIR=                ${WRKDIR}/${GKRELLM_DISTBASE}
 
diff -r 0e101724b337 -r d502ae6f6651 sysutils/gkrellm/distinfo
--- a/sysutils/gkrellm/distinfo Wed Feb 25 07:35:47 2004 +0000
+++ b/sysutils/gkrellm/distinfo Wed Feb 25 08:41:56 2004 +0000
@@ -1,6 +1,4 @@
-$NetBSD: distinfo,v 1.16 2004/02/24 22:21:15 cube Exp $
+$NetBSD: distinfo,v 1.17 2004/02/25 08:41:56 cube Exp $
 
-SHA1 (gkrellm-2.1.25.tar.bz2) = e45cf8192de7dcc393742d97f8b9a78950e4a5c4
-Size (gkrellm-2.1.25.tar.bz2) = 633685 bytes
-SHA1 (patch-ac) = 577aecc480525f7ede6e8726308343c5ba90eca7
-SHA1 (patch-af) = c1879ccb5cb9adb1fe9822284fd7962c637daec7
+SHA1 (gkrellm-2.1.26.tar.bz2) = 3d40c19f0dfde3d05ee1d1ae0c8527c81861daab
+Size (gkrellm-2.1.26.tar.bz2) = 633381 bytes
diff -r 0e101724b337 -r d502ae6f6651 sysutils/gkrellm/files/top.Makefile.inc
--- a/sysutils/gkrellm/files/top.Makefile.inc   Wed Feb 25 07:35:47 2004 +0000
+++ b/sysutils/gkrellm/files/top.Makefile.inc   Wed Feb 25 08:41:56 2004 +0000
@@ -1,4 +1,4 @@
-VERSION=       2.1.25
+VERSION=       2.1.26
 
 # Path options
 PREFIX?=       /usr/local
@@ -115,10 +115,11 @@
 GKRELLM_CFLAGS=        -DSOLARIS_8
       endif
      else
+SYS_LIBS+=     -lsocket
       ifeq ($(MODULE),src)
-SYS_LIBS+=     -lresolv
+SYS_LIBS+=     -lresolv -lX11
       else
-SYS_LIBS+=     -lsocket -lnsl
+SYS_LIBS+=     -lnsl
       endif
      endif
     endif
diff -r 0e101724b337 -r d502ae6f6651 sysutils/gkrellm/patches/patch-ac
--- a/sysutils/gkrellm/patches/patch-ac Wed Feb 25 07:35:47 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-$NetBSD: patch-ac,v 1.4 2004/02/24 22:21:15 cube Exp $
-
---- src/gkrellm.h.orig 2003-03-10 06:59:37.000000000 +0100
-+++ src/gkrellm.h
-@@ -115,11 +115,11 @@
- 
- #define       LOCAL_THEMES_DIR                "/usr/local/share/gkrellm2/themes"
- #if !defined(SYSTEM_THEMES_DIR)
--#define       SYSTEM_THEMES_DIR               "/usr/share/gkrellm2/themes"
-+#define       SYSTEM_THEMES_DIR               "@@PREFIX@@/share/gkrellm2/themes"
- #endif
- #define       LOCAL_PLUGINS_DIR               "/usr/local/lib/gkrellm2/plugins"
- #if !defined(SYSTEM_PLUGINS_DIR)
--#define       SYSTEM_PLUGINS_DIR              "/usr/lib/gkrellm2/plugins"
-+#define       SYSTEM_PLUGINS_DIR              "@@PREFIX@@/lib/gkrellm2/plugins"
- #endif
- 
- #else
diff -r 0e101724b337 -r d502ae6f6651 sysutils/gkrellm/patches/patch-af
--- a/sysutils/gkrellm/patches/patch-af Wed Feb 25 07:35:47 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-af,v 1.1.1.1 2004/02/24 22:11:28 cube Exp $
-
---- server/gkrellmd.h.orig     2003-03-29 03:34:13.000000000 +0100
-+++ server/gkrellmd.h
-@@ -143,7 +143,7 @@ extern int errno;
- #define GKRELLMD_CONFIG     "gkrellmd.conf"
- 
- #if !defined(WIN32)
--#define       GKRELLMD_SYS_ETC        "/etc"
-+#define       GKRELLMD_SYS_ETC        "@@PREFIX@@/etc"
- #define GKRELLMD_LOCAL_ETC    "/usr/local/etc"
- #endif
- 



Home | Main Index | Thread Index | Old Index