pkgsrc-Bugs archive

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

pkg/25582: cyrus-salsauthd for Solaris needs OpenSSL



>Number:         25582
>Category:       pkg
>Synopsis:       patch for cyrus-sasl2authd for Solaris
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 15 15:01:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Charlie Allom
>Release:        SunOS 5.9
>Organization:
 charlie%rubberduck.com@localhost - Melbourne, Australia
 http://rubberduck.com/~yeled/
 PGP: 0x14AA7941 || finger yeled%lazy.spodder.com@localhost
>Environment:
        
        
System: SunOS squeaky 5.9 Generic_112233-11 sun4u sparc SUNW,Ultra-2
Architecture: sparc
Machine: sun4u
>Description:
        cyrus-salsauthd will fail to compile from the start:

===> Building for cyrus-saslauthd-2.1.18
/usr/pkg/bin/bmake  all-am
source='auth_getpwent.c' object='auth_getpwent.o' libtool=no  depfile='.deps/aut
h_getpwent.Po' tmpdepfile='.deps/auth_getpwent.TPo'  depmode=none /usr/pkg/bin/p
dksh ./config/depcomp  cc -DHAVE_CONFIG_H -DSASLAUTHD_CONF_FILE_DEFAULT=\"/usr/p
kg/etc/saslauthd.conf\" -I. -I. -I.. -I. -I. -I. -I./include -I./include -I./../
include   -I/usr/include -I/usr/include  -O -xO4 -xspace -xarch=v8plusa -xtarget
=ultra2 -I/usr/include -c `test -f 'auth_getpwent.c' || echo './'`auth_getpwent.
c
"auth_getpwent.c", line 48: cannot find include file: <des.h>

>How-To-Repeat:
        
>Fix:
        
squeaky:/usr/src/pkgsrc/security/cyrus-sasl2$ pkgdiff 
../cyrus-saslauthd/Makefile
$NetBSD$

--- ../cyrus-saslauthd/Makefile.orig    2004-05-14 14:26:49.668878000 +1000
+++ ../cyrus-saslauthd/Makefile
@@ -34,6 +34,14 @@ BUILD_DEFS+=         SASLSOCKETDIR
 FILES_SUBST+=          SASLSOCKETDIR=${SASLSOCKETDIR}
 CONFIGURE_ARGS+=       --with-saslauthd="${SASLSOCKETDIR}"

+.if ${OPSYS} == "SunOS" # no des.h so we MUST use OpenSSL
+CONFIGURE_ARGS+=    --with-openssl=${SSLBASE}
+CONFIGURE_ARGS+=    --with-ipctype=doors
+CFLAGS+=       "-I${BUILDLINK_PREFIX.cyrus-sasl2}/include/sasl"
+. include "../../security/cyrus-sasl2/buildlink3.mk"
+. include "../../security/openssl/buildlink3.mk"
+.endif
+
 .if defined(USE_PAM)
 .  include "../../security/PAM/buildlink3.mk"
 CONFIGURE_ARGS+=       --with-pam=${BUILDLINK_PREFIX.pam}
squeaky:/usr/src/pkgsrc/security/cyrus-sasl2$

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



Home | Main Index | Thread Index | Old Index