From 3ecdc2615b5da2bbbc7f2f28e9a346ac59bb2c4a Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 11 Oct 2018 11:01:39 +0200 Subject: [PATCH] Tools/gnutls -added --- Tools/gnutls/build | 18 ++++++++++++++++++ Tools/gnutls/files/variants | 1 + Tools/gnutls/files/variants.Darwin | 1 + Tools/gnutls/modulefile | 18 ++++++++++++++++++ 4 files changed, 38 insertions(+) create mode 100755 Tools/gnutls/build create mode 100644 Tools/gnutls/files/variants create mode 100644 Tools/gnutls/files/variants.Darwin create mode 100644 Tools/gnutls/modulefile diff --git a/Tools/gnutls/build b/Tools/gnutls/build new file mode 100755 index 0000000..a4b778f --- /dev/null +++ b/Tools/gnutls/build @@ -0,0 +1,18 @@ +#!/usr/bin/env modbuild + +pbuild::set_download_url "https://www.gnupg.org/ftp/gcrypt/$P/v${V_MAJOR}.${V_MINOR}/$P-$V.tar.xz" + +pbuild::add_to_group 'Tools' + +module use 'Libraries' + +if [[ ${OS} == Darwin ]]; then + module use System + pbuild::add_configure_args "CC=clang" +fi +pbuild::add_configure_args "--with-included-unistring" +pbuild::add_configure_args "--with-included-libtasn1" +pbuild::add_configure_args "--without-p11-kit" + +pbuild::make_all + diff --git a/Tools/gnutls/files/variants b/Tools/gnutls/files/variants new file mode 100644 index 0000000..ed6b301 --- /dev/null +++ b/Tools/gnutls/files/variants @@ -0,0 +1 @@ +gnutls/3.5.19 unstable b:nettle/3.4 b:gmp/6.1.2-1 diff --git a/Tools/gnutls/files/variants.Darwin b/Tools/gnutls/files/variants.Darwin new file mode 100644 index 0000000..b1c6b94 --- /dev/null +++ b/Tools/gnutls/files/variants.Darwin @@ -0,0 +1 @@ +gnutls/3.5.19 unstable b:nettle/3.4 b:gmp/6.1.2-1 b:pkg-config/0.29.2 diff --git a/Tools/gnutls/modulefile b/Tools/gnutls/modulefile new file mode 100644 index 0000000..8ce71d5 --- /dev/null +++ b/Tools/gnutls/modulefile @@ -0,0 +1,18 @@ +#%Module1.0 + +module-whatis "Toolkit for the TLS and SSL protocol" +module-url "https://openssl.org/" +module-license "Apache style" +module-maintainer "Achim Gsell " + +module-help " +OpenSSL is an open source project that provides a robust, commercial-grade, +and full-featured toolkit for the Transport Layer Security (TLS) and Secure +Sockets Layer (SSL) protocols. It is also a general-purpose cryptography +library. For more information about the team and community around the +project, or to start making your own contributions, start with the community +page. To get the latest news, download the source, and so on, please see the +sidebar or the buttons at the top of every page. +" + +append-path PKG_CONFIG_PATH $PREFIX/lib/pkgconfig