1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

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)
This commit is contained in:
Fernando Apesteguía 2020-08-05 11:48:16 +00:00
parent b3be275b84
commit 26653412f4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=544219
3 changed files with 6 additions and 21 deletions

View File

@ -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

View File

@ -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

View File

@ -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);
}