From: ulf at uclibc.org <ulf@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/lighttpd
Date: Sat, 11 Aug 2007 16:35:07 -0700 (PDT) [thread overview]
Message-ID: <20070811233507.13CCCA65C0@busybox.net> (raw)
Author: ulf
Date: 2007-08-11 16:35:07 -0700 (Sat, 11 Aug 2007)
New Revision: 19450
Log:
Use a valid script file for lighttpd in target
Added:
trunk/buildroot/package/lighttpd/rc.lighttpd
Modified:
trunk/buildroot/package/lighttpd/lighttpd.mk
Changeset:
Modified: trunk/buildroot/package/lighttpd/lighttpd.mk
===================================================================
--- trunk/buildroot/package/lighttpd/lighttpd.mk 2007-08-11 23:33:22 UTC (rev 19449)
+++ trunk/buildroot/package/lighttpd/lighttpd.mk 2007-08-11 23:35:07 UTC (rev 19450)
@@ -3,7 +3,7 @@
# lighttpd
#
#############################################################
-LIGHTTPD_VERSION:=1.4.15
+LIGHTTPD_VERSION:=1.4.16
LIGHTTPD_SOURCE:=lighttpd_$(LIGHTTPD_VERSION).orig.tar.gz
LIGHTTPD_PATCH:=lighttpd_$(LIGHTTPD_VERSION)-1.diff.gz
LIGHTTPD_SITE:=http://ftp.debian.org/debian/pool/main/l/lighttpd
@@ -73,7 +73,7 @@
@if [ ! -f $(TARGET_DIR)/etc/lighttpd/lighttpd.conf ] ; then \
$(INSTALL) -m 0644 -D $(LIGHTTPD_DIR)/doc/lighttpd.conf $(TARGET_DIR)/etc/lighttpd/lighttpd.conf; \
fi;
- $(INSTALL) -m 0755 -D $(LIGHTTPD_DIR)/openwrt/S51lighttpd $(TARGET_DIR)/etc/init.d/S99lighttpd
+ $(INSTALL) -m 0755 -D package/lighttpd/rc.lighttpd $(TARGET_DIR)/etc/init.d/S99lighttpd
ifeq ($(strip $(BR2_PACKAGE_LIGHTTPD_OPENSSL)),y)
lighttpd: uclibc openssl $(TARGET_DIR)/$(LIGHTTPD_TARGET_BINARY)
Added: trunk/buildroot/package/lighttpd/rc.lighttpd
===================================================================
--- trunk/buildroot/package/lighttpd/rc.lighttpd (rev 0)
+++ trunk/buildroot/package/lighttpd/rc.lighttpd 2007-08-11 23:35:07 UTC (rev 19450)
@@ -0,0 +1,39 @@
+#!/bin/sh
+#
+# Starts lighttpd
+#
+
+umask 077
+
+start() {
+ echo -n "Starting lighttpd: "
+ start-stop-daemon --start --quiet --make-pidfile --pidfile /var/run/lighttpd.pid -b --exec /usr/sbin/lighttpd -- -f /etc/lighttpd/lighttpd.conf -D
+ echo "OK"
+}
+stop() {
+ echo -n "Stopping lighttpd: "
+ start-stop-daemon --stop --quiet --pidfile /var/run/lighttpd.pid
+ echo "OK"
+}
+restart() {
+ stop
+ start
+}
+
+case "$1" in
+ start)
+ start
+ ;;
+ stop)
+ stop
+ ;;
+ restart|reload)
+ restart
+ ;;
+ *)
+ echo "Usage: $0 {start|stop|restart}"
+ exit 1
+esac
+
+exit $?
+
next reply other threads:[~2007-08-11 23:35 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-11 23:35 ulf at uclibc.org [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-12-13 10:55 [Buildroot] svn commit: trunk/buildroot/package/lighttpd tpetazzoni at uclibc.org
2008-09-17 21:36 jacmet at uclibc.org
2008-09-17 21:35 jacmet at uclibc.org
2008-04-24 13:18 ninevoltz at uclibc.org
2007-11-30 12:35 ulf at uclibc.org
2007-09-19 14:02 aldot at uclibc.org
2007-07-17 0:27 sjhill at uclibc.org
2007-07-15 23:35 ulf at uclibc.org
2007-07-08 18:16 aldot at uclibc.org
2007-07-08 18:14 aldot at uclibc.org
2007-02-11 18:08 aldot at uclibc.org
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=20070811233507.13CCCA65C0@busybox.net \
--to=ulf@uclibc.org \
--cc=buildroot@busybox.net \
/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