Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Apr 2005 18:04:26 +0200 (CEST)
From:      Georg Graf <georg.graf@wu-wien.ac.at>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        azi-sys@wu-wien.ac.at
Subject:   ports/80111: 
Message-ID:  <200504191604.j3JG4QnF068332@schurli.wu-wien.ac.at>
Resent-Message-ID: <200504191610.j3JGAQa2078115@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         80111
>Category:       ports
>Synopsis:       
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 19 16:10:26 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Georg Graf
>Release:        FreeBSD 5.3-RELEASE-p5 i386
>Organization:
WU Wien
>Environment:
FreeBSD pandora.wu-wien.ac.at 5.4-RC2 FreeBSD 5.4-RC2 #0: Wed Apr
13 14:35:43 CEST 2005
root@pandora.wu-wien.ac.at:/usr/obj/usr/src/sys/SMP i386

>Description:
I wanted to compile the cyrus-sasl2-saslauthd port with
-DWITH_KERBEROS4. The configure script that comes with
cyrus-sasl2 does the test-compile as follows:

cc .... conftest.c -lkrb -lcrypto -lcom_err

The Problem is, that the KTH Kerberos4 libs need to be linked
against -lcrypt, not openssl. Well you may take my fix to patch
the configure file.

The patch should also work for the cyrus-sasl2 port.

I'll Cc: the cmu people.

Thanks for fixing!

>How-To-Repeat:

cd /usr/ports/security/cyrus-sasl2-saslauthd
make -DWITH_KERBEROS4

.. on a freebsd 5 machine.

It wont work.

>Fix:
pandora# pwd
/usr/ports/security/cyrus-sasl2-saslauthd/work/cyrus-sasl-2.1.20

pandora# rcsdiff -r1.1 configure
===================================================================
RCS file: RCS/configure,v
retrieving revision 1.1
diff -r1.1 configure
9207c9207
< LIBS="-lkrb $LIB_DES -lcom_err $LIBS"
---
> LIBS="-lkrb -lcrypt -lcom_err $LIBS"

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504191604.j3JG4QnF068332>