Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 27023

Summary: net-analyzer/arping-1.x and net-misc/iputils overwrite each other.
Product: Gentoo Linux Reporter: David M. Andersen <dma>
Component: New packagesAssignee: SpanKY <vapier>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 514934    
Attachments: ebuild that makes "arping2". (see comments)

Description David M. Andersen 2003-08-20 18:31:09 UTC
net-analyzer/arping-1.06 and net-misc/iputils both write 
to /usr/share/man/man8/arping.8.gz.  net-misc/iputils writes a binary 
at /sbin/arping and net-analyzer/arping-1.06 writes a binary 
at /usr/sbin/arping.

These programs are not the same (as they have different options, etc.).

In addition, http://www.habets.pp.se/synscan/programs.php?prog=ARPing has the 
latest version of arping (2.01) which uses the newer libnet.

I'm going to attach an ebuild that installs Thomas Habets' arping as arping2 
(/usr/sbin/arping2, /usr/share/man/man8/arping2.8).  This is the approach used 
for the host/hostx commands.


Reproducible: Always
Steps to Reproduce:
1. emerge iputils; man arping
2. (found)
3. emerge arping; unmerge arping; man arping
4. (not found)

Actual Results:  
see above.

Expected Results:  
preservation of man page, possible renaming of binary/manpage.

Portage 2.0.48-r7 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r1 i686 AMD Athlon(TM) XP 2200+
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share
/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm avi crypt cups encode foomaticdb gif jpeg gnome libg++ 
mad mikmod mmx mpeg ncurses nls pdflib png spell truetype xml2 xmms xv zlib 
alsa gdbm berkdb slang readline arts tetex bonobo svga tcltk java guile ruby 
mysql postgres X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis 
gtk qt kde motif opengl mozilla ldap snmp acl acpi acpi4linux afs cjk curl dga 
dvb dvd flash freetype gd-bundled glut gtk2 gtkhtml innodb ipv6 jikes kerberos 
mbox mozinterfaceinfo mozsvg mozxmlterm odbc rage128 samba sse threads tiff usb 
wmf xfs xml -quicktime faad -apache2 lcms krb4 mozaccess mozcalendar mozp3p"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-fomit-frame-pointer -mcpu=athlon-xp -march=athlon-xp -O2 -pipe -
fprefetch-loop-arrays -msse -m3dnow -falign-functions=4 -mfpmath=sse,387"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache fixpackages"
Comment 1 David M. Andersen 2003-08-20 18:33:25 UTC
Created attachment 16400 [details]
ebuild that makes "arping2".  (see comments)

I decided to be evil and I just embedded the patch directly into the ebuild (it
is only four lines long anyway).
Comment 2 SpanKY gentoo-dev 2003-08-20 21:38:02 UTC
i added my local copy of arping's due to the fact that they work with the new libnet that i just added (Bug 17772) :)

arping-1.x is also now in SLOT 1 while arping-2.x is in 2 ...
arping-1.x is now 'arping1' while arping-2.x is now 'arping2' ... this allows you to use both versions of arping along with the iputils version