diff options
author | edwin <edwin@FreeBSD.org> | 2003-04-08 12:09:49 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-04-08 12:09:49 +0000 |
commit | 42eccdd0a58453a863f972a767549fd46c2199e0 (patch) | |
tree | 9ef4907d6ee059bf42fd8e4c37acbe40ec8e8c77 /net/arping | |
parent | 04ebfcd83e1ac4cf93c81bed6a3b282f31b12c1a (diff) | |
download | FreeBSD-ports-42eccdd0a58453a863f972a767549fd46c2199e0.zip FreeBSD-ports-42eccdd0a58453a863f972a767549fd46c2199e0.tar.gz |
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)
Diffstat (limited to 'net/arping')
-rw-r--r-- | net/arping/Makefile | 14 | ||||
-rw-r--r-- | net/arping/distinfo | 2 | ||||
-rw-r--r-- | net/arping/files/patch-aa | 25 |
3 files changed, 13 insertions, 28 deletions
diff --git a/net/arping/Makefile b/net/arping/Makefile index 2ecc8fa..6b8115a8 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 9398e1a..1d62155 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 a8e1510..0000000 --- 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) |