From owner-svn-ports-all@freebsd.org Wed Nov 7 10:02:02 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CD35E1122377; Wed, 7 Nov 2018 10:02:02 +0000 (UTC) (envelope-from mich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D7D288AE4E; Wed, 7 Nov 2018 10:02:01 +0000 (UTC) (envelope-from mich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A10C11435F; Wed, 7 Nov 2018 10:02:01 +0000 (UTC) (envelope-from mich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wA7A21lR087303; Wed, 7 Nov 2018 10:02:01 GMT (envelope-from mich@FreeBSD.org) Received: (from mich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wA7A21o7087298; Wed, 7 Nov 2018 10:02:01 GMT (envelope-from mich@FreeBSD.org) Message-Id: <201811071002.wA7A21o7087298@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mich set sender to mich@FreeBSD.org using -f From: Michael Landin Date: Wed, 7 Nov 2018 10:02:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r484392 - in head/net/slurm: . files X-SVN-Group: ports-head X-SVN-Commit-Author: mich X-SVN-Commit-Paths: in head/net/slurm: . files X-SVN-Commit-Revision: 484392 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: D7D288AE4E X-Spamd-Result: default: False [-103.07 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; ALLOW_DOMAIN_WHITELIST(-100.00)[FreeBSD.org]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; DMARC_NA(0.00)[FreeBSD.org]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[cached: mx1.FreeBSD.org]; NEURAL_HAM_SHORT(-0.96)[-0.960,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Nov 2018 10:02:03 -0000 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 #include 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: