diff options
author | rene <rene@FreeBSD.org> | 2014-06-30 16:37:49 +0800 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2014-06-30 16:37:49 +0800 |
commit | 40e411a11dcaa2c5e81f4f0cc900ca8a2bb34860 (patch) | |
tree | df4588a3eebe74807d57f164b1c860b1243ffb47 /sysutils | |
parent | 25158e262ff6d3d175a0fc2f1dd36c820ae9c7c8 (diff) | |
download | freebsd-ports-gnome-40e411a11dcaa2c5e81f4f0cc900ca8a2bb34860.tar.gz freebsd-ports-gnome-40e411a11dcaa2c5e81f4f0cc900ca8a2bb34860.tar.zst freebsd-ports-gnome-40e411a11dcaa2c5e81f4f0cc900ca8a2bb34860.zip |
Remove expired ports:
2014-06-30 www/trac-TracDuplicates: Broken for more than 5 months
2014-06-30 mail/hotwayd: Protocol changed, software unusable
2014-06-30 mail/ilohamail-devel: Upstream disappeared
2014-06-30 games/tyrquake: Broken for more than 5 months
2014-06-30 net/gkrellmqst: GKrellM 1.X is no longer being developed, consider using 2.X.
2014-06-30 security/p5-Jifty-Plugin-OpenID: Broken for more than 5 months
2014-06-30 games/sumwars: Broken for more than 5 months
2014-06-30 audio/ruby-esound: Broken for more than 5 months
2014-06-30 x11-toolkits/py-pyqwt: Broken for more than 5 months
2014-06-30 net-im/ysm: Broken for more than 5 months
2014-06-30 net-mgmt/send: Broken for more than 5 months
2014-06-30 net/p5-Jifty-Plugin-Authentication-Ldap: Broken for more than 5 months
2014-06-30 net-p2p/bittyrant: Broken for more than 5 months
2014-06-30 sysutils/gkrellm: GKrellM 1.X is no longer being developed, consider using 2.X.
2014-06-30 audio/gkrellmms: GKrellM 1.X is no longer being developed, consider using 2.X.
2014-06-30 audio/gkrellmvolume: GKrellM 1.X is no longer being developed, consider using 2.X.
2014-06-30 misc/gkrellmlaunch: GKrellM 1.X is no longer being developed, consider using 2.X.
2014-06-30 misc/gkrellmfmonitor: GKrellM 1.X is no longer being developed, consider using 2.X.
2014-06-30 misc/gkrellshoot: GKrellM 1.X is no longer being developed, consider using 2.X.
2014-06-30 polish/sms2: sms2 is no longer being developed, consider using alternative software.
2014-06-30 x11-toolkits/py-wmdockapps: Crufty and nothing depends on this
2014-06-30 audio/tagger: Ancient, unmaintained
2014-06-30 www/mod_wsgi2: No longer supported, please use www/mod_wsgi3 instead
2014-06-30 security/botan: Botan 1.8 have known bugs and is no longer supported upstream, migrate to security/botan110
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/gkrellm/Makefile | 79 | ||||
-rw-r--r-- | sysutils/gkrellm/distinfo | 2 | ||||
-rw-r--r-- | sysutils/gkrellm/files/patch-ad | 28 | ||||
-rw-r--r-- | sysutils/gkrellm/files/patch-ae | 22 | ||||
-rw-r--r-- | sysutils/gkrellm/files/patch-af | 75 | ||||
-rw-r--r-- | sysutils/gkrellm/files/patch-ag | 28 | ||||
-rw-r--r-- | sysutils/gkrellm/files/patch-src::chart.c | 21 | ||||
-rw-r--r-- | sysutils/gkrellm/files/patch-src::cpu.c | 26 | ||||
-rw-r--r-- | sysutils/gkrellm/files/patch-src::disk.c | 31 | ||||
-rw-r--r-- | sysutils/gkrellm/files/patch-src::gkrellm_private_proto.h | 13 | ||||
-rw-r--r-- | sysutils/gkrellm/files/patch-src::meminfo.c | 24 | ||||
-rw-r--r-- | sysutils/gkrellm/files/patch-src::net.c | 132 | ||||
-rw-r--r-- | sysutils/gkrellm/files/patch-src::plugins.c | 16 | ||||
-rw-r--r-- | sysutils/gkrellm/files/patch-src::proc.c | 72 | ||||
-rw-r--r-- | sysutils/gkrellm/files/patch-src::sensors.c | 15 | ||||
-rw-r--r-- | sysutils/gkrellm/pkg-descr | 8 | ||||
-rw-r--r-- | sysutils/gkrellm/pkg-message | 11 | ||||
-rw-r--r-- | sysutils/gkrellm/pkg-plist | 17 |
19 files changed, 0 insertions, 621 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 645e25bcb72a..1d8828b77e54 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -317,7 +317,6 @@ SUBDIR += gkleds2 SUBDIR += gkrellfire SUBDIR += gkrellflynn - SUBDIR += gkrellm SUBDIR += gkrellm-trayicons SUBDIR += gkrellm2 SUBDIR += gkrelltop diff --git a/sysutils/gkrellm/Makefile b/sysutils/gkrellm/Makefile deleted file mode 100644 index 8f6019121b5e..000000000000 --- a/sysutils/gkrellm/Makefile +++ /dev/null @@ -1,79 +0,0 @@ -# Created by: Hajimu UMEMOTO <ume@FreeBSD.org> -# $FreeBSD$ - -PORTNAME= gkrellm -PORTVERSION= 1.2.13 -PORTREVISION= 11 -CATEGORIES= sysutils ipv6 -MASTER_SITES= http://members.dslextreme.com/users/billw/gkrellm/ \ - ${MASTER_SITE_LOCAL} -MASTER_SITE_SUBDIR= ume - -MAINTAINER= ume@FreeBSD.org -COMMENT= A GTK based system monitor - -DEPRECATED= GKrellM 1.X is no longer being developed, consider using 2.X. -EXPIRATION_DATE=2014-06-30 - -CONFLICTS= gkrellm-[^1].* gkrellm[^1]-[^1].* - -USES= gettext gmake -USE_BZIP2= yes -USE_GNOME= imlib - -INCLUDES= gkrellm.h gkrellm_public_proto.h -MAN1= gkrellm.1 - -.if !defined(NOPORTDOCS) -PORTDOCS= COPYRIGHT README Themes.html -.endif - -# If you want to support LM78/79 feature, set this to `yes'. You -# should aware that GKrellM must be setuid root to obtain -# temperatures. Furthermore, this causes problem on some -# motherboards. If your motherboard doesn't support LM78/79 feature, -# you should not enable this. -# WITH_SENSOR=yes - -NO_STAGE= yes -.include <bsd.port.pre.mk> - -ALL_TARGET= freebsd - -BINGRP= kmem -.if defined(WITH_SENSOR) -BINOWN= root -BINMODE= 4511 -.else -BINMODE= 2511 -.endif - -MAKE_ENV+= LOCALEDIR=${PREFIX}/share/locale -CFLAGS+= -DSYSTEM_THEMES_DIR='\"${PREFIX}/share/gkrellm/themes\"' \ - -DSYSTEM_PLUGINS_DIR='\"${PREFIX}/libexec/gkrellm/plugins\"' - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/gkrellm ${PREFIX}/bin/gkrellm - @cd ${WRKSRC}/po && \ - ${MAKE_CMD} install enable_nls=1 LOCALEDIR=${PREFIX}/share/locale - - @${MKDIR} ${PREFIX}/include/gkrellm -.for f in ${INCLUDES} - ${INSTALL_DATA} ${WRKSRC}/src/${f} ${PREFIX}/include/gkrellm -.endfor - @${MKDIR} ${PREFIX}/libexec/gkrellm/plugins - @${MKDIR} ${PREFIX}/share/gkrellm/themes -.for f in ${MAN1} - ${INSTALL_MAN} ${WRKSRC}/${f} ${MANPREFIX}/man/man1/${f} -.endfor -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} -.endfor -.endif -.if !defined(WITH_SENSOR) - @${CAT} ${PKGMESSAGE} -.endif - -.include <bsd.port.post.mk> diff --git a/sysutils/gkrellm/distinfo b/sysutils/gkrellm/distinfo deleted file mode 100644 index 406a99da9496..000000000000 --- a/sysutils/gkrellm/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (gkrellm-1.2.13.tar.bz2) = 202b771940f5c2065b99531b1cc2838b9c58f0a4f8e8f038aa5032c1ecab3e5e -SIZE (gkrellm-1.2.13.tar.bz2) = 438917 diff --git a/sysutils/gkrellm/files/patch-ad b/sysutils/gkrellm/files/patch-ad deleted file mode 100644 index 247f6baa3cd3..000000000000 --- a/sysutils/gkrellm/files/patch-ad +++ /dev/null @@ -1,28 +0,0 @@ -Index: Makefile.top -diff -u Makefile.top.orig Makefile.top ---- Makefile.top.orig Thu Dec 6 01:25:04 2001 -+++ Makefile.top Thu Dec 6 03:33:13 2001 -@@ -30,7 +30,7 @@ - # - # Default - #-------- --GTK_CONFIG = gtk-config -+#GTK_CONFIG = gtk-config - EXTRAOBJS = md5c.o - BINMODE = 755 - -@@ -122,12 +122,12 @@ - - freebsd2: - (cd po && ${MAKE} all) -- (cd src && ${MAKE} GTK_CONFIG=gtk12-config GTOP_LIBS= GTOP_INCLUDE= \ -+ (cd src && ${MAKE} GTK_CONFIG=${GTK_CONFIG} GTOP_LIBS= GTOP_INCLUDE= \ - EXTRAOBJS= SYS_LIBS="-lkvm -lmd" gkrellm ) - - freebsd3 freebsd4 freebsd5 freebsd: - (cd po && ${MAKE} all) -- (cd src && ${MAKE} GTK_CONFIG=gtk12-config GTOP_LIBS= GTOP_INCLUDE= \ -+ (cd src && ${MAKE} GTK_CONFIG=${GTK_CONFIG} GTOP_LIBS= GTOP_INCLUDE= \ - EXTRAOBJS= SYS_LIBS="-lkvm -ldevstat -lmd" gkrellm ) - - netbsd: diff --git a/sysutils/gkrellm/files/patch-ae b/sysutils/gkrellm/files/patch-ae deleted file mode 100644 index aee093b5664d..000000000000 --- a/sysutils/gkrellm/files/patch-ae +++ /dev/null @@ -1,22 +0,0 @@ -Index: src/Makefile.src -diff -u src/Makefile.src.orig src/Makefile.src ---- src/Makefile.src.orig 2002-07-01 11:13:04.000000000 +0900 -+++ src/Makefile.src 2011-03-15 17:36:07.583082262 +0900 -@@ -21,7 +21,7 @@ - GTK_LIB = `$(GTK_CONFIG) --libs gthread` - IMLIB_LIB = `imlib-config --libs-gdk` - --FLAGS = -O2 -I.. $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GTOP_INCLUDE) -+FLAGS = -I.. $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GTOP_INCLUDE) - FLAGS+= $(PTHREAD_INC) - - LIBS = $(GTK_LIB) $(IMLIB_LIB) $(GTOP_LIBS) $(SYS_LIBS) -@@ -83,7 +83,7 @@ - $(INSTALL) -c -m $(MANMODE) ../gkrellm.1 $(MANDIR)/gkrellm.1 - - install_darwin: -- $(MAKE) install STRIP= -+ $(MAKE) install STRIP= - - install_netbsd: - $(MAKE) install diff --git a/sysutils/gkrellm/files/patch-af b/sysutils/gkrellm/files/patch-af deleted file mode 100644 index ad9ad5b78321..000000000000 --- a/sysutils/gkrellm/files/patch-af +++ /dev/null @@ -1,75 +0,0 @@ -Index: gkrellm.1 -diff -u gkrellm.1.orig gkrellm.1 ---- gkrellm.1.orig Thu Jul 12 08:23:47 2001 -+++ gkrellm.1 Mon Jul 30 20:51:15 2001 -@@ -1,4 +1,4 @@ --.TH gkrellm 1 "Febuary 3, 2001" "Olympus GNU/Linux" "User's Manual" -+.TH gkrellm 1 "Febuary 3, 2001" "FreeBSD" "User's Manual" - - .SH "NAME" - gkrellm \- The GNU Krell Monitors -@@ -365,7 +365,7 @@ - ppp is connecting, and the on state is the ppp link connected. - The phone line lock is determined by the existence of the modem - lock file --.IR /var/lock/LCK..modem, -+.IR /var/spool/lock/LCK..modem, - which assumes pppd is using - .IR /dev/modem. - However, if your pppd setup does not use -@@ -374,11 +374,11 @@ - .PP - .RS - .nf --ln -s /var/lock/LCK..ttySx ~/.gkrellm/LCK..modem -+ln -s /var/spool/lock/LCK..cuaaS ~/.gkrellm/LCK..modem - .fi - .RE - .IP --where ttySx is the tty device your modem does use. The ppp on -+where cuaaS is the tty device your modem does use. The ppp on - state is detected by the existence of - .IR /var/run/pppX.pid - and the time stamp of this file is the base for the on line time. -@@ -839,7 +839,7 @@ - .PP - .B gkrellm - also searches --.IR /usr/share/gkrellm/themes -+.IR /usr/X11R6/share/gkrellm/themes - for any system wide themes installed as part of a distribution. - Finally, a theme you simply want to check out can be untarred anywhere and - used by running: -@@ -864,12 +864,12 @@ - The directories - .IR /usr/local/lib/gkrellm/plugins - and --.IR /usr/lib/gkrellm/plugins -+.IR /usr/X11R6/libexec/gkrellm/plugins - are also searched for plugins to install. - For compatibility with pre 1.0.6 versions, plugins from the directories - .IR /usr/local/share/gkrellm/plugins - and --.IR /usr/share/gkrellm/plugins -+.IR /usr/X11R6/libexec/gkrellm/plugins - are still installed, but this is not compatible with the FHS. - .PP - Some plugins may be available only as source files and they will -@@ -890,7 +890,7 @@ - .I ~/.gkrellm/plugins - User plugin directory. - .TP --.I /usr/lib/gkrellm/plugins -+.I /usr/X11R6/libexec/gkrellm/plugins - System wide plugin directory. - .TP - .I /usr/local/lib/gkrellm/plugins -@@ -899,7 +899,7 @@ - .I ~/.gkrellm/themes - User theme directory. - .TP --.I /usr/share/gkrellm/themes -+.I /usr/X11R6/share/gkrellm/themes - System wide theme directory. - .TP - .I /usr/local/share/gkrellm/themes diff --git a/sysutils/gkrellm/files/patch-ag b/sysutils/gkrellm/files/patch-ag deleted file mode 100644 index 59031f3a2a86..000000000000 --- a/sysutils/gkrellm/files/patch-ag +++ /dev/null @@ -1,28 +0,0 @@ -Index: Makefile.top_enable_nls -diff -u Makefile.top_enable_nls.orig Makefile.top_enable_nls ---- Makefile.top_enable_nls.orig Wed Dec 5 16:41:15 2001 -+++ Makefile.top_enable_nls Thu Dec 6 03:35:21 2001 -@@ -30,7 +30,7 @@ - # - # Default - #-------- --GTK_CONFIG = gtk-config -+#GTK_CONFIG = gtk-config - EXTRAOBJS = md5c.o - BINMODE = 755 - -@@ -122,12 +122,12 @@ - - freebsd2: - (cd po && ${MAKE} all) -- (cd src && ${MAKE} GTK_CONFIG=gtk12-config GTOP_LIBS= GTOP_INCLUDE= \ -+ (cd src && ${MAKE} GTK_CONFIG=${GTK_CONFIG} GTOP_LIBS= GTOP_INCLUDE= \ - EXTRAOBJS= SYS_LIBS="-lkvm -lmd" gkrellm ) - - freebsd3 freebsd4 freebsd5 freebsd: - (cd po && ${MAKE} all) -- (cd src && ${MAKE} GTK_CONFIG=gtk12-config GTOP_LIBS= GTOP_INCLUDE= \ -+ (cd src && ${MAKE} GTK_CONFIG=${GTK_CONFIG} GTOP_LIBS= GTOP_INCLUDE= \ - EXTRAOBJS= SYS_LIBS="-lkvm -ldevstat -lmd" gkrellm ) - - netbsd: diff --git a/sysutils/gkrellm/files/patch-src::chart.c b/sysutils/gkrellm/files/patch-src::chart.c deleted file mode 100644 index acb0201b5d52..000000000000 --- a/sysutils/gkrellm/files/patch-src::chart.c +++ /dev/null @@ -1,21 +0,0 @@ -Index: src/chart.c -diff -u -p src/chart.c.orig src/chart.c ---- src/chart.c.orig Sun Mar 17 10:44:49 2002 -+++ src/chart.c Sun Dec 17 00:10:41 2006 -@@ -22,6 +22,8 @@ - #include "gkrellm.h" - #include "gkrellm_private_proto.h" - -+static void set_grid_resolution_spin_button(Chart *, gint); -+ - /* For grid images of height 2 pixels, make room at bottom of chartdata - | window so both pixel lines will show. - */ -@@ -470,7 +472,6 @@ draw_chartdata_lines(Chart *cp, ChartDat - static void - set_auto_grid_resolution(Chart *cp, gint maxval) - { -- static void set_grid_resolution_spin_button(Chart *, gint); - ChartConfig *cf = cp->config; - gint grids, grid_res, maxval_base; - diff --git a/sysutils/gkrellm/files/patch-src::cpu.c b/sysutils/gkrellm/files/patch-src::cpu.c deleted file mode 100644 index c5709ad7e7e3..000000000000 --- a/sysutils/gkrellm/files/patch-src::cpu.c +++ /dev/null @@ -1,26 +0,0 @@ -Index: src/cpu.c -diff -u src/cpu.c.orig src/cpu.c ---- src/cpu.c.orig Mon Jul 1 11:19:18 2002 -+++ src/cpu.c Thu Feb 20 19:46:29 2003 -@@ -141,8 +141,20 @@ - - /* ----- FreeBSD ---------------------------------------------------- */ - --#if defined(__FreeBSD__) || defined(__OpenBSD__) -+#if defined(__FreeBSD__) -+#include <osreldate.h> -+#if __FreeBSD_version >= 500101 -+#include <sys/resource.h> -+#else -+#include <sys/dkstat.h> -+#endif -+#endif -+ -+#if defined(__OpenBSD__) - #include <sys/dkstat.h> -+#endif -+ -+#if defined(__FreeBSD__) || defined(__OpenBSD__) - #include <kvm.h> - - static struct nlist nl[] = { diff --git a/sysutils/gkrellm/files/patch-src::disk.c b/sysutils/gkrellm/files/patch-src::disk.c deleted file mode 100644 index a46c83b631c5..000000000000 --- a/sysutils/gkrellm/files/patch-src::disk.c +++ /dev/null @@ -1,31 +0,0 @@ -Index: src/disk.c -diff -u src/disk.c.orig src/disk.c ---- src/disk.c.orig Mon Jul 1 11:19:47 2002 -+++ src/disk.c Sat Mar 22 20:03:22 2003 -@@ -70,7 +70,11 @@ - - #if defined(__FreeBSD__) - #include <osreldate.h> -+#if __FreeBSD_version >= 500101 -+#include <sys/resource.h> -+#else - #include <sys/dkstat.h> -+#endif - #if __FreeBSD_version >= 300000 - #include <devstat.h> - static struct statinfo statinfo_cur; -@@ -161,6 +165,14 @@ - using_DiskN_names = TRUE; - } - #else -+#if __FreeBSD_version >= 500107 -+#define getdevs(stats) devstat_getdevs(NULL, stats) -+#define getnumdevs() devstat_getnumdevs(NULL) -+#define selectdevs devstat_selectdevs -+#define bytes_read bytes[DEVSTAT_READ] -+#define bytes_written bytes[DEVSTAT_WRITE] -+#endif -+ - static void - read_freebsd_disk() - { diff --git a/sysutils/gkrellm/files/patch-src::gkrellm_private_proto.h b/sysutils/gkrellm/files/patch-src::gkrellm_private_proto.h deleted file mode 100644 index 0c60cb30581d..000000000000 --- a/sysutils/gkrellm/files/patch-src::gkrellm_private_proto.h +++ /dev/null @@ -1,13 +0,0 @@ -Index: src/gkrellm_private_proto.h -diff -u src/gkrellm_private_proto.h.orig src/gkrellm_private_proto.h ---- src/gkrellm_private_proto.h.orig Thu May 23 06:53:12 2002 -+++ src/gkrellm_private_proto.h Sun Dec 17 00:14:56 2006 -@@ -30,8 +30,6 @@ - extern gint window_decorations; - extern gint n_system_plugins; - --extern GdkImlibBorder zero_border; -- - void load_plugin_monitors(void); - - void create_plugin_config(GtkWidget *); diff --git a/sysutils/gkrellm/files/patch-src::meminfo.c b/sysutils/gkrellm/files/patch-src::meminfo.c deleted file mode 100644 index ef8689c063ec..000000000000 --- a/sysutils/gkrellm/files/patch-src::meminfo.c +++ /dev/null @@ -1,24 +0,0 @@ -Index: src/meminfo.c -diff -u src/meminfo.c.orig src/meminfo.c ---- src/meminfo.c.orig Mon Jul 1 11:20:45 2002 -+++ src/meminfo.c Tue Jan 21 02:31:51 2003 -@@ -490,6 +490,10 @@ - #define PROC_MEMINFO_FILE "/compat/linux/proc/meminfo" - #endif - -+#ifndef VM_TOTAL -+#define VM_TOTAL VM_METER -+#endif -+ - static void - read_freebsd_meminfo() - { -@@ -502,7 +506,7 @@ - unsigned long buffers; - struct vmtotal vmt; - size_t length_vmt = sizeof(vmt); -- static int oid_vmt[] = { CTL_VM, VM_METER }; -+ static int oid_vmt[] = { CTL_VM, VM_TOTAL }; - #if __FreeBSD_version >= 410000 - static int oid_name2oid[2] = { 0, 3 }; - gint i; diff --git a/sysutils/gkrellm/files/patch-src::net.c b/sysutils/gkrellm/files/patch-src::net.c deleted file mode 100644 index 648dc036e5ca..000000000000 --- a/sysutils/gkrellm/files/patch-src::net.c +++ /dev/null @@ -1,132 +0,0 @@ -Index: src/net.c -diff -u src/net.c.orig src/net.c ---- src/net.c.orig Mon Jul 1 11:17:27 2002 -+++ src/net.c Fri Jan 3 19:11:51 2003 -@@ -120,10 +120,6 @@ - - /* -------- FreeBSD / NetBSD / OpenBSD ------------------------------------ */ - #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__) --#include <sys/sysctl.h> --#include <net/if.h> --#include <net/if_dl.h> --#include <net/route.h> - - #define LOCK_DIRECTORY "/var/spool/lock" - -@@ -133,6 +129,107 @@ - {"ppp0", TIMER_TYPE_PPP } - }; - -+#if !(defined(__FreeBSD__) && __FreeBSD_version < 410000) && \ -+ !(defined(__NetBSD__) && __NetBSD_version < 105000000) && \ -+ !(defined(__OpenBSD__) && OpenBSD < 200006) -+#define HAVE_GETIFADDRS 1 -+#endif -+ -+#if defined(HAVE_GETIFADDRS) -+ -+#include <sys/types.h> -+#include <sys/socket.h> -+#include <net/if.h> -+#include <ifaddrs.h> -+ -+void -+read_bsd_net_data() -+ { -+ GList *list; -+ NetMon *net; -+ struct ifaddrs *ifap, *ifa; -+ struct if_data *ifd; -+ -+ if (getifaddrs(&ifap) < 0) -+ return; -+ -+ for (ifa = ifap; ifa; ifa = ifa->ifa_next) -+ { -+ if (ifa->ifa_flags & IFF_UP) -+ { -+ if (ifa->ifa_addr->sa_family != AF_LINK) -+ continue; -+ for (list = net_mon_list; list; list = list->next) -+ { -+ net = (NetMon *) list->data; -+ if (strcmp(net->name, ifa->ifa_name) == 0) -+ { -+ ifd = (struct if_data *)ifa->ifa_data; -+ net->rx = ifd->ifi_ibytes; -+ net->tx = ifd->ifi_obytes; -+ net->rxtx_units = NET_UNITS_BYTES; -+ break; -+ } -+ } -+ } -+ } -+ -+ freeifaddrs(ifap); -+ } -+ -+static void -+sync_bsd_net_interfaces() -+ { -+ GList *list; -+ NetMon *net; -+ struct ifaddrs *ifap, *ifa; -+ -+ for (list = net_mon_list; list; list = list->next) -+ { -+ net = (NetMon *) list->data; -+ net->old_state = net->state; -+ net->state = NET_DOWN; -+ } -+ -+ if (getifaddrs(&ifap) < 0) -+ return; -+ -+ for (ifa = ifap; ifa; ifa = ifa->ifa_next) -+ { -+ if (ifa->ifa_flags & IFF_UP) -+ { -+ if (ifa->ifa_addr->sa_family != AF_LINK) -+ continue; -+ for (list = net_mon_list; list; list = list->next) -+ { -+ net = (NetMon *) list->data; -+ if (strcmp(net->name, ifa->ifa_name) == 0) -+ { -+ net->state = NET_UP; -+ break; -+ } -+ } -+ if (list == NULL) -+ { -+ net = g_new0(NetMon, 1); -+ net->name = g_strdup(ifa->ifa_name); -+ net_mon_list = g_list_append(net_mon_list, net); -+ net->state = NET_UP; -+ net->old_state = NET_DOWN; -+ } -+ } -+ } -+ -+ freeifaddrs(ifap); -+ } -+ -+#else /* HAVE_GETIFADDRS */ -+ -+#include <sys/sysctl.h> -+#include <net/if.h> -+#include <net/if_dl.h> -+#include <net/route.h> -+ - static int mib[] = { CTL_NET, PF_ROUTE, 0, 0, NET_RT_IFLIST, 0 }; - static char *buf; - static int alloc; -@@ -289,6 +386,8 @@ - } - } - } -+ -+#endif /* HAVE_GETIFADDRS */ - #endif - - diff --git a/sysutils/gkrellm/files/patch-src::plugins.c b/sysutils/gkrellm/files/patch-src::plugins.c deleted file mode 100644 index 5b777aa9e27a..000000000000 --- a/sysutils/gkrellm/files/patch-src::plugins.c +++ /dev/null @@ -1,16 +0,0 @@ -Index: src/plugins.c -diff -u -p src/plugins.c.orig src/plugins.c ---- src/plugins.c.orig Sun Jun 23 04:08:41 2002 -+++ src/plugins.c Tue Nov 23 01:39:49 2004 -@@ -794,6 +794,11 @@ install_plugin(gchar *plugin_name) - plugin_log(buf, NULL); - return NULL; - } -+ /* -+ * Reset dlerror() since it can contain error from previous -+ * call to dlopen()/dlsym(). -+ */ -+ dlerror(); - init_plugin = dlsym(handle, "init_plugin"); - if ((error = dlerror()) != NULL) - { diff --git a/sysutils/gkrellm/files/patch-src::proc.c b/sysutils/gkrellm/files/patch-src::proc.c deleted file mode 100644 index 2881c1bfe776..000000000000 --- a/sysutils/gkrellm/files/patch-src::proc.c +++ /dev/null @@ -1,72 +0,0 @@ -Index: src/proc.c -diff -u -p src/proc.c.orig src/proc.c ---- src/proc.c.orig 2002-07-01 11:21:19.000000000 +0900 -+++ src/proc.c 2010-01-19 20:51:02.658138473 +0900 -@@ -99,7 +99,11 @@ void (*read_system_proc_info)(); - #include <kvm.h> - #include <limits.h> - #include <paths.h> -+#if !defined(__FreeBSD__) || __FreeBSD_version < 900007 - #include <utmp.h> -+#else -+#include <utmpx.h> -+#endif - - extern kvm_t *kvmd; - -@@ -153,8 +157,14 @@ read_freebsd_proc() - gint r_forks, r_vforks, r_rforks; - gint len; - gint nextpid, nforked; -+#if !defined(__FreeBSD__) || __FreeBSD_version < 900007 - FILE *ut; - struct utmp utmp; -+#define UTMP_FILE _PATH_UTMP -+#else -+ struct utmpx *utmp; -+#define UTMP_FILE "/var/run/utx.active" -+#endif - struct stat sb, s; - static time_t utmp_mtime; - gchar ttybuf[MAXPATHLEN]; -@@ -211,8 +221,9 @@ read_freebsd_proc() - - if (!GK.five_second_tick || !proc.extra_info) - return; -- if (stat(_PATH_UTMP, &s) != 0 || s.st_mtime == utmp_mtime) -+ if (stat(UTMP_FILE, &s) != 0 || s.st_mtime == utmp_mtime) - return; -+#if !defined(__FreeBSD__) || __FreeBSD_version < 900007 - if ((ut = fopen(_PATH_UTMP, "r")) != NULL) - { - proc.n_users = 0; -@@ -222,13 +233,27 @@ read_freebsd_proc() - continue; - (void)snprintf(ttybuf, sizeof(ttybuf), "%s/%s", - _PATH_DEV, utmp.ut_line); -- /* corrupted record */ - if (stat(ttybuf, &sb)) -- continue; -+ continue; /* corrupted record */ - ++proc.n_users; - } - (void)fclose(ut); - } -+#else -+ setutxent(); -+ proc.n_users = 0; -+ while ((utmp = getutxent()) != NULL) -+ { -+ if (utmp->ut_type != USER_PROCESS) -+ continue; -+ (void)snprintf(ttybuf, sizeof(ttybuf), "%s/%s", -+ _PATH_DEV, utmp->ut_line); -+ if (stat(ttybuf, &sb)) -+ continue; /* corrupted record */ -+ ++proc.n_users; -+ } -+ endutxent(); -+#endif - utmp_mtime = s.st_mtime; - } - #endif diff --git a/sysutils/gkrellm/files/patch-src::sensors.c b/sysutils/gkrellm/files/patch-src::sensors.c deleted file mode 100644 index dae0a545214f..000000000000 --- a/sysutils/gkrellm/files/patch-src::sensors.c +++ /dev/null @@ -1,15 +0,0 @@ -Index: src/sensors.c -diff -u src/sensors.c.orig src/sensors.c ---- src/sensors.c.orig Mon Oct 28 05:23:27 2002 -+++ src/sensors.c Mon Oct 28 05:23:41 2002 -@@ -223,7 +223,9 @@ - #if defined(__FreeBSD__) && defined(__i386__) - #include <osreldate.h> - #include <machine/cpufunc.h> --#if __FreeBSD_version >= 300000 -+#if __FreeBSD_version >= 500042 -+#include <dev/smbus/smb.h> -+#elif __FreeBSD_version >= 300000 - #include <machine/smb.h> - #endif - diff --git a/sysutils/gkrellm/pkg-descr b/sysutils/gkrellm/pkg-descr deleted file mode 100644 index 1656b7f1d212..000000000000 --- a/sysutils/gkrellm/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -GKrellM - GNU (or Gtk) Krell Monitors (or Meters) - (with an understood 'I' somewhere in appreciation for Imlib) - -With a single process, GKrellM manages multiple stacked monitors and supports -applying themes to match the monitors appearance to your window manager, -Gtk, or any other theme. - -WWW: http://gkrellm.net diff --git a/sysutils/gkrellm/pkg-message b/sysutils/gkrellm/pkg-message deleted file mode 100644 index 039d8d9dacf8..000000000000 --- a/sysutils/gkrellm/pkg-message +++ /dev/null @@ -1,11 +0,0 @@ -**************************************************************************** - - If you want to support LM78/79 feature, - `make install WITH_SENSOR=yes' at the "${PORTSDIR}/sysutils/gkrellm" - directory to re-make this package. - You should aware that GKrellM must be setuid root to obtain - temperatures. Furthermore, this causes problem on some - motherboards. If your motherboard doesn't support LM78/79 feature, - you should not enable this. - -**************************************************************************** diff --git a/sysutils/gkrellm/pkg-plist b/sysutils/gkrellm/pkg-plist deleted file mode 100644 index 8636b7a4b045..000000000000 --- a/sysutils/gkrellm/pkg-plist +++ /dev/null @@ -1,17 +0,0 @@ -bin/gkrellm -include/gkrellm/gkrellm.h -include/gkrellm/gkrellm_public_proto.h -share/locale/de/LC_MESSAGES/gkrellm.mo -share/locale/es/LC_MESSAGES/gkrellm.mo -share/locale/fr/LC_MESSAGES/gkrellm.mo -share/locale/ja/LC_MESSAGES/gkrellm.mo -share/locale/pl/LC_MESSAGES/gkrellm.mo -share/locale/ru/LC_MESSAGES/gkrellm.mo -share/locale/sv/LC_MESSAGES/gkrellm.mo -@dirrm include/gkrellm -@exec mkdir -p %D/libexec/gkrellm/plugins -@exec mkdir -p %D/share/gkrellm/themes -@dirrmtry libexec/gkrellm/plugins -@dirrmtry libexec/gkrellm -@dirrmtry share/gkrellm/themes -@dirrmtry share/gkrellm |