Skip to content

Commit

Permalink
Remove rarpd
Browse files Browse the repository at this point in the history
rarpd implements Reverse Address Resolution Protocol (RARP) defined in
RFC 903 (1984). It's obsolete since 1985, by BOOTP and later DHCP
protocols.

Fixes: #363

Suggested-by: Noah Meyerhans <noahm@debian.org>
Acked-by: Mike Gilbert <floppym@gentoo.org>
Acked-by: Rosen Penev <rosenp@gmail.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Sevan Janiyan <venture37@geeklan.co.uk>
Signed-off-by: Petr Vorel <pvorel@suse.cz>
  • Loading branch information
pevik committed Dec 23, 2021
1 parent 8f0d897 commit fba7b62
Show file tree
Hide file tree
Showing 11 changed files with 2 additions and 970 deletions.
1 change: 0 additions & 1 deletion LICENSE
@@ -1,7 +1,6 @@
arping: GPL v2 or later
clockdiff: BSD-3
ping: BSD-3
rarp: GPL v2 or later
rdisc: AS-IS, SUN MICROSYSTEMS license
tracepath: GPL v2 or later

Expand Down
2 changes: 1 addition & 1 deletion build.sh
Expand Up @@ -6,7 +6,7 @@ CC="${CC:-gcc}"
BUILD_DIR="${BUILD_DIR:-builddir}"
PREFIX="${PREFIX:-$HOME/iputils-install}"

BUILD_OPTS="-Dprefix=$PREFIX -DBUILD_RARPD=true $EXTRA_BUILD_OPTS"
BUILD_OPTS="-Dprefix=$PREFIX $EXTRA_BUILD_OPTS"
[ -z "$EXTRA_BUILD_OPTS" ] && BUILD_OPTS="$BUILD_OPTS -DBUILD_HTML_MANS=true"
[ -f "meson.cross" ] && BUILD_OPTS="--cross-file $PWD/meson.cross $BUILD_OPTS"

Expand Down
4 changes: 0 additions & 4 deletions doc/meson.build
Expand Up @@ -16,10 +16,6 @@ if build_ping == true
manpages += ['ping']
endif

if build_rarpd == true
manpages += ['rarpd']
endif

if build_rdisc == true
manpages += ['rdisc']
endif
Expand Down
184 changes: 0 additions & 184 deletions doc/rarpd.xml

This file was deleted.

4 changes: 1 addition & 3 deletions iputils.doap
Expand Up @@ -9,9 +9,7 @@ xmlns:foaf="http://xmlns.com/foaf/0.1/">
<shortdesc>The iputils package is set of small utilities for
Linux networking.</shortdesc>
<description>The iputils package includes arping, clockdiff,
ping, rarpd, rdisc, tracepath.
The rarpd is not built by default, this utility is obsoleted by
bootp and later dhcp protocols.</description>
ping, rdisc, tracepath.</description>
<bug-database rdf:resource="https://github.com/iputils/iputils/issues" />
<download-page rdf:resource="https://github.com/iputils/iputils/releases" />
<programming-language>C</programming-language>
Expand Down
19 changes: 0 additions & 19 deletions meson.build
Expand Up @@ -24,7 +24,6 @@ conf.set('_GNU_SOURCE', 1, description : 'Enable GNU extensions on systems that
build_arping = get_option('BUILD_ARPING')
build_clockdiff = get_option('BUILD_CLOCKDIFF')
build_ping = get_option('BUILD_PING')
build_rarpd = get_option('BUILD_RARPD')
build_rdisc = get_option('BUILD_RDISC')
build_rdisc_server = get_option('ENABLE_RDISC_SERVER')
build_tracepath = get_option('BUILD_TRACEPATH')
Expand Down Expand Up @@ -255,23 +254,6 @@ if build_arping == true
endif
endif

if build_rarpd == true
rarpd = executable('rarpd', ['rarpd.c', git_version_h],
install_dir: sbindir,
link_with : [libcommon],
install: true)
if install_systemd_units
subs = configuration_data()
subs.set('sbindir', sbindir)
unit_file = configure_file(
input: 'systemd/rarpd.service.in',
output: 'rarpd@.service',
configuration: subs
)
install_data(unit_file, install_dir: systemdunitdir)
endif
endif

if build_mans == true or build_html_mans == true
subdir ('doc')
endif
Expand All @@ -289,7 +271,6 @@ output += 'clockdiff: ' + build_clockdiff.to_string()
output += ' (capability or suid: ' + setcap_clockdiff.to_string() + ')\n'
output += 'ping: ' + build_ping.to_string()
output += ' (capability or suid: ' + setcap_ping.to_string() + ')\n'
output += 'rarpd: ' + build_rarpd.to_string() + '\n'
output += 'rdisc: ' + build_rdisc.to_string()
output += ' (server: ' + build_rdisc_server.to_string() + ', '
output += 'capability or suid: ' + setcap_rdisc.to_string() + ')\n'
Expand Down
3 changes: 0 additions & 3 deletions meson_options.txt
Expand Up @@ -15,9 +15,6 @@ option('BUILD_CLOCKDIFF', type : 'boolean', value : true,
option('BUILD_PING', type : 'boolean', value : true,
description : 'Build ping')

option('BUILD_RARPD', type : 'boolean', value : false,
description : 'Build rarpd')

option('BUILD_RDISC', type : 'boolean', value : true,
description : 'Build RDISC')

Expand Down

0 comments on commit fba7b62

Please sign in to comment.