aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-04-08 12:09:49 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-04-08 12:09:49 +0000
commit311c97add12ee2ee94dab4acbb9dc5062040d772 (patch)
treeb04b0cdb0a1c0f66c7337735b89074c1b49c560c /net
parent39df19aecfd1b223878ba6acc9842aa5e6427442 (diff)
downloadports-311c97add12ee2ee94dab4acbb9dc5062040d772.tar.gz
ports-311c97add12ee2ee94dab4acbb9dc5062040d772.zip
Update port: net/arping
- Update to latest release. (bug fix) - Remove unnesscessary patch files - Maintainer CC'ed PR: ports/50718 Submitted by: "Michael L.Hostbaek" <mich@freebsdcluster.org> Approved by: talked to the maintainer earlier today about it (see ports/50322)
Notes
Notes: svn path=/head/; revision=78595
Diffstat (limited to 'net')
-rw-r--r--net/arping/Makefile14
-rw-r--r--net/arping/distinfo2
-rw-r--r--net/arping/files/patch-aa25
3 files changed, 13 insertions, 28 deletions
diff --git a/net/arping/Makefile b/net/arping/Makefile
index 2ecc8fa80721..6b8115a85e76 100644
--- a/net/arping/Makefile
+++ b/net/arping/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= arping
-PORTVERSION= 1.06
+PORTVERSION= 1.07
CATEGORIES= net
MASTER_SITES= ftp://ftp.habets.pp.se/pub/synscan/ \
ftp://ftp.cerias.purdue.edu/pub/tools/unix/netutils/arping/
@@ -16,9 +16,19 @@ COMMENT= ARP level "ping" utility
BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
-ALL_TARGET= freebsd
+LDFLAGS+= -lpcap
+
MAN8= arping.8
+do-build:
+ cd ${WRKSRC} && \
+ ${CC} ${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib \
+ -DUSE_NETIF=1 -DFREEBSD=1 -c `libnet-config --defines` \
+ `libnet-config --cflags` ${PORTNAME}.c && \
+ ${CC} ${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib \
+ -DUSE_NETIF=1 -DFREEBSD=1 -o ${PORTNAME} ${PORTNAME}.o \
+ `libnet-config --libs` ${LDFLAGS}
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/arping ${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/arping.8 ${PREFIX}/man/man8
diff --git a/net/arping/distinfo b/net/arping/distinfo
index 9398e1ac34f9..1d62155f9d9a 100644
--- a/net/arping/distinfo
+++ b/net/arping/distinfo
@@ -1 +1 @@
-MD5 (arping-1.06.tar.gz) = e6291334ba4c4c63e2001c0bccf9274d
+MD5 (arping-1.07.tar.gz) = 37fbbe6944d1aaf294db2c33ff02c288
diff --git a/net/arping/files/patch-aa b/net/arping/files/patch-aa
deleted file mode 100644
index a8e1510ec080..000000000000
--- a/net/arping/files/patch-aa
+++ /dev/null
@@ -1,25 +0,0 @@
---- Makefile.orig Sun Nov 18 19:25:43 2001
-+++ Makefile Sun Sep 29 22:46:11 2002
-@@ -9,7 +9,7 @@
- MACOSX=0
-
- # explicit pcap include dir is for redhat which is fux0red
--CFLAGS=-g -I/usr/local/include -L/usr/local/lib -DUSE_NETIF=$(USE_NETIF) -DOPENBSD=$(OPENBSD) -DLINUX=$(LINUX) -DSOLARIS=$(SOLARIS) -DFREEBSD=$(FREEBSD) -DMACOSX=$(MACOSX) -I/usr/include/pcap
-+CFLAGS+=-g -I/usr/local/include -L/usr/local/lib -DUSE_NETIF=$(USE_NETIF) -DOPENBSD=$(OPENBSD) -DLINUX=$(LINUX) -DSOLARIS=$(SOLARIS) -DFREEBSD=$(FREEBSD) -DMACOSX=$(MACOSX) -I/usr/include/pcap
-
- usage:
- @echo
-@@ -45,11 +45,11 @@
- all: $(TARGETS)
-
- arping.o: arping.c
-- gcc -Wall $(CFLAGS) -c `libnet-config --defines` `libnet-config --cflags` arping.c
-+ ${CC} -Wall $(CFLAGS) -c `libnet-config --defines` `libnet-config --cflags` arping.c
-
- O_arping=arping.o
- arping: $(O_arping)
-- gcc $(CFLAGS) -g -o $@ $(O_arping) `libnet-config --libs` -lpcap
-+ ${CC} $(CFLAGS) -g -o $@ $(O_arping) `libnet-config --libs` -lpcap
-
- clean:
- rm -f *.o $(TARGETS)