From 6bd43a2df5d0a9e9d10d1c3b6d0a68bbaf18f88d Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Tue, 4 Dec 2018 19:11:26 +0100 Subject: [PATCH] Depot package of gtotp_report This package relies on its configuration to be supplied by a launcher file or through the deploy configuration. How to protect the secret at rest is an open issue. --- recipes/pkg/gtotp_report/README | 12 ++++++++++++ recipes/pkg/gtotp_report/archives | 4 ++++ recipes/pkg/gtotp_report/hash | 1 + recipes/pkg/gtotp_report/runtime | 14 ++++++++++++++ recipes/src/gtotp_report/content.mk | 16 ++++++++++++++++ recipes/src/gtotp_report/hash | 1 + recipes/src/gtotp_report/used_apis | 7 +++++++ src/app/gtotp_report/target.mk | 2 +- 8 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 recipes/pkg/gtotp_report/README create mode 100644 recipes/pkg/gtotp_report/archives create mode 100644 recipes/pkg/gtotp_report/hash create mode 100644 recipes/pkg/gtotp_report/runtime create mode 100644 recipes/src/gtotp_report/content.mk create mode 100644 recipes/src/gtotp_report/hash create mode 100644 recipes/src/gtotp_report/used_apis diff --git a/recipes/pkg/gtotp_report/README b/recipes/pkg/gtotp_report/README new file mode 100644 index 0000000..6abdd12 --- /dev/null +++ b/recipes/pkg/gtotp_report/README @@ -0,0 +1,12 @@ + + GTOTP report + +This package generates reports containing +Time-based One-time Passwords generated +using the common Google Authenticator algorithm. + +It is configured by a single XML attribute, the shared secret +encoded in base32. +! ... +! +! ... diff --git a/recipes/pkg/gtotp_report/archives b/recipes/pkg/gtotp_report/archives new file mode 100644 index 0000000..30ca66f --- /dev/null +++ b/recipes/pkg/gtotp_report/archives @@ -0,0 +1,4 @@ +_/src/gtotp_report +_/src/libc +_/src/stdcxx +_/src/vfs diff --git a/recipes/pkg/gtotp_report/hash b/recipes/pkg/gtotp_report/hash new file mode 100644 index 0000000..39cdd0d --- /dev/null +++ b/recipes/pkg/gtotp_report/hash @@ -0,0 +1 @@ +- diff --git a/recipes/pkg/gtotp_report/runtime b/recipes/pkg/gtotp_report/runtime new file mode 100644 index 0000000..d5ff22d --- /dev/null +++ b/recipes/pkg/gtotp_report/runtime @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/recipes/src/gtotp_report/content.mk b/recipes/src/gtotp_report/content.mk new file mode 100644 index 0000000..0361887 --- /dev/null +++ b/recipes/src/gtotp_report/content.mk @@ -0,0 +1,16 @@ +CRYPTOPP_PORT_DIR := $(call port_dir,$(REP_DIR)/ports/cryptopp) +MIRROR_FROM_CRYPTOPP = src/lib/cryptopp include + +MIRROR_FROM_REP_DIR := src/app/gtotp_report lib/import/import-cryptopp.mk lib/mk/cryptopp.mk + +content: $(MIRROR_FROM_REP_DIR) $(MIRROR_FROM_CRYPTOPP) LICENSE + +$(MIRROR_FROM_REP_DIR): + $(mirror_from_rep_dir) + +$(MIRROR_FROM_CRYPTOPP): $(CRYPTOPP_PORT_DIR) + cp -r $