Skip to content

Commit fba7b62

Browse files
committed
Remove rarpd
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>
1 parent 8f0d897 commit fba7b62

File tree

11 files changed

+2
-970
lines changed

11 files changed

+2
-970
lines changed

LICENSE

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
arping: GPL v2 or later
22
clockdiff: BSD-3
33
ping: BSD-3
4-
rarp: GPL v2 or later
54
rdisc: AS-IS, SUN MICROSYSTEMS license
65
tracepath: GPL v2 or later
76

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ CC="${CC:-gcc}"
66
BUILD_DIR="${BUILD_DIR:-builddir}"
77
PREFIX="${PREFIX:-$HOME/iputils-install}"
88

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

doc/meson.build

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ if build_ping == true
1616
manpages += ['ping']
1717
endif
1818

19-
if build_rarpd == true
20-
manpages += ['rarpd']
21-
endif
22-
2319
if build_rdisc == true
2420
manpages += ['rdisc']
2521
endif

doc/rarpd.xml

Lines changed: 0 additions & 184 deletions
This file was deleted.

iputils.doap

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ xmlns:foaf="http://xmlns.com/foaf/0.1/">
99
<shortdesc>The iputils package is set of small utilities for
1010
Linux networking.</shortdesc>
1111
<description>The iputils package includes arping, clockdiff,
12-
ping, rarpd, rdisc, tracepath.
13-
The rarpd is not built by default, this utility is obsoleted by
14-
bootp and later dhcp protocols.</description>
12+
ping, rdisc, tracepath.</description>
1513
<bug-database rdf:resource="https://github.com/iputils/iputils/issues" />
1614
<download-page rdf:resource="https://github.com/iputils/iputils/releases" />
1715
<programming-language>C</programming-language>

meson.build

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ conf.set('_GNU_SOURCE', 1, description : 'Enable GNU extensions on systems that
2424
build_arping = get_option('BUILD_ARPING')
2525
build_clockdiff = get_option('BUILD_CLOCKDIFF')
2626
build_ping = get_option('BUILD_PING')
27-
build_rarpd = get_option('BUILD_RARPD')
2827
build_rdisc = get_option('BUILD_RDISC')
2928
build_rdisc_server = get_option('ENABLE_RDISC_SERVER')
3029
build_tracepath = get_option('BUILD_TRACEPATH')
@@ -255,23 +254,6 @@ if build_arping == true
255254
endif
256255
endif
257256

258-
if build_rarpd == true
259-
rarpd = executable('rarpd', ['rarpd.c', git_version_h],
260-
install_dir: sbindir,
261-
link_with : [libcommon],
262-
install: true)
263-
if install_systemd_units
264-
subs = configuration_data()
265-
subs.set('sbindir', sbindir)
266-
unit_file = configure_file(
267-
input: 'systemd/rarpd.service.in',
268-
output: 'rarpd@.service',
269-
configuration: subs
270-
)
271-
install_data(unit_file, install_dir: systemdunitdir)
272-
endif
273-
endif
274-
275257
if build_mans == true or build_html_mans == true
276258
subdir ('doc')
277259
endif
@@ -289,7 +271,6 @@ output += 'clockdiff: ' + build_clockdiff.to_string()
289271
output += ' (capability or suid: ' + setcap_clockdiff.to_string() + ')\n'
290272
output += 'ping: ' + build_ping.to_string()
291273
output += ' (capability or suid: ' + setcap_ping.to_string() + ')\n'
292-
output += 'rarpd: ' + build_rarpd.to_string() + '\n'
293274
output += 'rdisc: ' + build_rdisc.to_string()
294275
output += ' (server: ' + build_rdisc_server.to_string() + ', '
295276
output += 'capability or suid: ' + setcap_rdisc.to_string() + ')\n'

meson_options.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ option('BUILD_CLOCKDIFF', type : 'boolean', value : true,
1515
option('BUILD_PING', type : 'boolean', value : true,
1616
description : 'Build ping')
1717

18-
option('BUILD_RARPD', type : 'boolean', value : false,
19-
description : 'Build rarpd')
20-
2118
option('BUILD_RDISC', type : 'boolean', value : true,
2219
description : 'Build RDISC')
2320

0 commit comments

Comments
 (0)