[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: POP3 over SSL



On Tue, Mar 14, 2000 at 05:04:05PM +0100, Robert Varga wrote:
[...]
> Unfortunately fetchmail which is included in debian is not configured to
> use ssl, and the source which is currently downloadable from the archive
> is not buildable due to a debian/rules file error. Probably build
> dependency is behind the error, but it does not state what it needs to
> build. 

Recipe:

$ cd /tmp
$ mkdir fetchmail
$ cd fetchmail
$ apt-get  source openssl fetchmail
Reading Package Lists... Done
Building Dependency Tree... Done
Need to get 2384kB of source archives.
Get:1 ftp://ftp.task.gda.pl potato/main fetchmail 5.2.3-1 (dsc) [690B]
Get:2 ftp://ftp.task.gda.pl potato/main fetchmail 5.2.3-1 (tar) [749kB]
Get:3 ftp://ftp.task.gda.pl potato/main fetchmail 5.2.3-1 (diff) [22.8kB]
Get:4 http://debian.mps.krakow.pl potato/non-US/main openssl 0.9.4-5 (dsc) [844B]
Get:5 http://debian.mps.krakow.pl potato/non-US/main openssl 0.9.4-5 (tar) [1571kB]
Get:6 http://debian.mps.krakow.pl potato/non-US/main openssl 0.9.4-5 (diff) [40.5kB]
Fetched 2384kB in 7s (422kB/s)
dpkg-source: extracting openssl in openssl-0.9.4
dpkg-source: extracting fetchmail in fetchmail-5.2.3
$ ( cd openssl-0.9.4; debian/rules build )
$ cd fetchmail-5.2.3
$ vi debian/rules
$ diff debian/rules.ORG debian/rules
24c24
<       ./configure --prefix=/usr --enable-nls --enable-NTLM --enable-SDPS
---
>       ./configure --prefix=/usr --enable-nls --enable-NTLM --enable-SDPS
--with-ssl=/tmp/fetchmail/openssl-0.9.4
$ debian/rules clean
$ SSL=/tmp/x-fetchmail/openssl-0.9.4/
$ export LIBRARY_PATH=$SSL/ssl/.libs/:$SSL/crypto/.libs/
$ debian/rules build
$ sudo debian/rules binary
$ ls ../*deb
../fetchmail_5.2.3-1_i386.deb  ../fetchmailconf_5.2.3-1_all.deb


Mirek


Reply to: