USE_OPENSSL

Submitted by:	Jim Bloom <bloom@acm.org>
This commit is contained in:
Kris Kennaway 2000-02-14 04:12:22 +00:00
parent 17f19b27fd
commit 058359db3f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=25811
4 changed files with 46 additions and 16 deletions

View File

@ -14,13 +14,12 @@ MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \
MAINTAINER= hetzels@westbend.net
BUILD_DEPENDS= openssl:${PORTSDIR}/security/openssl
LIB_DEPENDS= crypto.1:${PORTSDIR}/security/openssl
USE_OPENSSL= NORSA
.include <bsd.port.pre.mk>
SASL_VER= 1.5.15
RESTRICTED= "Contains cryptography"
Y2K= http://asg.web.cmu.edu/cyrus/imapd/y2k.html
MAN3= sasl_client.3 sasl_server.3
@ -43,6 +42,10 @@ CONFIGURE_ARGS= \
CONFIGURE_ARGS+= --enable-gssapi=${KRB5_HOME}
.endif
CONFIGURE_ENV+= LOCALBASE=${LOCALBASE} \
OPENSSLINC=${OPENSSLINC} \
OPENSSLLIB=${OPENSSLLIB}
DOCS= README README.Y2K TODO INSTALL ChangeLog NEWS
DOC2= draft-newman-auth-scram-03.txt \
@ -88,4 +91,4 @@ post-install:
@${MV} ${WRKDIR}/tmp.plist ${TMPPLIST}
.endif
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -1,6 +1,18 @@
--- configure.in.orig Thu Jan 13 23:00:16 2000
+++ configure.in Fri Jan 14 17:56:41 2000
@@ -222,6 +222,7 @@
--- configure.in.orig Fri Jan 14 00:00:16 2000
+++ configure.in Mon Feb 7 15:14:50 2000
@@ -49,8 +49,9 @@
dnl check for -R, etc. switch
CMU_GUESS_RUNPATH_SWITCH
dnl let's just link against local. otherwise we never find anything useful.
-CPPFLAGS="-I/usr/local/include ${CPPFLAGS}"
-CMU_ADD_LIBPATH("/usr/local/lib")
+CPPFLAGS="-I${OPENSSLINC} ${CPPFLAGS}"
+CMU_ADD_LIBPATH("${LOCALBASE}/lib")
+CMU_ADD_LIBPATH("${OPENSSLLIB}")
if test "$enable_java" = yes; then
AC_PATH_PROG(JAVAC, javac, no)
@@ -222,6 +223,7 @@
AC_CHECK_LIB(crypt, crypt,
LIB_CRYPT="-lcrypt"; cmu_have_crypt=yes,
cmu_have_crypt=no))

View File

@ -14,13 +14,12 @@ MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \
MAINTAINER= hetzels@westbend.net
BUILD_DEPENDS= openssl:${PORTSDIR}/security/openssl
LIB_DEPENDS= crypto.1:${PORTSDIR}/security/openssl
USE_OPENSSL= NORSA
.include <bsd.port.pre.mk>
SASL_VER= 1.5.15
RESTRICTED= "Contains cryptography"
Y2K= http://asg.web.cmu.edu/cyrus/imapd/y2k.html
MAN3= sasl_client.3 sasl_server.3
@ -43,6 +42,10 @@ CONFIGURE_ARGS= \
CONFIGURE_ARGS+= --enable-gssapi=${KRB5_HOME}
.endif
CONFIGURE_ENV+= LOCALBASE=${LOCALBASE} \
OPENSSLINC=${OPENSSLINC} \
OPENSSLLIB=${OPENSSLLIB}
DOCS= README README.Y2K TODO INSTALL ChangeLog NEWS
DOC2= draft-newman-auth-scram-03.txt \
@ -88,4 +91,4 @@ post-install:
@${MV} ${WRKDIR}/tmp.plist ${TMPPLIST}
.endif
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -1,6 +1,18 @@
--- configure.in.orig Thu Jan 13 23:00:16 2000
+++ configure.in Fri Jan 14 17:56:41 2000
@@ -222,6 +222,7 @@
--- configure.in.orig Fri Jan 14 00:00:16 2000
+++ configure.in Mon Feb 7 15:14:50 2000
@@ -49,8 +49,9 @@
dnl check for -R, etc. switch
CMU_GUESS_RUNPATH_SWITCH
dnl let's just link against local. otherwise we never find anything useful.
-CPPFLAGS="-I/usr/local/include ${CPPFLAGS}"
-CMU_ADD_LIBPATH("/usr/local/lib")
+CPPFLAGS="-I${OPENSSLINC} ${CPPFLAGS}"
+CMU_ADD_LIBPATH("${LOCALBASE}/lib")
+CMU_ADD_LIBPATH("${OPENSSLLIB}")
if test "$enable_java" = yes; then
AC_PATH_PROG(JAVAC, javac, no)
@@ -222,6 +223,7 @@
AC_CHECK_LIB(crypt, crypt,
LIB_CRYPT="-lcrypt"; cmu_have_crypt=yes,
cmu_have_crypt=no))