aboutsummaryrefslogtreecommitdiffstats
path: root/security/openssh-portable
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-01-02 12:21:59 +0800
committerdinoex <dinoex@FreeBSD.org>2003-01-02 12:21:59 +0800
commit3c65b4bb28079388dda661f9917bfa6a2baf5f25 (patch)
tree8d9683ac9a61cef2cec665a83bdec3d7f1a228ef /security/openssh-portable
parent2fcdb404551007f3da9cbe7fe1ab3a2ad795f58a (diff)
downloadfreebsd-ports-gnome-3c65b4bb28079388dda661f9917bfa6a2baf5f25.tar.gz
freebsd-ports-gnome-3c65b4bb28079388dda661f9917bfa6a2baf5f25.tar.zst
freebsd-ports-gnome-3c65b4bb28079388dda661f9917bfa6a2baf5f25.zip
- openssh-3.5p1 doesn't log utmp for IPv6 connection correctly
Submitted by: ume
Diffstat (limited to 'security/openssh-portable')
-rw-r--r--security/openssh-portable/Makefile1
-rw-r--r--security/openssh-portable/files/patch-sshlogin.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/security/openssh-portable/Makefile b/security/openssh-portable/Makefile
index 096b45944305..3443d066d6e2 100644
--- a/security/openssh-portable/Makefile
+++ b/security/openssh-portable/Makefile
@@ -7,6 +7,7 @@
PORTNAME= openssh
PORTVERSION= 3.5p1
+PORTREVISION= 1
CATEGORIES= security ipv6
MASTER_SITES= ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/ \
ftp://carroll.cac.psu.edu/pub/OpenBSD/OpenSSH/portable/
diff --git a/security/openssh-portable/files/patch-sshlogin.c b/security/openssh-portable/files/patch-sshlogin.c
new file mode 100644
index 000000000000..53956329cd40
--- /dev/null
+++ b/security/openssh-portable/files/patch-sshlogin.c
@@ -0,0 +1,11 @@
+--- sshlogin.c.orig Wed Sep 4 08:45:11 2002
++++ sshlogin.c Fri Dec 13 22:58:07 2002
+@@ -70,7 +70,7 @@
+ struct logininfo *li;
+
+ li = login_alloc_entry(pid, user, host, ttyname);
+- login_set_addr(li, addr, sizeof(struct sockaddr));
++ login_set_addr(li, addr, addrlen);
+ login_login(li);
+ login_free_entry(li);
+ }