aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2002-03-09 20:51:44 +0800
committerdinoex <dinoex@FreeBSD.org>2002-03-09 20:51:44 +0800
commit7edd137b24147211b9c67ed5e9fd87e2af264bdd (patch)
tree19d3d39a965271ffbf933d20c00eb63b5f55b04a /security
parenteb9263fd3c2199850310d0cec5b5950736a338ac (diff)
downloadfreebsd-ports-graphics-7edd137b24147211b9c67ed5e9fd87e2af264bdd.tar.gz
freebsd-ports-graphics-7edd137b24147211b9c67ed5e9fd87e2af264bdd.tar.zst
freebsd-ports-graphics-7edd137b24147211b9c67ed5e9fd87e2af264bdd.zip
Allow IPv6 connection if detected by configure.
Submitted by: ume
Diffstat (limited to 'security')
-rw-r--r--security/hpn-ssh/Makefile1
-rw-r--r--security/hpn-ssh/files/patch-sshconnect.c2
-rw-r--r--security/openssh-portable/Makefile1
-rw-r--r--security/openssh-portable/files/patch-sshconnect.c2
4 files changed, 4 insertions, 2 deletions
diff --git a/security/hpn-ssh/Makefile b/security/hpn-ssh/Makefile
index 173638fea7c..940730c77a4 100644
--- a/security/hpn-ssh/Makefile
+++ b/security/hpn-ssh/Makefile
@@ -7,6 +7,7 @@
PORTNAME= openssh
PORTVERSION= 3.1p1
+PORTREVISION= 1
CATEGORIES= security ipv6
MASTER_SITES= ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/ \
ftp://ftp.op.net/pub/OpenBSD/OpenSSH/portable/ \
diff --git a/security/hpn-ssh/files/patch-sshconnect.c b/security/hpn-ssh/files/patch-sshconnect.c
index ba0aa01906a..72f75354bd2 100644
--- a/security/hpn-ssh/files/patch-sshconnect.c
+++ b/security/hpn-ssh/files/patch-sshconnect.c
@@ -4,7 +4,7 @@
sin_addr.s_addr) >> 24) == IN_LOOPBACKNET;
salen = sizeof(struct sockaddr_in);
break;
-+#ifdef INET6
++#ifdef HAVE_STRUCT_SOCKADDR_IN6
case AF_INET6:
local = IN6_IS_ADDR_LOOPBACK(
&(((struct sockaddr_in6 *)hostaddr)->sin6_addr));
diff --git a/security/openssh-portable/Makefile b/security/openssh-portable/Makefile
index 173638fea7c..940730c77a4 100644
--- a/security/openssh-portable/Makefile
+++ b/security/openssh-portable/Makefile
@@ -7,6 +7,7 @@
PORTNAME= openssh
PORTVERSION= 3.1p1
+PORTREVISION= 1
CATEGORIES= security ipv6
MASTER_SITES= ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/ \
ftp://ftp.op.net/pub/OpenBSD/OpenSSH/portable/ \
diff --git a/security/openssh-portable/files/patch-sshconnect.c b/security/openssh-portable/files/patch-sshconnect.c
index ba0aa01906a..72f75354bd2 100644
--- a/security/openssh-portable/files/patch-sshconnect.c
+++ b/security/openssh-portable/files/patch-sshconnect.c
@@ -4,7 +4,7 @@
sin_addr.s_addr) >> 24) == IN_LOOPBACKNET;
salen = sizeof(struct sockaddr_in);
break;
-+#ifdef INET6
++#ifdef HAVE_STRUCT_SOCKADDR_IN6
case AF_INET6:
local = IN6_IS_ADDR_LOOPBACK(
&(((struct sockaddr_in6 *)hostaddr)->sin6_addr));