diff options
author | hamajima <hamajima> | 2006-08-27 14:00:41 +0000 |
---|---|---|
committer | hamajima <hamajima> | 2006-08-27 14:00:41 +0000 |
commit | d3881c37d35da9c97d5157a71e6124990a6f630a (patch) | |
tree | c454167f7256f9f05a910792d6f6f7c6c6dbf1b4 | |
parent | c0cbdf8f0630ad634fb96d8fe1baef8915f06c83 (diff) | |
download | pkgsrc-d3881c37d35da9c97d5157a71e6124990a6f630a.tar.gz |
Updated dtcpclient-20060526.
- If `@' is specified as an interface for prefix delegation, it is assumed
as a tunnel interface.
- Add experimental support for an IPv6 over an IPv4 tunnel using Netgraph.
The relevant options are -b and -U.
- Make an IPv6 over an IPv4 tunnel NAT friendly. If -n option is specified,
it is enabled. It requires some modification to ng_ksocket of server side.
- Add $up_command and $down_command to run at up/down.
- Add -B option to specify NAT port.
-rw-r--r-- | net/dtcpclient/Makefile | 4 | ||||
-rw-r--r-- | net/dtcpclient/distinfo | 10 | ||||
-rw-r--r-- | net/dtcpclient/patches/patch-ac | 21 |
3 files changed, 24 insertions, 11 deletions
diff --git a/net/dtcpclient/Makefile b/net/dtcpclient/Makefile index 096773f620d..1572363fc91 100644 --- a/net/dtcpclient/Makefile +++ b/net/dtcpclient/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.8 2006/04/22 09:22:12 rillig Exp $ +# $NetBSD: Makefile,v 1.9 2006/08/27 14:00:41 hamajima Exp $ # -DISTNAME= dtcpclient-20050521 +DISTNAME= dtcpclient-20060526 CATEGORIES= net MASTER_SITES= http://www.imasy.or.jp/~ume/ipv6/ \ http://home.jp.FreeBSD.org/~ume/ipv6/ diff --git a/net/dtcpclient/distinfo b/net/dtcpclient/distinfo index 72c4a1f6499..81a725e4b90 100644 --- a/net/dtcpclient/distinfo +++ b/net/dtcpclient/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.4 2006/02/24 20:44:14 joerg Exp $ +$NetBSD: distinfo,v 1.5 2006/08/27 14:00:41 hamajima Exp $ -SHA1 (dtcpclient-20050521.tar.gz) = d4301a20dafc5e5190d3c43ea65f9c551e230450 -RMD160 (dtcpclient-20050521.tar.gz) = bbc9dbb611d1229f6d988b2055c6a1a02bc64369 -Size (dtcpclient-20050521.tar.gz) = 12232 bytes +SHA1 (dtcpclient-20060526.tar.gz) = bcafcfbc90a64dbb8f9f3104ebcacd43a3222aa7 +RMD160 (dtcpclient-20060526.tar.gz) = 60c4d85cb71af8514cf3ab50dcc4a5bb47994e4b +Size (dtcpclient-20060526.tar.gz) = 13571 bytes SHA1 (patch-aa) = 100975f5578392446a812feb9286ce5ff0758657 SHA1 (patch-ab) = d4b7c355da9000898944ccd0470db0ed5655f771 -SHA1 (patch-ac) = bfbf0bd55b1c8729a30ac518bd4e9eb3182867f6 +SHA1 (patch-ac) = cfa76050a40badd4e65dee2f9a177ba73b545bc3 diff --git a/net/dtcpclient/patches/patch-ac b/net/dtcpclient/patches/patch-ac index 0f15e259475..16842ed4636 100644 --- a/net/dtcpclient/patches/patch-ac +++ b/net/dtcpclient/patches/patch-ac @@ -1,8 +1,8 @@ -$NetBSD: patch-ac,v 1.1 2006/02/24 20:44:14 joerg Exp $ +$NetBSD: patch-ac,v 1.2 2006/08/27 14:00:41 hamajima Exp $ ---- dtcpclient.c.orig 2005-05-21 08:03:05.000000000 +0000 -+++ dtcpclient.c -@@ -73,7 +73,7 @@ +--- dtcpclient.c.orig 2006-05-26 01:36:21.000000000 +0900 ++++ dtcpclient.c 2006-08-26 01:11:31.000000000 +0900 +@@ -74,7 +74,7 @@ #define PIDFILE _PATH_VARRUN "/dtcpclient.pid" #define PASSWDFILE PREFIX "/etc/dtcpclient.auth" @@ -11,3 +11,16 @@ $NetBSD: patch-ac,v 1.1 2006/02/24 20:44:14 joerg Exp $ typedef enum { FALSE = 0, +@@ -173,9 +173,9 @@ + int i; + + MD5Init(&ctx); +- MD5Update(&ctx, user, strlen(user)); +- MD5Update(&ctx, challenge, strlen(challenge)); +- MD5Update(&ctx, pass, strlen(pass)); ++ MD5Update(&ctx, (unsigned char *)user, strlen(user)); ++ MD5Update(&ctx, (unsigned char *)challenge, strlen(challenge)); ++ MD5Update(&ctx, (unsigned char *)pass, strlen(pass)); + MD5Final(digest, &ctx); + for (i = 0; i < 16; i++) { + ascii_digest[i + i] = hex[digest[i] >> 4]; |