svn commit: r392280 - in head/security: . mbedtls
Tijl Coosemans
tijl at FreeBSD.org
Thu Jul 16 08:42:39 UTC 2015
Author: tijl
Date: Thu Jul 16 08:42:37 2015
New Revision: 392280
URL: https://svnweb.freebsd.org/changeset/ports/392280
Log:
Add a new port for mbed TLS 2.0.0 (formerly polarssl)
Added:
head/security/mbedtls/
- copied from r391690, head/security/polarssl13/
Modified:
head/security/Makefile
head/security/mbedtls/Makefile
head/security/mbedtls/distinfo
head/security/mbedtls/pkg-plist
Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile Thu Jul 16 08:30:59 2015 (r392279)
+++ head/security/Makefile Thu Jul 16 08:42:37 2015 (r392280)
@@ -335,6 +335,7 @@
SUBDIR += masscan
SUBDIR += massh
SUBDIR += matrixssl
+ SUBDIR += mbedtls
SUBDIR += mcrypt
SUBDIR += md4coll
SUBDIR += md5coll
Modified: head/security/mbedtls/Makefile
==============================================================================
--- head/security/polarssl13/Makefile Fri Jul 10 07:28:20 2015 (r391690)
+++ head/security/mbedtls/Makefile Thu Jul 16 08:42:37 2015 (r392280)
@@ -1,14 +1,12 @@
# $FreeBSD$
-PORTNAME= polarssl
-PORTVERSION= 1.3.11
+PORTNAME= mbedtls
+PORTVERSION= 2.0.0
DISTVERSIONSUFFIX= -gpl
CATEGORIES= security devel
-MASTER_SITES= https://polarssl.org/download/
-PKGNAMESUFFIX= 13
-DISTNAME= mbedtls-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
+MASTER_SITES= https://tls.mbed.org/download/
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= tijl at FreeBSD.org
COMMENT= SSL/TLS and cryptography library
LICENSE= GPLv2
@@ -16,17 +14,18 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
ALL_TARGET= no_test
MAKE_ENV= SHARED=1
-USES= cpe gmake tar:tgz
+USES= gmake tar:tgz
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/mbedtls-${PORTVERSION}
-CONFLICTS= polarssl-[0-9]*
+CONFLICTS_INSTALL= polarssl13-[0-9]*
post-patch:
@${REINPLACE_CMD} \
-e 's/PREFIX/NAMEPREFIX/' \
-e 's/$$(DESTDIR)/&$$(PREFIX)/' \
+ -e '/^install:/s/[[:<:]]all//' \
${WRKSRC}/Makefile
post-install:
Modified: head/security/mbedtls/distinfo
==============================================================================
--- head/security/polarssl13/distinfo Fri Jul 10 07:28:20 2015 (r391690)
+++ head/security/mbedtls/distinfo Thu Jul 16 08:42:37 2015 (r392280)
@@ -1,2 +1,2 @@
-SHA256 (mbedtls-1.3.11-gpl.tgz) = 67a593027b6a442a4fa5b6c224c4ac8cdae5be721f5a28a11d34f10dcda441cb
-SIZE (mbedtls-1.3.11-gpl.tgz) = 1731809
+SHA256 (mbedtls-2.0.0-gpl.tgz) = 149a06621368540b7e1cef1b203c268439c2edbf29e2e9471d8021125df34952
+SIZE (mbedtls-2.0.0-gpl.tgz) = 1790002
Modified: head/security/mbedtls/pkg-plist
==============================================================================
--- head/security/polarssl13/pkg-plist Fri Jul 10 07:28:20 2015 (r391690)
+++ head/security/mbedtls/pkg-plist Thu Jul 16 08:42:37 2015 (r392280)
@@ -2,11 +2,15 @@ bin/mbedtls_aescrypt2
bin/mbedtls_benchmark
bin/mbedtls_cert_app
bin/mbedtls_cert_req
+bin/mbedtls_cert_write
bin/mbedtls_crl_app
bin/mbedtls_crypt_and_hash
bin/mbedtls_dh_client
bin/mbedtls_dh_genprime
bin/mbedtls_dh_server
+bin/mbedtls_dtls_client
+bin/mbedtls_dtls_server
+bin/mbedtls_ecdsa
bin/mbedtls_gen_entropy
bin/mbedtls_gen_key
bin/mbedtls_gen_random_ctr_drbg
@@ -15,7 +19,6 @@ bin/mbedtls_generic_sum
bin/mbedtls_hello
bin/mbedtls_key_app
bin/mbedtls_key_app_writer
-bin/mbedtls_md5sum
bin/mbedtls_mini_client
bin/mbedtls_mpi_demo
bin/mbedtls_pem2der
@@ -23,6 +26,7 @@ bin/mbedtls_pk_decrypt
bin/mbedtls_pk_encrypt
bin/mbedtls_pk_sign
bin/mbedtls_pk_verify
+bin/mbedtls_req_app
bin/mbedtls_rsa_decrypt
bin/mbedtls_rsa_encrypt
bin/mbedtls_rsa_genkey
@@ -31,8 +35,6 @@ bin/mbedtls_rsa_sign_pss
bin/mbedtls_rsa_verify
bin/mbedtls_rsa_verify_pss
bin/mbedtls_selftest
-bin/mbedtls_sha1sum
-bin/mbedtls_sha2sum
bin/mbedtls_ssl_cert_test
bin/mbedtls_ssl_client1
bin/mbedtls_ssl_client2
@@ -40,119 +42,73 @@ bin/mbedtls_ssl_fork_server
bin/mbedtls_ssl_mail_client
bin/mbedtls_ssl_server
bin/mbedtls_ssl_server2
-bin/mbedtls_ssl_test
bin/mbedtls_strerror
-bin/polarssl_aescrypt2
-bin/polarssl_benchmark
-bin/polarssl_cert_app
-bin/polarssl_cert_req
-bin/polarssl_crl_app
-bin/polarssl_crypt_and_hash
-bin/polarssl_dh_client
-bin/polarssl_dh_genprime
-bin/polarssl_dh_server
-bin/polarssl_gen_entropy
-bin/polarssl_gen_key
-bin/polarssl_gen_random_ctr_drbg
-bin/polarssl_gen_random_havege
-bin/polarssl_generic_sum
-bin/polarssl_hello
-bin/polarssl_key_app
-bin/polarssl_key_app_writer
-bin/polarssl_md5sum
-bin/polarssl_mini_client
-bin/polarssl_mpi_demo
-bin/polarssl_pem2der
-bin/polarssl_pk_decrypt
-bin/polarssl_pk_encrypt
-bin/polarssl_pk_sign
-bin/polarssl_pk_verify
-bin/polarssl_rsa_decrypt
-bin/polarssl_rsa_encrypt
-bin/polarssl_rsa_genkey
-bin/polarssl_rsa_sign
-bin/polarssl_rsa_sign_pss
-bin/polarssl_rsa_verify
-bin/polarssl_rsa_verify_pss
-bin/polarssl_selftest
-bin/polarssl_sha1sum
-bin/polarssl_sha2sum
-bin/polarssl_ssl_cert_test
-bin/polarssl_ssl_client1
-bin/polarssl_ssl_client2
-bin/polarssl_ssl_fork_server
-bin/polarssl_ssl_mail_client
-bin/polarssl_ssl_server
-bin/polarssl_ssl_server2
-bin/polarssl_ssl_test
-bin/polarssl_strerror
-include/polarssl/aes.h
-include/polarssl/aesni.h
-include/polarssl/arc4.h
-include/polarssl/asn1.h
-include/polarssl/asn1write.h
-include/polarssl/base64.h
-include/polarssl/bignum.h
-include/polarssl/blowfish.h
-include/polarssl/bn_mul.h
-include/polarssl/camellia.h
-include/polarssl/ccm.h
-include/polarssl/certs.h
-include/polarssl/check_config.h
-include/polarssl/cipher.h
-include/polarssl/cipher_wrap.h
-include/polarssl/compat-1.2.h
-include/polarssl/config.h
-include/polarssl/ctr_drbg.h
-include/polarssl/debug.h
-include/polarssl/des.h
-include/polarssl/dhm.h
-include/polarssl/ecdh.h
-include/polarssl/ecdsa.h
-include/polarssl/ecp.h
-include/polarssl/entropy.h
-include/polarssl/entropy_poll.h
-include/polarssl/error.h
-include/polarssl/gcm.h
-include/polarssl/havege.h
-include/polarssl/hmac_drbg.h
-include/polarssl/md.h
-include/polarssl/md2.h
-include/polarssl/md4.h
-include/polarssl/md5.h
-include/polarssl/md_wrap.h
-include/polarssl/memory.h
-include/polarssl/memory_buffer_alloc.h
-include/polarssl/net.h
-include/polarssl/oid.h
-include/polarssl/openssl.h
-include/polarssl/padlock.h
-include/polarssl/pbkdf2.h
-include/polarssl/pem.h
-include/polarssl/pk.h
-include/polarssl/pk_wrap.h
-include/polarssl/pkcs11.h
-include/polarssl/pkcs12.h
-include/polarssl/pkcs5.h
-include/polarssl/platform.h
-include/polarssl/ripemd160.h
-include/polarssl/rsa.h
-include/polarssl/sha1.h
-include/polarssl/sha256.h
-include/polarssl/sha512.h
-include/polarssl/ssl.h
-include/polarssl/ssl_cache.h
-include/polarssl/ssl_ciphersuites.h
-include/polarssl/threading.h
-include/polarssl/timing.h
-include/polarssl/version.h
-include/polarssl/x509.h
-include/polarssl/x509_crl.h
-include/polarssl/x509_crt.h
-include/polarssl/x509_csr.h
-include/polarssl/xtea.h
+bin/mbedtls_udp_proxy
+include/mbedtls/aes.h
+include/mbedtls/aesni.h
+include/mbedtls/arc4.h
+include/mbedtls/asn1.h
+include/mbedtls/asn1write.h
+include/mbedtls/base64.h
+include/mbedtls/bignum.h
+include/mbedtls/blowfish.h
+include/mbedtls/bn_mul.h
+include/mbedtls/camellia.h
+include/mbedtls/ccm.h
+include/mbedtls/certs.h
+include/mbedtls/check_config.h
+include/mbedtls/cipher.h
+include/mbedtls/cipher_internal.h
+include/mbedtls/compat-1.3.h
+include/mbedtls/config.h
+include/mbedtls/ctr_drbg.h
+include/mbedtls/debug.h
+include/mbedtls/des.h
+include/mbedtls/dhm.h
+include/mbedtls/ecdh.h
+include/mbedtls/ecdsa.h
+include/mbedtls/ecp.h
+include/mbedtls/entropy.h
+include/mbedtls/entropy_poll.h
+include/mbedtls/error.h
+include/mbedtls/gcm.h
+include/mbedtls/havege.h
+include/mbedtls/hmac_drbg.h
+include/mbedtls/md.h
+include/mbedtls/md2.h
+include/mbedtls/md4.h
+include/mbedtls/md5.h
+include/mbedtls/md_internal.h
+include/mbedtls/memory_buffer_alloc.h
+include/mbedtls/net.h
+include/mbedtls/oid.h
+include/mbedtls/padlock.h
+include/mbedtls/pem.h
+include/mbedtls/pk.h
+include/mbedtls/pk_internal.h
+include/mbedtls/pkcs11.h
+include/mbedtls/pkcs12.h
+include/mbedtls/pkcs5.h
+include/mbedtls/platform.h
+include/mbedtls/ripemd160.h
+include/mbedtls/rsa.h
+include/mbedtls/sha1.h
+include/mbedtls/sha256.h
+include/mbedtls/sha512.h
+include/mbedtls/ssl.h
+include/mbedtls/ssl_cache.h
+include/mbedtls/ssl_ciphersuites.h
+include/mbedtls/ssl_cookie.h
+include/mbedtls/ssl_internal.h
+include/mbedtls/ssl_ticket.h
+include/mbedtls/threading.h
+include/mbedtls/timing.h
+include/mbedtls/version.h
+include/mbedtls/x509.h
+include/mbedtls/x509_crl.h
+include/mbedtls/x509_crt.h
+include/mbedtls/x509_csr.h
+include/mbedtls/xtea.h
lib/libmbedtls.a
lib/libmbedtls.so
-lib/libmbedtls.so.9
-lib/libpolarssl.a
-lib/libpolarssl.so
+lib/libmbedtls.so.10
More information about the svn-ports-all
mailing list