mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] ptxdist: add ima-evm-utils package v0.2
@ 2013-04-10 14:09 Michael Grzeschik
  2013-04-12 10:13 ` [ptxdist] [PATCH v2] " Michael Grzeschik
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Grzeschik @ 2013-04-10 14:09 UTC (permalink / raw)
  To: ptxdist

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
---
 patches/ima-evm-utils-0.2/autogen.sh |  1 +
 rules/ima-evm-utils.in               |  9 +++++++
 rules/ima-evm-utils.make             | 46 ++++++++++++++++++++++++++++++++++++
 3 files changed, 56 insertions(+)
 create mode 120000 patches/ima-evm-utils-0.2/autogen.sh
 create mode 100644 rules/ima-evm-utils.in
 create mode 100644 rules/ima-evm-utils.make

diff --git a/patches/ima-evm-utils-0.2/autogen.sh b/patches/ima-evm-utils-0.2/autogen.sh
new file mode 120000
index 0000000..9f8a4cb
--- /dev/null
+++ b/patches/ima-evm-utils-0.2/autogen.sh
@@ -0,0 +1 @@
+../autogen.sh
\ No newline at end of file
diff --git a/rules/ima-evm-utils.in b/rules/ima-evm-utils.in
new file mode 100644
index 0000000..8e023ed
--- /dev/null
+++ b/rules/ima-evm-utils.in
@@ -0,0 +1,9 @@
+## SECTION=selinux
+
+config IMA_EVM_UTILS
+	tristate
+	select OPENSSL
+	prompt "ima-evm-utils"
+	help
+	  Integrity Measurement Architecture to know
+	  EXACTLY what has been run on your machine.
diff --git a/rules/ima-evm-utils.make b/rules/ima-evm-utils.make
new file mode 100644
index 0000000..281b0bf
--- /dev/null
+++ b/rules/ima-evm-utils.make
@@ -0,0 +1,46 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2013 by Michael Grzeschik <mgr@pengutronix.de>
+#
+
+PACKAGES-$(PTXCONF_IMA_EVM_UTILS) += ima-evm-utils
+
+#
+# Paths and names
+#
+IMA_EVM_UTILS_VERSION	:= 0.2
+IMA_EVM_UTILS_MD5	:= 3d31ff2bbd42690b6825068447b15dfd
+IMA_EVM_UTILS		:= ima-evm-utils-$(IMA_EVM_UTILS_VERSION)
+IMA_EVM_UTILS_SUFFIX	:= tar.gz
+IMA_EVM_UTILS_URL	:= $(call ptx/mirror, SF, linux-ima/$(IMA_EVM_UTILS).$(IMA_EVM_UTILS_SUFFIX))
+IMA_EVM_UTILS_SOURCE	:= $(SRCDIR)/$(IMA_EVM_UTILS).$(IMA_EVM_UTILS_SUFFIX)
+IMA_EVM_UTILS_DIR	:= $(BUILDDIR)/$(IMA_EVM_UTILS)
+IMA_EVM_UTILS_LICENSE	:= LGPLv2+
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+IMA_EVM_UTILS_CONF_TOOL	:= autoconf
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/ima-evm-utils.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, ima-evm-utils)
+	@$(call install_fixup, ima-evm-utils,PRIORITY,optional)
+	@$(call install_fixup, ima-evm-utils,SECTION,base)
+	@$(call install_fixup, ima-evm-utils,AUTHOR,"Michael Grzeschik <mgr@pengutronix.de>")
+	@$(call install_fixup, ima-evm-utils,DESCRIPTION,missing)
+
+	@$(call install_copy, ima-evm-utils, 0, 0, 0755, -, /usr/bin/evmctl)
+	@$(call install_tree, ima-evm-utils, 0, 0, -, /usr/lib/ima-evm-utils/)
+
+	@$(call install_finish, ima-evm-utils)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
1.8.2.rc2


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ptxdist] [PATCH v2] ptxdist: add ima-evm-utils package v0.2
  2013-04-10 14:09 [ptxdist] [PATCH] ptxdist: add ima-evm-utils package v0.2 Michael Grzeschik
@ 2013-04-12 10:13 ` Michael Grzeschik
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Grzeschik @ 2013-04-12 10:13 UTC (permalink / raw)
  To: ptxdist

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
---
 patches/ima-evm-utils-0.2/autogen.sh |  1 +
 rules/ima-evm-utils.in               | 10 ++++++++
 rules/ima-evm-utils.make             | 50 ++++++++++++++++++++++++++++++++++++
 3 files changed, 61 insertions(+)
 create mode 120000 patches/ima-evm-utils-0.2/autogen.sh
 create mode 100644 rules/ima-evm-utils.in
 create mode 100644 rules/ima-evm-utils.make

diff --git a/patches/ima-evm-utils-0.2/autogen.sh b/patches/ima-evm-utils-0.2/autogen.sh
new file mode 120000
index 0000000..9f8a4cb
--- /dev/null
+++ b/patches/ima-evm-utils-0.2/autogen.sh
@@ -0,0 +1 @@
+../autogen.sh
\ No newline at end of file
diff --git a/rules/ima-evm-utils.in b/rules/ima-evm-utils.in
new file mode 100644
index 0000000..3e07ae0
--- /dev/null
+++ b/rules/ima-evm-utils.in
@@ -0,0 +1,10 @@
+## SECTION=selinux
+
+config IMA_EVM_UTILS
+	tristate
+	select ATTR
+	select OPENSSL
+	prompt "ima-evm-utils"
+	help
+	  Integrity Measurement Architecture to know
+	  EXACTLY what has been run on your machine.
diff --git a/rules/ima-evm-utils.make b/rules/ima-evm-utils.make
new file mode 100644
index 0000000..cb3c867
--- /dev/null
+++ b/rules/ima-evm-utils.make
@@ -0,0 +1,50 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2013 by Michael Grzeschik <mgr@pengutronix.de>
+#
+
+PACKAGES-$(PTXCONF_IMA_EVM_UTILS) += ima-evm-utils
+
+#
+# Paths and names
+#
+IMA_EVM_UTILS_VERSION	:= 0.2
+IMA_EVM_UTILS_MD5	:= 3d31ff2bbd42690b6825068447b15dfd
+IMA_EVM_UTILS		:= ima-evm-utils-$(IMA_EVM_UTILS_VERSION)
+IMA_EVM_UTILS_SUFFIX	:= tar.gz
+IMA_EVM_UTILS_URL	:= $(call ptx/mirror, SF, linux-ima/$(IMA_EVM_UTILS).$(IMA_EVM_UTILS_SUFFIX))
+IMA_EVM_UTILS_SOURCE	:= $(SRCDIR)/$(IMA_EVM_UTILS).$(IMA_EVM_UTILS_SUFFIX)
+IMA_EVM_UTILS_DIR	:= $(BUILDDIR)/$(IMA_EVM_UTILS)
+IMA_EVM_UTILS_LICENSE	:= LGPLv2+
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+IMA_EVM_UTILS_CONF_TOOL	:= autoconf
+IMA_EVM_UTILS_AUTOCONF := \
+	$(CROSS_AUTOCONF_USR) \
+	--disable-static \
+	--disable-debug
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/ima-evm-utils.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, ima-evm-utils)
+	@$(call install_fixup, ima-evm-utils,PRIORITY,optional)
+	@$(call install_fixup, ima-evm-utils,SECTION,base)
+	@$(call install_fixup, ima-evm-utils,AUTHOR,"Michael Grzeschik <mgr@pengutronix.de>")
+	@$(call install_fixup, ima-evm-utils,DESCRIPTION,missing)
+
+	@$(call install_copy, ima-evm-utils, 0, 0, 0755, -, /usr/bin/evmctl)
+	@$(call install_tree, ima-evm-utils, 0, 0, -, /usr/lib/ima-evm-utils/)
+
+	@$(call install_finish, ima-evm-utils)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
1.8.2.rc2


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-12 10:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-10 14:09 [ptxdist] [PATCH] ptxdist: add ima-evm-utils package v0.2 Michael Grzeschik
2013-04-12 10:13 ` [ptxdist] [PATCH v2] " Michael Grzeschik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox