diff options
author | wiz <wiz> | 2002-12-17 19:12:28 +0000 |
---|---|---|
committer | wiz <wiz> | 2002-12-17 19:12:28 +0000 |
commit | d4b5ce23dd75f3ca3a0a2e928ba74e73b0428ec0 (patch) | |
tree | 6ff6228f8c38f92586071aaa83b9f85ce681817f /net/dctc | |
parent | eef007ce8fb8cf8156791e0b2d423db0b963b05e (diff) | |
download | pkgsrc-d4b5ce23dd75f3ca3a0a2e928ba74e73b0428ec0.tar.gz |
Update to 0.83.9:
- obtaining the default IP requires 1 process less than before.
- default IP obtention now supports both previous method (5 process) and BSD
method (2 process). Based on BSD port patches sent by Thomas Klausner.
- new flag added: min_delay_between_search. This flag allows limitation of the
number of search queries by setting a minimum duration between 2 searchs. If
a query comes too close to the previous one, it is silently discarded. Default
flag value is 0 (no delay).
Diffstat (limited to 'net/dctc')
-rw-r--r-- | net/dctc/Makefile | 4 | ||||
-rw-r--r-- | net/dctc/distinfo | 7 | ||||
-rw-r--r-- | net/dctc/patches/patch-ai | 14 |
3 files changed, 5 insertions, 20 deletions
diff --git a/net/dctc/Makefile b/net/dctc/Makefile index fb665bd64dd..fba3b444a7d 100644 --- a/net/dctc/Makefile +++ b/net/dctc/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.7 2002/11/11 13:58:25 wiz Exp $ +# $NetBSD: Makefile,v 1.8 2002/12/17 19:12:28 wiz Exp $ # -DISTNAME= dctc-0.83.8 +DISTNAME= dctc-0.83.9 CATEGORIES= net MASTER_SITES= http://www.ac2i.tzo.com/dctc/ diff --git a/net/dctc/distinfo b/net/dctc/distinfo index 4b2c7168fe1..5810e0d711c 100644 --- a/net/dctc/distinfo +++ b/net/dctc/distinfo @@ -1,9 +1,8 @@ -$NetBSD: distinfo,v 1.8 2002/11/11 13:58:26 wiz Exp $ +$NetBSD: distinfo,v 1.9 2002/12/17 19:12:28 wiz Exp $ -SHA1 (dctc-0.83.8.tar.gz) = a36638fd36050ee7e07dc18b8d6a4dd6fb3527a8 -Size (dctc-0.83.8.tar.gz) = 253213 bytes +SHA1 (dctc-0.83.9.tar.gz) = 88028f29e2587eba8380623a620d4024796827c4 +Size (dctc-0.83.9.tar.gz) = 255119 bytes SHA1 (patch-aa) = 68a3ca5f8b7e28717e1a294456be56c846f3c521 SHA1 (patch-ae) = 40e4f5c3929beb1b118a7a8180cdf93a2083e084 SHA1 (patch-ag) = 61f8cc1cb35312de15dbc43e0ce7d185b7cda88e SHA1 (patch-ah) = 4d481b1fcb1b32debf44b4506ed39be09d64ae79 -SHA1 (patch-ai) = 787fe1e96b03e2ab4ec5de6ccb765e1a4ae9bb5c diff --git a/net/dctc/patches/patch-ai b/net/dctc/patches/patch-ai deleted file mode 100644 index 7e98d1d53e5..00000000000 --- a/net/dctc/patches/patch-ai +++ /dev/null @@ -1,14 +0,0 @@ -$NetBSD: patch-ai,v 1.1.1.1 2002/09/11 20:47:15 wiz Exp $ - ---- src/network.c.orig Fri May 24 17:13:04 2002 -+++ src/network.c -@@ -353,8 +353,7 @@ GString *get_default_host_ip(void) - /* the following script does this: */ - /* 1) extract the interface used by the default route: netstat -rn | grep ^0.0.0.0 | awk '{print $8;} */ - /* 2) obtain the IP of this interface: netstat xxx | fgrep inet | cut -d : -f 2 | awk '{print $1;}' */ -- const char *cmd= -- "/sbin/ifconfig `netstat -rn | grep ^0.0.0.0 | awk '{print $8;}'` | fgrep inet | cut -d : -f 2 | awk '{print $1;}'"; -+ const char *cmd= "/sbin/route -n get default | awk '/local/{print$NF}'"; - - f=popen(cmd,"r"); - if(f==NULL) |