summaryrefslogtreecommitdiff
path: root/net/SSLtelnet/files/patch-ab
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-10-19 10:27:25 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-10-19 10:27:25 +0000
commit15a79b97ac258fdb0b7309d00ef5bffcf8ac2f4b (patch)
tree5ba15972212caa0369ff0205d7dd28ddf944be9d /net/SSLtelnet/files/patch-ab
parentDon't (badly) rewrite CFLAGS, assume the user knows what he/she is doing. (diff)
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
Diffstat (limited to 'net/SSLtelnet/files/patch-ab')
-rw-r--r--net/SSLtelnet/files/patch-ab11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/SSLtelnet/files/patch-ab b/net/SSLtelnet/files/patch-ab
new file mode 100644
index 000000000000..8dc321e8b2f7
--- /dev/null
+++ b/net/SSLtelnet/files/patch-ab
@@ -0,0 +1,11 @@
+--- telnetd/pathnames.h.orig Sat Jun 15 17:26:10 1996
++++ telnetd/pathnames.h Sat Oct 17 22:11:51 1998
+@@ -53,7 +53,7 @@
+ /* I'm working on having this work as is with SunOS 5.x */
+ #ifndef USE_SRALOGIN
+ #undef _PATH_LOGIN
+-#ifdef __bsdi__
++#if defined(__bsdi__) || defined(__FreeBSD__)
+ #define _PATH_LOGIN "/usr/bin/login"
+ #else
+ #define _PATH_LOGIN "/bin/login"