Date: Tue, 8 Apr 2003 13:46:51 +0200 (CEST) From: "Michael L.Hostbaek" <mich@freebsdcluster.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: roman@xpert.com Subject: ports/50718: Update port: net/arping Message-ID: <20030408114651.D9DC914C8C@icommerce-france.com> Resent-Message-ID: <200304081150.h38BoM5e040860@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 50718 >Category: ports >Synopsis: Update port: net/arping >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Apr 08 04:50:21 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Micahel L. Hostbaek >Release: FreeBSD 4.7-STABLE i386 >Organization: FreeBSDCluster.org >Environment: System: FreeBSD extranet.itxmarket.com 4.7-STABLE FreeBSD 4.7-STABLE #0: Fri Oct 11 17:00:45 CEST 2002 root@extranet.itxmarket.com:/usr/obj/usr/src/sys/EXTRANET1 i386 >Description: - Update to latest release. (bug fix) - Remove unnesscessary patch files - Maintainer CC'ed >How-To-Repeat: >Fix: diff -u -ruN arping.bak/Makefile arping/Makefile --- arping.bak/Makefile Tue Apr 8 13:41:30 2003 +++ arping/Makefile Tue Apr 8 13:42:03 2003 @@ -2,11 +2,11 @@ # Date Created: 1 Oct 2000 # Whom: Roman Shterenzon <roman@xpert.com> # -# $FreeBSD: ports/net/arping/Makefile,v 1.9 2003/04/08 10:46:08 edwin Exp $ +# $FreeBSD: ports/net/arping/Makefile,v 1.8 2003/02/21 13:14:34 knu Exp $ # 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,11 +16,19 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet -ALL_TARGET= freebsd -MAN8= arping.8 +LDFLAGS+= -lpcap + +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 + +MAN8= arping.8 .include <bsd.port.mk> diff -u -ruN arping.bak/distinfo arping/distinfo --- arping.bak/distinfo Tue Apr 8 13:41:30 2003 +++ arping/distinfo Tue Apr 8 13:42:09 2003 @@ -1 +1 @@ -MD5 (arping-1.06.tar.gz) = e6291334ba4c4c63e2001c0bccf9274d +MD5 (arping-1.07.tar.gz) = 37fbbe6944d1aaf294db2c33ff02c288 diff -u -ruN arping.bak/files/patch-aa arping/files/patch-aa --- arping.bak/files/patch-aa Tue Apr 8 13:41:30 2003 +++ arping/files/patch-aa Thu Jan 1 01:00:00 1970 @@ -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) >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030408114651.D9DC914C8C>