Bug 21670 - MAINTAINER: new port: net/arping
Summary: MAINTAINER: new port: net/arping
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-10-01 14:40 UTC by Roman Shterenzon
Modified: 2000-10-16 15:30 UTC (History)
0 users

See Also:


Attachments
file.shar (2.08 KB, text/plain)
2000-10-01 14:40 UTC, Roman Shterenzon
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Shterenzon 2000-10-01 14:40:01 UTC
From README:

Arping is a util 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? Then
you're screwed. Or you use arping.
Comment 1 jeh freebsd_committer freebsd_triage 2000-10-16 14:34:16 UTC
Build errors.

===>  Patching for arping-0.94
===>  Configuring for arping-0.94
===>  Building for arping-0.94
make USE_NETIF=1 FREEBSD=1 all
gcc -Wall -g -I/usr/local/include -L/usr/local/lib -DUSE_NETIF=1
-DOPENBSD=0
-DLINUX=0 -DSOLARIS=0 -DFREEBSD=1 -I/usr/include/pcap -c `libnet-config
--defines` `libnet-config --cflags` arping.c
gcc -g -I/usr/local/include -L/usr/local/lib -DUSE_NETIF=1 -DOPENBSD=0
-DLINUX=0 -DSOLARIS=0 -DFREEBSD=1 -I/usr/include/pcap -g -o arping
arping.o
`libnet-config --libs` -lpcap
/usr/local/lib/libnet.so: file not recognized: File format not
recognized
*** Error code 1

This error also exists after applying PR 21778 to update to version 0.95

Jim
-- 
jeh@FreeBSD.org      http://www.FreeBSD.org     The Power to Serve
jim@TheHousleys.Net  http://www.TheHousleys.net
---------------------------------------------------------------------
Unix is very user-friendly.  It's just picky who its friends are.
Comment 2 Roman Shterenzon 2000-10-16 15:13:57 UTC
On Mon, 16 Oct 2000, James E. Housley wrote:

> Build errors.
> 
> ===>  Patching for arping-0.94
> ===>  Configuring for arping-0.94
> ===>  Building for arping-0.94
> make USE_NETIF=1 FREEBSD=1 all
> gcc -Wall -g -I/usr/local/include -L/usr/local/lib -DUSE_NETIF=1
> -DOPENBSD=0
> -DLINUX=0 -DSOLARIS=0 -DFREEBSD=1 -I/usr/include/pcap -c `libnet-config
> --defines` `libnet-config --cflags` arping.c
> gcc -g -I/usr/local/include -L/usr/local/lib -DUSE_NETIF=1 -DOPENBSD=0
> -DLINUX=0 -DSOLARIS=0 -DFREEBSD=1 -I/usr/include/pcap -g -o arping
> arping.o
> `libnet-config --libs` -lpcap
> /usr/local/lib/libnet.so: file not recognized: File format not
> recognized
> *** Error code 1
> 
This has nothing to do with arping, rather with libnet.
please run file /usr/local/lib/libnet.so
This file shouldn't be present, libnet's plist doesn't mention it, and I
just tried it on 4.1-STABLE machine and it doesn't appear here.

--Roman Shterenzon, UNIX System Administrator and Consultant
[ Xpert UNIX Systems Ltd., Herzlia, Israel. Tel: +972-9-9522361 ]
Comment 3 jeh freebsd_committer freebsd_triage 2000-10-16 15:25:14 UTC
Roman Shterenzon wrote:
> This has nothing to do with arping, rather with libnet.
> please run file /usr/local/lib/libnet.so
> This file shouldn't be present, libnet's plist doesn't mention it, and I
> just tried it on 4.1-STABLE machine and it doesn't appear here.
> 
This is on my machine from a JAVA package I have installed. 

Sorry.
Jim
-- 
jeh@FreeBSD.org      http://www.FreeBSD.org     The Power to Serve
jim@TheHousleys.Net  http://www.TheHousleys.net
---------------------------------------------------------------------
"...there's no idea that's so good you can't 
    ruin it with a few well-placed idiots." 
    -- Charles Spickman
Comment 4 jeh freebsd_committer freebsd_triage 2000-10-16 15:27:57 UTC
State Changed
From-To: open->closed

Committed.  Thanks.