Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jan 2006 10:17:08 +0900 (JST)
From:      KOMATSU Shinichiro <koma2@lovepeers.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        clement@FreeBSD.org, Mike Loiterman <mike@ascendency.net>
Subject:   ports/91849: www/apache20: print-closest-mirrors is not actually removed.
Message-ID:  <20060116011708.2FBCC1153F@koma2-45.wins.timedia.co.jp>
Resent-Message-ID: <200601160120.k0G1K3l8044667@freefall.freebsd.org>

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

>Number:         91849
>Category:       ports
>Synopsis:       www/apache20: print-closest-mirrors is not actually removed.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 16 01:20:02 GMT 2006
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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