ports/117178: Remove ${INDEXDIR}/${INDEXFILE}.bz2 after fetchindex is being run

Kirill Ponomarew krion at voodoo.bawue.com
Sun Oct 14 10:30:02 UTC 2007


>Number:         117178
>Category:       ports
>Synopsis:       Remove ${INDEXDIR}/${INDEXFILE}.bz2 after fetchindex is being run
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 14 10:30:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Kirill Ponomarew
>Release:        FreeBSD 8.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD voodoo.bawue.com 8.0-CURRENT FreeBSD 8.0-CURRENT #9: Sat Oct 13 15:38:47 CEST 2007 root at voodoo.bawue.com:/usr/obj/usr/src/sys/camel amd64


	
>Description:
	Remove ${INDEXDIR}/${INDEXFILE}.bz2 after fetchindex is
	being run
>How-To-Repeat:
	
>Fix:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/Makefile,v
retrieving revision 1.103
diff -u -r1.103 Makefile
--- Makefile    27 Sep 2007 05:36:26 -0000      1.103
+++ Makefile    14 Oct 2007 09:59:49 -0000
@@ -75,7 +75,7 @@

 fetchindex: ${INDEXDIR}/${INDEXFILE}.bz2
        @bunzip2 < ${INDEXDIR}/${INDEXFILE}.bz2 > ${INDEXDIR}/${INDEXFILE} && \
-       chmod a+r ${INDEXDIR}/${INDEXFILE}
+       chmod a+r ${INDEXDIR}/${INDEXFILE} && ${RM} -f ${INDEXDIR}/${INDEXFILE}.bz2

 ${INDEXDIR}/${INDEXFILE}.bz2: .PHONY
        @${FETCHINDEX} ${INDEXDIR}/${INDEXFILE}.bz2 ${MASTER_SITE_INDEX}${INDEXFILE}.bz2


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list