Skip to contentSkip to conversation

package/sigsum-c: new package

PATCH In review Florian Larysch 2 participants 2 messages May 29 – May 30

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/sigsum-c: new package

Add the sigsum-c library, which is a more lightweight alternative to sigsum-go when only proof verification is needed or needs to be embedded in some other program.

---
 DEVELOPERS                                    |  1 +
 package/Config.in                             |  1 +
 ...001-Make-command-line-tools-optional.patch | 71 +++++++++++++++++++
 package/sigsum-c/Config.in                    | 17 +++++
 package/sigsum-c/sigsum-c.hash                |  3 +
 package/sigsum-c/sigsum-c.mk                  | 21 ++++++
 6 files changed, 114 insertions(+)
 create mode 100644 package/sigsum-c/0001-Make-command-line-tools-optional.patch
 create mode 100644 package/sigsum-c/Config.in
 create mode 100644 package/sigsum-c/sigsum-c.hash
 create mode 100644 package/sigsum-c/sigsum-c.mk
DEVELOPERS +1 -0
index fea3311076..d76c9013f4 100644
@@ -1141,6 +1141,7 @@ F:	package/cpulimit/
 
 N:	Florian Larysch <[email protected]>
 F:	package/casync-nano/
+F:	package/sigsum-c/
 F:	package/sigsum-go/
 
 N:	Floris Bos <[email protected]>
package/Config.in +1 -0
index 1c0f6d8a29..5660c0a006 100644
@@ -1658,6 +1658,7 @@ menu "Crypto"
 	source "package/parsec-tool/Config.in"
 	source "package/pkcs11-helper/Config.in"
 	source "package/rhash/Config.in"
+	source "package/sigsum-c/Config.in"
 	source "package/tinydtls/Config.in"
 	source "package/tpm2-openssl/Config.in"
 	source "package/tpm2-pkcs11/Config.in"
package/sigsum-c/0001-Make-command-line-tools-optional.patch new file +71 -0

71 lines not on this page · raw message

package/sigsum-c/Config.in new file +17 -0
new file mode 100644
index 0000000000..afc5942e83
@@ -0,0 +1,17 @@
+config BR2_PACKAGE_SIGSUM_C
+	bool "sigsum-c"
+	select BR2_PACKAGE_NETTLE
+	help
+	  C library and command-line utility for verifying Sigsum
+	  proofs.
+
+	  https://git.glasklar.is/sigsum/core/sigsum-c/
+
+if BR2_PACKAGE_SIGSUM_C
+
+config BR2_PACKAGE_SIGSUM_C_TOOLS
+	bool "Enable tools"
+	help
+	  Build CLI tools like sigsum-c-verify.
+
+endif
package/sigsum-c/sigsum-c.hash new file +3 -0
new file mode 100644
index 0000000000..5941eafc5d
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256  147ab839b22c5584aa9982c912bdb629cc717dcd978528233889789544e5fe51  sigsum-c-v1.0.0-git4.tar.gz
+sha256  f592312f5d5756846c43becd06fc1d826eafe05b1b45f88e95af460d59d24ad0  LICENSE
package/sigsum-c/sigsum-c.mk new file +21 -0
new file mode 100644
index 0000000000..a6021f0587
@@ -0,0 +1,21 @@
+################################################################################
+#
+# sigsum-c
+#
+################################################################################
+
+SIGSUM_C_VERSION = v1.0.0
+SIGSUM_C_SITE = https://git.glasklar.is/sigsum/core/sigsum-c
+SIGSUM_C_SITE_METHOD = git
+SIGSUM_C_LICENSE = BSD-2-Clause
+SIGSUM_C_LICENSE_FILES = LICENSE
+SIGSUM_C_INSTALL_STAGING = YES
+SIGSUM_C_DEPENDENCIES = nettle
+
+SIGSUM_C_AUTORECONF = YES
+
+ifneq ($(BR2_PACKAGE_SIGSUM_C_TOOLS),y)
+SIGSUM_C_CONF_OPTS += --disable-tools
+endif
+
+$(eval $(autotools-package))
Signature · 6 lines
2.54.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Florian" == Florian Larysch <[email protected]> writes:

Add the sigsum-c library, which is a more lightweight alternative to sigsum-go when only proof verification is needed or needs to be embedded in some other program.

Committed to next, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot