1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/security/ssh/files/patch-bj
Torsten Blum eb66565459 Add IPv6 support to ssh.
The IPv6 patch was obtained from the kame repository and has been
been writen by KIKUCHI Takahiro <kick@kyoto.wide.ad.jp>

Due to the whole mess with different patches it was necessary to include
both the IPv6 patch and patch-ssh-1.2.27-bsd.tty.chown in ${PATCHDIR}.
Since both patches modify the configure script it was also necessary
to rebuild it via autoconf from configure.in. I've decided to use
USE_AUTOCONF instead of including the re-build configure script in
${FILESDIR}

Obtained from:	KAME/WIDE
2000-01-14 19:37:39 +00:00

17 lines
400 B
Plaintext

*** match.c.orig Wed May 12 13:19:27 1999
--- match.c Mon Jan 10 22:56:13 2000
***************
*** 129,134 ****
--- 129,139 ----
is_ip_pattern = 0;
break;
}
+ for(p = pattern; *p; p++)
+ if (!(isxdigit(*p) || *p == ':' || *p == '?' || *p == '*'))
+ break;
+ if (ip && !*p)
+ is_ip_pattern = 1;
if (is_ip_pattern)
{
return match_pattern(ip, pattern);