mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Dahl <post@lespocky.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] haveged: add new package starting with version 1.9.1
Date: Fri, 19 Feb 2016 15:10:31 +0100	[thread overview]
Message-ID: <1455891031-23980-1-git-send-email-post@lespocky.de> (raw)

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

                 reply	other threads:[~2016-02-19 14:10 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=1455891031-23980-1-git-send-email-post@lespocky.de \
    --to=post@lespocky.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