From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from dude.hi.pengutronix.de ([2001:6f8:1178:2:21e:67ff:fe11:9c5c]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1UQaj4-0000DZ-0G for ptxdist@pengutronix.de; Fri, 12 Apr 2013 11:56:58 +0200 Received: from mgr by dude.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1UQaj3-0008Co-Vl for ptxdist@pengutronix.de; Fri, 12 Apr 2013 11:56:57 +0200 From: Michael Grzeschik Date: Fri, 12 Apr 2013 11:56:56 +0200 Message-Id: <1365760616-31479-1-git-send-email-m.grzeschik@pengutronix.de> Subject: [ptxdist] [PATCH] ptxdist: add gnutls package 3.x Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Signed-off-by: Michael Grzeschik --- rules/gnutls3.in | 15 ++++++++++++++ rules/gnutls3.make | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 rules/gnutls3.in create mode 100644 rules/gnutls3.make diff --git a/rules/gnutls3.in b/rules/gnutls3.in new file mode 100644 index 0000000..c5ddf04 --- /dev/null +++ b/rules/gnutls3.in @@ -0,0 +1,15 @@ +## SECTION=networking + +config GNUTLS3 + tristate + select LIBTASN1 + select NETTLE + prompt "gnutls-3.x" + help + GnuTLS is a secure communications library implementing the SSL, + TLS and DTLS protocols and technologies around them. + It provides a simple C language application programming interface + (API) to access the secure communications protocols as well as + APIs to parse and write X.509, PKCS #12, OpenPGP and other required + structures. It is aimed to be portable and efficient with focus on + security and interoperability. diff --git a/rules/gnutls3.make b/rules/gnutls3.make new file mode 100644 index 0000000..a1c1224 --- /dev/null +++ b/rules/gnutls3.make @@ -0,0 +1,60 @@ +# -*-makefile-*- +# +# Copyright (C) 2013 by Michael Grzeschik +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_GNUTLS3) += gnutls3 + +# +# Paths and names +# +GNUTLS3_VERSION := 3.1.9.1 +GNUTLS3_MD5 := 0674032fe6de0d90d08eed81fcac2e1d +GNUTLS3 := gnutls-$(GNUTLS3_VERSION) +GNUTLS3_SUFFIX := tar.xz +GNUTLS3_URL := $(call ptx/mirror, GNU, gnutls/$(GNUTLS3).$(GNUTLS3_SUFFIX)) +GNUTLS3_SOURCE := $(SRCDIR)/$(GNUTLS3).$(GNUTLS3_SUFFIX) +GNUTLS3_DIR := $(BUILDDIR)/$(GNUTLS3) +GNUTLS3_LICENSE := LGPLv3+ + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +# +# autoconf +# +GNUTLS3_CONF_TOOL := autoconf +GNUTLS3_CONF_OPT := \ + $(CROSS_AUTOCONF_USR) \ + --without-p11-kit \ + --disable-guile + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/gnutls3.targetinstall: + @$(call targetinfo) + + @$(call install_init, gnutls3) + @$(call install_fixup, gnutls3,PRIORITY,optional) + @$(call install_fixup, gnutls3,SECTION,base) + @$(call install_fixup, gnutls3,AUTHOR,"Michael Grzeschik ") + @$(call install_fixup, gnutls3,DESCRIPTION,missing) + + @$(call install_lib, gnutls3, 0, 0, 0644, libgnutls) + + @$(call install_finish, gnutls3) + + @$(call touch) + +# vim: syntax=make -- 1.8.2.rc2 -- ptxdist mailing list ptxdist@pengutronix.de