Thanks, applied as 6a1353dc1081f34c5c5e710c3359fa402065fbf6. Michael
[sent from post-receive hook] On Fri, 10 Nov 2023 08:25:08 +0100, Clemens Gruber <clemens.gru...@pqgruber.com> wrote: > Signed-off-by: Clemens Gruber <clemens.gru...@pqgruber.com> > Message-Id: <20231028114643.1437-3-clemens.gru...@pqgruber.com> > Signed-off-by: Michael Olbrich <m.olbr...@pengutronix.de> > > diff --git a/rules/minisign.in b/rules/minisign.in > new file mode 100644 > index 000000000000..d1efe3b45b1c > --- /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 000000000000..a90cad2008f6 > --- /dev/null > +++ b/rules/minisign.make > @@ -0,0 +1,57 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2023 by Clemens Gruber <clemens.gru...@pqgruber.com> > +# > +# 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 > <clemens.gru...@pqgruber.com>") > + @$(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