aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/hpn-ssh/Makefile1
-rw-r--r--security/hpn-ssh/files/patch-sshlogin.c11
-rw-r--r--security/openssh-portable/Makefile1
-rw-r--r--security/openssh-portable/files/patch-sshlogin.c11
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);
+ }