fetchmail-friends
[Top] [All Lists]

[fetchmail] fetchmail 5.9.13, SSL, and Red Hat

2002-08-02 02:22:59
I've observed what I believe to be two problems related to building
SSL support into fetchmail 5.9.13 when compiling the source RPM.

An initial build attempt shows that SSL support isn't enabled at all,
although it was certainly intended to be. This appears to be because
the spec file specifies "--enable-SSL" as an argument to configure,
rather than "--with-ssl".

Once this is fixed, configure reports that it's building with SSL
support, but reports that it's using /usr/local/ssl (which doesn't
even exist on my Red Hat 7.3 system) as its source for SSLeay-flavored
SSL.

Red Hat keeps its OpenSSL files under /usr; adding /usr to the list of
directories searched for SSL causes configure to use the correct
directories, and realize that it's dealing with OpenSSL rather than
SSLeay.

A patch which modifies configure.in and specgen.sh for what I believe
to be the correct behavior can be found below. 

(Note that I have not been able to determine whether SSL actually
works when all is said and done: a side effect of my investigations
was the discovery that my ISP doesn't appear to actually support POP3
over SSL, and that I've been living in a fool's paradise for longer
than I care to think about. plugin ssh, take me away!)

Also, while I'm reporting bugs, it looks like there's one in
<http://www.tuxedo.org/~esr/fetchmail/>. The text reads, in part,
"especially item G3 on how to report bugs". "G3" is a hyperlink to
"http:fetchmail-FAQ.html#G3". The "http:" prefix is unnecessary, and
confuses Mozilla.

Cheers,
Dan

--- fetchmail-5.9.13/configure.in       Fri Jun  7 07:56:16 2002
+++ fetchmail-5.9.13-patched/configure.in   Fri Aug  2 00:05:40 2002
@@ -574,6 +574,7 @@
     for ac_dir in \
       /usr/local/ssl \
       /usr/ssl \
+      /usr \
       /local/ssl \
       /opt/ssl \
       ; \
--- fetchmail-5.9.13/specgen.sh Sat Jun 22 15:39:54 2002
+++ fetchmail-5.9.13-patched/specgen.sh Thu Aug  1 18:39:50 2002
@@ -117,7 +117,7 @@
 %build
 LDFLAGS="-s"
 export CFLAGS LDFLAGS
-./configure --prefix=/usr --disable-nls --without-kerberos
--mandir=%{_mandir} --enable-SSL --enable-inet6
+./configure --prefix=/usr --disable-nls --without-kerberos
--mandir=%{_mandir} --with-ssl --enable-inet6
                          # Remove --disable-nls, add
                          # --without-included-gettext
                          # # for internationalization. Also look
                          # # below.
 make

<Prev in Thread] Current Thread [Next in Thread>
  • [fetchmail] fetchmail 5.9.13, SSL, and Red Hat, Dan Martinez <=