pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pbulk close is a function, fix C&P errors. Fr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/14c28f0b31db
branches:  trunk
changeset: 532351:14c28f0b31db
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Aug 16 13:02:05 2007 +0000

description:
close is a function, fix C&P errors. From Aleksey Cheusov.
Bump version, remove pkgrevision.

diffstat:

 pkgtools/pbulk/Makefile                                   |   5 ++---
 pkgtools/pbulk/files/pbulk/scripts/create-report-html.awk |  10 +++++-----
 pkgtools/pbulk/files/pbulk/scripts/create-report-txt.awk  |  10 +++++-----
 pkgtools/pbulk/files/pbulk/scripts/create-report.awk      |   4 ++--
 4 files changed, 14 insertions(+), 15 deletions(-)

diffs (116 lines):

diff -r 55ebecbb3025 -r 14c28f0b31db pkgtools/pbulk/Makefile
--- a/pkgtools/pbulk/Makefile   Thu Aug 16 12:50:34 2007 +0000
+++ b/pkgtools/pbulk/Makefile   Thu Aug 16 13:02:05 2007 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2007/08/16 12:50:34 joerg Exp $
+# $NetBSD: Makefile,v 1.18 2007/08/16 13:02:05 joerg Exp $
 
-DISTNAME=      pbulk-0.12
-PKGREVISION=   1
+DISTNAME=      pbulk-0.13
 CATEGORIES=    pkgtools
 MASTER_SITES=  # empty
 DISTFILES=     # empty
diff -r 55ebecbb3025 -r 14c28f0b31db pkgtools/pbulk/files/pbulk/scripts/create-report-html.awk
--- a/pkgtools/pbulk/files/pbulk/scripts/create-report-html.awk Thu Aug 16 12:50:34 2007 +0000
+++ b/pkgtools/pbulk/files/pbulk/scripts/create-report-html.awk Thu Aug 16 13:02:05 2007 +0000
@@ -1,5 +1,5 @@
 #!@AWK@ -f
-# $NetBSD: create-report-html.awk,v 1.6 2007/07/25 15:12:53 joerg Exp $
+# $NetBSD: create-report-html.awk,v 1.7 2007/08/16 13:02:05 joerg Exp $
 #
 # Copyright (c) 2007 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
 # All rights reserved.
@@ -35,13 +35,13 @@
 
        for (idx in ARRAY)
                print idx | sort_cmd
-       close sort_cmd
+       close(sort_cmd)
        i = 0
        while ((getline < tmp_sort) > 0) {
                INDICES[i] = $0
                ++i
        }
-       close tmp_sort
+       close(tmp_sort)
        system("rm " tmp_sort)
 }
 
@@ -78,7 +78,7 @@
                        else if ($0 == "deinstall.log")
                                has_deinstall = 1
                }
-               close cmd
+               close(cmd)
        }
        print "<tr class=\"" status[PKGNAME] "\">" > html_report
        print "<td>" location[PKGNAME] "</td>" > html_report
@@ -125,7 +125,7 @@
                else if ($0 ~ "^BUILD_END_ISO=")
                        pkgsrc_build_end_iso = substr($0, 15)
        }
-       close status_file
+       close(status_file)
 
        while ((getline < report_file) > 0) {
                if ($0 ~ "^PKGNAME=")
diff -r 55ebecbb3025 -r 14c28f0b31db pkgtools/pbulk/files/pbulk/scripts/create-report-txt.awk
--- a/pkgtools/pbulk/files/pbulk/scripts/create-report-txt.awk  Thu Aug 16 12:50:34 2007 +0000
+++ b/pkgtools/pbulk/files/pbulk/scripts/create-report-txt.awk  Thu Aug 16 13:02:05 2007 +0000
@@ -1,5 +1,5 @@
 #!@AWK@ -f
-# $NetBSD: create-report-txt.awk,v 1.5 2007/07/28 07:26:26 wiz Exp $
+# $NetBSD: create-report-txt.awk,v 1.6 2007/08/16 13:02:05 joerg Exp $
 #
 # Copyright (c) 2007 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
 # All rights reserved.
@@ -35,13 +35,13 @@
 
        for (idx in ARRAY)
                print idx | sort_cmd
-       close sort_cmd
+       close(sort_cmd)
        i = 0
        while ((getline < tmp_sort) > 0) {
                INDICES[i] = $0
                ++i
        }
-       close tmp_sort
+       close(tmp_sort)
        system("rm " tmp_sort)
 }
 
@@ -73,7 +73,7 @@
                else if ($0 ~ "^BASE_URL=")
                        pkgsrc_base_url = substr($0, 10)
        }
-       close status_file
+       close(status_file)
 
        while ((getline < report_file) > 0) {
                if ($0 ~ "^PKGNAME=")
@@ -188,5 +188,5 @@
                                printf "    %- 33s % 6d %s\n", p, depth[p], maintainer[p] > txt_report
                }
        }
-       close txt_report
+       close(txt_report)
 }
diff -r 55ebecbb3025 -r 14c28f0b31db pkgtools/pbulk/files/pbulk/scripts/create-report.awk
--- a/pkgtools/pbulk/files/pbulk/scripts/create-report.awk      Thu Aug 16 12:50:34 2007 +0000
+++ b/pkgtools/pbulk/files/pbulk/scripts/create-report.awk      Thu Aug 16 13:02:05 2007 +0000
@@ -1,5 +1,5 @@
 #!@AWK@ -f
-# $NetBSD: create-report.awk,v 1.2 2007/06/29 22:43:26 joerg Exp $
+# $NetBSD: create-report.awk,v 1.3 2007/08/16 13:02:05 joerg Exp $
 #
 # Copyright (c) 2007 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
 # All rights reserved.
@@ -89,5 +89,5 @@
                        print "RESTRICTED_SUBSET=no" > full_pbuild_file
                print "BUILD_STATUS=" status[p] > full_pbuild_file
        }
-       close full_pbuild_file
+       close(full_pbuild_file)
 }



Home | Main Index | Thread Index | Old Index