Add "-ldes" for ${USE_KERBEROS}==YES case, on NetBSD-1.5* only. This

should close PR pkg/19430 and PR pkg/20491.
This commit is contained in:
fredb 2003-04-10 14:56:21 +00:00
parent ddd178244f
commit 0fbd58035b
3 changed files with 11 additions and 7 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.55 2003/03/31 16:18:04 bouyer Exp $
# $NetBSD: Makefile,v 1.56 2003/04/10 14:56:21 fredb Exp $
DISTNAME= imap-2002b
PKGNAME= imap-uw-2002.2
@ -29,10 +29,14 @@ ALL_TARGET= lrh
ALL_TARGET= osx
.else
ALL_TARGET= neb
.if defined(USE_KERBEROS) && (${USE_KERBEROS} != "no")
. if defined(USE_KERBEROS) && (${USE_KERBEROS} != "no")
PKG_USE_KERBEROS= #defined
ALL_TARGET+= EXTRAAUTHENTICATORS="gss"
.endif
. if !empty(MACHINE_PLATFORM:MNetBSD-1.5*)
# NetBSD-1.5 didn't have "des_new_random_key" in libcrypto
MAKE_ENV+= GSS_EXTRA_LDFLAGS= -ldes
. endif
. endif
.endif
BUILD_DEFS+= IMAP_UW_CCLIENT_MBOX_FMT IMAP_UW_NO_CLEARTEXT

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.10 2003/01/23 07:37:16 martti Exp $
$NetBSD: distinfo,v 1.11 2003/04/10 14:56:21 fredb Exp $
SHA1 (imap-2002b.tar.Z) = c9ab145a8559670a6a994393d2b9614a5a1fde67
Size (imap-2002b.tar.Z) = 2168106 bytes
@ -8,6 +8,6 @@ SHA1 (patch-ac) = 8b4ea8c15929c65eda1b3444c68fdbf70fa68b6a
SHA1 (patch-ad) = 3404de4e4acb456e3c7b34ca80b31b80b465b3e1
SHA1 (patch-ae) = 702473377ca66266bdb6d5d13045d279a38ea7de
SHA1 (patch-ai) = aaa778f60684c797cc53a109b8430fa05ec7f424
SHA1 (patch-aj) = 3e56f0910ecd6eb50cad7855908c8ff90a889d88
SHA1 (patch-aj) = 5ce6d6b487e8f8535f7e22483796b6c01af9eb79
SHA1 (patch-ak) = a0a1a21ec22a92d086e665b263b51532207d0e3c
SHA1 (patch-al) = ea40f48394df229c03b028eb58d915b5dc5e162b

View file

@ -1,4 +1,4 @@
$NetBSD: patch-aj,v 1.9 2002/12/11 12:21:25 tron Exp $
$NetBSD: patch-aj,v 1.10 2003/04/10 14:56:21 fredb Exp $
--- src/osdep/unix/Makefile.gss.orig Wed Oct 23 17:23:36 2002
+++ src/osdep/unix/Makefile.gss Wed Oct 23 17:41:19 2002
@ -26,4 +26,4 @@ $NetBSD: patch-aj,v 1.9 2002/12/11 12:21:25 tron Exp $
+gss:
+ echo "-I/usr/include/krb5" >> OSCFLAGS
+ echo "-lgssapi -lkrb5 -lasn1 -lcrypto -lcom_err -lroken" >> LDFLAGS
+ echo "-lgssapi -lkrb5 -lasn1 -lcrypto ${GSS_EXTRA_LDFLAGS} -lcom_err -lroken" >> LDFLAGS