Skip to contentSkip to conversation

svn commit: trunk/buildroot/package/lighttpd

Buildroot ninevoltz at uclibc.org 1 participant 1 message Apr 24, 2008

lore
Share & tools
lore
#0 lore raw

Author: ninevoltz
Date: 2008-04-24 06:18:50 -0700 (Thu, 24 Apr 2008) New Revision: 21835

Log:
update lighttpd

Added:
trunk/buildroot/package/lighttpd/lighttpd-1.4.19-configure.patch

Removed:
trunk/buildroot/package/lighttpd/rc.lighttpd

Modified:
trunk/buildroot/package/lighttpd/Config.in
trunk/buildroot/package/lighttpd/lighttpd.mk

Changeset:
Modified: trunk/buildroot/package/lighttpd/Config.in
===================================================================

buildroot/package/lighttpd/Config.in +15 -1
@@ -12,10 +12,24 @@
 		 
 	  http://www.lighttpd.net/
 
+if BR2_PACKAGE_LIGHTTPD
+menu "lighttpd packages"
+
 config BR2_PACKAGE_LIGHTTPD_OPENSSL
-	bool "lighttpd-openssl"
+	bool "openssl"
 	default y
 	depends on BR2_PACKAGE_LIGHTTPD
 	select BR2_PACKAGE_OPENSSL
 	help
 	  Enable OpenSSL support for lighttpd.
+
+config BR2_PACKAGE_LIGHTTPD_PCRE
+	bool "pcre"
+	default n
+	depends on BR2_PACKAGE_LIGHTTPD
+	select BR2_PACKAGE_PCRE
+	help
+	  Enable PCRE support. Needed to support mod_rewrite
+
+endmenu
+endif

Added: trunk/buildroot/package/lighttpd/lighttpd-1.4.19-configure.patch
===================================================================

buildroot/package/lighttpd/lighttpd-1.4.19-configure.patch +11 -0
@@ -0,0 +1,11 @@
+--- lighttpd-1.4.19-org/configure	2008-03-10 21:46:12.000000000 +0000
++++ lighttpd-1.4.19/configure	2008-03-31 06:58:41.000000000 +0000
+@@ -23971,7 +23971,7 @@
+ { echo "$as_me:$LINENO: result: $WITH_PCRE" >&5
+ echo "${ECHO_T}$WITH_PCRE" >&6; }
+ 
+-if test "x$cross_compiling" = xno -a "$WITH_PCRE" != "no"; then
++if test "$WITH_PCRE" != "no"; then
+   # Extract the first word of "pcre-config", so it can be a program name with args.
+ set dummy pcre-config; ac_word=$2
+ { echo "$as_me:$LINENO: checking for $ac_word" >&5

Modified: trunk/buildroot/package/lighttpd/lighttpd.mk
===================================================================

buildroot/package/lighttpd/lighttpd.mk +28 -95

134 lines not on this page · raw message

Deleted: trunk/buildroot/package/lighttpd/rc.lighttpd
===================================================================

buildroot/package/lighttpd/rc.lighttpd +0 -39
@@ -1,39 +0,0 @@
-#!/bin/sh
-#
-# Starts lighttpd
-#
-
-umask 077
-
-start() {
- 	echo -n "Starting lighttpd: "
-	start-stop-daemon -S -q -m -p /var/run/lighttpd.pid -b -x /usr/sbin/lighttpd -- -f /etc/lighttpd/lighttpd.conf -D
-	echo "OK"
-}
-stop() {
-	echo -n "Stopping lighttpd: "
-	start-stop-daemon -K -q -p /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 $?
-