From mapc@alchemy.oven.org  Thu Oct  5 18:03:25 2000
Return-Path: <mapc@alchemy.oven.org>
Received: from alchemy.oven.org (shiva5.ksl.co.il [199.203.25.40])
	by hub.freebsd.org (Postfix) with ESMTP id 0F97337B502
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  5 Oct 2000 18:03:22 -0700 (PDT)
Received: (from mapc@localhost)
	by alchemy.oven.org (8.11.0/8.11.0) id e9603XB96207;
	Fri, 6 Oct 2000 03:03:33 +0300 (IDT)
	(envelope-from mapc)
Message-Id: <200010060003.e9603XB96207@alchemy.oven.org>
Date: Fri, 6 Oct 2000 03:03:33 +0300 (IDT)
From: Roman Shterenzon <roman@xpert.com>
Sender: mapc@alchemy.oven.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: update arping from 0.94 to 0.95
X-Send-Pr-Version: 3.2

>Number:         21778
>Category:       ports
>Synopsis:       update arping from 0.94 to 0.95
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 05 18:10:01 PDT 2000
>Closed-Date:    Mon Oct 16 07:28:20 PDT 2000
>Last-Modified:  Mon Oct 16 07:28:33 PDT 2000
>Originator:     Roman Shterenzon
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
Roman Shterenzon
>Environment:


>Description:

This is an update for arping from 0.94 to 0.95 which has a manpage now.
I attach both the diff and the shar in case it wasn't committed yet.

>How-To-Repeat:


>Fix:

diff -urN arping.old/Makefile arping/Makefile
--- arping.old/Makefile	Sun Oct  1 16:28:08 2000
+++ arping/Makefile	Fri Oct  6 02:59:24 2000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	arping
-PORTVERSION=	0.94
+PORTVERSION=	0.95
 CATEGORIES=     net
 MASTER_SITES=	ftp://ftp.nss.nu/pub/synscan/
 
@@ -15,8 +15,10 @@
 BUILD_DEPENDS=	${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
 
 ALL_TARGET=	freebsd
+MAN8=		arping.8
 
 do-install:
-	cd ${WRKSRC}; ${INSTALL_PROGRAM} arping ${PREFIX}/sbin
+	${INSTALL_PROGRAM} ${WRKSRC}/arping ${PREFIX}/sbin
+	${INSTALL_MAN} ${WRKSRC}/arping.8 ${PREFIX}/man/man8
 
 .include <bsd.port.mk>
diff -urN arping.old/files/md5 arping/files/md5
--- arping.old/files/md5	Sun Oct  1 16:28:49 2000
+++ arping/files/md5	Fri Oct  6 02:58:17 2000
@@ -1 +1 @@
-MD5 (arping-0.94.tar.gz) = 3907c8a7942eb8fa57da3e50ef9266bc
+MD5 (arping-0.95.tar.gz) = a9647360fc8b5b4caeec38bd3256228c


and the shar:


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	arping
#	arping/Makefile
#	arping/pkg
#	arping/pkg/DESCR
#	arping/pkg/COMMENT
#	arping/pkg/PLIST
#	arping/files
#	arping/files/md5
#
echo c - arping
mkdir -p arping > /dev/null 2>&1
echo x - arping/Makefile
sed 's/^X//' >arping/Makefile << 'END-of-arping/Makefile'
X# New ports collection makefile for:	arping
X# Date Created:				1 Oct 2000
X# Whom:					Roman Shterenzon <roman@xpert.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	arping
XPORTVERSION=	0.95
XCATEGORIES=     net
XMASTER_SITES=	ftp://ftp.nss.nu/pub/synscan/
X
XMAINTAINER=	roman@xpert.com
X
XBUILD_DEPENDS=	${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
X
XALL_TARGET=	freebsd
XMAN8=		arping.8
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/arping ${PREFIX}/sbin
X	${INSTALL_MAN} ${WRKSRC}/arping.8 ${PREFIX}/man/man8
X
X.include <bsd.port.mk>
END-of-arping/Makefile
echo c - arping/pkg
mkdir -p arping/pkg > /dev/null 2>&1
echo x - arping/pkg/DESCR
sed 's/^X//' >arping/pkg/DESCR << 'END-of-arping/pkg/DESCR'
XArping is a util to find out it a specific IP address on the LAN is 'taken'
Xand what MAC address owns it. Sure, you *could* just use 'ping' to find out if
Xit's taken and even if the computer blocks ping (and everything else) you still
Xget an entry in your arp cache. But what if you aren't on a routable net? Then
Xyou're screwed. Or you use arping.
X
XWWW: http://synscan.nss.nu/programs.php
X
XRoman Shterenzon <roman@xpert.com>
END-of-arping/pkg/DESCR
echo x - arping/pkg/COMMENT
sed 's/^X//' >arping/pkg/COMMENT << 'END-of-arping/pkg/COMMENT'
XARP level "ping" utility
END-of-arping/pkg/COMMENT
echo x - arping/pkg/PLIST
sed 's/^X//' >arping/pkg/PLIST << 'END-of-arping/pkg/PLIST'
Xsbin/arping
END-of-arping/pkg/PLIST
echo c - arping/files
mkdir -p arping/files > /dev/null 2>&1
echo x - arping/files/md5
sed 's/^X//' >arping/files/md5 << 'END-of-arping/files/md5'
XMD5 (arping-0.95.tar.gz) = a9647360fc8b5b4caeec38bd3256228c
END-of-arping/files/md5
exit


>Release-Note:
>Audit-Trail:

From: "James E. Housley" <jeh@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org, roman@xpert.com
Cc:  
Subject: Re: ports/21778: update arping from 0.94 to 0.95
Date: Mon, 16 Oct 2000 09:32:49 -0400

 Build errors.
 
 ===>  Extracting for arping-0.95
 >> Checksum OK for arping-0.95.tar.gz.
 ===>   arping-0.95 depends on file: /usr/local/lib/libnet.a - found
 ===>  Patching for arping-0.95
 ===>  Configuring for arping-0.95
 ===>  Building for arping-0.95
 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
 
 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.
 
State-Changed-From-To: open->closed 
State-Changed-By: jeh 
State-Changed-When: Mon Oct 16 07:28:20 PDT 2000 
State-Changed-Why:  
Committed.  Thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21778 
>Unformatted:
