aboutsummaryrefslogtreecommitdiffstats
path: root/packages/thttpd/thttpd_2.25b.bb
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2005-07-14 21:14:25 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-14 21:14:25 +0000
commitf8420e0dc23431e9124a60f496aab7fe7877e89d (patch)
treea137709dd3a9e7bd8e3eb790079dbd0f01f0915e /packages/thttpd/thttpd_2.25b.bb
parent2033d3ca9dd4fc5ab62ccbbc45e509c983eecc79 (diff)
downloadopenembedded-f8420e0dc23431e9124a60f496aab7fe7877e89d.tar.gz
Fixed so initscript starts thttpd with the right path
Diffstat (limited to 'packages/thttpd/thttpd_2.25b.bb')
-rw-r--r--packages/thttpd/thttpd_2.25b.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/thttpd/thttpd_2.25b.bb b/packages/thttpd/thttpd_2.25b.bb
index e7b786c1b0..9a3ac3af11 100644
--- a/packages/thttpd/thttpd_2.25b.bb
+++ b/packages/thttpd/thttpd_2.25b.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "A simple, small, portable, fast, and secure HTTP server."
LICENSE = "BSD"
MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
HOMEPAGE = "http://www.acme.com/software/thttpd/"
-PR="r1"
+PR="r2"
SRC_URI = "http://www.acme.com/software/thttpd/thttpd-2.25b.tar.gz \
file://install.patch;patch=1 \
@@ -24,5 +24,6 @@ do_configure () {
do_install_append () {
install -d "${D}${sysconfdir}/init.d"
- install -c -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/thttpd
+ cat ${WORKDIR}/init | sed -e 's,@@SRVDIR,${servicedir}/www,g' > ${WORKDIR}/thttpd
+ install -c -m 755 ${WORKDIR}/thttpd ${D}${sysconfdir}/init.d/thttpd
}