stunnel options! WITH_PTHREAD WITH_FORK conflict

Started by antoniop, August 29, 2005, 10:19:47 PM

Previous topic - Next topic

antoniop

Hi,

I'm trying to install qmail using the toast and I think I've found a FreeBSD port that's broken.

The error msg:
root@host# toaster_setup.pl -s preports_check_age: Ports file is current (enough).port_install: p5-TimeDate          installed as (p5-TimeDate-1.16,1).ports_check_age: Ports file is current (enough).port_install: p5-HTML-Template     installed as (p5-HTML-Template-2.7_1).ports_check_age: Ports file is current (enough).port_install: portaudit            installed as (portaudit-0.5.10).ports_check_age: Ports file is current (enough).port_install: openldap-client      installed as (openldap-client-2.2.27).ports_check_age: Ports file is current (enough).port_install: p5-Compress-Zlib     installed as (p5-Compress-Zlib-1.35).ports_check_age: Ports file is current (enough).port_install: p5-Crypt-PasswdMD5   installed as (p5-Crypt-PasswdMD5-1.3).ports_check_age: Ports file is current (enough).port_install: p5-Quota             installed as (p5-Quota-1.5.0).ports_check_age: Ports file is current (enough).running: make  install clean===>  stunnel-4.11 is marked as broken: The WITH_UCONTEXT, WITH_FORK and WITH_PTHREAD options are mutually exclusive - please specify at most one of them, the default is WITH_PTHREAD.===>  Cleaning for libtool-1.5.18===>  Cleaning for perl-5.8.7===>  Cleaning for openssl-0.9.7g===>  Cleaning for stunnel-4.11port_install: stunnel              FAILEDFATAL FAILURE: Install of stunnel failed. Please fix and try again. at lib/Mail/Toaster/Setup.pm line 934    Crying or Very sad 


I have tried to install stunnel manually but been unable to do so.

I found the /var/db/ports/security/stunnel/options file (below before I edited it) and tried setting WITH_FORK=false

root@host# cat /var/db/ports/stunnel/options
# This file is auto-generated by 'make config'.
# No user-servicable parts inside!
# Options for stunnel-4.11
_OPTIONS_READ=stunnel-4.11
WITH_FORK=true
WITH_PTHREAD=true
WITHOUT_UCONTEXT=true
WITHOUT_IPV6=true

However the problem remains.

I'ev had a look through the forum and not found any thread with a solution.

Had anyone got stunnel installed ok?

PS: I understand the security issue using stunnel (127.0.0.1) & relaying.

antoniop

#1
Hi again,


I found a work around.  I downloaded the latest version of stunnel direct from stunnel.org, decompressed the tar, executed ./configure then make && make install.  After this I created a /var/db/pkg/stunnel-[version] directory and fake +COMMENT, +CONTENTS, +DESC & +MTREE_DIRS to fool ports to thinking that the package is installed.


<img src="images/smiley_icons/icon_rolleyes.gif" border=0 alt="Rolling Eyes">  Naughty I know but having done this, tested stunnel and trying the Mail-Toaster script were I left off everything is going fine.