From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jul 11 18:00:37 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 879A816A4D1 for ; Sun, 11 Jul 2004 18:00:37 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 694C143D3F for ; Sun, 11 Jul 2004 18:00:37 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i6BI0b5K072900 for ; Sun, 11 Jul 2004 18:00:37 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6BI0blY072899; Sun, 11 Jul 2004 18:00:37 GMT (envelope-from gnats) Resent-Date: Sun, 11 Jul 2004 18:00:37 GMT Resent-Message-Id: <200407111800.i6BI0blY072899@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Radim Kolar Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B35A16A4CF for ; Sun, 11 Jul 2004 17:55:30 +0000 (GMT) Received: from mail.tiscali.cz (stateless3.tiscali.cz [213.235.135.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FA1843D39 for ; Sun, 11 Jul 2004 17:55:29 +0000 (GMT) (envelope-from hsn@netmag.cz) Received: from sanatana.dharma (213.235.70.56) by mail.tiscali.cz (6.7.021) id 40AE2ED3012B9A17 for FreeBSD-gnats-submit@freebsd.org; Sun, 11 Jul 2004 19:55:28 +0200 Received: from hsn@localhost by sanatana.dharma (Exim 4.34_0 FreeBSD) id 1BjiRW-000JZo-Pk ; Sun, 11 Jul 2004 19:48:50 +0200 Message-Id: Date: Sun, 11 Jul 2004 19:48:50 +0200 From: Radim Kolar To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: hsn@netmag.cz Subject: ports/68928: [PATCH] sysutils/portindex: update to 15 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jul 2004 18:00:37 -0000 >Number: 68928 >Category: ports >Synopsis: [PATCH] sysutils/portindex: update to 15 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Jul 11 18:00:36 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Radim Kolar >Release: FreeBSD 5.2.1-RELEASE-p6 i386 >Organization: Sanatana >Environment: System: FreeBSD sanatana.dharma 5.2.1-RELEASE-p6 FreeBSD 5.2.1-RELEASE-p6 #7: Mon May 10 17:15:51 CEST 2004 >Description: This PR closes `ports/68892'. Changes in version 15 - new native, non-crashing INDEX.db generation tool portindexdb - fixed bug in 14 which causes to ignore .mk file change instead of delaying it - minorupdates do not needs portversion. Runs faster now. - fixed on-screen counting of removed packages in updinst >How-To-Repeat: >Fix: --- portindex-15.patch begins here --- diff -ruN --exclude=CVS /usr/ports/sysutils/portindex/Makefile /home/hsn/myports/portindex/Makefile --- /usr/ports/sysutils/portindex/Makefile Wed Jul 7 18:41:31 2004 +++ /home/hsn/myports/portindex/Makefile Sun Jul 11 19:29:38 2004 @@ -6,7 +6,7 @@ # PORTNAME= portindex -PORTVERSION= 13 +PORTVERSION= 15 CATEGORIES= sysutils MASTER_SITES= http://people.tecnik93.com/~radim/distfiles/ DISTNAME= bsdportsutils-${PORTVERSION} @@ -20,31 +20,32 @@ PORTDOCS= *.TXT PLIST_DIRS= share/${PORTNAME} - -PORTINDEX= bsdpkg freebsdports indexer updatereadmes +PLIST_FILES= etc/portindex.conf.sample +PORTINDEX= bsdpkg freebsdports indexer updatereadmes config \ + portindexdb MINORUPDATES= minorupdates MISCTOOLS= updateall PKGHISTORY= loadindex query updinst SOURCES= ${PORTINDEX} -EXECUTABLES= portindex portreadmes +EXECUTABLES= portindex portreadmes portindexdb -OPTIONS= MINOR "Install minorupdates program" off \ - MISCTOOLS "Install misc. tools" off \ - PKGHISTORY "Install pkghistory package" off +OPTIONS= PKGHISTORY "Install pkghistory package" off \ + MISCTOOLS "Install updateall script" off .include -.ifdef WITH_MINOR -RUN_DEPENDS+= ${LOCALBASE}/sbin/portversion:${PORTSDIR}/sysutils/portupgrade SOURCES+= ${MINORUPDATES} EXECUTABLES+= ${MINORUPDATES} -.endif .ifdef WITH_MISCTOOLS +.ifndef WITH_PKGHISTORY +BROKEN= Updateall needs pkghistory package +.else SOURCES+= ${MISCTOOLS} EXECUTABLES+= ${MISCTOOLS} .endif +.endif .ifdef WITH_PKGHISTORY SOURCES+= ${PKGHISTORY} @@ -64,11 +65,13 @@ do-build: ${REINPLACE_CMD} -e "s,ports.pck,/var/db/portindex.pck," ${WRKSRC}/freebsdports.py + ${REINPLACE_CMD} -e "s,portindex.conf,${PREFIX}/etc/portindex.conf," ${WRKSRC}/config.py .for i in ${EXECUTABLES} ${SED} -e "s,%%DATADIR%%,${DATADIR}," ${FILESDIR}/${i}.sh > ${WRKSRC}/${i} .endfor do-install: + ${INSTALL_DATA} ${WRKSRC}/portindex.conf ${PREFIX}/etc/portindex.conf.sample ${MKDIR} ${DATADIR} .for i in ${SOURCES} ${INSTALL_DATA} ${WRKSRC}/${i}.py ${DATADIR} diff -ruN --exclude=CVS /usr/ports/sysutils/portindex/distinfo /home/hsn/myports/portindex/distinfo --- /usr/ports/sysutils/portindex/distinfo Wed Jul 7 18:41:31 2004 +++ /home/hsn/myports/portindex/distinfo Sun Jul 11 19:39:14 2004 @@ -1,2 +1,2 @@ -MD5 (bsdportsutils-13.tar.gz) = 30b922b3fd47aab6d9c790f2ac62542a -SIZE (bsdportsutils-13.tar.gz) = 12951 +MD5 (bsdportsutils-15.tar.gz) = f37804609a030a37b910b9e93c009d2b +SIZE (bsdportsutils-15.tar.gz) = 20004 diff -ruN --exclude=CVS /usr/ports/sysutils/portindex/files/portindexdb.sh /home/hsn/myports/portindex/files/portindexdb.sh --- /usr/ports/sysutils/portindex/files/portindexdb.sh Thu Jan 1 01:00:00 1970 +++ /home/hsn/myports/portindex/files/portindexdb.sh Sat Jul 10 11:51:00 2004 @@ -0,0 +1,2 @@ +#! /bin/sh +exec /usr/bin/env python %%DATADIR%%/portindexdb.py $* diff -ruN --exclude=CVS /usr/ports/sysutils/portindex/pkg-descr /home/hsn/myports/portindex/pkg-descr --- /usr/ports/sysutils/portindex/pkg-descr Fri Jul 9 19:03:37 2004 +++ /home/hsn/myports/portindex/pkg-descr Sun Jul 11 19:30:44 2004 @@ -1,7 +1,6 @@ -Alternative /usr/ports/INDEX file builder. +Portindex - Alternative /usr/ports/INDEX file builder. Features - 1. You do not need to wait 1 hour after every cvsup for make index to finish. This program supports incremental index builds. 2. Supports indexing of incomplete ports trees. @@ -12,5 +11,11 @@ 6. Dependences on Makefile.local are tracked 7. No known difference between make index and this program -If portsdb -u crashes while processing INDEX file generated by this program, -see README.TXT file for known workarounds. +Portindexdb - Alternative INDEX.db file builder. + +Features +1. 2.5 times faster than portsdb +2. Currently do not generates list of categories +3. Unlike portsdb output database is in valid btree format + +This package also contains FreeBSD port of 'package history'. --- portindex-15.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: