ports/117043: www/apache22 is missing index.html

YAMAMOTO Takao yamamoto at computec.co.jp
Tue Oct 9 09:30:14 UTC 2007


>Number:         117043
>Category:       ports
>Synopsis:       www/apache22 is missing index.html
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 09 09:30:13 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     YAMAMOTO Takao
>Release:        6.2-RELEASE
>Organization:
>Environment:
FreeBSD releng6.iauctionet.co.jp 6.2-RELEASE-p8 FreeBSD 6.2-RELEASE-p8 #0: Thu Oct  4 12:06:51 JST 2007     root at releng6x.iauctionet.co.jp:/usr/obj/usr/src/sys/IAGENERIC  i386
>Description:
www/apache22 port failed to install default "It works!" index.html file.
There are two problems in pkg-plist IMO - no entry to create %D/www/apache22/data directory and wrong path for index.html file as copy source.
>How-To-Repeat:
cd /usr/ports/www/apache22; make install
>Fix:
diff -u -r -N pkg-plist.org pkg-plist
--- pkg-plist.org       Wed Oct  3 19:36:23 2007
+++ pkg-plist   Tue Oct  9 18:03:10 2007
@@ -277,7 +277,7 @@
 www/apache22/cgi-bin/test-cgi
 @unexec if cmp -s %D/www/apache22/data/index.html %D/%%EXAMPLESDIR%%/index.html; then rm -f %D/www/apache22/data/index.html; fi
 %%EXAMPLESDIR%%/index.html
- at exec [ -f %D/www/apache22/data/index.html ] || cp %D/%%EXAMPLESDIR%%/www/apache22/data/index.html %D/www/apache22/data/index.html
+ at exec [ -f %D/www/apache22/data/index.html ] || mkdir -p %D/www/apache22/data; cp %D/%%EXAMPLESDIR%%/index.html %D/www/apache22/data/index.html
 www/apache22/error/HTTP_BAD_GATEWAY.html.var
 www/apache22/error/HTTP_BAD_REQUEST.html.var
 www/apache22/error/HTTP_FORBIDDEN.html.var

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list