From patchwork Wed May 1 14:12:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicola Di Lieto X-Patchwork-Id: 1093684 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="SpkiNH3+"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44vL2Z6VYwz9s9N for ; Thu, 2 May 2019 00:12:54 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 310B62E3E4; Wed, 1 May 2019 14:12:52 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gibXD0voCRhV; Wed, 1 May 2019 14:12:49 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 4FB632E298; Wed, 1 May 2019 14:12:49 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 757421BF59B for ; Wed, 1 May 2019 14:12:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 7029084081 for ; Wed, 1 May 2019 14:12:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VyEmvNNge2r4 for ; Wed, 1 May 2019 14:12:44 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by whitealder.osuosl.org (Postfix) with ESMTPS id 3C4018389C for ; Wed, 1 May 2019 14:12:44 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id f7so16222932wrs.2 for ; Wed, 01 May 2019 07:12:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=9cypU1G5pM12jlXSmdnupXIzyHy5PDu8AjltXSa3kAg=; b=SpkiNH3+bswj+5HLw5gJUuADCNl0BQnm7igFc9FvYkvoi47NdVxSe5y+SZj1Val1Yj X+c5eh+SCPO+zgXlhKlEs1aj6KxxQVYyoblwSj7qBPxxPJ4WkTgB7L6BAxS2mPex8qRJ w6W7MHYU4+1dZAcsZE/BQ4eab8vrLlBeOA6nXDh93QSsBjxXsRZq8RkI6YPOD2zOA+QH q33+vVagHPvu5uK7wQ/YyO8iYBbHs7UUOVfFX/stngQYTQZyzrR13M2sv2nz+ROwt4fV 8XFgL5jd+KFTt+wkCKy2XJdLTM4JbCSzLnqsZO+VRp72y4nI5Vf5qeJ6CCalefZM2IQQ 6wzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=9cypU1G5pM12jlXSmdnupXIzyHy5PDu8AjltXSa3kAg=; b=twdVES1p5i1pp+GmKKOXR8lNZpv7Z9+h0K5EVNy5kOGgilsZUjPPOVrFhGmeVe2bTv ymW+yeJAqeqOOG47a6dko+IkYpWpWyER/IPjjXtZq8xcbAIgNGVxESyZkCi7RhIjbPXx vrmdZHiPR7sH1OzKRoadPw8xYeJIhlqyHh/zLbxMWecVsBRIdRbwbtRgfLd0cpWv4x/Q /xbpRvWTs3Q1vgzHBG/x0mszgZe2VUUA67bzVRJDcTD9ZWW3faTZnsH76zo4gusmYUJz 5s06nEMtkn5PNWqhhXnJYT7V8RdSJHU4QgRCw5fZyTc9v9JeSp7S9HokAaHW6UYU4n2z H6ow== X-Gm-Message-State: APjAAAVeSCOPAwffE7R+IY7vr7bCaW5wnLkhUyFWxePfJ00vSYUbC5ja 0pUnph5/lBdOvv3A9f/Nl27FGu9e X-Google-Smtp-Source: APXvYqzzmGDGBiY20TE16eqB81xJIZp0F2FoM2MO6YBhE/4SJ+Y7NdIGHaM9xiGOkSd9cQ/NhOZNMw== X-Received: by 2002:a5d:508f:: with SMTP id a15mr3145361wrt.273.1556719961971; Wed, 01 May 2019 07:12:41 -0700 (PDT) Received: from einstein.dilieto.eu (einstein.dilieto.eu. [188.68.43.228]) by smtp.gmail.com with ESMTPSA id v189sm10152862wma.3.2019.05.01.07.12.40 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 May 2019 07:12:41 -0700 (PDT) Date: Wed, 1 May 2019 16:12:34 +0200 From: Nicola Di Lieto To: buildroot@busybox.net Message-ID: <20190501141234.GA10484@einstein.dilieto.eu> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Subject: [Buildroot] [PATCH v2] package/uacme: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Nicola Di Lieto --- DEVELOPERS | 3 +++ package/Config.in | 1 + package/uacme/Config.in | 14 ++++++++++++++ package/uacme/uacme.hash | 3 +++ package/uacme/uacme.mk | 30 ++++++++++++++++++++++++++++++ 5 files changed, 51 insertions(+) create mode 100644 package/uacme/Config.in create mode 100644 package/uacme/uacme.hash create mode 100644 package/uacme/uacme.mk diff --git a/DEVELOPERS b/DEVELOPERS index 6ccb0af..4ac1826 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1651,6 +1651,9 @@ N: Naumann Andreas F: package/evemu/ F: package/libevdev/ +N: Nicola Di Lieto +F: package/uacme/ + N: Nicolas Cavallari F: package/libgit2/ diff --git a/package/Config.in b/package/Config.in index f592e74..da30283 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2054,6 +2054,7 @@ endif source "package/transmission/Config.in" source "package/tunctl/Config.in" source "package/tvheadend/Config.in" + source "package/uacme/Config.in" source "package/udpcast/Config.in" source "package/uftp/Config.in" source "package/uhttpd/Config.in" diff --git a/package/uacme/Config.in b/package/uacme/Config.in new file mode 100644 index 0000000..96247f9 --- /dev/null +++ b/package/uacme/Config.in @@ -0,0 +1,14 @@ +config BR2_PACKAGE_UACME + bool "uacme" + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_MBEDTLS if !BR2_PACKAGE_GNUTLS + select BR2_PACKAGE_LIBCURL + help + uacme is a client for the ACMEv2 protocol described in + RFC8555, written in plain C code with minimal dependencies + (libcurl and GnuTLS or mbedTLS). The ACMEv2 protocol allows + a Certificate Authority (https://letsencrypt.org is a + popular one) and an applicant to automate the process of + verification and certificate issuance. + + https://github.com/ndilieto/uacme diff --git a/package/uacme/uacme.hash b/package/uacme/uacme.hash new file mode 100644 index 0000000..829333a --- /dev/null +++ b/package/uacme/uacme.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 31cd4e50b7ff6450ec31cbf19ab50d2f72b4137769e689e4f9f9fd31842198d0 uacme-1.0.7.tar.gz +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/package/uacme/uacme.mk b/package/uacme/uacme.mk new file mode 100644 index 0000000..ab40fbe --- /dev/null +++ b/package/uacme/uacme.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# uacme +# +################################################################################ + +UACME_VERSION = 1.0.7 +# Released versions are on branch upstream/latest, tagged as upstream/X.Y.Z +# Do not use vX.Y.Z tags from master, as they do not include .tarball-version +UACME_SITE = $(call github,ndilieto,uacme,upstream/$(UACME_VERSION)) +UACME_LICENSE = GPL-3.0+ +UACME_LICENSE_FILES = COPYING + +UACME_CONF_OPTS = --disable-maintainer-mode --disable-debug + +ifeq ($(BR2_PACKAGE_MBEDTLS),y) +UACME_CONF_OPTS += --with-mbedtls +UACME_DEPENDENCIES += mbedtls +else +UACME_CONF_OPTS += --without-mbedtls +endif + +ifeq ($(BR2_PACKAGE_GNUTLS),y) +UACME_CONF_OPTS += --with-gnutls= +UACME_DEPENDENCIES += gnutls +else +UACME_CONF_OPTS += --without-gnutls +endif + +$(eval $(autotools-package))