Date: Wed, 7 Nov 2018 10:02:01 +0000 (UTC) From: Michael Landin <mich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r484392 - in head/net/slurm: . files Message-ID: <201811071002.wA7A21o7087298@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mich Date: Wed Nov 7 10:02:00 2018 New Revision: 484392 URL: https://svnweb.freebsd.org/changeset/ports/484392 Log: - fix build on 12.x (remove obsolete network support / IFM_FDDI) - add LICENSE - update patch format to make portlint happy - bump port revision Reported by: pkg-fallout@ Modified: head/net/slurm/Makefile head/net/slurm/files/patch-os.h head/net/slurm/files/patch-src_if__media.c Modified: head/net/slurm/Makefile ============================================================================== --- head/net/slurm/Makefile Wed Nov 7 09:30:20 2018 (r484391) +++ head/net/slurm/Makefile Wed Nov 7 10:02:00 2018 (r484392) @@ -3,12 +3,15 @@ PORTNAME= slurm PORTVERSION= 0.3.3 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://www.wormulon.net/files/slurm/ \ http://www.raisdorf.net/files/slurm/ MAINTAINER= mich@FreeBSD.org COMMENT= Generic network load monitor + +LICENSE= GPLv2+ LDFLAGS+= -lncurses Modified: head/net/slurm/files/patch-os.h ============================================================================== --- head/net/slurm/files/patch-os.h Wed Nov 7 09:30:20 2018 (r484391) +++ head/net/slurm/files/patch-os.h Wed Nov 7 10:02:00 2018 (r484392) @@ -1,5 +1,5 @@ ---- os.h.orig 2009-09-25 02:57:02.000000000 +0200 -+++ os.h 2009-09-25 03:06:20.000000000 +0200 +--- os.h.orig 2004-10-12 19:55:58 UTC ++++ os.h @@ -92,10 +92,6 @@ #include <net/if_media.h> #include <net/if_mib.h> Modified: head/net/slurm/files/patch-src_if__media.c ============================================================================== --- head/net/slurm/files/patch-src_if__media.c Wed Nov 7 09:30:20 2018 (r484391) +++ head/net/slurm/files/patch-src_if__media.c Wed Nov 7 10:02:00 2018 (r484392) @@ -1,6 +1,6 @@ ---- src/if_media.c.orig +--- src/if_media.c.orig 2004-09-27 13:08:59 UTC +++ src/if_media.c -@@ -95,8 +95,13 @@ +@@ -95,8 +95,13 @@ int get_if_speed (char *ifstring) * */ @@ -14,3 +14,26 @@ #ifdef MEDIADEBUG printf(" all: %6d\n", ifmr.ifm_current); +@@ -160,22 +165,6 @@ int get_if_speed (char *ifstring) + break; + } /* end switch physical */ + break; +- /* FDDI interfaces */ +- /* fpa doesn't seem to support SIOCGIFMEDIA on FreeBSD +- * so we won't get here but anyway ... +- */ +- case IFM_FDDI: +- switch (physical) +- { +- case IFM_FDDI_SMF: +- case IFM_FDDI_MMF: +- case IFM_FDDI_UTP: +- speed = 100 * 1000; +- break; +- default: +- speed = ERR_IFACE_NO_SPEED; +- } +- break; + #if WIRELESS + /* IEEE 802.11 wireless interfaces */ + case IFM_IEEE80211:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811071002.wA7A21o7087298>