summaryrefslogtreecommitdiff
path: root/net/tor/patches
diff options
context:
space:
mode:
authorjschauma <jschauma>2005-02-13 20:27:53 +0000
committerjschauma <jschauma>2005-02-13 20:27:53 +0000
commitf9fd5fa961e5fecb90b9fdadc4d31538118bab1c (patch)
treeb75b44d7e4551944806ebc86b9df8f29d6a4d922 /net/tor/patches
parent354c7855bf9b05244850bb96406bd8b8cc2ce050 (diff)
downloadpkgsrc-f9fd5fa961e5fecb90b9fdadc4d31538118bab1c.tar.gz
Update tor to 0.0.9.4.
pkgsrc changes: - depend on tsocks to allow torification of other applications - create a user for this application to run as - install a suitable rc script ChangeLog says: o Bugfixes on 0.0.9: - Fix an assert bug that took down most of our servers: when a server claims to have 500 GB of bandwidthburst, don't freak out. - Don't crash as badly if we have spawned the max allowed number of dnsworkers, or we're out of file descriptors. - Block more file-sharing ports in the default exit policy. - MaxConn is now automatically set to the hard limit of max file descriptors we're allowed (ulimit -n), minus a few for logs, etc. - Give a clearer message when servers need to raise their ulimit -n when they start running out of file descriptors. - SGI Compatibility patches from Jan Schaumann. - Tolerate a corrupt cached directory better. - When a dirserver hasn't approved your server, list which one. - Go into soft hibernation after 95% of the bandwidth is used, not 99%. This is especially important for daily hibernators who have a small accounting max. Hopefully it will result in fewer cut connections when the hard hibernation starts. - Load-balance better when using servers that claim more than 800kB/s of capacity. - Make NT services work (experimental, only used if compiled in).
Diffstat (limited to 'net/tor/patches')
-rw-r--r--net/tor/patches/patch-aa15
-rw-r--r--net/tor/patches/patch-ab13
-rw-r--r--net/tor/patches/patch-ac13
3 files changed, 13 insertions, 28 deletions
diff --git a/net/tor/patches/patch-aa b/net/tor/patches/patch-aa
deleted file mode 100644
index f125ec79d8d..00000000000
--- a/net/tor/patches/patch-aa
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2005/02/02 16:41:22 jschauma Exp $
-
---- src/common/compat.h.orig Wed Feb 2 10:45:31 2005
-+++ src/common/compat.h Wed Feb 2 10:44:58 2005
-@@ -53,6 +53,10 @@
- #define __FUNCTION__ "???"
- #endif
-
-+#if defined(__sgi) && !defined(__GNUC__) && defined(__c99)
-+#define __FUNCTION__ __func__
-+#endif
-+
- /* ===== String compatibility */
- #ifdef MS_WINDOWS
- /* Windows names string functions differently from most other platforms. */
diff --git a/net/tor/patches/patch-ab b/net/tor/patches/patch-ab
deleted file mode 100644
index 5821ca4e96d..00000000000
--- a/net/tor/patches/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2005/02/02 16:41:22 jschauma Exp $
-
---- src/common/compat.c.orig Wed Feb 2 10:50:05 2005
-+++ src/common/compat.c Wed Feb 2 11:15:38 2005
-@@ -583,6 +583,8 @@
-
- #ifndef MS_WINDOWS
- struct tor_mutex_t {
-+ /* struct declarations without members lead to undefined behaviour */
-+ int unused;
- };
- tor_mutex_t *tor_mutex_new(void) { return NULL; }
- void tor_mutex_acquire(tor_mutex_t *m) { }
diff --git a/net/tor/patches/patch-ac b/net/tor/patches/patch-ac
new file mode 100644
index 00000000000..4503dc8002b
--- /dev/null
+++ b/net/tor/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2005/02/13 20:27:54 jschauma Exp $
+
+--- contrib/Makefile.in.orig 2005-02-13 15:07:56.000000000 -0500
++++ contrib/Makefile.in 2005-02-13 15:08:23.000000000 -0500
+@@ -75,7 +75,7 @@
+
+ EXTRA_DIST = tor-tsocks.conf torify.1 tor-control.py tor.nsi tor.sh torctl
+
+-conf_DATA = tor-tsocks.conf
++#conf_DATA = tor-tsocks.conf
+
+ bin_SCRIPTS = torify
+