diff options
author | alepulver <alepulver@FreeBSD.org> | 2007-02-19 02:41:03 +0800 |
---|---|---|
committer | alepulver <alepulver@FreeBSD.org> | 2007-02-19 02:41:03 +0800 |
commit | 11d170ffeefa845214754f92deb024b152ac91cf (patch) | |
tree | 3e20bbc313df3a919c90bd7883cce49e032d2b4a /sysutils | |
parent | 86ce6715dc3f2aefb12a1d67eb6cf24df335fefa (diff) | |
download | freebsd-ports-gnome-11d170ffeefa845214754f92deb024b152ac91cf.tar.gz freebsd-ports-gnome-11d170ffeefa845214754f92deb024b152ac91cf.tar.zst freebsd-ports-gnome-11d170ffeefa845214754f92deb024b152ac91cf.zip |
- Update to 2.75.
- Fix the location printed post install, it should be PREFIX, not LOCALBASE.
PR: ports/109243
Submitted by: Ulrich Spoerlein <uspoerlein@gmail.com> (maintainer)
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/symon/Makefile | 3 | ||||
-rw-r--r-- | sysutils/symon/distinfo | 6 | ||||
-rw-r--r-- | sysutils/symon/files/patch-platform__FreeBSD__platform.h | 14 | ||||
-rw-r--r-- | sysutils/symon/files/patch-platform__FreeBSD__sm_mem.c | 18 | ||||
-rw-r--r-- | sysutils/symon/files/patch-platform__FreeBSD__sm_pf.c | 15 | ||||
-rw-r--r-- | sysutils/symon/files/patch-sm_io.c | 29 | ||||
-rw-r--r-- | sysutils/symon/files/pkg-message.in | 10 |
7 files changed, 9 insertions, 86 deletions
diff --git a/sysutils/symon/Makefile b/sysutils/symon/Makefile index 4acfc4285ec8..61f7d0b4e77b 100644 --- a/sysutils/symon/Makefile +++ b/sysutils/symon/Makefile @@ -6,8 +6,7 @@ # PORTNAME= symon -PORTVERSION= 2.72 -PORTREVISION= 2 +PORTVERSION= 2.75 CATEGORIES= sysutils MASTER_SITES= http://www.xs4all.nl/~wpd/symon/philes/ diff --git a/sysutils/symon/distinfo b/sysutils/symon/distinfo index 3a2f5872cb6f..beff4046e64a 100644 --- a/sysutils/symon/distinfo +++ b/sysutils/symon/distinfo @@ -1,3 +1,3 @@ -MD5 (symon-2.72.tar.gz) = c88eeb4c7fb1c99e7d4448a8c3977bb2 -SHA256 (symon-2.72.tar.gz) = b91a084ad6e8d91cd8c01a01a56a88e97e6a42f2036cdd844206ca5ff1f88bf1 -SIZE (symon-2.72.tar.gz) = 82218 +MD5 (symon-2.75.tar.gz) = 6b50d7ec1bf57ad1c184ac2300f5967d +SHA256 (symon-2.75.tar.gz) = ba0480020e4077895feb7426e869b426b3875a3f883b5b658e4583fcd09c79b1 +SIZE (symon-2.75.tar.gz) = 92160 diff --git a/sysutils/symon/files/patch-platform__FreeBSD__platform.h b/sysutils/symon/files/patch-platform__FreeBSD__platform.h deleted file mode 100644 index 61f075a122fb..000000000000 --- a/sysutils/symon/files/patch-platform__FreeBSD__platform.h +++ /dev/null @@ -1,14 +0,0 @@ ---- platform/FreeBSD/platform.h.orig Fri Oct 21 16:58:43 2005 -+++ platform/FreeBSD/platform.h Fri Dec 2 12:03:04 2005 -@@ -4,8 +4,10 @@ - #define _CONF_FREEBSD_H - - #include <sys/queue.h> --#include <sys/socket.h> - #include <sys/types.h> -+#include <sys/socket.h> -+#include <sys/time.h> -+#include <sys/dkstat.h> - #include <sys/resource.h> - - #include <net/if.h> diff --git a/sysutils/symon/files/patch-platform__FreeBSD__sm_mem.c b/sysutils/symon/files/patch-platform__FreeBSD__sm_mem.c deleted file mode 100644 index 8a5730a27683..000000000000 --- a/sysutils/symon/files/patch-platform__FreeBSD__sm_mem.c +++ /dev/null @@ -1,18 +0,0 @@ ---- platform/FreeBSD/sm_mem.c.orig Mon Mar 27 06:06:18 2006 -+++ platform/FreeBSD/sm_mem.c Mon Mar 27 06:45:54 2006 -@@ -131,12 +131,12 @@ - } - for (i = 0; i < vmnswp_dat; i++) { - struct xswdev vmiswp_dat; -- int vmiswp_siz; -+ int vmiswp_siz = sizeof vmiswp_dat; - me_vmiswp_mib_nam[me_vmiswp_mib_len] = i; - if (sysctl(me_vmiswp_mib_nam, me_vmiswp_mib_len + 1, &vmiswp_dat, (void *)&vmiswp_siz, NULL, 0) < 0) - continue; -- me_stats[3] += (vmiswp_dat.xsw_used * DEV_BSIZE); -- me_stats[4] += (vmiswp_dat.xsw_nblks * DEV_BSIZE); -+ me_stats[3] += pagetob(vmiswp_dat.xsw_used); -+ me_stats[4] += pagetob(vmiswp_dat.xsw_nblks); - } - #endif - diff --git a/sysutils/symon/files/patch-platform__FreeBSD__sm_pf.c b/sysutils/symon/files/patch-platform__FreeBSD__sm_pf.c deleted file mode 100644 index ce0ee19c0453..000000000000 --- a/sysutils/symon/files/patch-platform__FreeBSD__sm_pf.c +++ /dev/null @@ -1,15 +0,0 @@ ---- platform/FreeBSD/sm_pf.c.orig Fri Dec 2 12:06:20 2005 -+++ platform/FreeBSD/sm_pf.c Fri Dec 2 12:06:38 2005 -@@ -73,6 +73,12 @@ - fatal("pf support not available"); - } - -+void -+gets_pf() -+{ -+ fatal("pf support not available"); -+} -+ - int - get_pf(char *symon_buf, int maxlen, struct stream *st) - { diff --git a/sysutils/symon/files/patch-sm_io.c b/sysutils/symon/files/patch-sm_io.c deleted file mode 100644 index 01d889e4b4dc..000000000000 --- a/sysutils/symon/files/patch-sm_io.c +++ /dev/null @@ -1,29 +0,0 @@ ---- platform/FreeBSD/sm_io.c.orig Sat Nov 12 20:16:41 2005 -+++ platform/FreeBSD/sm_io.c Sat Nov 12 20:17:10 2005 -@@ -80,7 +80,7 @@ - void - gets_io() - { --#if DEVSTAT_USER_API_VER == 5 -+#if DEVSTAT_USER_API_VER == 5 || DEVSTAT_USER_API_VER == 6 - io_numdevs = devstat_getnumdevs(NULL); - #else - io_numdevs = getnumdevs(); -@@ -97,7 +97,7 @@ - /* clear the devinfo struct, as getdevs expects it to be all zeroes */ - bzero(io_stats.dinfo, sizeof(struct devinfo)); - --#if DEVSTAT_USER_API_VER == 5 -+#if DEVSTAT_USER_API_VER == 5 || DEVSTAT_USER_API_VER == 6 - devstat_getdevs(NULL, &io_stats); - #else - getdevs(&io_stats); -@@ -117,7 +117,7 @@ - strlen(ds->device_name) < strlen(st->arg) && - isdigit(st->arg[strlen(ds->device_name)]) && - atoi(&st->arg[strlen(ds->device_name)]) == ds->unit_number) { --#if DEVSTAT_USER_API_VER == 5 -+#if DEVSTAT_USER_API_VER == 5 || DEVSTAT_USER_API_VER == 6 - return snpack(symon_buf, maxlen, st->arg, MT_IO2, - ds->operations[DEVSTAT_READ], - ds->operations[DEVSTAT_WRITE], diff --git a/sysutils/symon/files/pkg-message.in b/sysutils/symon/files/pkg-message.in index b4501d4026f8..6c65c46812a0 100644 --- a/sysutils/symon/files/pkg-message.in +++ b/sysutils/symon/files/pkg-message.in @@ -1,15 +1,15 @@ For the system monitor symon, use the following steps - 1. Copy %%LOCALBASE%%/share/examples/symon/symon.conf - to %%LOCALBASE%%/etc and edit. + 1. Copy %%PREFIX%%/share/examples/symon/symon.conf + to %%PREFIX%%/etc and edit. 2. Run symon For the data collector symux, use the following steps - 1. Copy %%LOCALBASE%%/share/examples/symon/symux.conf - to %%LOCALBASE%%/etc and edit. + 1. Copy %%PREFIX%%/share/examples/symon/symux.conf + to %%PREFIX%%/etc and edit. 2. Enter the directory, where symux should store its data (e.g. /var/db/symux) and run - %%LOCALBASE%%/share/symon/c_smrrds.sh all + %%PREFIX%%/share/symon/c_smrrds.sh all to create the RR database. 3. Run symux |