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):
- using telnet code from Apple in Sierra (opensourced and available), as did Homebrew: http://formulae.brew.sh/formula/telnet
- using GNU inetutils package (also adds ftp/rsh/rlogin/tftp)
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 follow-up: 6 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 follow-up: 7 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 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]
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)
comment:10 Changed 7 years ago by cjones051073 (Chris Jones)
Keywords: | 10.13 added |
---|
comment:11 follow-up: 12 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
comment:12 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.
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)
comment:15 follow-up: 16 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).
comment:16 Changed 7 years ago by Schamschula (Marius Schamschula)
Replying to SaintBol:
Well, I forgot this one:
--disable-ifconfigThere'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]
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 follow-up: 20 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 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: | new → closed |
In 0fdd5a3dae93b790f02f2ed6961749c0fc22fc5d/macports-ports: