summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorjoerg <joerg>2007-08-16 13:02:05 +0000
committerjoerg <joerg>2007-08-16 13:02:05 +0000
commit1ea601bd2f38ac0edb57c1d005cffa2c02c1f7e3 (patch)
tree51d466b4584c62e1cb41af567b237d2b0ed35bf9 /pkgtools
parent8b577c1dec00a1ba9910a5575208869495f5bee0 (diff)
downloadpkgsrc-1ea601bd2f38ac0edb57c1d005cffa2c02c1f7e3.tar.gz
close is a function, fix C&P errors. From Aleksey Cheusov.
Bump version, remove pkgrevision.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pbulk/Makefile5
-rwxr-xr-xpkgtools/pbulk/files/pbulk/scripts/create-report-html.awk10
-rwxr-xr-xpkgtools/pbulk/files/pbulk/scripts/create-report-txt.awk10
-rwxr-xr-xpkgtools/pbulk/files/pbulk/scripts/create-report.awk4
4 files changed, 14 insertions, 15 deletions
diff --git a/pkgtools/pbulk/Makefile b/pkgtools/pbulk/Makefile
index b941fe6c06e..1794014eac3 100644
--- a/pkgtools/pbulk/Makefile
+++ b/pkgtools/pbulk/Makefile
@@ -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 --git a/pkgtools/pbulk/files/pbulk/scripts/create-report-html.awk b/pkgtools/pbulk/files/pbulk/scripts/create-report-html.awk
index 80d39a8949f..64779df3b39 100755
--- a/pkgtools/pbulk/files/pbulk/scripts/create-report-html.awk
+++ b/pkgtools/pbulk/files/pbulk/scripts/create-report-html.awk
@@ -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>.
# All rights reserved.
@@ -35,13 +35,13 @@ function sort(ARRAY, INDICES, OPTIONS, i, idx, sort_cmd) {
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 @@ function print_failed(PKGNAME, cmd, has_pre_clean, has_depends,
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 @@ BEGIN {
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 --git a/pkgtools/pbulk/files/pbulk/scripts/create-report-txt.awk b/pkgtools/pbulk/files/pbulk/scripts/create-report-txt.awk
index 6522bda2972..5ee5f872ea8 100755
--- a/pkgtools/pbulk/files/pbulk/scripts/create-report-txt.awk
+++ b/pkgtools/pbulk/files/pbulk/scripts/create-report-txt.awk
@@ -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>.
# All rights reserved.
@@ -35,13 +35,13 @@ function sort(ARRAY, INDICES, OPTIONS, i, idx, sort_cmd) {
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 @@ BEGIN {
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 @@ BEGIN {
printf " %- 33s % 6d %s\n", p, depth[p], maintainer[p] > txt_report
}
}
- close txt_report
+ close(txt_report)
}
diff --git a/pkgtools/pbulk/files/pbulk/scripts/create-report.awk b/pkgtools/pbulk/files/pbulk/scripts/create-report.awk
index 9f09c8b784f..78c732798b8 100755
--- a/pkgtools/pbulk/files/pbulk/scripts/create-report.awk
+++ b/pkgtools/pbulk/files/pbulk/scripts/create-report.awk
@@ -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>.
# All rights reserved.
@@ -89,5 +89,5 @@ BEGIN {
print "RESTRICTED_SUBSET=no" > full_pbuild_file
print "BUILD_STATUS=" status[p] > full_pbuild_file
}
- close full_pbuild_file
+ close(full_pbuild_file)
}