ports/154295: [patch] port devel/bugzilla missing directories for checksetup.pl
Olli Hauer
ohauer at FreeBSD.org
Tue Jan 25 22:10:10 UTC 2011
>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
+ at dirrmtry %%WWWDIR%%/lib
+ at 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%%
- at dirrmtry www/data
+ at exec mkdir -p %D/%%WWWDIR%%/t
+ at exec mkdir -p %D/%%WWWDIR%%/lib
--- patch_bugzilla.txt ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list