ports/90292:

Franz Klammer klammer at webonaut.com
Mon Dec 12 16:50:04 UTC 2005


>Number:         90292
>Category:       ports
>Synopsis:       
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 12 16:50:03 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Franz Klammer
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:


System: FreeBSD 6.0-STABLE #11: Wed Nov 23 12:22:10 CET 2005
    root at acer.webonaut.com:/usr/obj/usr/src/sys/ACER292



>Description:


chmod a+r of the files while the install-process end with an error if a file with whitespaces exists.

e.g.: i've a file named "Copy of style.css" and get the errors like:
Copy ... does not exists
of ... does not exists

changed patch-ab to do not use "-exec chmod" instead of "-print | xargs" as used in chmod the directories.


>How-To-Repeat:





>Fix:


--- apache13_patch-ab.diff begins here ---
--- apache13/files/patch-ab.orig	Mon Dec 12 17:26:09 2005
+++ apache13/files/patch-ab	Mon Dec 12 17:40:43 2005
@@ -30,7 +30,7 @@
 -	- at if [ -d $(TOP)/htdocs/manual ]; then \
 +		(cd $(root)$(htdocsdir)-dist/ && $(TAR) -xf -); \
 +		find $(root)$(htdocsdir)-dist/ -type d -exec chmod a+rx {} \; ; \
-+		find $(root)$(htdocsdir)-dist/ -type f -print | xargs chmod a+r ;
++		find $(root)$(htdocsdir)-dist/ -type f -exec chmod a+r {} \; ;
  		echo "Copying tree $(TOP)/htdocs/manual -> $(root)/$(manualdir)/"; \
  		(cd $(TOP)/htdocs/manual/ && $(TAR) $(TAROPT) - *) |\
  		(cd $(root)$(manualdir)/ && $(TAR) -xf -); \
--- apache13_patch-ab.diff ends here ---



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



More information about the freebsd-ports-bugs mailing list