Cyassl is an embedded SSL Library for programmers building security
functionality into their applications and devices.
Features
SSL version 3 and TLS versions 1, 1.1 and 1.2 (client and server)
Minimum size of 60-100kb, depending on build options
Runtime memory usage between 5-50kb
DTLS support (client and server)
OpenSSL compatibility layer
zlib compression support
integration in MySQL, stunnel, Lighttpd availible.
MD2, MD4, MD5, SHA-1, RIPEMD, HMAC, DES, 3DES, AES, ARC4, TWOFISH, BLOWFISH,
RSA, DSS, DH, and PKCS#5 PBKDF2
ia32 assembly for AES, 3DES, BLOWFISH, TWOFISH, ARC4, MD5, SHA, and RIPEMD
SSE2 instructions for Large Integers
Simple API
Interchangeable crypto and certificate libraries
PEM and DER certificate support
Very fast
LICENSE: GPL2 with FOSS extension
WWW: http://www.yassl.com/
2009-12-12 12:31:19 +00:00
|
|
|
# New ports collection makefile for: cyassl
|
|
|
|
# Date created: 10 Dec 2009
|
|
|
|
# Whom: dirk.meyer@dinoex.sub.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= cyassl
|
2010-01-24 17:52:22 +00:00
|
|
|
PORTVERSION= 1.3.0
|
Cyassl is an embedded SSL Library for programmers building security
functionality into their applications and devices.
Features
SSL version 3 and TLS versions 1, 1.1 and 1.2 (client and server)
Minimum size of 60-100kb, depending on build options
Runtime memory usage between 5-50kb
DTLS support (client and server)
OpenSSL compatibility layer
zlib compression support
integration in MySQL, stunnel, Lighttpd availible.
MD2, MD4, MD5, SHA-1, RIPEMD, HMAC, DES, 3DES, AES, ARC4, TWOFISH, BLOWFISH,
RSA, DSS, DH, and PKCS#5 PBKDF2
ia32 assembly for AES, 3DES, BLOWFISH, TWOFISH, ARC4, MD5, SHA, and RIPEMD
SSE2 instructions for Large Integers
Simple API
Interchangeable crypto and certificate libraries
PEM and DER certificate support
Very fast
LICENSE: GPL2 with FOSS extension
WWW: http://www.yassl.com/
2009-12-12 12:31:19 +00:00
|
|
|
CATEGORIES= security devel
|
|
|
|
MASTER_SITES= http://www.yassl.com/
|
|
|
|
|
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
|
|
|
COMMENT= A embedded SSL C-Library
|
|
|
|
|
|
|
|
USE_ZIP= yes
|
|
|
|
USE_AUTOTOOLS= libtool:22
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --disable-dependency-tracking
|
|
|
|
CONFIGURE_ARGS+= --enable-shared --enable-static
|
|
|
|
CONFIGURE_ARGS+= --enable-dtls --enable-opensslExtra --enable-ipv6
|
|
|
|
CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/${PORTNAME} --includedir=${PREFIX}/include/${PORTNAME}
|
|
|
|
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}
|
|
|
|
PORTDOCS= AUTHORS ChangeLog NEWS README
|
|
|
|
|
|
|
|
post-configure:
|
|
|
|
${REINPLACE_CMD} \
|
|
|
|
-e 's|/usr/local/cyassl/include|${PREFIX}/include/cyassl|' \
|
|
|
|
-e 's|/usr/local/cyassl/lib|${PREFIX}/lib/cyassl|' \
|
|
|
|
${WRKSRC}/Makefile
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/.libs/libcyassl.so.0 ${PREFIX}/lib/cyassl/libcyassl.so.0
|
|
|
|
${LN} -s libcyassl.so.0 ${PREFIX}/lib/cyassl/libcyassl.so
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for i in ${PORTDOCS}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${i} ${DOCSDIR}/
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|