[JDEV] Re: jabberd 1.4.3 release candidate--Windows/CYGWIN Patches

Frank Seesink frank at mail.wvnet.edu
Tue Oct 14 23:09:35 CDT 2003

Peter Saint-Andre wrote:
> On behalf of the jabberd 1.4 team, I'd like to announce a release
> candidate for jabberd 1.4.3. It is expected that this will be the
> terminal release for the jabberd 1.4 codebase. In order to test this
> release, please check out the tagged code from the 'jabberd14' module 
> on JabberStudio by typing the following command:
>    cvs co -r JABBERD_1_4_3 jabberd14
> For the next week, the jabberd 1.4 team will accept code patches that
> fix known bugs in the code (NO NEW FEATURES!). Please send any patches
> to jdev at jabber.org before the end of the day on Wednesday, October 15.
> Thanks.


	Attached please find one jabberd143cygwinpatches.tar.gz file containing 
the necessary patches for cleanly building Jabberd 1.4.3 under Cygwin. 
Not 100% comfortable sending patches, so I'm sending entire files (but 
just the ones that were changed).  If this is not acceptable, please let 
me know.

Until now, my way of building Jabberd involved untarring the jabberd 
file, then untarring this file on top.

Please note that the ONLY changes to the files contained herein are

1.  a slight modification of the Cygwin portion of the 'configure'
     script (has no bearing on any other platform)
2.  a simplification of ./cygwin/setup.sh
3.  Basically some conditionals added to various Makefiles of the form

	ifeq ($(__CYGWIN__),1)
		#do something specific to Cygwin
		#do the usual

     which all rely on the __CYGWIN__ variable being set in
     'platform-settings'.  NOT A SINGLE LINE OF SOURCE CODE WAS CHANGED.

As such, these changes should have absolutely no bearing on compiling 
under any other platform.  However, they greatly simplify/clean up the 
build process under Cygwin (making it much more like its *nix brethren), 
and make it possible to compile with SSL support, among other things.

This same technique allowed me to compile JUD, MU-Conference, and 
xdb_sql, and though I haven't been able to compile xdb_ldap, that is 
only because I do not have OpenLDAP built under Cygwin...no Cygwin 
package exists currently.  But I am confident it will build as well for 
anyone who under Cygwin can build OpenLDAP from source.  I am including 
those Makefiles as well.

I will leave it to the Jabberd team to decide whether the module 
Makefiles should be distributed with Jabberd 1.4.3, possibly in ./cygwin 
in the form 'Makefile.<module>' (e.g., Makefile.jud) for those who would 
like to add those modules.  I plan to submit these same changes to the 
authors of JUD, MU-Conference, xdb_ldap, and xdb_sql as well, in case 
they would like to add them to their respective projects.

Please note that if these changes are accepted, quite a few files can be 
deleted from the ./cygwin/ directory in the distribution file. 
Specifically, the only files required are

	./cygwin/dnsrv/*    <--still needed unfortunately

All the other files (./cygwin/Makefile.*, ./cygwin/*.def, 
./cygwin/dllfixup.c <--can't even find this one used anywhere!!) can 
safely be deleted.

Below is a breakdown of the files contained in the attached file, with 
explanations of any new files:

|   configure
|   generateSSLkey          <--script to generate key.pem for SSL
|   Makefile
|   |   install-as-service  <--script to install jabberd as NT service
|   |   jabber.xml.example  <--sample config to show JUD, MU-C, etc.
|   |   README              <--docs on building jabberd under Cygwin
|   |   remove-as-service   <--script to remove jabberd as NT service
|   |   setup.sh
|   |
|   \---dnsrv
|           Makefile
|       Makefile
|       Makefile
|       Makefile
|       Makefile
|   \---src
|           Makefile
|       Makefile
|       Makefile
|   \---src
|           Makefile

Hopefully this information will be of some use.  Please let me know if 
there is anything else you need regarding this.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jabberd143cygwinpatches.tar.gz
Type: application/x-tar
Size: 22148 bytes
Desc: not available
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20031015/38688590/attachment-0002.tar>

More information about the JDev mailing list