From: Michael Grzeschik <m.grzeschik@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] ptxdist: add keyutils package v1.5.5
Date: Wed, 10 Apr 2013 16:08:32 +0200 [thread overview]
Message-ID: <1365602912-7510-1-git-send-email-m.grzeschik@pengutronix.de> (raw)
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
---
rules/keyutils.in | 8 ++++++++
rules/keyutils.make | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 67 insertions(+)
create mode 100644 rules/keyutils.in
create mode 100644 rules/keyutils.make
diff --git a/rules/keyutils.in b/rules/keyutils.in
new file mode 100644
index 0000000..9866f07
--- /dev/null
+++ b/rules/keyutils.in
@@ -0,0 +1,8 @@
+## SECTION=selinux
+
+config KEYUTILS
+ tristate
+ prompt "keyutils"
+ help
+ Tools to control the key management system
+ build into the Linux kernel.
diff --git a/rules/keyutils.make b/rules/keyutils.make
new file mode 100644
index 0000000..c517eb5
--- /dev/null
+++ b/rules/keyutils.make
@@ -0,0 +1,59 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2013 by Michael Grzeschik <mgr@pengutronix.de>
+#
+
+PACKAGES-$(PTXCONF_KEYUTILS) += keyutils
+
+#
+# Paths and names
+#
+KEYUTILS_VERSION := 1.5.5
+KEYUTILS_MD5 := d759680b2f23c99af95938f5026f25fb
+KEYUTILS := keyutils-$(KEYUTILS_VERSION)
+KEYUTILS_SUFFIX := tar.bz2
+KEYUTILS_URL := http://people.redhat.com/~dhowells/keyutils/$(KEYUTILS).$(KEYUTILS_SUFFIX)
+KEYUTILS_SOURCE := $(SRCDIR)/$(KEYUTILS).$(KEYUTILS_SUFFIX)
+KEYUTILS_DIR := $(BUILDDIR)/$(KEYUTILS)
+KEYUTILS_LICENSE := GPLv2+, LGPLv2.1+
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+KEYUTILS_CONF_TOOL := NO
+KEYUTILS_MAKE_OPT := \
+ $(CROSS_ENV_CC) \
+ BUILDFOR=""
+
+KEYUTILS_INSTALL_OPT := \
+ $(KEYUTILS_MAKE_OPT) \
+ LIBDIR=/lib \
+ USRLIBDIR=/usr/lib \
+ install
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/keyutils.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, keyutils)
+ @$(call install_fixup, keyutils,PRIORITY,optional)
+ @$(call install_fixup, keyutils,SECTION,base)
+ @$(call install_fixup, keyutils,AUTHOR,"Michael Grzeschik <mgr@pengutronix.de>")
+ @$(call install_fixup, keyutils,DESCRIPTION,missing)
+
+ @$(call install_lib, keyutils, 0, 0, 0644, libkeyutils)
+
+ @$(call install_alternative, keyutils, 0, 0, 0644, /etc/request-key.conf)
+ @$(call install_copy, keyutils, 0, 0, 0755, -, /sbin/key.dns_resolver)
+ @$(call install_copy, keyutils, 0, 0, 0755, -, /sbin/request-key)
+ @$(call install_copy, keyutils, 0, 0, 0755, -, /bin/keyctl)
+
+ @$(call install_finish, keyutils)
+
+ @$(call touch)
+
+# vim: syntax=make
--
1.8.2.rc2
--
ptxdist mailing list
ptxdist@pengutronix.de
reply other threads:[~2013-04-10 14:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1365602912-7510-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