From 26653412f416ba1c4d400fec186571d7dc4a6569 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Apestegu=C3=ADa?= Date: Wed, 5 Aug 2020 11:48:16 +0000 Subject: [PATCH] net/fping: Update to 4.4 ChangeLog: https://github.com/schweikert/fping/releases/tag/v4.4 * Use official release with MASTER_SITES instead of USE_GITHUB. PR: 248356 Submitted by: daniel.engberg.lists@pyret.net Reviewed by: jharris@widomaker.com (maintainer) --- net/fping/Makefile | 10 +++------- net/fping/distinfo | 6 +++--- net/fping/files/patch-src_fping.c | 11 ----------- 3 files changed, 6 insertions(+), 21 deletions(-) delete mode 100644 net/fping/files/patch-src_fping.c diff --git a/net/fping/Makefile b/net/fping/Makefile index 909f8704fe83..ac05ff633dd6 100644 --- a/net/fping/Makefile +++ b/net/fping/Makefile @@ -2,9 +2,9 @@ # $FreeBSD$ PORTNAME= fping -PORTVERSION= 4.2 -DISTVERSIONPREFIX= v +PORTVERSION= 4.4 CATEGORIES= net +MASTER_SITES= https://github.com/schweikert/${PORTNAME}/releases/download/v${PORTVERSION}/ MAINTAINER= jharris@widomaker.com COMMENT= Quickly ping multiple hosts without flooding the network @@ -15,13 +15,9 @@ LICENSE_NAME= Previous BSD License LICENSE_FILE= ${WRKSRC}/COPYING LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -USES= autoreconf gmake -USE_GITHUB= yes -GH_ACCOUNT= schweikert +USES= autoreconf GNU_CONFIGURE= yes -CONFIGURE_ARGS= --bindir="${PREFIX}/sbin" \ - --enable-ipv4 INSTALL_TARGET= install-strip OPTIONS_DEFINE= IPV6 diff --git a/net/fping/distinfo b/net/fping/distinfo index 817e0ad5ac71..3296980e5016 100644 --- a/net/fping/distinfo +++ b/net/fping/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1553366728 -SHA256 (schweikert-fping-v4.2_GH0.tar.gz) = 49b0ac77fd67c1ed45c9587ffab0737a3bebcfa5968174329f418732dbf655d4 -SIZE (schweikert-fping-v4.2_GH0.tar.gz) = 53931 +TIMESTAMP = 1596062696 +SHA256 (fping-4.4.tar.gz) = 9f854b65a52dc7b1749d6743e35d0a6268179d1a724267339fc9a066b2b72d11 +SIZE (fping-4.4.tar.gz) = 182921 diff --git a/net/fping/files/patch-src_fping.c b/net/fping/files/patch-src_fping.c deleted file mode 100644 index d4b49fc8f9dd..000000000000 --- a/net/fping/files/patch-src_fping.c +++ /dev/null @@ -1,11 +0,0 @@ ---- src/fping.c.orig 2019-02-19 20:54:45 UTC -+++ src/fping.c -@@ -427,7 +427,7 @@ int main(int argc, char** argv) - while ((c = optparse_long(&optparse_state, longopts, NULL)) != EOF) { - switch (c) { - case '4': -- if (hints_ai_family != AF_UNSPEC) { -+ if (hints_ai_family == AF_INET6) { - fprintf(stderr, "%s: can't specify both -4 and -6\n", prog); - exit(1); - }