ports/69256: [PATCH] sysutils/portindex: update to 16

Radim Kolar hsn at netmag.cz
Sun Jul 18 23:00:31 UTC 2004


>Number:         69256
>Category:       ports
>Synopsis:       [PATCH] sysutils/portindex: update to 16
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 18 23:00:31 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:
- Update to 16
- This version supports 13 fields long make describe format. closes ports/69238
- Database format changed in both python and postgresql backends.
- You need to delete portindex.pck file if you have more than 0 entries in
index generated by portindex 15
- You need to update postgresql tables (added some columns) by hand or use
create.sql script for drop + create.
- loadindex and updinst are 100% faster due to using of prepared statements
in portgresql.
- updateall script optimized. When used, slow fs walking is avoided in portreadmes, loadindex
- updinst updates alive package status
- added stealthupdates script for listing changes without portrevision bumps
- added options to configuration file for keeping dupes in index (recommended)
and keeping ports with partial unresolved depends
- added back link to portindex homepage because downloading rate drops

Port maintainer (hsn at netmag.cz) is cc'd.
>How-To-Repeat:
>Fix:

--- portindex-16.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/sysutils/portindex/Makefile /home/hsn/myports/portindex/Makefile
--- /usr/ports/sysutils/portindex/Makefile	Mon Jul 12 18:06:32 2004
+++ /home/hsn/myports/portindex/Makefile	Sun Jul 18 21:58:43 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	portindex
-PORTVERSION=	15
+PORTVERSION=	16
 CATEGORIES=	sysutils
 MASTER_SITES=	http://people.tecnik93.com/~radim/distfiles/
 DISTNAME=	bsdportsutils-${PORTVERSION}
@@ -23,7 +23,7 @@
 PLIST_FILES=	etc/portindex.conf.sample
 PORTINDEX=	bsdpkg freebsdports indexer updatereadmes config \
 		portindexdb
-MINORUPDATES=	minorupdates
+MINORUPDATES=	minorupdates stealthupdates
 MISCTOOLS=	updateall
 PKGHISTORY=	loadindex query updinst
 
@@ -40,7 +40,7 @@
 
 .ifdef WITH_MISCTOOLS
 .ifndef WITH_PKGHISTORY
-BROKEN=		Updateall needs pkghistory package
+BROKEN=		Option updateall requires pkghistory option
 .else
 SOURCES+=	${MISCTOOLS}
 EXECUTABLES+=	${MISCTOOLS}
diff -ruN --exclude=CVS /usr/ports/sysutils/portindex/README.html /home/hsn/myports/portindex/README.html
--- /usr/ports/sysutils/portindex/README.html	Mon Jul 12 18:36:14 2004
+++ /home/hsn/myports/portindex/README.html	Sun Jul 18 22:01:10 2004
@@ -2,16 +2,16 @@
 
 <html>
   <head>
-    <title>The FreeBSD Ports Collection (sysutils/portindex)</title>
+    <title>The FreeBSD Ports Collection (myports/portindex)</title>
   </head>
 
   <body>
-    <h1>The FreeBSD Ports Collection (sysutils/portindex)</h1>
+    <h1>The FreeBSD Ports Collection (myports/portindex)</h1>
     <hr>
 
-    <p>You are now in the directory for the port "sysutils/portindex".</p>
+    <p>You are now in the directory for the port "myports/portindex".</p>
 
-    <p>The package name of this port is "portindex-15".</p>
+    <p>The package name of this port is "portindex-16".</p>
 
     <p>This is the one-line description for this port:</p>
     <hr>
@@ -22,15 +22,15 @@
     <hr>
 
     <p>Please read the "<a href="pkg-descr">description file</a>" for a
-    longer description.</p>
+    longer description and/or visit the <a href="http://home.tiscali.cz/~cz210552/bsdportsutils.html">web site</a> for futher informations.</p>
 
     <p>If needed, you may contact the <a href=
     "mailto:hsn at netmag.cz">maintainer</a> of this port or the port <a href=
     "mailto:ports at FreeBSD.org">mailing-list</a>.</p>
 
-    <p>This port requires package(s) "python-2.3.4" to build.</p>
+    <p>This port requires package(s) "" to build.</p>
 
-    <p>This port requires package(s) "expat-1.95.7 gettext-0.13.1_1 libiconv-1.9.1_3 postgresql-7.4.3 py23-PyGreSQL-3.4_1,1 py23-mx-base-2.0.5 python-2.3.4" to run.</p>
+    <p>This port requires package(s) "" to run.</p>
 
     <p>Go to the <a href="../../README.html">top of the ports tree</a> for
     a summary on how to use the ports collection.</p>
diff -ruN --exclude=CVS /usr/ports/sysutils/portindex/distinfo /home/hsn/myports/portindex/distinfo
--- /usr/ports/sysutils/portindex/distinfo	Mon Jul 12 18:06:32 2004
+++ /home/hsn/myports/portindex/distinfo	Mon Jul 19 00:02:09 2004
@@ -1,2 +1,2 @@
-MD5 (bsdportsutils-15.tar.gz) = f37804609a030a37b910b9e93c009d2b
-SIZE (bsdportsutils-15.tar.gz) = 20004
+MD5 (bsdportsutils-16.tar.gz) = 60dd00ee94986dca77c6a7de2304a97d
+SIZE (bsdportsutils-16.tar.gz) = 21857
diff -ruN --exclude=CVS /usr/ports/sysutils/portindex/files/stealthupdates.sh /home/hsn/myports/portindex/files/stealthupdates.sh
--- /usr/ports/sysutils/portindex/files/stealthupdates.sh	Thu Jan  1 01:00:00 1970
+++ /home/hsn/myports/portindex/files/stealthupdates.sh	Sun Jul 18 21:58:23 2004
@@ -0,0 +1,2 @@
+#! /bin/sh
+exec /usr/bin/env python %%DATADIR%%/stealthupdates.py $*
diff -ruN --exclude=CVS /usr/ports/sysutils/portindex/pkg-descr /home/hsn/myports/portindex/pkg-descr
--- /usr/ports/sysutils/portindex/pkg-descr	Mon Jul 12 18:06:33 2004
+++ /home/hsn/myports/portindex/pkg-descr	Sun Jul 18 22:00:49 2004
@@ -19,3 +19,5 @@
 3. Unlike portsdb output database is in valid btree format
 
 This package also contains FreeBSD port of 'package history'.
+
+WWW: http://home.tiscali.cz/~cz210552/bsdportsutils.html
--- portindex-16.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list