freebsd-ports/net/SSLtelnet/pkg-plist
Kris Kennaway 15a79b97ac Re-add SSLtelnet, with patch (patch-an) to fix the security vulnerability
described in FreeBSD-SA-01:49.telnetd

Submitted by:   kondo hiroshi <kondo@ysyslab.co.jp>
PR:             ports/42676
2002-10-19 10:27:25 +00:00

5 lines
329 B
Plaintext

bin/telnet
libexec/telnetd
@exec mkdir %%OPENSSLDIR%%/certs
@exec if [ ! -f $(OPENSSLDIR)/certs/telnetd.pem ]; then cd %%OPENSSLDIR%%/certs; openssl req -new -x509 -nodes -days 365 -out telnetd.pem -keyout telnetd.pem; ln -s telnetd.pem `openssl x509 -noout -hash < telnetd.pem`.0 ; chmod 600 $(OPENSSLDIR)/certs/telnetd.pem; fi