mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Grzeschik <m.grzeschik@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH v2] ptxdist: add ima-evm-utils package v0.2
Date: Fri, 12 Apr 2013 12:13:13 +0200	[thread overview]
Message-ID: <1365761593-29574-1-git-send-email-m.grzeschik@pengutronix.de> (raw)
In-Reply-To: <1365602957-7782-1-git-send-email-m.grzeschik@pengutronix.de>

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

      reply	other threads:[~2013-04-12 10:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-10 14:09 [ptxdist] [PATCH] " Michael Grzeschik
2013-04-12 10:13 ` Michael Grzeschik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1365761593-29574-1-git-send-email-m.grzeschik@pengutronix.de \
    --to=m.grzeschik@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox