Subject: cyrus-saslauthd on Soalris 5.9
To: None <tech-pkg@netbsd.org>
From: Charlie Allom <charlie@rubberduck.com>
List: tech-pkg
Date: 05/14/2004 14:32:42
Hi,
I had to make these changes to get cyrus-salsdauthd to work on Solaris
5.9. Any chance of someone taking a look at this?
I changed work.squeaky/cyrus-sasl-2.1.18/saslauthd/md5.c to #include
</usr/pkg/incude/sasl/*> instead of <blah.h>, which my 'CFLAGS' statement and
cyrus-sals2 .include, were meant to correct (below) but didn't.
squeaky:/usr/src/pkgsrc/security/cyrus-saslauthd$ diff -u Makefile.orig Makefile
--- Makefile.orig 2004-05-14 14:26:49.668878000 +1000
+++ Makefile 2004-05-14 14:02:41.113872000 +1000
@@ -34,6 +34,14 @@
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"
+. 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-saslauthd$
Cheers,
C.
--
charlie@rubberduck.com - Melbourne, Australia
http://rubberduck.com/~yeled/
PGP: 0x14AA7941 || finger yeled@lazy.spodder.com