/ Zope / Apsis / Pound Mailing List / Archive / 2009 / 2009-03 / The easiest way to install Pound on FreeBSD

[ << ] [ >> ]

[ pound on FreeBSD 6.4 amd64 / Olivier Nicole ... ] [ when backend hangs / Xiwen Cheng ... ]

The easiest way to install Pound on FreeBSD
Olivier Nicole <on(at)cs.ait.ac.th>
2009-03-31 05:02:27 [ FULL ]
Hi,
Here is the easiest way i found to install Pound on FreeBSD (6.4 amd64).

- install OpenSSL from /usr/ports/security/openssl
- in /usr/local/openssl add a link to /usr/local/include and /usr/local/lib
- modify /usr/ports/www/pound/Makefile and add a line saying:
  CONFIGURE_ARGS+=        --with-ssl=/usr/local/openssl
- install Pound from /usr/ports/www/pound/

The modification to the Makefile will have to be done after every
upgrade of the ports tree; before upgrading Pound.

Best regards,

Olivier

Re: [Pound Mailing List] The easiest way to install Pound on FreeBSD
Dmitry Dvoinikov <dmitry(at)targeted.org>
2009-03-31 06:14:39 [ FULL ]
Just my two cents:

You may build OpenSSL from source using something like

$ ./config threads shared no-krb5 no-zlib no-idea \
           no-mdc2 no-rc5 --prefix=/usr/local/ssl
$ make depend && make && make install

Then build Pound from source using

$ ./configure --with-ssl=/usr/local/ssl

* I found it useful to explicitly increase thread stack size,
* in pound.c:362:
*
* if(pthread_attr_setstacksize(&attr, 1 << 18))
* replace with
* if(pthread_attr_setstacksize(&attr, 1 << 19))

finally

$ make && make install

Also see this:
http://www.targeted.org/secure-cd.html

Sincerely,
Dmitry Dvoinikov

Olivier Nicole wrote:[...]

MailBoxer