View | Details | Raw Unified | Return to bug 229172 | Differences between
and this patch

Collapse All | Expand All

(-)net/fping/Makefile (-9 / +5 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	fping
4
PORTNAME=	fping
5
PORTVERSION=	3.16
5
PORTVERSION=	4.0
6
DISTVERSIONPREFIX=	v
6
CATEGORIES=	net ipv6
7
CATEGORIES=	net ipv6
7
8
8
MAINTAINER=	jharris@widomaker.com
9
MAINTAINER=	jharris@widomaker.com
Lines 14-33 Link Here
14
LICENSE_FILE=	${WRKSRC}/COPYING
15
LICENSE_FILE=	${WRKSRC}/COPYING
15
LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
16
LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
16
17
18
USES=		autoreconf gmake
17
USE_GITHUB=	yes
19
USE_GITHUB=	yes
18
GH_ACCOUNT=	schweikert
20
GH_ACCOUNT=	schweikert
19
21
20
OPTIONS_MULTI=		NET
21
OPTIONS_MULTI_NET=	IPV4 IPV6
22
OPTIONS_DEFAULT=	IPV4
23
OPTIONS_SUB=	yes
24
25
USES=		autoreconf gmake
26
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
27
CONFIGURE_ARGS=	--bindir="${PREFIX}/sbin"
23
CONFIGURE_ARGS=	--bindir="${PREFIX}/sbin"
28
INSTALL_TARGET=	install-strip
24
INSTALL_TARGET=	install-strip
29
25
30
IPV4_CONFIGURE_ENABLE=	ipv4
26
post-install:
31
IPV6_CONFIGURE_ENABLE=	ipv6
27
	${RLN} ${STAGEDIR}${PREFIX}/sbin/fping  ${STAGEDIR}${PREFIX}/sbin/fping6
32
28
33
.include <bsd.port.mk>
29
.include <bsd.port.mk>
(-)net/fping/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1491320039
1
TIMESTAMP = 1529347052
2
SHA256 (schweikert-fping-3.16_GH0.tar.gz) = 3e73244f8e67eed777ef6a4280a32c030280789679de5220b484b6cfaca297d4
2
SHA256 (schweikert-fping-v4.0_GH0.tar.gz) = 8c9eac7aeadb5be0daa978cdac5f68ae44b749af0f643e8252b5e3dd4ce32e6a
3
SIZE (schweikert-fping-3.16_GH0.tar.gz) = 47240
3
SIZE (schweikert-fping-v4.0_GH0.tar.gz) = 52971
(-)net/fping/files/patch-configure.ac (+10 lines)
Line 0 Link Here
1
--- configure.ac.orig	2017-04-23 15:53:47 UTC
2
+++ configure.ac
3
@@ -18,6 +18,7 @@ AS_IF([test "x$enable_ipv6" != "xno"], [
4
     dnl Test if IPv6 is supported
5
        AC_CHECK_HEADERS([netinet/icmp6.h], [have_ipv6="yes"], [], [[
6
       #include <netinet/in.h>
7
+      #include <sys/types.h>
8
   ]])
9
 ])
10
 dnl Can't disable both IPv4 and IPv6
(-)net/fping/pkg-plist (-4 / +3 lines)
Lines 1-6 Link Here
1
@mode 4555
1
@mode 4555
2
%%IPV4%%sbin/fping
2
sbin/fping
3
%%IPV6%%sbin/fping6
3
sbin/fping6
4
@mode
4
@mode
5
%%IPV4%%man/man8/fping.8.gz
5
man/man8/fping.8.gz
6
%%IPV6%%man/man8/fping6.8.gz

Return to bug 229172