mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Oliver Graute <oliver.graute@gmail.com>
To: ptxdist@pengutronix.de
Cc: Oliver Graute <oliver.graute@neuhaus.de>
Subject: [ptxdist] [PATCH 2/2] OpenNHRP: added opennhrp rule file
Date: Thu, 12 Feb 2015 16:02:47 +0100	[thread overview]
Message-ID: <1423753367-8200-2-git-send-email-oliver.graute@neuhaus.de> (raw)
In-Reply-To: <1423753367-8200-1-git-send-email-oliver.graute@neuhaus.de>

adding the rule file to ptxdist

Signed-off-by: Oliver Graute <oliver.graute@neuhaus.de>
---
 rules/opennhrp.make |   54 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)
 create mode 100644 rules/opennhrp.make

diff --git a/rules/opennhrp.make b/rules/opennhrp.make
new file mode 100644
index 0000000..cdbd3d5
--- /dev/null
+++ b/rules/opennhrp.make
@@ -0,0 +1,54 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2014 Dr. Neuhaus Telekommunikation GmbH, Hamburg Germany,  Oliver Graute <oliver.graute@neuhaus.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_OPENNHRP) += opennhrp
+
+#
+# Paths and names
+#
+OPENNHRP_VERSION	:= 0.14
+OPENNHRP_MD5		:= 62e8f16dd3bdf0600e43fcb37aa40462
+OPENNHRP		:= opennhrp-$(OPENNHRP_VERSION)
+OPENNHRP_SUFFIX	:= tar.bz2
+OPENNHRP_URL		:= http://www.mirrorservice.org/sites/downloads.sourceforge.net/o/op/opennhrp/opennhrp/$(OPENNHRP).$(OPENNHRP_SUFFIX)
+OPENNHRP_SOURCE	:= $(SRCDIR)/$(OPENNHRP).$(OPENNHRP_SUFFIX)
+OPENNHRP_DIR		:= $(BUILDDIR)/$(OPENNHRP)
+OPENNHRP_LICENSE	:= MIT License
+
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/opennhrp.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, opennhrp)
+	@$(call install_fixup, opennhrp,PRIORITY,optional)
+	@$(call install_fixup, opennhrp,SECTION,base)
+	@$(call install_fixup, opennhrp,AUTHOR,"<oliver.graute@neuhaus.de>")
+	@$(call install_fixup, opennhrp,DESCRIPTION,missing)
+
+	@$(call install_copy, opennhrp, 0, 0, 0755, $(OPENNHRP_DIR)/nhrp/opennhrp, /usr/bin/opennhrp)
+	@$(call install_copy, opennhrp, 0, 0, 0755, $(OPENNHRP_DIR)/nhrp/opennhrpctl, /usr/bin/opennhrpctl)
+	@$(call install_copy, opennhrp, 0, 0, 0755, $(OPENNHRP_DIR)/etc/opennhrp-script, /etc/opennhrp/opennhrp-script)
+	#@$(call install_copy, opennhrp, 0, 0, 0755, $(OPENNHRP_DIR)/etc/opennhrp-script.cert, /etc/opennhrp/opennhrp-script.cert)
+	#@$(call install_copy, opennhrp, 0, 0, 0755, $(OPENNHRP_DIR)/etc/opennhrp.conf, /etc/opennhrp/opennhrp.conf)
+	@$(call install_copy, opennhrp, 0, 0, 0755, $(OPENNHRP_DIR)/etc/racoon-ph1dead.sh, /etc/opennhrp/racoon-ph1dead.sh)
+	@$(call install_copy, opennhrp, 0, 0, 0755, $(OPENNHRP_DIR)/etc/racoon-ph1down.sh, /etc/opennhrp/racoon-ph1down.sh)
+
+	@$(call install_finish, opennhrp)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
1.7.9.5


-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2015-02-12 15:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-12 15:02 [ptxdist] [PATCH 1/2] OpenNHRP: added opennhrp in file Oliver Graute
2015-02-12 15:02 ` Oliver Graute [this message]
2015-02-16 10:25   ` [ptxdist] [PATCH 2/2] OpenNHRP: added opennhrp rule file Michael Olbrich

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=1423753367-8200-2-git-send-email-oliver.graute@neuhaus.de \
    --to=oliver.graute@gmail.com \
    --cc=oliver.graute@neuhaus.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