Opened 7 years ago

Closed 7 years ago

#55000 closed request (fixed)

telnet port request (High Sierra)

Reported by: SaintBol Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: highsierra Cc: Schamschula (Marius Schamschula), raimue (Rainer Müller), chrisminett (Chris Minett)
Port: telnet

Description

As Apple has removed telnet (and ftp, and rcp, rlogin, rsh... but not tftp) in High Sierra, it's now up to macports to provide such feature.

Two possibilities (at least):

Change History (21)

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Keywords: telnet removed
Version: 2.4.1

comment:2 Changed 7 years ago by Schamschula (Marius Schamschula)

comment:3 Changed 7 years ago by Schamschula (Marius Schamschula)

I created the inetutils port for that very reason, while High Sierra was still in beta. I have now pushed it to the main repository.

Note: the names of the various binaries have the "g" prefix, as is common practice for GNU utilities under MacPorts.

comment:4 Changed 7 years ago by Schamschula (Marius Schamschula)

Cc: Schamschula added

comment:5 Changed 7 years ago by raimue (Rainer Müller)

Cc: raimue added

Maybe we should drop the 'g' prefix for High Sierra as there is no ambiguity if the commands are no longer part of macOS?

comment:6 in reply to:  5 ; Changed 7 years ago by Schamschula (Marius Schamschula)

Replying to raimue:

Maybe we should drop the 'g' prefix for High Sierra as there is no ambiguity if the commands are no longer part of macOS?

Sounds like a good plan: in work.

comment:7 in reply to:  6 Changed 7 years ago by Schamschula (Marius Schamschula)

Replying to Schamschula:

Replying to raimue:

Maybe we should drop the 'g' prefix for High Sierra as there is no ambiguity if the commands are no longer part of macOS?

Sounds like a good plan: in work.

Added in [b454e656b1d40af6dbda0d67fe2a9b3c006c5c04/macports-ports]

Last edited 7 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:8 Changed 7 years ago by SaintBol

Suggestion: what about adding the name of the tools in the description of the port (telnet, ftp, rlogin, rcp, tftp) to make them searchable with a port search command ?

comment:9 Changed 7 years ago by Schamschula (Marius Schamschula)

In b56026eb51275da2d2908fea4dcabb438627c6f4/macports-ports:

inetutils 1.9.4: update description to list programs.

See: #55000

comment:10 Changed 7 years ago by cjones051073 (Chris Jones)

Keywords: 10.13 added

comment:11 Changed 7 years ago by SaintBol

Some GNU inetutils tools are probably out of date (whois, already provided by either Apple whois or whois port which is up to date) or irrelevant (traceroute and ping/ping6, which lack SUID anyway, but also ifconfig, hostname, dnsdomainname, logger). In summary it would probably be safe to limit inetutils to what is usable in Darwin.

Suggestion: add a few disable lines in the configure invocation:

--disable-hostname   \
--disable-ping       \
--disable-ping6      \
--disable-talk       \
--disable-traceroute \
--disable-logger     \
--disable-whois      \
--disable-servers
Last edited 7 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:12 in reply to:  11 Changed 7 years ago by Schamschula (Marius Schamschula)

Replying to SaintBol:

Some GNU inetutils tools are probably out of date (whois, already provided by either Apple whois or whois port which is up to date) or irrelevant (traceroute and ping/ping6, which lack SUID anyway, but also ifconfig, hostname, dnsdomainname, logger). In summary it would probably be safe to limit inetutils to what is usable in Darwin.

Suggestion: add a few disable lines in the configure invocation:

--disable-hostname   \
--disable-ping       \
--disable-ping6      \
--disable-talk       \
--disable-traceroute \
--disable-logger     \
--disable-whois      \
--disable-servers

You missed tftp. I'll add this for High Sierra, but will give users a choice to install everything.

BTW: I would not be so sure about Apple's tools being up to date. Most of Apple's tools are frozen at the time of the release GPL 3, with some security patches applied since, timely or not.

Last edited 7 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:13 Changed 7 years ago by SaintBol

You're right about apple tools :) But the current existing 'whois' port is probably the appropriate way to go anyway.

comment:14 Changed 7 years ago by Schamschula (Marius Schamschula)

In 18d5275d3b86afe5df2cf77b057a1e220852ca1f/macports-ports:

inetutils 1.9.4: don't shadow Apple installed apps on High Sierra

make server daemons optional
optionally install all client apps on High Sierra (with g prefix)
See: #55000

comment:15 Changed 7 years ago by SaintBol

Well, I forgot this one:

--disable-ifconfig

There's also dnsdomainname that is useless, but it doesn't collide with any existing command (but there's no disable option in configure anyway).

Last edited 7 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:16 in reply to:  15 Changed 7 years ago by Schamschula (Marius Schamschula)

Replying to SaintBol:

Well, I forgot this one:

--disable-ifconfig

There's also dnsdomainname that is useless, but it doesn't collide with any existing command (but there's no disable option in configure anyway).

Done: [83854c55b35ae120203e0a2e862c39787a8c64e0/macports-ports]

Last edited 7 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:17 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: highsierra added; 10.13 removed

comment:18 Changed 7 years ago by chrisminett (Chris Minett)

Cc: chrisminett added

comment:19 Changed 7 years ago by senseysensor

any estimations on implementing these tools? seems homebrew managed much faster with implementing this... unfortunately seems I've upgraded to high sierra too early :(

comment:20 in reply to:  19 Changed 7 years ago by Schamschula (Marius Schamschula)

Replying to senseysensor:

any estimations on implementing these tools? seems homebrew managed much faster with implementing this... unfortunately seems I've upgraded to high sierra too early :(

Install inetutils:

sudo port install inetutils

under High Sierra this provides telnet, et al.

comment:21 Changed 7 years ago by Schamschula (Marius Schamschula)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.