Upgrade Exim 4.69 -> 4.77 Fails Freebsd cyrus-sasl2 stop error.

pucky

Verified User
Joined
Sep 9, 2006
Messages
758
Trying to upgrade using custombuild but it poofs out.

The i try to install cyrus-sasl2 but that dies on me too.

Any ideas?

Code:
# /usr/ports/security/cyrus-sasl2 > make install clean
===>  Building for cyrus-sasl-2.1.25_1
make  all-recursive
Making all in include
Making all in sasldb
ar cru .libs/libsasldb.a db_berkeley.o allockey.o
Making all in plugins
/bin/sh /usr/local/bin/libtool    --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include   -I/usr/local/include/db41 -DOBSOLETE_CRAM_ATTR=1 -DKRB5_HEIMDAL  -Wall -W -O2 -fno-strict-aliasing -pipe -march=athlon-mp -MT scram.lo -MD -MP -MF .deps/scram.Tpo -c -o scram.lo scram.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/usr/local/include/db41 -DOBSOLETE_CRAM_ATTR=1 -DKRB5_HEIMDAL -Wall -W -O2 -fno-strict-aliasing -pipe -march=athlon-mp -MT scram.lo -MD -MP -MF .deps/scram.Tpo -c scram.c  -fPIC -DPIC -o .libs/scram.o
In file included from /usr/include/openssl/evp.h:84,
                 from scram.c:67:
/usr/include/openssl/md5.h:105: error: conflicting types for 'MD5_CTX'
../include/md5.h:30: error: previous declaration of 'MD5_CTX' was here
scram.c: In function `scram_server_mech_step1':
scram.c:793: warning: passing arg 4 of pointer to function from incompatible pointer type
scram.c:512: warning: unused variable `hash_len'
scram.c: In function `scram_setpass':
scram.c:1576: warning: passing arg 4 of pointer to function from incompatible pointer type
scram.c: In function `scram_client_mech_step1':
scram.c:1993: warning: passing arg 2 of `encode_saslname' from incompatible pointer type
scram.c:2004: warning: passing arg 2 of `encode_saslname' from incompatible pointer type
scram.c: At top level:
scram.c:261: warning: 'print_hash' defined but not used
*** Error code 1

Stop in /usr/ports/security/cyrus-sasl2/work/cyrus-sasl-2.1.25/plugins.
*** Error code 1

Stop in /usr/ports/security/cyrus-sasl2/work/cyrus-sasl-2.1.25.
*** Error code 1

Stop in /usr/ports/security/cyrus-sasl2/work/cyrus-sasl-2.1.25.
*** Error code 1

Stop in /usr/ports/security/cyrus-sasl2.
*** Error code 1

Stop in /usr/ports/security/cyrus-sasl2.

Something to do with openssl?
 
Tried it already, says it cant retrieve the file and URL.

# /etc > pkg_add -r cyrus-sasl-2.1.25_1
Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/Latest/cyrus-sasl-2.1.25_1.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/Latest/cyrus-sasl-2.1.25_1.tbz' by URL
# /etc >

No need for version numbers; just type:

Code:
# pkg_add -r cyrus-sasl2

Or check out /usr/ports/security/cyrus-sasl2
 
That was a typo, i tried without the version number and got the same error.
 
Then found the needed package using Google (on ftp.freebsd.org or other mirrors), download it onto your server and use

Code:
pkg_add cyrus-sasl2

to install it.
 
Acutally the dependancy is OpenSSL-0.9.8d which i dont have upgraded. I know this was a big deal for many people in the past. Im going to have to upgrade OpenSSL then try reinstalling Cyrus when i have time.
 
Acutally the dependancy is OpenSSL-0.9.8d which i dont have upgraded. I know this was a big deal for many people in the past. Im going to have to upgrade OpenSSL then try reinstalling Cyrus when i have time.

You really need to get yourself to 7.4 at a minimum, even though it's ending within a month. However, 8.2 is what you have to be achieving very soon. You're missing out on a lot of improvements (performance-wise) besides security issues, which is highly critical nowadays.
 
@mmx,

cyrus-sasl 2 is now installed from ports, after the OpenSSL was upgraded.

Though I agree with you, user pucky better have FreeBSD upgraded.
 
Back
Top