polarssl: removed; superseded by mbedtls.

This commit is contained in:
Juan RP 2015-02-24 11:27:50 +01:00
parent f71698e46a
commit cee7dd3b84
5 changed files with 0 additions and 55 deletions

View File

@ -1 +0,0 @@
polarssl

View File

@ -1 +0,0 @@
polarssl

View File

@ -1,11 +0,0 @@
--- library/asn1parse.c
+++ library/asn1parse.c
@@ -278,6 +278,8 @@ int asn1_get_sequence_of( unsigned char **p,
if( cur->next == NULL )
return( POLARSSL_ERR_ASN1_MALLOC_FAILED );
+ memset( cur->next, 0, sizeof( asn1_sequence ) );
+
cur = cur->next;
}
}

View File

@ -1,41 +0,0 @@
# Template file for 'polarssl'
pkgname=polarssl
version=1.3.9
revision=4
build_style=cmake
configure_args="-DENABLE_ZLIB_SUPPORT=on -DUSE_SHARED_POLARSSL_LIBRARY=on"
hostmakedepends="cmake perl"
makedepends="zlib-devel libressl-devel"
short_desc="Portable cryptographic and SSL/TLS library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://www.polarssl.org"
distfiles="http://www.polarssl.org/code/releases/polarssl-${version}-gpl.tgz"
checksum=d3605afc28ed4b7d1d9e3142d72e42855e4a23c07c951bbb0299556b02d36755
pre_configure() {
sed -i -e 's|//\(#define POLARSSL_THREADING_C\)|\1|' \
-e 's|//\(#define POLARSSL_THREADING_PTHREAD\)|\1|' \
include/polarssl/config.h
}
post_install() {
rm ${DESTDIR}/usr/bin/{md5,sha1}sum
}
libpolarssl_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
polarssl-devel_package() {
short_desc+=" - development files"
depends="libpolarssl>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}

View File

@ -1 +0,0 @@
pattern=$pkgname'-\K[\d.]+'