mit-krb5: switch to libressl.

This commit is contained in:
Juan RP 2014-07-16 00:05:48 +02:00
parent cba4e89272
commit 665590b844
2 changed files with 14 additions and 3 deletions

View file

@ -0,0 +1,11 @@
--- src/plugins/preauth/pkinit/pkinit_crypto_openssl.c.orig 2014-07-16 00:02:32.311738055 +0200
+++ src/plugins/preauth/pkinit/pkinit_crypto_openssl.c 2014-07-16 00:03:04.729003461 +0200
@@ -172,7 +172,7 @@ static char *
pkinit_pkcs11_code_to_text(int err);
-#if OPENSSL_VERSION_NUMBER >= 0x10000000L
+#if OPENSSL_VERSION_NUMBER >= 0x10000000L && OPENSSL_VERSION_NUMBER < 0x20000000L
/* Use CMS support present in OpenSSL 1.0 and later. */
#include <openssl/cms.h>
#define pkinit_CMS_get0_content_signed(_cms) CMS_get0_content(_cms)

View file

@ -1,7 +1,7 @@
# Template file for 'mit-krb5'
pkgname=mit-krb5
version=1.12.1
revision=2
revision=3
short_desc="MIT Kerberos 5 implementation"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
@ -19,7 +19,7 @@ configure_args="--disable-rpath --with-system-et --without-system-verto
--with-system-ss --with-system-db --enable-shared --without-tcl"
hostmakedepends="perl flex"
makedepends="db-devel>=5.3 e2fsprogs-devel openssl-devel"
makedepends="db-devel>=5.3 e2fsprogs-devel libressl-devel"
depends="mit-krb5-client>=${version}_${revision}"
conflicts="heimdal>=0"
@ -57,7 +57,7 @@ mit-krb5-client_package() {
}
mit-krb5-devel_package() {
depends="db-devel>=5.3 openssl-devel e2fsprogs-devel>=1.4.10_1 mit-krb5-libs>=${version}_${revision}"
depends="${makedepends} mit-krb5-libs>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include