summaryrefslogtreecommitdiff
path: root/security/openssh
diff options
context:
space:
mode:
authorelric <elric@pkgsrc.org>2000-07-07 08:11:03 +0000
committerelric <elric@pkgsrc.org>2000-07-07 08:11:03 +0000
commit75f6a8678789090eb0c8163f1a87123705337b39 (patch)
treea8a97ddbdd64e301dd445a3e651ef46b6d73e54d /security/openssh
parente167f0ee21639ab5a61527593c93f6b5e8d0e171 (diff)
downloadpkgsrc-75f6a8678789090eb0c8163f1a87123705337b39.tar.gz
Added a patch file to take care of a LP64 bug, -1 != -1U. Actually when
using inet_addr(3) failure is indicated by INADDR_NONE... Addresses: pkg/10526
Diffstat (limited to 'security/openssh')
-rw-r--r--security/openssh/files/patch-sum3
-rw-r--r--security/openssh/patches/patch-ao13
2 files changed, 15 insertions, 1 deletions
diff --git a/security/openssh/files/patch-sum b/security/openssh/files/patch-sum
index 5c9eda63aee..e7c78fe824e 100644
--- a/security/openssh/files/patch-sum
+++ b/security/openssh/files/patch-sum
@@ -1,4 +1,4 @@
-$NetBSD: patch-sum,v 1.12 2000/07/04 11:08:38 itojun Exp $
+$NetBSD: patch-sum,v 1.13 2000/07/07 08:11:03 elric Exp $
MD5 (patch-aa) = 9de9202a42d721e8027f9f829a3af96c
MD5 (patch-ac) = 5bdf4a142210aea600f3bf6f3ac14010
@@ -12,3 +12,4 @@ MD5 (patch-ak) = 1bd755c11128b2b8d7ecc894e70b82c7
MD5 (patch-al) = dde98ebfbbe801c5042a803e0e0df0d3
MD5 (patch-am) = 6b53bafd568db64bf16d9aa5582733e3
MD5 (patch-an) = eccf8c19bcee913de49eb2b38999e609
+MD5 (patch-ao) = dd215025d01544077265a6573daf4db7
diff --git a/security/openssh/patches/patch-ao b/security/openssh/patches/patch-ao
new file mode 100644
index 00000000000..ac1dc823319
--- /dev/null
+++ b/security/openssh/patches/patch-ao
@@ -0,0 +1,13 @@
+$NetBSD: patch-ao,v 1.1 2000/07/07 08:11:04 elric Exp $
+
+--- fake-getaddrinfo.c.orig Fri Jul 7 00:46:59 2000
++++ fake-getaddrinfo.c Thu Jul 6 21:07:02 2000
+@@ -86,7 +86,7 @@
+ return EAI_MEMORY;
+ }
+
+- if (inet_addr(hostname) != -1) {
++ if (inet_addr(hostname) != INADDR_NONE) {
+ if (NULL != (*res = malloc_ai(port, inet_addr(hostname))))
+ return 0;
+ else