Skip to contentSkip to conversation

hiawatha: add initial 8.5 recipe and associated files

PATCH Superseded Jack Mitchell 2 participants 2 messages Oct 15, 2012 – Oct 18, 2012

v2 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 hiawatha: add initial 8.5 recipe and associated files

From: Jack Mitchell <[email protected]>

v1:
- hiawatha: add initial 8.5 recipe and associated files

v2:
- update hiawatha init file with LSB headers
- use sed to put in correct sbin path

---
 .../recipes-httpd/hiawatha/files/hiawatha-init     | 44 +++++++++++++++++++++
 .../recipes-httpd/hiawatha/hiawatha_8.5.bb         | 45 ++++++++++++++++++++++
 2 files changed, 89 insertions(+)
 create mode 100644 meta-webserver/recipes-httpd/hiawatha/files/hiawatha-init
 create mode 100644 meta-webserver/recipes-httpd/hiawatha/hiawatha_8.5.bb
meta-webserver/recipes-httpd/hiawatha/files/hiawatha-init new file +44 -0
new file mode 100644
index 0000000..47fc087
@@ -0,0 +1,44 @@
+#!/bin/sh
+
+### BEGIN INIT INFO
+# Provides:          hiawatha httpd httpd-cgi
+# Required-Start:    $syslog $network $remote_fs
+# Required-Stop:     $syslog $network $remote_fs
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: Hiawatha webserver
+# Description:       Hiawatha, a secure and advanced webserver.
+### END INIT INFO
+
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+DAEMON=sed_sbin_path/hiawatha
+NAME=hiawatha
+DESC="Hiawatha Web Server"
+OPTS=""
+
+case "$1" in
+  start)
+	echo -n "Starting $DESC: "
+	start-stop-daemon --start -x "$DAEMON" -- $OPTS
+	echo "$NAME."
+	;;
+  stop)
+	echo -n "Stopping $DESC: "
+	start-stop-daemon --stop -x "$DAEMON"
+	echo "$NAME."
+	;;
+  restart|force-reload)
+	echo -n "Restarting $DESC: "
+	start-stop-daemon --stop -x "$DAEMON"
+	sleep 1
+	start-stop-daemon --start -x "$DAEMON" -- $OPTS
+	echo "$NAME."
+	;;
+  *)
+	N=/etc/init.d/$NAME
+	echo "Usage: $N {start|stop|restart|force-reload}" >&2
+	exit 1
+	;;
+esac
+
+exit 0
meta-webserver/recipes-httpd/hiawatha/hiawatha_8.5.bb new file +45 -0

45 lines not on this page · raw message

Signature · 1 line
1.7.12.3
#1 lore raw

Hi Jack,

Quoted 8 lines · On Monday 15 October 2012 13:45:04 Jack Mitchell wrote:

From: Jack Mitchell <[email protected]>

v1:
- hiawatha: add initial 8.5 recipe and associated files

v2:
- update hiawatha init file with LSB headers
- use sed to put in correct sbin path

Quoted 7 lines
---
 .../recipes-httpd/hiawatha/files/hiawatha-init     | 44
+++++++++++++++++++++ .../recipes-httpd/hiawatha/hiawatha_8.5.bb         |
45 ++++++++++++++++++++++ 2 files changed, 89 insertions(+)
 create mode 100644

meta-webserver/recipes-httpd/hiawatha/files/hiawatha-init create mode 100644 meta-webserver/recipes-httpd/hiawatha/hiawatha_8.5.bb

I was all set to apply this and then I noticed the patch is missing signed-off- by. Sorry to be a pain but could you resend with Signed-off-by added and also move any revision comments underneath the -- line so they don't show up in the commit message?

Thanks,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre