1.As Angelo Turetta said in freebsd-ports, when use pkg_add to install jakarta-tomcatX, the permission of directory is not correct. 2 when use portlint checking jakarta-tomcat5, it said I should add a "/" in the end of MASTER_SITES Fix: In my patch: 1. Add "/" to the end of MASTER_SITES 2. Add "chown" into pkg-plist to slove pkg_add permission problem. 3. Dump PORTREVISION How-To-Repeat: 1.make package and pkg_add it. see stdout.log for details. 2. run portlint
There is a small mistake in the patch for pkg-plist Here is patch for pkg-plist again: Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/www/jakarta-tomcat5/pkg-plist,v retrieving revision 1.3 diff -u -r1.3 pkg-plist --- pkg-plist 25 Sep 2003 08:59:31 -0000 1.3 +++ pkg-plist 26 Sep 2003 05:07:05 -0000 @@ -1684,6 +1684,8 @@ %%T%%/webapps/tomcat-docs/ssl-howto.html %%T%%/webapps/tomcat-docs/status.html @exec mkdir %D/%%T%%/work || true +@exec mkdir %D/%%T%%/common/classes ||true +@exec chown -R %%WWWOWN%%:%%WWWGRP%% %D/%%T%%/ @dirrm %%T%%/work @dirrm %%T%%/webapps/tomcat-docs/servletapi/resources @dirrm %%T%%/webapps/tomcat-docs/servletapi/javax/servlet/http/class-use
State Changed From-To: open->closed Committed. Thanks!