From patchwork Tue Mar 19 09:00:35 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacob Kjaergaard X-Patchwork-Id: 228954 X-Patchwork-Delegate: esben@haabendal.dk Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hugin.dotsrc.org (hugin.dotsrc.org [IPv6:2001:878:346::102]) by ozlabs.org (Postfix) with ESMTP id 97DAB2C00AD for ; Tue, 19 Mar 2013 20:00:41 +1100 (EST) Received: from hugin.dotsrc.org (localhost [127.0.0.1]) by hugin.dotsrc.org (Postfix) with ESMTP id 5F7353F987 for ; Tue, 19 Mar 2013 10:00:40 +0100 (CET) X-Original-To: dev@oe-lite.org Delivered-To: dev@oe-lite.org Received: from mail01.prevas.se (mail01.prevas.se [62.95.78.3]) by hugin.dotsrc.org (Postfix) with ESMTPS id 5B0A63F987 for ; Tue, 19 Mar 2013 10:00:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=prevas.dk; i=@prevas.dk; l=4061; q=dns/txt; s=ironport1; t=1363683638; x=1395219638; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=P2xzFJoMbHTJHT5oeHRvwf8zRnE813H6EZV4YhTBSlY=; b=KVTyLXQClpHlfUNJemH66PJ6/zarWJOvG0rke3GK4/Wg3g06nnqyH49x btlh86WlxvynW1VAGR262FGMgE1oFhf28LBa+xVcEnQJiILhHB0SOjKZ/ GBBcVj2YdVywSlnfbrsOHfDJc0ITJOxdUx0EbzsN9Wz/XUm92DW+oNKsm c=; X-IronPort-AV: E=Sophos;i="4.84,870,1355094000"; d="scan'208";a="2885905" Received: from vmprevas3.prevas.se (HELO smtp.prevas.se) ([172.16.8.103]) by ironport1.prevas.se with ESMTP/TLS/AES128-SHA; 19 Mar 2013 10:00:38 +0100 Received: from arh116.prevas.se (172.16.11.18) by smtp.prevas.se (172.16.8.105) with Microsoft SMTP Server (TLS) id 14.2.342.3; Tue, 19 Mar 2013 10:00:37 +0100 From: Jacob Barsoe To: Subject: [PATCH 1/2] lighttpd: Add version 1.4.32 Date: Tue, 19 Mar 2013 10:00:35 +0100 Message-ID: <728f04a0ea22761740cd201a0a9121f121eed32d.1363679135.git.jacob.kjaergaard@prevas.dk> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [172.16.11.18] X-BeenThere: dev@oe-lite.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: OE-lite development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dev-bounces@oe-lite.org Errors-To: dev-bounces@oe-lite.org From: Jacob Kjaergaard --- recipes/lighttpd/lighttpd_1.4.32.oe | 98 +++++++++++++++++++++++++++++++ recipes/lighttpd/lighttpd_1.4.32.oe.sig | 1 + 2 files changed, 99 insertions(+) create mode 100644 recipes/lighttpd/lighttpd_1.4.32.oe create mode 100644 recipes/lighttpd/lighttpd_1.4.32.oe.sig diff --git a/recipes/lighttpd/lighttpd_1.4.32.oe b/recipes/lighttpd/lighttpd_1.4.32.oe new file mode 100644 index 0000000..337321b --- /dev/null +++ b/recipes/lighttpd/lighttpd_1.4.32.oe @@ -0,0 +1,98 @@ +# -*- mode:python; -*- +DESCRIPTION = "Lightweight high-performance web server" +HOMEPAGE = "http://www.lighttpd.net/" +BUGTRACKER = "http://redmine.lighttpd.net/projects/lighttpd/issues" +LICENSE = "BSD" + +RECIPE_TYPES = "machine sdk" + +inherit autotools pkgconfig gettext sysvinit make + +DEPENDS = "libdl libm" + +SRC_URI = "http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${PV}.tar.bz2" +SRC_URI += "file://lighttpd.conf" +SRC_URI += "file://index.html" +SRC_URI += "file://lighttpd" +SRC_URI += "file://hackOutUsrLib.patch" + +EXTRA_OECONF = " \ + --without-libev \ + --without-mysql \ + --without-ldap \ + --without-attr \ + --without-valgrind \ + --without-openssl \ + --without-kerberos5 \ + --without-fam \ + --without-webdav-props \ + --without-webdav-locks \ + --without-gdbm \ + --without-memcache \ +" + +RECIPE_FLAGS += "lighttpd_lfs" +EXTRA_OECONF_LFS = "--disable-lfs" +EXTRA_OECONF_LFS:USE_lighttpd_lfs = "--enable-lfs" +EXTRA_OECONF += "${EXTRA_OECONF_LFS}" + +RECIPE_FLAGS += "lighttpd_ipv6" +EXTRA_OECONF_IPV6 = "--disable-ipv6" +EXTRA_OECONF_IPV6:USE_lighttpd_ipv6 = "--enable-ipv6" +EXTRA_OECONF += "${EXTRA_OECONF_IPV6}" + +RECIPE_FLAGS += "lighttpd_pcre" +DEFAULT_USE_lighttpd_pcre = "1" +EXTRA_OECONF_PCRE = "--without-pcre" +EXTRA_OECONF_PCRE:USE_lighttpd_pcre = "--with-pcre" +EXTRA_OECONF += "${EXTRA_OECONF_PCRE}" +DEPENDS_PCRE = "" +DEPENDS_PCRE:USE_lighttpd_pcre = "libpcre" +DEPENDS += "${DEPENDS_PCRE}" +RDEPENDS_${PN} += "${DEPENDS_PCRE}" + +RECIPE_FLAGS += "lighttpd_zlib" +DEFAULT_USE_lighttpd_zlib = "1" +EXTRA_OECONF_ZLIB = "--without-zlib" +EXTRA_OECONF_ZLIB:USE_lighttpd_zlib = "--with-zlib" +EXTRA_OECONF += "${EXTRA_OECONF_ZLIB}" +DEPENDS_ZLIB = "" +DEPENDS_ZLIB:USE_lighttpd_zlib = "libz" +DEPENDS += "${DEPENDS_ZLIB}" +RDEPENDS_${PN} += "${DEPENDS_ZLIB}" + +RECIPE_FLAGS += "lighttpd_bzip2" +EXTRA_OECONF_BZIP2 = "--without-bzip2" +EXTRA_OECONF_BZIP2:USE_lighttpd_bzip2 = "--with-bzip2" +EXTRA_OECONF += "${EXTRA_OECONF_BZIP2}" +DEPENDS_BZIP2 = "" +DEPENDS_BZIP2:USE_lighttpd_bzip2 = "libbz2" +DEPENDS += "${DEPENDS_BZIP2}" +RDEPENDS_${PN} += "${DEPENDS_BZIP2}" + +RECIPE_FLAGS += "lighttpd_ssl" +DEFAULT_USE_lighttpd_ssl = "1" +EXTRA_OECONF_SSL = "--without-openssl" +EXTRA_OECONF_SSL:USE_lighttpd_ssl = "--with-openssl=${STAGE_DIR}/${HOST_TYPE}${prefix}" +EXTRA_OECONF += "${EXTRA_OECONF_SSL}" +DEPENDS_SSL = "" +DEPENDS_SSL:USE_lighttpd_ssl = "libssl libcrypto" +DEPENDS += "${DEPENDS_SSL}" +RDEPENDS_${PN} += "${DEPENDS_SSL}" + +DEFAULT_USE_lighttpd_sysvinit_start = "70" +DEFAULT_USE_lighttpd_sysvinit_stop = "0" +SYSVINIT_SCRIPT_lighttpd = "lighttpd" +do_install[postfuncs] += " do_install_lighttpd_extra" +do_install_lighttpd_extra() { + install -d ${D}${sysconfdir}/init.d \ + ${D}/www/logs ${D}/www/pages/dav ${D}/www/var + install -m 0755 ${SRCDIR}/lighttpd ${D}${sysconfdir}/init.d + install -m 0755 ${SRCDIR}/lighttpd.conf ${D}${sysconfdir} + install -m 0644 ${SRCDIR}/index.html ${D}/www/pages/ +} + +FILES_${PN} += "${sysconfdir} /www" +FILES_${PN} += "${libdir}/mod_*" + +RDEPENDS_${PN} += "libc libgcc libdl libm" diff --git a/recipes/lighttpd/lighttpd_1.4.32.oe.sig b/recipes/lighttpd/lighttpd_1.4.32.oe.sig new file mode 100644 index 0000000..b3b7910 --- /dev/null +++ b/recipes/lighttpd/lighttpd_1.4.32.oe.sig @@ -0,0 +1 @@ +61930d88aa5a5ebb4a4b539099e9577694e61185 lighttpd-1.4.32.tar.bz2