From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jan 27 23:00:02 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 250AD1065672 for ; Wed, 27 Jan 2010 23:00:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D308C8FC1E for ; Wed, 27 Jan 2010 23:00:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0RN01j6055017 for ; Wed, 27 Jan 2010 23:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0RN01jb055016; Wed, 27 Jan 2010 23:00:01 GMT (envelope-from gnats) Resent-Date: Wed, 27 Jan 2010 23:00:01 GMT Resent-Message-Id: <201001272300.o0RN01jb055016@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Bernhard Froehlich Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47EC7106568F for ; Wed, 27 Jan 2010 22:52:02 +0000 (UTC) (envelope-from decke@bluelife.at) Received: from mail.itac.at (mail.itac.at [91.205.172.9]) by mx1.freebsd.org (Postfix) with ESMTP id C03C78FC14 for ; Wed, 27 Jan 2010 22:52:01 +0000 (UTC) Received: from [78.142.74.81] (helo=localhost) by mail.itac.at with esmtpa (Exim 4.63) (envelope-from ) id 1NaGjv-0006As-Td for FreeBSD-gnats-submit@freebsd.org; Wed, 27 Jan 2010 23:52:00 +0100 Message-Id: <20100127225240.2c387ffd@bluelife.at> Date: Wed, 27 Jan 2010 22:52:40 +0100 From: Bernhard Froehlich To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/143301: [MAINTAINER] www/mythweb: add lighttpd support X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jan 2010 23:00:02 -0000 >Number: 143301 >Category: ports >Synopsis: [MAINTAINER] www/mythweb: add lighttpd support >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Jan 27 23:00:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Bernhard Froehlich >Release: FreeBSD 8.0-STABLE amd64 >Organization: >Environment: System: FreeBSD chii.bluelife.at 8.0-STABLE FreeBSD 8.0-STABLE #0: Fri Jan 8 09:39:23 CET >Description: - Added Apache and Lighttpd options - Lighttpd support added - PORTREVISION bumped Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- mythweb-0.22_1.patch begins here --- diff -ruN --exclude=CVS --exclude=.svn /usr/ports/www/mythweb.orig/Makefile /usr/ports/www/mythweb/Makefile --- /usr/ports/www/mythweb.orig/Makefile 2010-01-04 16:06:59.000000000 +0100 +++ /usr/ports/www/mythweb/Makefile 2010-01-27 22:11:40.000000000 +0100 @@ -7,6 +7,7 @@ PORTNAME= mythweb PORTVERSION= 0.22 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://ftp.osuosl.org/pub/mythtv/ \ http://ftp.oregonstate.edu/pub/mythtv/ @@ -19,18 +20,33 @@ NO_BUILD= yes USE_BZIP2= yes -USE_APACHE= 2.2+ USE_PHP= spl session mysql pcre posix json SUB_FILES= pkg-message +REINPLACE_ARGS= -i "" + +OPTIONS= APACHE "Enable Apache Support" on \ + LIGHTTPD "Enable Lighttpd Support" off + +.include + +.if defined(WITH_APACHE) +USE_APACHE= 2.2+ +.endif + +.if defined(WITH_LIGHTTPD) +RUN_DEPENDS+= lighttpd:${PORTSDIR}/www/lighttpd +.endif post-patch: @${REINPLACE_CMD} -e 's|/var/www/html|${WWWDIR}|' \ ${WRKSRC}/mythweb/mythweb.conf.apache + @${REINPLACE_CMD} -e 's|/usr/bin/php-cgi|${LOCALBASE}/bin/php-cgi|' \ + ${WRKSRC}/mythweb/mythweb.conf.lighttpd do-install: ${MKDIR} ${WWWDIR} ${MKDIR} ${WWWDIR}/data - (cd ${WRKSRC}/mythweb/ && ${COPYTREE_SHARE} "*" ${WWWDIR} "! -name *.bak") + (cd ${WRKSRC}/mythweb/ && ${COPYTREE_SHARE} "*" ${WWWDIR}) ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR} ${CHMOD} -R 775 ${WWWDIR}/data diff -ruN --exclude=CVS --exclude=.svn /usr/ports/www/mythweb.orig/files/pkg-message.in /usr/ports/www/mythweb/files/pkg-message.in --- /usr/ports/www/mythweb.orig/files/pkg-message.in 2010-01-04 16:06:59.000000000 +0100 +++ /usr/ports/www/mythweb/files/pkg-message.in 2010-01-27 21:54:26.000000000 +0100 @@ -4,4 +4,8 @@ You need to configure mythweb now according to the instructions in - %%WWWDIR%%/INSTALL \ No newline at end of file + %%WWWDIR%%/INSTALL + +For lighttpd you should have a look at the MythTV Wiki + + http://www.mythtv.org/wiki/MythWeb_on_Lighttpd \ No newline at end of file --- mythweb-0.22_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: