summaryrefslogtreecommitdiffstats
path: root/security/hpn-ssh
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-01-02 04:21:59 +0000
committerdinoex <dinoex@FreeBSD.org>2003-01-02 04:21:59 +0000
commit3c65b4bb28079388dda661f9917bfa6a2baf5f25 (patch)
tree8d9683ac9a61cef2cec665a83bdec3d7f1a228ef /security/hpn-ssh
parent2fcdb404551007f3da9cbe7fe1ab3a2ad795f58a (diff)
downloadFreeBSD-ports-3c65b4bb28079388dda661f9917bfa6a2baf5f25.zip
FreeBSD-ports-3c65b4bb28079388dda661f9917bfa6a2baf5f25.tar.gz
- openssh-3.5p1 doesn't log utmp for IPv6 connection correctly
Submitted by: ume
Diffstat (limited to 'security/hpn-ssh')
-rw-r--r--security/hpn-ssh/Makefile1
-rw-r--r--security/hpn-ssh/files/patch-sshlogin.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/security/hpn-ssh/Makefile b/security/hpn-ssh/Makefile
index 096b459..3443d06 100644
--- a/security/hpn-ssh/Makefile
+++ b/security/hpn-ssh/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/hpn-ssh/files/patch-sshlogin.c b/security/hpn-ssh/files/patch-sshlogin.c
new file mode 100644
index 0000000..5395632
--- /dev/null
+++ b/security/hpn-ssh/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);
+ }
OpenPOWER on IntegriCloud