head	1.3;
access;
symbols
	pkgsrc-2013Q2:1.3.0.28
	pkgsrc-2013Q2-base:1.3
	pkgsrc-2012Q4:1.3.0.26
	pkgsrc-2012Q4-base:1.3
	pkgsrc-2011Q4:1.3.0.24
	pkgsrc-2011Q4-base:1.3
	pkgsrc-2011Q2:1.3.0.22
	pkgsrc-2011Q2-base:1.3
	pkgsrc-2009Q4:1.3.0.20
	pkgsrc-2009Q4-base:1.3
	pkgsrc-2008Q4:1.3.0.18
	pkgsrc-2008Q4-base:1.3
	pkgsrc-2008Q3:1.3.0.16
	pkgsrc-2008Q3-base:1.3
	cube-native-xorg:1.3.0.14
	cube-native-xorg-base:1.3
	pkgsrc-2008Q2:1.3.0.12
	pkgsrc-2008Q2-base:1.3
	pkgsrc-2008Q1:1.3.0.10
	pkgsrc-2008Q1-base:1.3
	pkgsrc-2007Q4:1.3.0.8
	pkgsrc-2007Q4-base:1.3
	pkgsrc-2007Q3:1.3.0.6
	pkgsrc-2007Q3-base:1.3
	pkgsrc-2007Q2:1.3.0.4
	pkgsrc-2007Q2-base:1.3
	pkgsrc-2007Q1:1.3.0.2
	pkgsrc-2007Q1-base:1.3
	pkgsrc-2006Q4:1.2.0.16
	pkgsrc-2006Q4-base:1.2
	pkgsrc-2006Q3:1.2.0.14
	pkgsrc-2006Q3-base:1.2
	pkgsrc-2006Q2:1.2.0.12
	pkgsrc-2006Q2-base:1.2
	pkgsrc-2006Q1:1.2.0.10
	pkgsrc-2006Q1-base:1.2
	pkgsrc-2005Q4:1.2.0.8
	pkgsrc-2005Q4-base:1.2
	pkgsrc-2005Q3:1.2.0.6
	pkgsrc-2005Q3-base:1.2
	pkgsrc-2005Q2:1.2.0.4
	pkgsrc-2005Q2-base:1.2
	pkgsrc-2005Q1:1.2.0.2
	pkgsrc-2005Q1-base:1.2
	pkgsrc-2004Q4:1.1.1.1.0.4
	pkgsrc-2004Q4-base:1.1.1.1
	pkgsrc-2004Q3:1.1.1.1.0.2
	pkgsrc-2004Q3-base:1.1.1.1
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.3
date	2007.02.22.17.15.21;	author rillig;	state dead;
branches;
next	1.2;

1.2
date	2005.02.01.18.24.34;	author adrianp;	state Exp;
branches;
next	1.1;

1.1
date	2004.07.07.17.30.12;	author xtraeme;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2004.07.07.17.30.12;	author xtraeme;	state Exp;
branches;
next	;


desc
@@


1.3
log
@I know I had tested the package when I did the last change, and it had
worked. But somehow, today it didn't work anymore.

Fixed everything by removing the patch for the Makefile and doing the
whole build command in the package Makefile.

Fixes PR 35786.
@
text
@$NetBSD: patch-aa,v 1.2 2005/02/01 18:24:34 adrianp Exp $

--- Makefile.orig	2004-08-29 19:47:37.000000000 +0100
+++ Makefile	2005-01-21 00:09:28.000000000 +0000
@@@@ -19,9 +19,9 @@@@
 FREEBSD=0
 MACOSX=0
 
-CC=gcc
+#CC=gcc
 # explicit pcap include dir is for redhat which is fux0red
-CFLAGS=-g -I/usr/local/include -L/usr/local/lib -DFINDIF=$(FINDIF) -DUSE_NETIF=$(USE_NETIF) -DOPENBSD=$(OPENBSD) -DLINUX=$(LINUX) -DSOLARIS=$(SOLARIS) -DFREEBSD=$(FREEBSD) -DMACOSX=$(MACOSX) -I/usr/include/pcap
+CFLAGS=-I$(BUILDLINK_DIR)/include -L$(BUILDLINK_DIR)/lib -DFINDIF=$(FINDIF) -DUSE_NETIF=$(USE_NETIF) -DOPENBSD=$(OPENBSD) -DLINUX=$(LINUX) -DSOLARIS=$(SOLARIS) -DFREEBSD=$(FREEBSD) -DMACOSX=$(MACOSX)
 
 all: message arping2
 
@@@@ -94,9 +94,9 @@@@
 	$(CC) $(CFLAGS) -g -o arping $(O_arping) `libnet-config --libs` -lpcap
 
 SYS=$(shell uname -s)
-ifeq ($(SYS),SunOS)
-EXTRA_LIBS=-lsocket -lnsl
-endif
+#ifeq ($(SYS),SunOS)
+#EXTRA_LIBS=-lsocket -lnsl
+#endif
 
 O_arping2=arping-2/arping.c
 arping2: arping-2/arping
@


1.2
log
@- Update from 2.01 to 2.05
- No ChangeLog available
- Use options.mk so users can choose arping1 with libnet 1.0.x or
  arping2 with libnet 1.1.x
@
text
@d1 1
a1 1
$NetBSD$
@


1.1
log
@Initial revision
@
text
@d3 3
a5 3
--- Makefile.orig	2003-08-04 01:20:07.000000000 +0200
+++ Makefile
@@@@ -9,9 +9,9 @@@@ SOLARIS=0
d17 2
a18 2
@@@@ -54,34 +54,34 @@@@ doc: arping.yodl
 	yodl2man -o arping.8 arping.yodl
d20 7
a26 39
 linux-nofindif:
-	make USE_NETIF=1 LINUX=1 FINDIF=0 arping1-make
+	$(MAKE) USE_NETIF=1 LINUX=1 FINDIF=0 arping1-make
 linux:
-	make USE_NETIF=1 LINUX=1 arping1-make
+	$(MAKE) USE_NETIF=1 LINUX=1 arping1-make
 
 freebsd:
-	make USE_NETIF=1 FREEBSD=1 arping1-make
+	$(MAKE) USE_NETIF=1 FREEBSD=1 arping1-make
 
 macosx:
-	make USE_NETIF=1 MACOSX=1 arping1-make
+	$(MAKE) USE_NETIF=1 MACOSX=1 arping1-make
 
 openbsd:
-	make OPENBSD=1 arping1-make
+	$(MAKE) OPENBSD=1 arping1-make
 netbsd:
-	make openbsd
+	$(MAKE) openbsd
 
 solaris:
-	make USE_NETIF=0 SOLARIS=1 arping1-make
+	$(MAKE) USE_NETIF=0 SOLARIS=1 arping1-make
 
 install:
-	install -c arping /usr/local/bin/arping
-	install arping.8 /usr/local/man/man8/arping.8
+	$(BSD_INSTALL) -c arping $(PREFIX)/bin/arping
+	$(BSD_INSTALL) -c arping.8 $(PREFIX)/man/man8/arping.8
 
 arping.o: arping.c
 	$(CC) -Wall $(CFLAGS) -c `libnet-config --defines` `libnet-config --cflags` arping.c
 
 O_arping=arping.o
 arping1-make: $(O_arping)
-	$(CC) $(CFLAGS) -g -o arping $(O_arping) `libnet-config --libs` -lpcap
+	$(CC) $(CFLAGS) -o arping $(O_arping) `libnet-config --libs` -lpcap
@


1.1.1.1
log
@Initial import of arping-2.01 from pkgsrc-wip, contributed by
Quentin Garnier.

Arping can be used to find out it a specific IP address on the LAN is 'taken'
and what MAC address owns it.  Sure, you *could* just use 'ping' to find out if
it's taken and even if the computer blocks ping (and everything else) you still
get an entry in your ARP cache.  But what if you aren't on a routable net?  Or
the host blocks ping (all ICMP even)?  Then you're screwed.  Or you use arping.
@
text
@@
