diff options
author | dinoex <dinoex@FreeBSD.org> | 2003-01-02 12:21:59 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2003-01-02 12:21:59 +0800 |
commit | 3c65b4bb28079388dda661f9917bfa6a2baf5f25 (patch) | |
tree | 8d9683ac9a61cef2cec665a83bdec3d7f1a228ef | |
parent | 2fcdb404551007f3da9cbe7fe1ab3a2ad795f58a (diff) | |
download | freebsd-ports-graphics-3c65b4bb28079388dda661f9917bfa6a2baf5f25.tar.gz freebsd-ports-graphics-3c65b4bb28079388dda661f9917bfa6a2baf5f25.tar.zst freebsd-ports-graphics-3c65b4bb28079388dda661f9917bfa6a2baf5f25.zip |
- openssh-3.5p1 doesn't log utmp for IPv6 connection correctly
Submitted by: ume
-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 096b4594430..3443d066d6e 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 00000000000..53956329cd4 --- /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 096b4594430..3443d066d6e 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 00000000000..53956329cd4 --- /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); + } |