Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Dec 2005 17:49:13 +0100
From:      "Franz Klammer" <klammer@webonaut.com>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/90292: 
Message-ID:  <1134406153.0@acer.webonaut.com>
Resent-Message-ID: <200512121650.jBCGo3g9093667@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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 @@
 -	-@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1134406153.0>