From 1612656579381828fb1e7d0fc4df25e4968e177f Mon Sep 17 00:00:00 2001 From: Patrick Murphy Date: Thu, 11 Jun 2020 13:51:35 -0500 Subject: added missing index file --- recipes-core/lighttpd/lighttpd/index.html.lighttpd | 1 + recipes-core/lighttpd/lighttpd_1.4.48.bb | 21 ++++++++------------- 2 files changed, 9 insertions(+), 13 deletions(-) create mode 100644 recipes-core/lighttpd/lighttpd/index.html.lighttpd diff --git a/recipes-core/lighttpd/lighttpd/index.html.lighttpd b/recipes-core/lighttpd/lighttpd/index.html.lighttpd new file mode 100644 index 0000000..f5f1c37 --- /dev/null +++ b/recipes-core/lighttpd/lighttpd/index.html.lighttpd @@ -0,0 +1 @@ +

It works!

diff --git a/recipes-core/lighttpd/lighttpd_1.4.48.bb b/recipes-core/lighttpd/lighttpd_1.4.48.bb index 38341d6..1c2de95 100644 --- a/recipes-core/lighttpd/lighttpd_1.4.48.bb +++ b/recipes-core/lighttpd/lighttpd_1.4.48.bb @@ -24,6 +24,7 @@ RDEPENDS_${PN} += " openssl" SRC_URI = "http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${PV}.tar.gz \ + file://index.html.lighttpd \ file://lighttpd.conf \ file://lighttpd.init \ file://lighttpd.service \ @@ -49,32 +50,26 @@ EXTRA_OECONF = " \ --disable-static \ " -inherit useradd update-rc.d autotools pkgconfig gettext systemd +inherit update-rc.d autotools pkgconfig gettext systemd INITSCRIPT_NAME = "lighttpd" INITSCRIPT_PARAMS = "defaults 70" -USERADD_PACKAGES = "${PN}" -GROUPADD_PARAM_${PN} = "--system --gid 667 www" -USERADD_PARAM_${PN} = "--system --gid 667 --uid 667 --groups 667 --no-create-home --home-dir /var/www --shell /bin/false --no-user-group www" - do_install_append() { install -d ${D}${sysconfdir}/init.d ${D}${sysconfdir}/lighttpd.d ${D}/www/pages/dav - install -d 0644 ${D}${sysconfdir}/ssl - install -m 0755 --group www -d ${D}${localstatedir}/www install -m 0755 ${WORKDIR}/lighttpd.init ${D}${sysconfdir}/init.d/lighttpd - install -m 0644 --group www ${WORKDIR}/lighttpd.conf ${D}${sysconfdir} - - install -d ${D}${systemd_unitdir}/system - install -m 0644 ${WORKDIR}/lighttpd.service ${D}${systemd_unitdir}/system - sed -i -e 's,@SBINDIR@,${sbindir},g' \ + install -m 0644 ${WORKDIR}/lighttpd.conf ${D}${sysconfdir} + install -m 0644 ${WORKDIR}/index.html.lighttpd ${D}/www/pages/index.html + + install -d ${D}${systemd_unitdir}/system + install -m 0644 ${WORKDIR}/lighttpd.service ${D}${systemd_unitdir}/system + sed -i -e 's,@SBINDIR@,${sbindir},g' \ -e 's,@SYSCONFDIR@,${sysconfdir},g' \ -e 's,@BASE_BINDIR@,${base_bindir},g' \ ${D}${systemd_unitdir}/system/lighttpd.service #For FHS compliance, create symbolic links to /var/log and /var/tmp for logs and temporary data ln -sf ${localstatedir}/log ${D}/www/logs ln -sf ${localstatedir}/tmp ${D}/www/var - ln -snf ../volatile/www/tmp ${D}${localstatedir}/www/tmp} } do_install_append_mtr() { -- cgit v1.2.3