Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Oct 2007 12:07:32 +0200
From:      Kirill Ponomarew <krion@voodoo.bawue.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/117178: Remove ${INDEXDIR}/${INDEXFILE}.bz2 after fetchindex is being run
Message-ID:  <E1Ih0Ng-0004wj-CF@voodoo.bawue.com>
Resent-Message-ID: <200710141030.l9EAU29O094782@freefall.freebsd.org>

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Ih0Ng-0004wj-CF>