Skip site navigation (1)Skip section navigation (2)
Date:      2 Sep 2001 16:58:57 -0000
From:      Mike Meyer <mwm@mired.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/30268: [PATCH] /usr/ports/INDEX in the cvs repository is out of date.
Message-ID:  <20010902165857.44238.qmail@guru.mired.org>

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

>Number:         30268
>Category:       ports
>Synopsis:       [PATCH] /usr/ports/INDEX in the cvs repository is out of date.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 02 10:00:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Mike Meyer
>Release:        FreeBSD 4.4-RC i386
>Organization:
Meyer Consulting
>Environment:
System: FreeBSD guru.mired.org 4.4-RC FreeBSD 4.4-RC #5: Sun Aug 26 15:14:14 CDT 2001 mwm@guru.mired.org:/sharetmp/obj/usr/src/sys/GURU i386

	Any tracking /usr/ports

>Description:
	The /usr/ports/INDEX file in the CVS repository is out of date.

>How-To-Repeat:

	Do "make index" in /usr/ports, and note that are ~5800 lines
	in the resulting INDEX file. Do "make update" on a properly
	configured system, and then note that INDEX has lost a number
	of ports, and that many listed are now out of date.

>Fix:

	Something to rebuild the index and check it in daily is probably
	the best option. A second option would be to remove the INDEX
	file from the cvs repository and add a hook to
	/usr/ports/Makefile to let a switch in /etc/make.conf control
	automatically rebuilding it, ala:
	
--- Makefile.orig	Sun Sep  2 11:48:10 2001
+++ Makefile	Sun Sep  2 11:56:35 2001
@@ -56,7 +56,7 @@
 
 .include <bsd.port.subdir.mk>
 
-index:
+>index:
 	@rm -f ${.CURDIR}/INDEX
 	@cd ${.CURDIR} && make ${.CURDIR}/INDEX
 
@@ -106,4 +106,7 @@
 	@exit 1
 .else
 	@${ECHO_MSG} "Error: Please define either SUP_UPDATE or CVS_UPDATE first."
+.endif
+.if defined(UPDATE_PORTS_INDEX)
+	make index
 .endif


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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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