ports/91849: www/apache20: print-closest-mirrors is not actually removed.

KOMATSU Shinichiro koma2 at lovepeers.org
Mon Jan 16 01:20:04 UTC 2006


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



More information about the freebsd-ports-bugs mailing list