The attached info file provides the deprecated telnet program from Sierra for High Sierra.
Package: telnet Version: 54.50.1 Revision: 1 Distribution: 10.13 BuildDepends: xcode.app Source: https://opensource.apple.com/tarballs/remote_cmds/remote_cmds-%v.tar.gz Source-MD5: c1f86e0f942abaff94c28f169b56463d Source2: https://opensource.apple.com/tarballs/libtelnet/libtelnet-13.tar.gz Source2-MD5: 8486208dd3ec490121ec2b7d6a737554 SourceDirectory: remote_cmds-%v/telnet.tproj PatchScript: << #!/bin/sh -ev perl -pi -e "s|-DFORWARD |-DFORWARD -I.|g" Makefile perl -pi -e "s|-ltelnet|-L%b/../../libtelnet-13/build/Release -ltelnet|g" Makefile ln -s ../../../libtelnet-13 libtelnet cp ../APPLE_LICENSE APPLE_LICENSE cp ../../libtelnet-13/LICENSE LICENSE << CompileScript: << #!/bin/sh -ev cd ../../libtelnet-13 xcodebuild -project libtelnet.xcodeproj -alltargets -configuration Release cd ../remote_cmds-%v/telnet.tproj make << InstallScript: << #!/bin/sh -ev mkdir -p %i/bin %i/share/man/man1 install -m 555 /tmp/telnet/Debug/telnet %i/bin/telnet install -m 444 telnet.1 %i/share/man/man1/telnet.1 << DocFiles: APPLE_LICENSE LICENSE README License: BSD Description: Port of NetBSD remote client DescDetail: << This package provide the deprecated telnet program from Sierra on High Sierra. << Maintainer: None <fink-devel@lists.sourceforge.net> Homepage: https://opensource.apple.com/source/remote_cmds/remote_cmds-54.50.1/telnet.tproj/
Tested on 10.13 with 'fink -m'.
Fails on 10.13/Xcode9: http://bindist.finkproject.org/10.13/logs/telnet_54.50.1-1_cd3d7717fa8d85606601c81876f86c56.log
On Xcode7.3, I have /Applications/Xcode.app/Contents/Developer/Makefiles/CoreOS/ReleaseControl/BSDCommon.make
Ticket moved from /p/fink/package-submissions/4983/
I moved this because the package is in the distribution and even maintained.
It built for me on 10.13/Xcode 9.0, which is why I put it in Fink. I don't happen to have my virtual machine with 10.13 available right now to reconfirm that.
I can reproduce this issue if I have the fink 'make' package installed so the trivial fix for now is just to add...
Using
/usr/bin/make
explicitly in telnet 54.50.1-2The Makefiles in remote_cmds-54.50.1 use $MAKEFILEPATH, which is defined automatically by an Apple-specific extention of 'make'. I can't find this change documented anywhere? https://opensource.apple.com/source/gnumake/gnumake-131/patches/PR-10516611.patch.auto.html
Unrelatedly, the build gives a fat binary. Any way we can scrap the i386 to save a bunch of compile-time?
On Wed, Oct 25, 2017 at 7:37 AM, Daniel Macks dmacks@users.sf.net wrote:
Daniel,
I assume this could be done by changing the line in
libtelnet/libtelnet-13/libtelnet.xcodeproj/project.pbxproj from...
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
to
ARCHS = "$(ARCHS_STANDARD)";
per https://pewpewthespells.com/blog/buildsettings.html.
Jack
Last edit: Alexander Hansen 2017-10-25
Nope:
I pruned out the submission-related items, since we're now in bug mode.
Fixed by https://sourceforge.net/p/fink/package-submissions/5050/ , now in Fink.