From koma2@timedia.co.jp  Mon Jan 16 01:17:11 2006
Return-Path: <koma2@timedia.co.jp>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id D169D16A41F;
	Mon, 16 Jan 2006 01:17:11 +0000 (GMT)
	(envelope-from koma2@timedia.co.jp)
Received: from timedia.co.jp (nurikabe.timedia.co.jp [218.225.123.151])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 8680643D46;
	Mon, 16 Jan 2006 01:17:11 +0000 (GMT)
	(envelope-from koma2@timedia.co.jp)
Received: by koma2-45.wins.timedia.co.jp (Postfix, from userid 1000)
	id 2FBCC1153F; Mon, 16 Jan 2006 10:17:08 +0900 (JST)
Message-Id: <20060116011708.2FBCC1153F@koma2-45.wins.timedia.co.jp>
Date: Mon, 16 Jan 2006 10:17:08 +0900 (JST)
From: KOMATSU Shinichiro <koma2@lovepeers.org>
Reply-To: KOMATSU Shinichiro <koma2@lovepeers.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: clement@FreeBSD.org, "Mike Loiterman" <mike@ascendency.net>
Subject: www/apache20: print-closest-mirrors is not actually removed.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         91849
>Category:       ports
>Synopsis:       www/apache20: print-closest-mirrors is not actually removed.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    clement
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 16 01:20:02 GMT 2006
>Closed-Date:    Mon Jan 16 08:23:43 GMT 2006
>Last-Modified:  Mon Jan 16 08:23:43 GMT 2006
>Originator:     KOMATSU Shinichiro
>Release:        FreeBSD 5.4-RELEASE-p8 i386
>Organization:
>Environment:
FreeBSD 5.4-RELEASE-p8 i386

>Description:

According to the commit log, print-closest-mirror target
was moved to bas.apache.mk,
but actually it still remains in www/apache20/Makefile, 
and causes the following error:

    ** Makefile possibly broken: www/apache20:
	    "Makefile", line 190: warning: duplicate script for target "print-closest-mirrors" ignored
	    "Makefile", line 197: warning: duplicate script for target "print-closest-mirrors" ignored
	    apache-2.0.55_2


Reported by: "Mike Loiterman" <mike at ascendency dot net>

>How-To-Repeat:
	
>Fix:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/apache20/Makefile,v
retrieving revision 1.232
diff -u -r1.232 Makefile
--- Makefile	15 Jan 2006 18:58:37 -0000	1.232
+++ Makefile	16 Jan 2006 01:06:52 -0000
@@ -186,16 +186,6 @@
 	@${ECHO_MSG}	"make print-closest-mirrors >> /etc/make.conf"
 	@${ECHO_MSG}	""
 
-print-closest-mirrors:
-	@${ECHO_MSG} -n "Fetching list of nearest mirror: " >&2
-	@MIRRORS=`${FETCH_CMD} -T 30 -qo - http://www.apache.org/dyn/closer.cgi/httpd/ 2> /dev/null\
-	| ${GREP} /httpd/ | ${SED} 's/.*href="\(.*\)"><str.*/\1/g' | \
-	${HEAD} -7 | ${TAIL} -6` ; \
-	${ECHO_MSG} done >&2; if [ "x$$MIRRORS" != "x" ]; then \
-	${ECHO_MSG} -n "MASTER_SITE_APACHE_HTTPD?= ";\
-	${ECHO_MSG} $$MIRRORS; else \
-	${ECHO_MSG} "No mirrors found!">&2 ; fi
-
 post-extract:
 	@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/powerlogo.gif ${WRKSRC}/docs/icons/freebsd.gif
 
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->clement 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Jan 16 01:24:11 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=91849 
State-Changed-From-To: open->closed 
State-Changed-By: clement 
State-Changed-When: Mon Jan 16 08:23:27 UTC 2006 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=91849 
>Unformatted:
