mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] haveged: add new package starting with version 1.9.1
@ 2016-02-19 14:10 Alexander Dahl
  0 siblings, 0 replies; only message in thread
From: Alexander Dahl @ 2016-02-19 14:10 UTC (permalink / raw)
  To: ptxdist

Signed-off-by: Alexander Dahl <post@lespocky.de>
---
This is not complete, I just tried if it helps solving my problem, it
does not. But because it runs so far, I'd like to share it anyway. Add
startup files for bbinit or systemd as you like. Some examples come
with the source, for bbinit buildroot has something one could have a
look at.

 rules/haveged.in   |  9 +++++++++
 rules/haveged.make | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)
 create mode 100644 rules/haveged.in
 create mode 100644 rules/haveged.make

diff --git a/rules/haveged.in b/rules/haveged.in
new file mode 100644
index 0000000..50e890f
--- /dev/null
+++ b/rules/haveged.in
@@ -0,0 +1,9 @@
+## SECTION=shell_and_console
+
+config HAVEGED
+	tristate
+	prompt "haveged"
+	help
+	  An entropy daemon and random number generator.
+
+# vim: ft=kconfig noet tw=72
diff --git a/rules/haveged.make b/rules/haveged.make
new file mode 100644
index 0000000..54cccec
--- /dev/null
+++ b/rules/haveged.make
@@ -0,0 +1,56 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2016 by Alexander Dahl <post@lespocky.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_HAVEGED) += haveged
+
+#
+# Paths and names
+#
+HAVEGED_VERSION	:= 1.9.1
+HAVEGED_MD5	:= 015ff58cd10607db0e0de60aeca2f5f8
+HAVEGED		:= haveged-$(HAVEGED_VERSION)
+HAVEGED_SUFFIX	:= tar.gz
+HAVEGED_URL	:= \
+	http://www.issihosts.com/haveged/$(HAVEGED).$(HAVEGED_SUFFIX) \
+	http://www.issihosts.com/haveged/archive/$(HAVEGED).$(HAVEGED_SUFFIX)
+HAVEGED_SOURCE	:= $(SRCDIR)/$(HAVEGED).$(HAVEGED_SUFFIX)
+HAVEGED_DIR	:= $(BUILDDIR)/$(HAVEGED)
+HAVEGED_LICENSE	:= GPL-3.0+
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HAVEGED_CONF_TOOL	:= autoconf
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/haveged.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, haveged)
+	@$(call install_fixup, haveged,PRIORITY,optional)
+	@$(call install_fixup, haveged,SECTION,base)
+	@$(call install_fixup, haveged,AUTHOR,"Alexander Dahl <post@lespocky.de>")
+	@$(call install_fixup, haveged,DESCRIPTION,missing)
+
+	@$(call install_lib, haveged, 0, 0, 0644, libhavege)
+	@$(call install_copy, haveged, 0, 0, 0755, -, /usr/sbin/haveged)
+
+	@$(call install_finish, haveged)
+
+	@$(call touch)
+
+# vim: ft=make noet
-- 
2.1.4


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

only message in thread, other threads:[~2016-02-19 14:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-19 14:10 [ptxdist] [PATCH] haveged: add new package starting with version 1.9.1 Alexander Dahl

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