From owner-freebsd-ports@FreeBSD.ORG Fri Nov 7 19:02:11 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F3D1A16A4CE; Fri, 7 Nov 2003 19:02:10 -0800 (PST) Received: from n203069.ap.plala.or.jp (n203069.ap.plala.or.jp [219.165.203.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D17643F75; Fri, 7 Nov 2003 19:02:09 -0800 (PST) (envelope-from sf@FreeBSD.org) Date: Sat, 08 Nov 2003 12:02:07 +0900 Message-ID: <86ekwjk1g0.wl@gray.plala.or.jp> From: FUJISHIMA Satsuki To: Rick Updegrove In-Reply-To: <3FAC0972.8080408@updegrove.net> References: <3FAC04EC.4050101@updegrove.net> <20031107205733.GA3417@nagual.pp.ru> <3FAC0972.8080408@updegrove.net> Mail-Followup-To: Rick Updegrove , ports@freebsd.org User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/20.7 (i386--freebsd) MULE/4.1 (AOI) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII cc: ports@freebsd.org Subject: Re: apache13 port problems X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Nov 2003 03:02:11 -0000 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 \