Date: Sat, 08 Nov 2003 12:02:07 +0900 From: FUJISHIMA Satsuki <sf@FreeBSD.org> To: Rick Updegrove <dislists@updegrove.net> Cc: ports@freebsd.org Subject: Re: apache13 port problems Message-ID: <86ekwjk1g0.wl@gray.plala.or.jp> In-Reply-To: <3FAC0972.8080408@updegrove.net> References: <3FAC04EC.4050101@updegrove.net> <20031107205733.GA3417@nagual.pp.ru> <3FAC0972.8080408@updegrove.net>
next in thread | previous in thread | raw e-mail | index | archive | help
At Fri, 07 Nov 2003 13:06:58 -0800, Rick Updegrove wrote: > > Andrey Chernov wrote: > > > I can't reproduce that. Try to rm -rf /usr/local/www/data-dist first. > > That worked. Thanks. > > Now what caused it? I installed like every possible apache port over > the past week and I have no idea which one installs > "/usr/local/www/data-dist" as apposed to "/usr/local/www/data" etc. You have had some files which include xargs-unsafe character in its filename. e.g.) '(single quotation). The solution is to utilize xargs -0. Index: files/patch-ab =================================================================== RCS file: /home/ncvs/ports/www/apache13/files/patch-ab,v retrieving revision 1.25 diff -u -r1.25 patch-ab --- files/patch-ab 22 Jun 2002 05:47:36 -0000 1.25 +++ files/patch-ab 8 Nov 2003 02:58:36 -0000 @@ -1,5 +1,5 @@ ---- Makefile.tmpl.orig Thu Mar 14 00:05:27 2002 -+++ Makefile.tmpl Sat Jun 22 09:33:52 2002 +--- Makefile.tmpl.orig Mon Apr 28 22:32:12 2003 ++++ Makefile.tmpl Sat Nov 8 11:58:34 2003 @@ -270,10 +270,10 @@ $(MKDIR) $(root)$(mandir)/man1 $(MKDIR) $(root)$(mandir)/man8 @@ -30,13 +30,13 @@ - -@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 -print0 | xargs -0 chmod a+r ; echo "Copying tree $(TOP)/htdocs/manual -> $(root)/$(manualdir)/"; \ (cd $(TOP)/htdocs/manual/ && $(TAR) $(TAROPT) - *) |\ (cd $(root)$(manualdir)/ && $(TAR) -xf -); \ find $(root)$(manualdir)/ -type d -exec chmod a+rx {} \; ; \ - find $(root)$(manualdir)/ -type f -print | xargs chmod a+r ; \ -+ find $(root)$(manualdir)/ -type f -print | xargs chmod a+r ; ++ find $(root)$(manualdir)/ -type f -print0 | xargs -0 chmod a+r ; + if [ ! -d $(root)$(htdocsdir)/ ]; then \ + $(LN) -sf $(root)$(htdocsdir)-dist $(root)$(htdocsdir); \ fi @@ -73,9 +73,9 @@ + -e "s;logs/referer_log;$(logfiledir)/$${target_prefix}httpd-referer.log;" \ + -e "s;logs/agent_log;$(logfiledir)/$${target_prefix}httpd-agent.log;" \ -e 's;conf/magic;$(sysconfdir)/magic;' \ - -e 's;conf/mime\.types;$(sysconfdir)/mime.types;' \ - -e 's;User nobody;User $(conf_user);' \ -@@ -537,8 +533,8 @@ + -e 's;conf/srm.conf;$(sysconfdir)/srm.conf;' \ + -e 's;conf/access.conf;$(sysconfdir)/access.conf;' \ +@@ -539,8 +535,8 @@ -e 's;ServerAdmin you@your.address;ServerAdmin $(conf_serveradmin);' \ -e 's;ServerName new.host.name;ServerName $(conf_servername);' \ > $(TOP)/$(SRC)/.apaci.install.tmp && \ @@ -86,7 +86,7 @@ if [ ! -f "$(root)$(sysconfdir)/$${target_conf}" ]; then \ echo "$(INSTALL_DATA) $(TOP)/conf/$${conf}-dist[*] $(root)$(sysconfdir)/$${target_conf}"; \ $(INSTALL_DATA) $(TOP)/$(SRC)/.apaci.install.tmp $(root)$(sysconfdir)/$${target_conf}; \ -@@ -547,8 +543,8 @@ +@@ -549,8 +545,8 @@ fi; \ done -@for conf in mime.types magic; do \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ekwjk1g0.wl>