From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 10 Nov 2023 08:51:56 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1r1MJ2-005VxL-0W for lore@lore.pengutronix.de; Fri, 10 Nov 2023 08:51:56 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1r1MJ1-0006K8-Dh; Fri, 10 Nov 2023 08:51:55 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1r1MIw-0006Jy-N1; Fri, 10 Nov 2023 08:51:50 +0100 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r1MIw-007y7Z-AY; Fri, 10 Nov 2023 08:51:50 +0100 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1r1MIw-00C5Um-0t; Fri, 10 Nov 2023 08:51:50 +0100 Date: Fri, 10 Nov 2023 08:51:50 +0100 From: Michael Olbrich To: Clemens Gruber Message-ID: Mail-Followup-To: Clemens Gruber , ptxdist@pengutronix.de References: <20231024134235.17953-1-clemens.gruber@pqgruber.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231024134235.17953-1-clemens.gruber@pqgruber.com> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain Subject: Re: [ptxdist] [PATCH] minisign: new package X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Missing Signed-off-by. Michael On Tue, Oct 24, 2023 at 03:42:35PM +0200, Clemens Gruber wrote: > --- > rules/minisign.in | 13 +++++++++++ > rules/minisign.make | 57 +++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 70 insertions(+) > create mode 100644 rules/minisign.in > create mode 100644 rules/minisign.make > > diff --git a/rules/minisign.in b/rules/minisign.in > new file mode 100644 > index 000000000..d1efe3b45 > --- /dev/null > +++ b/rules/minisign.in > @@ -0,0 +1,13 @@ > +## SECTION=applications > + > +config MINISIGN > + tristate > + prompt "minisign" > + select HOST_CMAKE > + select GCCLIBS_GCC_S > + select LIBC_M > + select LIBSODIUM > + help > + Minisign is a dead simple tool to sign files and verify signatures. > + It is portable, lightweight, and uses the highly secure Ed25519 > + public-key signature system. > diff --git a/rules/minisign.make b/rules/minisign.make > new file mode 100644 > index 000000000..a90cad200 > --- /dev/null > +++ b/rules/minisign.make > @@ -0,0 +1,57 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2023 by Clemens Gruber > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_MINISIGN) += minisign > + > +# > +# Paths and names > +# > +MINISIGN_VERSION := 0.11 > +MINISIGN_MD5 := 1565d40ec75b9602e84379c9f1e96371 > +MINISIGN := minisign-$(MINISIGN_VERSION) > +MINISIGN_SUFFIX := tar.gz > +MINISIGN_URL := https://github.com/jedisct1/minisign/archive/refs/tags/$(MINISIGN_VERSION).$(MINISIGN_SUFFIX) > +MINISIGN_SOURCE := $(SRCDIR)/$(MINISIGN).$(MINISIGN_SUFFIX) > +MINISIGN_DIR := $(BUILDDIR)/$(MINISIGN) > +MINISIGN_LICENSE := ISC > +MINISIGN_LICENSE_FILES := file://LICENSE;md5=ae8e10a2c8237f13943f14fa3ffe437a > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > + > +# > +# cmake > +# > +MINISIGN_CONF_TOOL := cmake > +MINISIGN_CONF_OPT := \ > + $(CROSS_CMAKE_USR) > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/minisign.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, minisign) > + @$(call install_fixup, minisign,PRIORITY,optional) > + @$(call install_fixup, minisign,SECTION,base) > + @$(call install_fixup, minisign,AUTHOR,"Clemens Gruber ") > + @$(call install_fixup, minisign,DESCRIPTION,missing) > + > + @$(call install_copy, minisign, 0, 0, 0755, -, /usr/bin/minisign) > + > + @$(call install_finish, minisign) > + > + @$(call touch) > + > +# vim: syntax=make > -- > 2.42.0 > > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |