diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2003-01-02 04:21:59 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2003-01-02 04:21:59 +0000 |
commit | cafc71515f4ccf5c7fdab6d99534c0cbb0836c27 (patch) | |
tree | 353c6015eb91b947efe4d4437eaeb8228a7f280c /security | |
parent | f2b1971c32de69968c69bfeb2012e492be0a4be3 (diff) | |
download | ports-cafc71515f4ccf5c7fdab6d99534c0cbb0836c27.tar.gz ports-cafc71515f4ccf5c7fdab6d99534c0cbb0836c27.zip |
- openssh-3.5p1 doesn't log utmp for IPv6 connection correctly
Submitted by: ume
Notes
Notes:
svn path=/head/; revision=72143
Diffstat (limited to 'security')
-rw-r--r-- | security/hpn-ssh/Makefile | 1 | ||||
-rw-r--r-- | security/hpn-ssh/files/patch-sshlogin.c | 11 | ||||
-rw-r--r-- | security/openssh-portable/Makefile | 1 | ||||
-rw-r--r-- | security/openssh-portable/files/patch-sshlogin.c | 11 |
4 files changed, 24 insertions, 0 deletions
diff --git a/security/hpn-ssh/Makefile b/security/hpn-ssh/Makefile index 096b45944305..3443d066d6e2 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 000000000000..53956329cd40 --- /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); + } 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); + } |