Skip to content

Commit

Permalink
Remove ninfod
Browse files Browse the repository at this point in the history
ninfod implements responses to IPv6 Node Information Queries (RFC4620)
from clients.

RFC4620 is an obsolete experimental protocol that hasn't seen any
activity since 2006. It's pretty dead at this point.

Fixes: #363

Suggested-by: Noah Meyerhans <noahm@debian.org>
Acked-by: Jan Synacek <jan.synacek@scrive.com>
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 1d1e7c4 commit 8f0d897
Show file tree
Hide file tree
Showing 21 changed files with 2 additions and 3,233 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- container: "debian:stable"
env:
CC: gcc
EXTRA_BUILD_OPTS: "-DUSE_CAP=false -DUSE_IDN=false -DBUILD_ARPING=false -DBUILD_CLOCKDIFF=false -DENABLE_RDISC_SERVER=false -DNINFOD_MESSAGES=false -DNO_SETCAP_OR_SUID=true -DUSE_GETTEXT=false"
EXTRA_BUILD_OPTS: "-DUSE_CAP=false -DUSE_IDN=false -DBUILD_ARPING=false -DBUILD_CLOCKDIFF=false -DENABLE_RDISC_SERVER=false -DNO_SETCAP_OR_SUID=true -DUSE_GETTEXT=false"

# other builds
- container: "centos:latest"
Expand Down
1 change: 0 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
arping: GPL v2 or later
clockdiff: BSD-3
ninfod: BSD-3
ping: BSD-3
rarp: GPL v2 or later
rdisc: AS-IS, SUN MICROSYSTEMS license
Expand Down
4 changes: 0 additions & 4 deletions doc/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ if build_tracepath == true
manpages += ['tracepath']
endif

if build_ninfod == true
manpages += ['ninfod']
endif

xsltproc = find_program('xsltproc', required : build_mans or build_html_mans)
xsltproc_args = [
'--nonet',
Expand Down
168 changes: 0 additions & 168 deletions doc/ninfod.xml

This file was deleted.

2 changes: 1 addition & 1 deletion iputils.doap
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +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,
ninfod, ping, rarpd, rdisc, tracepath.
ping, rarpd, rdisc, tracepath.
The rarpd is not built by default, this utility is obsoleted by
bootp and later dhcp protocols.</description>
<bug-database rdf:resource="https://github.com/iputils/iputils/issues" />
Expand Down
54 changes: 0 additions & 54 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,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_ninfod = get_option('BUILD_NINFOD')
nifold_messages = get_option('NINFOD_MESSAGES')
build_ping = get_option('BUILD_PING')
build_rarpd = get_option('BUILD_RARPD')
build_rdisc = get_option('BUILD_RDISC')
Expand Down Expand Up @@ -153,52 +151,6 @@ if build_rdisc == true
endif
endif

if build_ninfod == true
foreach h : [
'inttypes.h',
'limits.h',
'linux/rtnetlink.h',
'memory.h',
'netdb.h',
'netinet/icmp6.h',
'netinet/in.h',
'netinet/ip6.h',
'pwd.h',
'stdint.h',
'stdlib.h',
'string.h',
'strings.h',
'sys/capability.h',
'syslog.h',
'sys/time.h',
'sys/types.h',
'sys/uio.h',
'sys/utsname.h',
'unistd.h',
]
if cc.has_header(h)
conf.set('HAVE_' + h.to_upper().underscorify(), 1,
description : 'Define if ' + h + ' can be included.')
endif
endforeach
if cc.has_header('stdio.h') and cc.has_header('stdlib.h') and cc.has_header('stddef.h') and cc.has_header('stdarg.h')
conf.set('STDC_HEADERS', 1,
description : 'Define to 1 if you have the ANSI C header files.')
endif
threads = dependency('threads')
if threads.found()
conf.set('ENABLE_THREADS', 1,
description : 'Defined if libpthread is found.')
endif
if host_machine.endian() == 'big'
conf.set('WORDS_BIGENDIAN', 1,
description : 'Defined if processor stores words with the most significant byte first.')
endif
if nifold_messages == true
conf.set('ENABLE_DEBUG', 1, description : 'Enable ninfod syslog messages.')
endif
endif

foreach h : [
'error.h',
]
Expand Down Expand Up @@ -320,10 +272,6 @@ if build_rarpd == true
endif
endif

if build_ninfod == true
subdir ('ninfod')
endif

if build_mans == true or build_html_mans == true
subdir ('doc')
endif
Expand All @@ -339,8 +287,6 @@ output += 'arping: ' + build_arping.to_string()
output += ' (capability or suid: ' + setcap_arping.to_string() + ')\n'
output += 'clockdiff: ' + build_clockdiff.to_string()
output += ' (capability or suid: ' + setcap_clockdiff.to_string() + ')\n'
output += 'ninfod: ' + build_ninfod.to_string()
output += ' (syslog: ' + nifold_messages.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'
Expand Down
6 changes: 0 additions & 6 deletions meson_options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,6 @@ option('ENABLE_RDISC_SERVER', type : 'boolean', value : true,
option('BUILD_TRACEPATH', type : 'boolean', value : true,
description : 'Build tracepath')

option('BUILD_NINFOD', type : 'boolean', value : true,
description : 'Build ninfod')

option('NINFOD_MESSAGES', type : 'boolean', value : true,
description : 'Enable ninfod syslog messages')

option('BUILD_MANS', type : 'boolean', value : true,
description : 'Build manuals')

Expand Down
26 changes: 0 additions & 26 deletions ninfod/COPYING

This file was deleted.

47 changes: 0 additions & 47 deletions ninfod/icmp6_nodeinfo.h

This file was deleted.

Loading

0 comments on commit 8f0d897

Please sign in to comment.