diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2000-06-11 08:05:34 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2000-06-11 08:05:34 +0000 |
commit | f3e3e84330873097328ee56cf7e37e1e18358c53 (patch) | |
tree | 46f6b6a3281d2f7a298166839816ca8a193f4ebc /security/cyrus-sasl2/Makefile | |
parent | 4760abbaa5cf06de47a7189d8cf3e1fb88068b6e (diff) | |
download | ports-f3e3e84330873097328ee56cf7e37e1e18358c53.tar.gz ports-f3e3e84330873097328ee56cf7e37e1e18358c53.zip |
Notes
Diffstat (limited to 'security/cyrus-sasl2/Makefile')
-rw-r--r-- | security/cyrus-sasl2/Makefile | 86 |
1 files changed, 60 insertions, 26 deletions
diff --git a/security/cyrus-sasl2/Makefile b/security/cyrus-sasl2/Makefile index 05101ba3e798..01b4ff719d84 100644 --- a/security/cyrus-sasl2/Makefile +++ b/security/cyrus-sasl2/Makefile @@ -6,7 +6,7 @@ # PORTNAME= cyrus-sasl -PORTVERSION= 1.5.15 +PORTVERSION= 1.5.21 CATEGORIES= security MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \ http://people.FreeBSD.org/~stb/mirror/ftp.andrew.cmu.edu/pub/cyrus-mail/ \ @@ -14,21 +14,24 @@ MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \ MAINTAINER= hetzels@westbend.net -USE_OPENSSL= NORSA +USE_OPENSSL= RSA .include <bsd.port.pre.mk> -SASL_VER= ${PORTVERSION} #note, may not be needed any more - Y2K= http://asg.web.cmu.edu/cyrus/imapd/y2k.html -MAN3= sasl_client.3 sasl_server.3 -MAN8= saslpasswd.8 +MAN3= sasl.3 sasl_authorize_t.3 sasl_callbacks.3 sasl_checkpass.3 \ + sasl_client_init.3 sasl_client_new.3 sasl_client_start.3 sasl_client_step.3 \ + sasl_decode.3 sasl_done.3 sasl_encode.3 sasl_errstring.3 sasl_getopt_t.3 \ + sasl_getpath_t.3 sasl_getprop.3 sasl_getsecret_t.3 sasl_getsimple_t.3 \ + sasl_listmech.3 sasl_log_t.3 \ + sasl_server_init.3 sasl_server_new.3 sasl_server_start.3 sasl_server_step.3 \ + sasl_setprop.3 sasl_usererr.3 +MAN8= sasldblistusers.8 saslpasswd.8 USE_AUTOCONF= YES USE_LIBTOOL= YES -CONFIGURE_ARGS= --prefix=${PREFIX} \ - --sysconfdir=${PREFIX}/etc \ +CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \ --with-plugindir=${PREFIX}/lib/sasl \ --with-dbpath=${PREFIX}/etc/sasldb \ --includedir=${PREFIX}/include/sasl \ @@ -37,22 +40,55 @@ CONFIGURE_ARGS= --prefix=${PREFIX} \ --with-pwcheck=/var/pwcheck \ --with-rc4=openssl +# JavaSASL is currently Broken +#JAVADIR= jdk1.1.8 +#JAVALIBDIR= ${PREFIX}/${JAVADIR}/lib/i386/green_threads/ + +#.if defined(USE_JAVA) || exists(${LOCALBASE}/${JAVADIR}/bin/java) +#BUILD_DEPENDS= ${LOCALBASE}/${JAVADIR}/bin/java:${PORTSDIR}/java/jdk +#CONFIGURE_ARGS+= --with-java \ +# --with-javabase=${LOCALBASE}/include +# +#CONFIGURE_ENV= JAVAC="${LOCALBASE}/${JAVADIR}/bin/javac" \ +# JAVAH="${LOCALBASE}/${JAVADIR}/bin/javah" \ +# JAVADOC="${LOCALBASE}/${JAVADIR}/bin/javadoc" +#.endif + .if defined(KRB5_HOME) && exists(${KRB5_HOME}) CONFIGURE_ARGS+= --enable-gssapi=${KRB5_HOME} +.else +CONFIGURE_ARGS+= --disable-gssapi +GSSAPI= "@comment " +.endif + +.if exists(/usr/lib/libkrb.a) +CONFIGURE_ARGS+= --enable-krb4 +.else +CONFIGURE_ARGS+= --disable-krb4 +EBONES= "@comment " .endif CONFIGURE_ENV+= LOCALBASE=${LOCALBASE} \ OPENSSLINC=${OPENSSLINC} \ OPENSSLLIB=${OPENSSLLIB} -DOCS= README README.Y2K TODO INSTALL ChangeLog NEWS +DOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README TODO -DOC2= draft-newman-auth-scram-03.txt \ - draft-newman-sasl-anon-00.txt \ - draft-leach-digest-sasl-03.txt \ - rfc1321.txt rfc2095.txt rfc2104.txt rfc2222.txt +DOC2= draft-leach-digest-sasl-05.txt \ + draft-newman-auth-scram-03.txt \ + rfc1321.txt rfc2095.txt rfc2104.txt \ + rfc2222.txt rfc2245.txt -HTDOCS= index programming sysadmin +HTDOCS= gssapi index programming sysadmin + +.if defined(NOPORTDOCS) +NODOCS= "@comment " +.endif + +PLIST_SUB= PREFIX=${PREFIX} \ + GSSAPI=${GSSAPI} \ + EBONES=${EBONES} \ + NOPORTDOCS=${NODOCS} # Create Cyrus user and group pre-install: @@ -67,27 +103,25 @@ post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${PREFIX}/share/doc/SASL/html .for file in ${DOCS} - @${ECHO} share/doc/SASL/${file} >>${TMPPLIST} @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/SASL .endfor .for file in ${DOC2} - @${ECHO} share/doc/SASL/${file} >>${TMPPLIST} @${INSTALL_DATA} ${WRKSRC}/doc/${file} ${PREFIX}/share/doc/SASL .endfor .for file in ${HTDOCS} @${INSTALL_DATA} ${WRKSRC}/doc/${file}.html ${PREFIX}/share/doc/SASL/html - @${ECHO} share/doc/SASL/html/${file}.html >>${TMPPLIST} .endfor - @${ECHO} "@dirrm share/doc/SASL/html" >>${TMPPLIST} - @${ECHO} "@dirrm share/doc/SASL" >>${TMPPLIST} .endif -.if !defined(KRB5_HOME) || !exists(${KRB5_HOME}) - @${GREP} -v libgssapiv2 ${TMPPLIST} > ${WRKDIR}/tmp.plist - @${MV} ${WRKDIR}/tmp.plist ${TMPPLIST} -.endif -.if !defined(MAKE_EBONES) || exists(/usr/lib/libkrb.a) - @${GREP} -v libkerberos4 ${TMPPLIST} > ${WRKDIR}/tmp.plist - @${MV} ${WRKDIR}/tmp.plist ${TMPPLIST} + +.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc) +post-clean: + @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc + +.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc" +.elif ${PREFIX} != ${LOCALBASE} +# Save PREFIX so that it can be used during make install +.BEGIN: + @echo "PREFIX= ${PREFIX}" > ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc .endif .include <bsd.port.post.mk> |