From hsn@netmag.cz Sun Jul 18 22:55:19 2004
Return-Path:
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
by hub.freebsd.org (Postfix) with ESMTP id CD3D216A4CE
for ; Sun, 18 Jul 2004 22:55:18 +0000 (GMT)
Received: from mail.tiscali.cz (stateless2.tiscali.cz [213.235.135.71])
by mx1.FreeBSD.org (Postfix) with ESMTP id 3D01543D53
for ; Sun, 18 Jul 2004 22:55:18 +0000 (GMT)
(envelope-from hsn@netmag.cz)
Received: from sanatana.dharma (212.11.115.65) by mail.tiscali.cz (6.7.021)
id 40E84FD1005ADBB5 for FreeBSD-gnats-submit@freebsd.org; Mon, 19 Jul 2004 00:55:16 +0200
Received: from hsn@localhost
by sanatana.dharma (Exim 4.34_0 FreeBSD) id 1BmK22-000KM2-H7
; Mon, 19 Jul 2004 00:21:18 +0200
Message-Id:
Date: Mon, 19 Jul 2004 00:21:18 +0200
From: Radim Kolar
To: FreeBSD-gnats-submit@freebsd.org
Cc: hsn@netmag.cz
Subject: [PATCH] sysutils/portindex: update to 16
X-Send-Pr-Version: 3.113
X-GNATS-Notify:
>Number: 69256
>Category: ports
>Synopsis: [PATCH] sysutils/portindex: update to 16
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: closed
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sun Jul 18 23:00:31 GMT 2004
>Closed-Date: Mon Jul 19 06:46:45 GMT 2004
>Last-Modified: Mon Jul 19 06:46:45 GMT 2004
>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@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 @@
- The FreeBSD Ports Collection (sysutils/portindex)
+ The FreeBSD Ports Collection (myports/portindex)
- The FreeBSD Ports Collection (sysutils/portindex)
+ The FreeBSD Ports Collection (myports/portindex)
- You are now in the directory for the port "sysutils/portindex".
+ You are now in the directory for the port "myports/portindex".
- The package name of this port is "portindex-15".
+ The package name of this port is "portindex-16".
This is the one-line description for this port:
@@ -22,15 +22,15 @@
Please read the "description file" for a
- longer description.
+ longer description and/or visit the web site for futher informations.
If needed, you may contact the maintainer of this port or the port mailing-list.
- This port requires package(s) "python-2.3.4" to build.
+ This port requires package(s) "" to build.
- 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.
+ This port requires package(s) "" to run.
Go to the top of the ports tree for
a summary on how to use the ports collection.
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:
State-Changed-From-To: open->closed
State-Changed-By: vs
State-Changed-When: Mon Jul 19 06:45:51 GMT 2004
State-Changed-Why:
Committedm thanks!
Note - please list added/removed files explicitely
- there was a patch for READM.html in there
http://www.freebsd.org/cgi/query-pr.cgi?pr=69256
>Unformatted: