FreeBSD Bugzilla – Attachment 30004 Details for
Bug 50718
Update port: net/arping
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.69 KB, created by
Michael L. Hostbaek
on 2003-04-08 12:50:21 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Michael L. Hostbaek
Created:
2003-04-08 12:50:21 UTC
Size:
2.69 KB
patch
obsolete
>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)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 50718
: 30004