mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] ptxdist: add keyutils package v1.5.5
@ 2013-04-10 14:08 Michael Grzeschik
  0 siblings, 0 replies; only message in thread
From: Michael Grzeschik @ 2013-04-10 14:08 UTC (permalink / raw)
  To: ptxdist

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-04-10 14:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-10 14:08 [ptxdist] [PATCH] ptxdist: add keyutils package v1.5.5 Michael Grzeschik

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