retitle 416695 Advertisement in rarp.8 manual tags 416695 + patch thanks Hi!
This still persists, unchanged since 2007, except now dementia.org is a
content-free ad farm.
I'm attaching two patches:
rarp.8-ad which simply replaces that text with
"install the rarpd package"
(there is no upstream, according to rarpd d/watch:
# The location used to be at http://rawhide.redhat.com/,
# but seems to be extinct now.
)
rarp-deletion which removes rarp and rarp.8 from the distribution;
rarp.8 itself says it's useless since Linux "2.3",
so the latest supported release is 2.2.26
(or, well, you could say 2.2.27-rc1),
which EOLed over a decade ago; it's before snapshot.d.o
reaches so I can't say for certain w/o inspecting
install ISOs, but I'd hazard a guess the last compatible
Debian for it was the 2.x-series, either Slink or Potato.
All it says is
$ rarp -a
This kernel does not support RARP.
Let it die.
The latter yields the following debdiff:
-- >8 --
[The following lists of changes regard files as different if they have
different names, permissions or owners.]
Files in first .deb but not in second
-------------------------------------
-rw-r--r-- root/root /usr/share/man/de/man8/rarp.8.gz
-rw-r--r-- root/root /usr/share/man/fr/man8/rarp.8.gz
-rw-r--r-- root/root /usr/share/man/man8/rarp.8.gz
-rw-r--r-- root/root /usr/share/man/pt_BR/man8/rarp.8.gz
-rwxr-xr-x root/root /sbin/rarp
Control files: lines which differ (wdiff format)
------------------------------------------------
[-rarp,-]
Installed-Size: [-991-] {+945+}
-- >8 --
Best,
наб
--- net-tools-1.60+git20181103.0eebece.orig/man/en_US/rarp.8 +++ net-tools-1.60+git20181103.0eebece/man/en_US/rarp.8 @@ -13,8 +13,9 @@ rarp \- manipulate the system RARP table .P This program is obsolete. From version 2.3, the Linux kernel no longer contains RARP support. For a replacement RARP daemon, see -.I -ftp://ftp.dementia.org/pub/net\-tools +the +.B rarpd +package. .SH DESCRIPTION .B Rarp manipulates the kernel's RARP table in various ways. The primary options
diff --git a/net-tools-1.60+git20181103.0eebece.orig/debian/control
b/net-tools-1.60+git20181103.0eebece/debian/control
index 3966fe7..0789a63 100644
--- a/net-tools-1.60+git20181103.0eebece.orig/debian/control
+++ b/net-tools-1.60+git20181103.0eebece/debian/control
@@ -21,7 +21,7 @@ Depends: ${misc:Depends},
Description: NET-3 networking toolkit
This package includes the important tools for controlling the network
subsystem of the Linux kernel. This includes arp, ifconfig, netstat,
- rarp, nameif and route. Additionally, this package contains utilities
+ nameif and route. Additionally, this package contains utilities
relating to particular network hardware types (plipconfig, slattach,
mii-tool) and advanced aspects of IP configuration (iptunnel, ipmaddr).
.
diff --git a/net-tools-1.60+git20181103.0eebece.orig/debian/install
b/net-tools-1.60+git20181103.0eebece/debian/install
index 950abb2..eb9d2ee 100644
--- a/net-tools-1.60+git20181103.0eebece.orig/debian/install
+++ b/net-tools-1.60+git20181103.0eebece/debian/install
@@ -6,6 +6,5 @@ mii-tool /sbin
nameif /sbin
netstat /bin
plipconfig /sbin
-rarp /sbin
route /sbin
slattach /sbin
diff --git a/net-tools-1.60+git20181103.0eebece.orig/debian/rules
b/net-tools-1.60+git20181103.0eebece/debian/rules
index 4cd8fbb..a96cd56 100755
--- a/net-tools-1.60+git20181103.0eebece.orig/debian/rules
+++ b/net-tools-1.60+git20181103.0eebece/debian/rules
@@ -20,10 +20,10 @@ COPTS := -D_GNU_SOURCE -Wall $(shell dpkg-buildflags --get
CFLAGS) \
$(shell dpkg-buildflags --get CPPFLAGS)
LOPTS := $(shell dpkg-buildflags --get LDFLAGS)
-PROGS = ifconfig arp netstat route rarp slattach plipconfig \
+PROGS = ifconfig arp netstat route slattach plipconfig \
nameif iptunnel ipmaddr mii-tool
MANPAGES = arp.8 ethers.5 ifconfig.8 mii-tool.8 nameif.8 netstat.8 \
- plipconfig.8 rarp.8 route.8 slattach.8
+ plipconfig.8 route.8 slattach.8
DEB_MANPAGES = iptunnel.8
%:
signature.asc
Description: PGP signature

