Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 257864 - net-analyzer/arping-2.08 produces bad manpage and script
Summary: net-analyzer/arping-2.08 produces bad manpage and script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-06 09:36 UTC by Arthur D.
Modified: 2009-12-10 17:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arthur D. 2009-02-06 09:36:14 UTC
1) Here's what we have in manpage:
"arping2ing", "arping2-scan-net.sh", "arping2 2.x only" which are incorrect.

2) Script arping-scan-net.sh attempts to call arping instead of arping2 (thanks to ebuild, which renames arping to arping2)

Reproducible: Always




Here's what should be done to fix these issues:
1)
sed -i "s/\(${PN}\)/\12/g" ${PN}.8 || die "sed ${PN}.8 failed"
  CHANGE TO:
sed -i "s/\(${PN}\)\(\W\)/\12\2/g;s,${PN}2-,${PN}-,g;s,(${PN}2 2.*\.x only) ,,g" ${PN}.8 || die "sed ${PN}.8 failed"
2)
Add this somewhere after previous sed:
sed -i "s,${PN} -,${PN}2 -,g" ${PN}-scan-net.sh

3)
Or just leave "arping" name instead of "arping2".
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2009-12-10 17:53:35 UTC
Thanks for reporting. This is fixed in net-analyzer/arping-2.0.8-r1.