1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- add options WITH_MD2

Suggested by: Tatsuki Makino

- add options WITH_RC5 and WITH_RFC3779
This commit is contained in:
Dirk Meyer 2010-04-05 18:21:07 +00:00
parent 27aaf90190
commit 8fedce2dc9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=252255
2 changed files with 36 additions and 2 deletions

View File

@ -29,6 +29,9 @@ BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend
OPTIONS= I386 "Use optimized assembler for 80386" off \
SSE2 "Use runtime SSE2 detection" on \
ZLIB "Build with zlib compression" on \
MD2 "Build with MD2 hash (obsolete)" off \
RC5 "Build with RC5 chipher (patented)" off \
RFC3779 "Build with RFC3779 support" off \
DTLS_RENEGOTIATION "Build with DTLS Abbr. renegotiations" off \
DTLS_HEARTBEAT "Build with DTLS Heartbeat Extension" off \
TLS_EXTRACTOR "Build with TLS key material extractor" off \
@ -1061,9 +1064,38 @@ USE_LDCONFIG= yes
.endif
.if !defined(WITHOUT_ZLIB)
EXTRACONFIGURE+= zlib
EXTRACONFIGURE+= zlib zlib-dynamic
.else
EXTRACONFIGURE+= no-zlib
EXTRACONFIGURE+= no-zlib no-zlib-dynamic
.endif
.if defined(WITH_MD2)
EXTRACONFIGURE+= enable-md2
PLIST_SUB+= WITH_MD2=""
.else
EXTRACONFIGURE+= no-md2
PLIST_SUB+= WITH_MD2="@comment "
.endif
.if defined(WITH_RC5)
EXTRACONFIGURE+= enable-rc5
PLIST_SUB+= WITH_RC5=""
.else
EXTRACONFIGURE+= no-rc5
PLIST_SUB+= WITH_RC5="@comment "
.endif
.if defined(WITH_GMP)
EXTRACONFIGURE+= enable-gmp
IGNORE= GMP is LGPLv3 an can not be linked.
.else
EXTRACONFIGURE+= no-gmp
.endif
.if defined(WITH_RFC3779)
EXTRACONFIGURE+= enable-rfc3779
.else
EXTRACONFIGURE+= no-rfc3779
.endif
.if defined(WITH_SCTP)

View File

@ -34,6 +34,7 @@ include/openssl/idea.h
include/openssl/krb5_asn.h
include/openssl/kssl.h
include/openssl/lhash.h
%%WITH_MD2%%include/openssl/md2.h
include/openssl/md4.h
include/openssl/md5.h
include/openssl/mdc2.h
@ -52,6 +53,7 @@ include/openssl/pqueue.h
include/openssl/rand.h
include/openssl/rc2.h
include/openssl/rc4.h
%%WITH_RC5%%include/openssl/rc5.h
include/openssl/ripemd.h
include/openssl/rsa.h
include/openssl/safestack.h