View | Details | Raw Unified | Return to bug 149025
Collapse All | Expand All

(-)arping/Makefile (-18 / +9 lines)
Lines 6-38 Link Here
6
#
6
#
7
7
8
PORTNAME=	arping
8
PORTNAME=	arping
9
PORTVERSION=	2.08
9
PORTVERSION=	2.09
10
CATEGORIES=	net
10
CATEGORIES=	net
11
MASTER_SITES=	ftp://ftp.habets.pp.se/pub/synscan/
11
MASTER_SITES=	http://www.habets.pp.se/synscan/files/
12
12
13
MAINTAINER=	gavin@FreeBSD.org
13
MAINTAINER=	gavin@FreeBSD.org
14
COMMENT=	ARP level "ping" utility
14
COMMENT=	ARP level "ping" utility
15
15
16
BUILD_DEPENDS=	${LIBNET_CONFIG}:${PORTSDIR}/net/libnet
16
BUILD_DEPENDS=	${LIBNET_CONFIG}:${PORTSDIR}/net/libnet
17
17
18
LDFLAGS+=	-lpcap
18
GNU_CONFIGURE=	yes
19
19
CONFIGURE_ENV=	CFLAGS+="`${LIBNET_CONFIG} --defines`" \
20
MAN8=		arping.8
20
		CPPFLAGS="-I${LOCALBASE}/include `${LIBNET_CONFIG} --cflags`" \
21
PLIST_FILES=	sbin/arping
21
		LDFLAGS="-L${LOCALBASE}/lib" \
22
		LIBS="`${LIBNET_CONFIG} --libs` -lpcap"
22
23
23
LIBNET_CONFIG?=	${LOCALBASE}/bin/libnet11-config
24
LIBNET_CONFIG?=	${LOCALBASE}/bin/libnet11-config
24
25
25
do-build:
26
MAN8=		arping.8
26
	cd ${WRKSRC} &&  \
27
PLIST_FILES=	sbin/arping
27
	${CC} ${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib \
28
	-c `${LIBNET_CONFIG} --defines` \
29
	`${LIBNET_CONFIG} --cflags` ${PORTNAME}-2/${PORTNAME}.c && \
30
	${CC} ${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib \
31
	-o ${PORTNAME} ${PORTNAME}.o \
32
	`${LIBNET_CONFIG} --libs` ${LDFLAGS}
33
34
do-install:
35
	${INSTALL_PROGRAM} ${WRKSRC}/arping ${PREFIX}/sbin
36
	${INSTALL_MAN} ${WRKSRC}/arping.8 ${PREFIX}/man/man8
37
28
38
.include <bsd.port.mk>
29
.include <bsd.port.mk>
(-)arping/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (arping-2.08.tar.gz) = 36dba82f8a6084b634aa6f4aac6225c6
1
MD5 (arping-2.09.tar.gz) = 6f6a91c8700fcc7454b4e89480e417e3
2
SHA256 (arping-2.08.tar.gz) = 9f09f992892f9f7b1dbd29dad8ba365f596e973b82e0f303805c24d870989062
2
SHA256 (arping-2.09.tar.gz) = 1b3b9df72c6717ebd2dc7cd9bfc6aab0a7c413f9b5a5c5bdadb3c9e0deb6ec46
3
SIZE (arping-2.08.tar.gz) = 33771
3
SIZE (arping-2.09.tar.gz) = 132797

Return to bug 149025