(21:37:05) nosnilmot: LSchiere: do you need to "cvs add" faq-ssl.txt &
faq-ssl.php ?
(21:37:12) LSchiere: that would help
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/htdocs/faq-ssl.php Mon Dec 08 21:37:51 2003 -0500
@@ -0,0 +1,231 @@
+ require "base.inc.php"; + function build_section_name($section) + $newstr = str_replace("/", "_", $section); + $newstr = str_replace(" ", "_", $newstr); + print " <td valign=\"top\">"; + print "<a name=\"q" . $qa . "\"></a>\n"; + print "<a name=\"" . $anchor . "\"></a>\n"; + print " <td valign=\"top\"><br />"; + print " <td valign=\"top\">"; + print " <td valign=\"top\"><br />"; + start_html("FAQ - SSL"); + /* The Q&A begins here */ + $faq = file("./faq-ssl.txt"); + $faq_lines = count($faq); + /* Display the top-level section. */ + start_section("Frequently Asked Questions - SSL"); + /* Loop through once to get all the questions. */ + for ($i = 0; $i < $faq_lines; $i++) + if ($line == "" || $line == "\n" || substr($line, 0,3) == "A:\t") + elseif (substr($line, 0, 3) == "Q:\t") + $question = substr($line, 3); + $question = preg_replace( + "/(<\/?(br|code|pre|div)( ?\/)?>|[\r\n\t])/", " ", $question); + print " <li><a href=\"#q" . $qa . "\">"; + elseif (substr($line, 0, 9) == "!SECTION\t") + print "<b>" . trim(substr($line, 9)) . "</b>\n"; + elseif (substr($line, 0, 9) == "!COMMENT\t") + "/(<\/?(br|code|pre|div)( ?\/)?>|[\r\n\t])/", " ", $line); + /* Now we'll loop through again to print out the questions and answers. */ + for ($i = 0; $i < $faq_lines; $i++) + if (substr($line, 0, 3) == "Q:\t") + print substr($line, 3); + elseif (substr($line, 0, 3) == "A:\t") + print substr($line, 3); + elseif (substr($line, 0, 9) == "!SECTION\t") + $name = trim(substr($line, 9)); + print "<a name=\"" . build_section_name($name) . "\"></a>\n"; + print "<table border=\"0\" width=\"100%\">\n"; + elseif (substr($line, 0, 8) == "!ANCHOR\t") + $anchor = trim(substr($line, 8)); + elseif (substr($line, 0, 9) == "!COMMENT\t") + elseif ($in_question || $in_answer) --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/htdocs/faq-ssl.txt Mon Dec 08 21:37:51 2003 -0500
@@ -0,0 +1,469 @@
+A: This information was compiled by <a href="mailto:stu@nosnilmot.com">Stu Tomlinson</a> +with much help from #gaim +Read the ChanServ notice? Read the Topic? Read the FAQ? +Still having problems getting SSL to work with Gaim? +read on, maybe you're in luck. but probably not. +A: Mozilla 1.5 will not provide all the pieces for NSPR & NSS due to breakage in +Mozilla that misses out some .h files (or something...). You might be able to +install mozilla-{nss,nspr}{,-devel} from 1.4, or install nss from source, in +parallel and link against those for Gaim. Or just use GnuTLS. +OpenSSL is not an option for SSL support in Gaim because the OpenSSL license +(BSD-style) is not compatible with the Gaim license (GPL) +!SECTION Distribution Specifc Tips +Some have reported success with GnuTLS from unstable, and compiling gaim from + <ntm> i changed the apt sources to include unstable releases + <ntm> apt-get install libgnutls7 + <ntm> apt-get install libgnutls7-dev +Note: libgnutls & libgnutls-dev (from stable) are known NOT to work +A: Use the gaim provided packages : <a href="http://sourceforge.net/project/showfiles.php?group_id=235"> +http://sourceforge.net/project/showfiles.php?group_id=235</a> +A: Gentoo's ebuilds for Gaim should "Just Work". To install the latest Gaim +The most recent Gaim version is usually not in Gentoo stable. To ensure you +are using the most recent release in Portage, use this command: + ACCEPT_KEYWORDS="~x86" emerge gaim +If you are not using x86, replace "~x86" with your CPU type, such as "~ppc" or +Portage will build and install the NSS and NSPR packages automatically if you +do not have them. Portage is not capable of using GnuTLS with Gaim currently. +In fact though, I have no idea why anyone would use Gentoo anyway. +A: If you're crazy enough to actually use LFS surely you're crazy enough to +figure this out on your own? (or just see below on compiling from source) +A: Use the gaim provided packages : <a href="http://sourceforge.net/project/showfiles.php?group_id=235"> +http://sourceforge.net/project/showfiles.php?group_id=235</a> +A: Use the gaim provided packages : <a href="http://sourceforge.net/project/showfiles.php?group_id=235"> +http://sourceforge.net/project/showfiles.php?group_id=235</a> +NOTE: Mandrake 9.2 includes tcl 8.4 which is known to cause problems with +gaim. tcl plugins will NOT work, but this isn't normally a problem. +There's a 3rd party RPM (built from the same .spec file as the ones on sf.net) +for Mandrake 9.2 here : http://gaim.jesuschrist.be/ (thanks to Alver on #gaim) +Or you can compile from source: +As always, make sure you have mozilla-nss, mozilla-nss-devel, mozilla-nspr and +mozilla-nspr-devel installed (and perl-devel if you want perl support): +urpmi libnspr4 libnss3 libnss3-devel libnspr4-devel perl-devel +One user reported problems with permissions in the includes: + <icicled> i found that if i changed the permissions of the private directory in + /usr/include/mozilla-1.4/nspr it will compile perfectly + <faceprint> wow, that's sucky + <faceprint> you should definitely go scream bloody murder at mandrake + <icicled> not sure why they would have the private directory only readable by + <faceprint> that sounds like a serious bug in the mandrake package + chmod 755 /usr/include/mozilla-1.4/nspr/private + chmod 644 /usr/include/mozilla-1.4/nspr/private/* +Q: Red Hat Linux (8.0 or 9) +A: Use the gaim provided packages : <a href="http://sourceforge.net/project/showfiles.php?group_id=235"> +http://sourceforge.net/project/showfiles.php?group_id=235</a> +<b>Note:</b> If you're using a Mozilla builds from here : + http://people.ecsc.co.uk/~matt/downloads/rpms/mozilla/1.4/RPMS/ +Then you <i>will</i> need to add /usr/lib/mozilla-1.4 to /etc/ld.so.conf & run ldconfig as +root. Replace 1.4 with whichever version you have installed. +A: There's a 3rd party RPM (built from the same .spec file as the ones on sf.net) +for Red Hat Linux 7.3 here : <a href="http://www.uidzero.co.uk/rpms/rh73/"> +http://www.uidzero.co.uk/rpms/rh73/</a> +<semi-related note on this 3rd party rpm><br> + That RPM is built against gtk 2.0 as comes with Red Hat Linux 7.3, and buddy + list sorting is not possible with gtk 2.0. If you have Ximian Desktop + installed, then you have gtk 2.2 and should rebuild the .src.rpm (rpmbuild -bb + gaim-0.74-1rh73.src.rpm) to get buddy list sorting working.</p> +<p> Just compile from source (straight ./configure will work if you have all the + required dependencies and their associated -devel packages installed), Red Hat + Linux 7.3 does actually have all the necessary stuff.<br> + If you want spell checking to work, install gtkspell & gtkspell-devel from + <a href="http://dag.wieers.com/apt/redhat/7.3/en/i386/RPMS.dag/"> + http://dag.wieers.com/apt/redhat/7.3/en/i386/RPMS.dag/</a><br> + and compile from source (just installing this and using the RPM above will NOT + enable spellchecking)<br> +</semi-related note> +Q: Red Hat Linux (<7.3) +A: Please join this century +A: There's a 3rd party package for Slackware 9.1 here : <a href="http://www.uidzero.co.uk/pkg/slack91/"> +http://www.uidzero.co.uk/pkg/slack91/</a> +This package does not have gtkspell support because gtkspell is not part of +the base Slackware distribution (same package is also at linuxpackages.net). +This one should work out of the box. +The Gaim 0.74 package from Slackware does NOT work out of the box. I have not +tried, but adding /usr/lib/mozilla-1.4 to /etc/ld.so.conf and running ldconfig +as root *might* fixinate it. +Or you can use the gaim source, with mozilla-1.4 installed (if you have another +version of mozilla, try replacing 1.4 with your version number): +./configure --with-nss-includes=/usr/include/mozilla-1.4/nss \ + --with-nspr-includes=/usr/include/mozilla-1.4/nspr \ + --with-nss-libs=/usr/lib/mozilla-1.4 \ + --with-nspr-libs=/usr/lib/mozilla-1.4 +Also, you'll need to add /usr/lib/mozilla-1.4 to /etc/ld.so.conf and run ldconfig +A: There's a 3rd party RPM for SuSE 9.0 here : +<a href="http://www.usr-local-bin.org/gaim.php">http://www.usr-local-bin.org/gaim.php</a> +You may need to put /opt/mozilla/lib in /etc/ld.so.conf (and run ldconfig as +A: NOTE: usr-local-bin are now providing packages for SuSE 9.0 (see above) they +*might* work on SuSE 8.2, but no guarantees. +You might also need to upgrade pango: +<a href="http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/8.2-i386/RPMS.usr-local-bin/pango-1.2.5-SuSE.ulb.1.i586.rpm"> +http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/8.2-i386/RPMS.usr-local-bin/pango-1.2.5-SuSE.ulb.1.i586.rpm</a> +You may need to put /opt/mozilla/lib in /etc/ld.so.conf (and run ldconfig as +A: Compile from source. No SSL specific details available at the moment, but +these tips might help you in general: +For i18n to work, you need to have gettext installed. It will probably stuff +itself in /usr/local, so you need to configure like this: +./configure --with-libintl-prefix=/usr/local +Alternatively, if you only need to use English, you can disable i18n (and the +dependancy on gettext) by configuring like so: +./configure --disable-nls +A: Compile from source. No SSL specific details available at the moment, but +these tips might help you in general: +For i18n to work, you need to have gettext installed. It will probably stuff +itself in /usr/local, so you need to configure like this: +./configure --with-libintl-prefix=/usr/local +Alternatively, if you only need to use English, you can disable i18n (and the +dependancy on gettext) by configuring like so: +./configure --disable-nls +A: See below on compiling from source +A: Information on setting up GnuTLS can be found at: <a href="http://alphamonkey.org/view.php?type=notes&id=309"> +http://alphamonkey.org/view.php?type=notes&id=309</a> +A: Use the gaim provided packages : <a href="http://sourceforge.net/project/showfiles.php?group_id=235"> +http://sourceforge.net/project/showfiles.php?group_id=235</a> +Q: SCO (anything, anyversion) +A: You're kidding, right? this stuff is licensed under the GPL, and SCO don't +If that isn't enough to get you to use a decent OS, consider this: +<pre> "If Darl McBride was in charge, he'd probably make marriage unconstitutional + too, since clearly it de-emphasizes the commercial nature of normal human + interaction, and probably is a major impediment to the commercial growth of + -- Linus Torvalds, December 5th 2003. +<p>(Darl McBride is CEO of The SCO Group)</p> +!SECTION Compiling from source +A: I strongly recommend you use pre-packaged binaries where possible, however if you MUST +use source, these tips might help you. GnuTLS is the (developers) preferred +option, but I've witnessed more success with Mozilla NSS & NSPR +Q: Mozilla NSS & NSPR +A: Mozilla NSS & NSPR can be found here:<br> +<a href="ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_8_RTM/src/nss-3.8.tar.gz"> +ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_8_RTM/src/nss-3.8.tar.gz</a> +(despite it's name, it contains both NSS & NSPR) +This older one has been referenced here for a while, but did not have much success with +<a href="ftp://ftp.mozilla.org/pub/mozilla.org/security/nss-3.1.1-with-nspr-4.1-dbm.tar.gz"> +ftp://ftp.mozilla.org/pub/mozilla.org/security/nss-3.1.1-with-nspr-4.1-dbm.tar.gz</a> +--with-{nss,nspr}-includes should point to the directory with the .h files in (eg. nspr.h) +--with-{nss,nspr}-libs should point to the directory with the .so files in (eg. libnss3.so) +If you can't add to /etc/ld.so.conf (or your (*nix) OS doesn't have one) set +the LD_LIBRARY_PATH environment variable instead, either before running gaim or +(for bourne shell & bash) on the gaim command line, eg. + setenv LD_LIBRARY_PATH /usr/lib/mozilla-1.4 + LD_LIBRARY_PATH=/usr/lib/mozilla-1.4 ; export LD_LIBRARY_PATH +or sh/bash: run gaim with this command: + LD_LIBRARY_PATH=/usr/lib/mozilla-1.4 gaim +A: Thanks to sofar on #gaim for this: +Here's a list in the proper order which you need to install/compile, the +versions and links I give compile normally on a reasonably clean system. +libgpg-error (needed by libgcrypt): +<a href="ftp://ftp.gnupg.org/gcrypt/alpha/libgpg-error/libgpg-error-0.5.tar.gz"> +ftp://ftp.gnupg.org/gcrypt/alpha/libgpg-error/libgpg-error-0.5.tar.gz</a> +libgcrypt (needed by GnuTLS): +<a href="ftp://ftp.gnupg.org/gcrypt/alpha/libgcrypt/libgcrypt-1.1.43.tar.gz"> +ftp://ftp.gnupg.org/gcrypt/alpha/libgcrypt/libgcrypt-1.1.43.tar.gz</a> +libtasn1 (needed by GnuTLS): +<a href="ftp://ftp.gnutls.org/pub/gnutls/libtasn1/libtasn1-0.2.6.tar.gz"> +ftp://ftp.gnutls.org/pub/gnutls/libtasn1/libtasn1-0.2.6.tar.gz</a> +GnuTLS (needed by gaim): +<a href="ftp://ftp.gnutls.org/pub/gnutls/attic/gnutls-0.9.91.tar.gz"> +ftp://ftp.gnutls.org/pub/gnutls/attic/gnutls-0.9.91.tar.gz</a> +libopenck is a PITA, don't use it, GnuTLS will break. Also version 0.9.92 of +GnuTLS doesn't compile because the maintainer forgot to add 1 file needed. 0.9.91 +You shouldn't need to pass any --with-xxx-libs/include to gaim since everything is +by default put in the normal include/lib dirs on my system. If you put any of the libs in +obscure places you are daft, just don't do that ;^). +For FreeBSD (and, it seems, OpenBSD) users: + <synic> ok, gnutls 0.8.10 officially works on FreeBSD + <synic> and 0.8.6 doesn't :) +Q: Non-root (mozilla-{nss,nspr} or GnuTLS already installed) +A: If you don't have root access on the system you're trying to install gaim +on, you need to configure gaim to install under your home directory. +./configure --prefix=/home/username +If there are additional dependancies required that are not installed on +the system, you'll need to install those in a similar manner and pass the +correct locations to gaim's ./configure as shown in the next sections. +Q: Non-root including mozilla-{nss,nspr} +A: Download NSS & NSPR source from here: +<a href="ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_8_RTM/src/nss-3.8.tar.gz" +ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_8_RTM/src/nss-3.8.tar.gz</a> +cd nss-3.8/mozilla/security/nss +(on systems where make is not GNU make, use gmake) +mkdir -p /home/username/lib +mkdir -p /home/username/include/nspr +find ../../dist/*/lib -type l \ + \( -name "*.so" -o -name "*.chk" \) \ + -exec cp -L {} /home/username/lib \; +cp -Lr ../../dist/public/* /home/username/include +cp -Lr ../../dist/*/include/* /home/username/include/nspr +./configure --prefix=/home/username \ + --with-nss-includes=/home/username/usr/include/nss \ + --with-nspr-includes=/home/username/usr/include/nspr \ + --with-nss-libs=/home/username/usr/lib \ + --with-nspr-libs=/home/username/usr/lib +You should now be able to use Gaim by running /home/username/bin/gaim<br> +In some cases, it might be necessary to set LD_LIBRARY_PATH=/home/username/lib +Q: Non-root including GnuTLS +A: This has been tested using the exact same versions of applications specified +above in the GnuTLS section, with the exception of libtasn1 (GnuTLS actually +includes a version of libtasn1 which seems to work). +./configure --prefix=/home/username +# fix the configure script! +perl -pi -e 's/ --prefix=\$gpg_error_config_prefix//' configure +./configure --prefix=/home/username --with-gpg-error-prefix=/home/username +LD_LIBRARY_PATH=/home/username/lib ./configure --prefix=/home/username --with-libgcrypt=/home/username +./configure --prefix=/home/username --enable-gnutls=yes \ + --with-gnutls-libs=/home/username/lib \ + --with-gnutls-includes=/home/username/include +You should now be able to use Gaim by running /home/username/bin/gaim<br> +In some cases, it might be necessary to set LD_LIBRARY_PATH=/home/username/lib +before running Gaim (this was not necessary on the tested system) --- a/htdocs/faq.txt Mon Dec 08 21:36:37 2003 -0500
+++ b/htdocs/faq.txt Mon Dec 08 21:37:51 2003 -0500
@@ -719,7 +719,7 @@
Mozilla 1.5 has a broken .pc file and does not install the necessary .h files, and so will not be detected.
- See <a href="./gaim-ssl.php">these notes</a> on getting ssl to work with gaim.
+ See <a href="./faq-ssl.php">these notes</a> on getting ssl to work with gaim.