(This is basically copy and pasted from the README file included with the patch)
This is a "diff" patch to update TuxServe 0.0.12.2 and TuxServe 0.0.12.3 (which is 0.0.12.2 with
the previous patch) to the latest 0.0.12.4 code. These patches are applied differently to previous
TuxServe patches, but this way isn't much harder - it's all explained below :)
TuxServe 0.0.12.4 was mainly released to fix the bug whereby TuxServe causes XChat to crash out
when a user exits the fserve. Along with that, this update fixes the percentage shown on the sends
list, several memory leaks, much nicer string handling and DCC fail handling - plus various other
A huge amount of thanks needs to be given to "pabst" for his original patches, which is what this
latest update it based on. He fixed the crashing on exit and cleaned up several functions - among
And also a load of thanks to "fuzzybear" for testing the original versions of this patch, and
spotting a major bug - which has now been fixed :)
In the archive that this README file came in should be 2 other files:
These are the 2 patch files. You only need apply 1 of them - which one you apply depends on which
version of TuxServe you are applying the patch to.
If you have the basic unpatched version of TuxServe 0.0.12.2, you must use the patch file
"tuxserve-0.0.12.4-patch.diff". If, however, you are applying it to a copy TuxServe 0.0.12.2's
code which has been patched, you'll need to use the "tuxserve-0.0.12.4-patch-from_0.0.12.3.diff"
If you are unsure on which version of the code you have, just delete it and re-extract the basic
TuxServe 0.0.12.2 code, then apply the "tuxserve-0.0.12.4-patch.diff" patch to it.
Here's how to apply the patch file to the code:
Copy the required patch file (see above) to the "tuxserve-0.0.12.2alpha" directory.
Change to the "tuxserve-0.0.12.2alpha" directory and type "patch -i <patchfile>" - where
<patchfile> is the name of the patch file you copied into this dir.
$ tar -zxvf tuxserve-bugfix-20050120.tar.gz
$ cp tuxserve-bugfix-20050120/tuxserve-0.0.12.4-patch.diff tuxserve-0.0.12.2alpha/
$ cd tuxserve-0.0.12.2alpha/
$ patch -i tuxserve-0.0.12.4-patch.diff
patching file config.c
patching file dcc.c
patching file dcc.h
patching file main.c
patching file sends.c
The above example is patching the basic 0.0.12.2 code.
If the patch gives errors, cancel the patching and try the other patch. If neither patch works,
come and find me on IRC.
After you've patched the code, you'll need to recompile TuxServe. This is done in the usual manor,
which I shall recap here.
Make sure you're still in the directory where the TuxServe code is, then type "make". If you already
have a previous version of TuxServe installed, type "make upgrade" - this will upgrade TuxServe,
but leave your configuration and queues files as you set them. If this is your first
installation of TuxServe, type "make install". IMPORTANT: You must type "make upgrade" or
"make install" as the user you intend to run XChat under (not root!).
gcc -Wall -O1 -shared config.c dcc.c display.c main.c menus.c queues.c sends.c -o tuxserve.so
Type 'make install' to install TuxServe into ~/.xchat2/tuxserve/
or type 'make upgrade' to install the new version, but keep your old settings.
$ make upgrade
cp tuxserve.so ~/.xchat2/tuxserve/
All done - TuxServe will now load with XChat.
Reload the TuxServe plugin in XChat (you'll see an orange message letting you know that your
version of TuxServe has changed - that's a good thing!), save the config again ("/ts config save"),
then continue about your normal business :)