From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jan 25 22:10:10 2011 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 529491065694 for ; Tue, 25 Jan 2011 22:10:10 +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 C78AD8FC23 for ; Tue, 25 Jan 2011 22:10:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p0PMA9UG064510 for ; Tue, 25 Jan 2011 22:10:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p0PMA9sV064509; Tue, 25 Jan 2011 22:10:09 GMT (envelope-from gnats) Resent-Date: Tue, 25 Jan 2011 22:10:09 GMT Resent-Message-Id: <201101252210.p0PMA9sV064509@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, Olli Hauer Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05D55106566B; Tue, 25 Jan 2011 22:06:02 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from u18-124.dslaccess.de (unknown [194.231.39.124]) by mx1.freebsd.org (Postfix) with ESMTP id AB2E98FC25; Tue, 25 Jan 2011 22:06:01 +0000 (UTC) Received: by u18-124.dslaccess.de (Postfix, from userid 1100) id 8A45A20664; Tue, 25 Jan 2011 23:05:57 +0100 (CET) Message-Id: <20110125220557.8A45A20664@u18-124.dslaccess.de> Date: Tue, 25 Jan 2011 23:05:57 +0100 (CET) From: Olli Hauer To: X-Send-Pr-Version: 3.113 Cc: Subject: ports/154295: [patch] port devel/bugzilla missing directories for checksetup.pl 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: Tue, 25 Jan 2011 22:10:10 -0000 >Number: 154295 >Category: ports >Synopsis: [patch] port devel/bugzilla missing directories for checksetup.pl >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Jan 25 22:10:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Olli Hauer >Release: >Organization: >Environment: >Description: Hi Sergey, Thanks for the quick update! I note during the checksetup.pl run an issue since two missing directories. It seems the directories "lib" and "t" are needed to compile the templates. I've made some additional adjustments in pkg-plist, dirrmtry for directories where a .htaccess file will be placed and remove the old www/data directory. >How-To-Repeat: #./checksetup.pl Creating ./lib/.htaccess... No such file or directory at Bugzilla/Install/Filesystem.pm line 521. # mkdir lib #./checksetup.pl Creating ./lib/.htaccess... Creating ./template/.htaccess... Creating .htaccess... Creating contrib/.htaccess... Creating t/.htaccess... No such file or directory at Bugzilla/Install/Filesystem.pm line 521. # mkdir t #./checksetup.pl Creating t/.htaccess... Precompiling templates.....done. Fixing file permissions >Fix: --- patch_bugzilla.txt begins here --- Index: bugzilla/Makefile =================================================================== RCS file: /home/pcvs/ports/devel/bugzilla/Makefile,v retrieving revision 1.81 diff -u -r1.81 Makefile --- bugzilla/Makefile 25 Jan 2011 15:49:49 -0000 1.81 +++ bugzilla/Makefile 25 Jan 2011 21:39:04 -0000 @@ -7,6 +7,7 @@ PORTNAME= bugzilla PORTVERSION= 3.6.4 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_MOZILLA} MASTER_SITE_SUBDIR= webtools webtools/archived @@ -184,6 +185,9 @@ ${FIND} . -type d -exec ${MKDIR} "${WWWDIR}/contrib/{}" \; && \ ${FIND} . -type f -exec ${INSTALL_DATA} "{}" "${WWWDIR}/contrib/{}" \; .endif +# This are empty directories but they are needed, +# else ckecksetup.pl does not work as expected! + ${MKDIR} ${WWWDIR}/lib ${WWWDIR}/t .if !defined(BATCH) @${ECHO_MSG} @${CAT} ${PKGMESSAGE} Index: bugzilla/pkg-plist =================================================================== RCS file: /home/pcvs/ports/devel/bugzilla/pkg-plist,v retrieving revision 1.36 diff -u -r1.36 pkg-plist --- bugzilla/pkg-plist 12 Dec 2010 05:56:19 -0000 1.36 +++ bugzilla/pkg-plist 25 Jan 2011 21:39:04 -0000 @@ -777,7 +777,7 @@ @dirrmtry %%WWWDIR%%/template %%CONTRIB%%@dirrm %%WWWDIR%%/contrib/cmdline %%CONTRIB%%@dirrm %%WWWDIR%%/contrib/bugzilla-submit -%%CONTRIB%%@dirrm %%WWWDIR%%/contrib +%%CONTRIB%%@dirrmtry %%WWWDIR%%/contrib @dirrm %%WWWDIR%%/Bugzilla/Whine @dirrm %%WWWDIR%%/Bugzilla/WebService/Server @dirrm %%WWWDIR%%/Bugzilla/WebService @@ -814,6 +814,8 @@ @dirrm %%WWWDIR%%/skins/contrib/Dusk @dirrm %%WWWDIR%%/skins/contrib @dirrm %%WWWDIR%%/skins +@dirrmtry %%WWWDIR%%/lib +@dirrmtry %%WWWDIR%%/t @dirrmtry %%WWWDIR%% %%PORTDOCS%%@dirrm %%DOCSDIR%%/lib/Pod/Simple/HTMLBatch %%PORTDOCS%%@dirrm %%DOCSDIR%%/lib/Pod/Simple/HTML @@ -846,4 +848,5 @@ %%PORTDOCS%%@dirrm %%DOCSDIR%%/en/html %%PORTDOCS%%@dirrm %%DOCSDIR%%/en %%PORTDOCS%%@dirrm %%DOCSDIR%% -@dirrmtry www/data +@exec mkdir -p %D/%%WWWDIR%%/t +@exec mkdir -p %D/%%WWWDIR%%/lib --- patch_bugzilla.txt ends here --- >Release-Note: >Audit-Trail: >Unformatted: