pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pbulk pkgsrc_base_dir is now without leading ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/64356ff68724
branches:  trunk
changeset: 531214:64356ff68724
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Jul 25 15:12:53 2007 +0000

description:
pkgsrc_base_dir is now without leading /, compensate. GC it in the HTML
report script. Bump to pbulk-0.9.

diffstat:

 pkgtools/pbulk/Makefile                                   |  4 ++--
 pkgtools/pbulk/files/pbulk/scripts/create-report-html.awk |  6 ++----
 pkgtools/pbulk/files/pbulk/scripts/create-report-txt.awk  |  6 +++---
 3 files changed, 7 insertions(+), 9 deletions(-)

diffs (61 lines):

diff -r d1238e7663de -r 64356ff68724 pkgtools/pbulk/Makefile
--- a/pkgtools/pbulk/Makefile   Wed Jul 25 15:09:32 2007 +0000
+++ b/pkgtools/pbulk/Makefile   Wed Jul 25 15:12:53 2007 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2007/07/25 11:07:28 joerg Exp $
+# $NetBSD: Makefile,v 1.11 2007/07/25 15:12:53 joerg Exp $
 
-DISTNAME=      pbulk-0.8
+DISTNAME=      pbulk-0.9
 CATEGORIES=    pkgtools
 MASTER_SITES=  # empty
 DISTFILES=     # empty
diff -r d1238e7663de -r 64356ff68724 pkgtools/pbulk/files/pbulk/scripts/create-report-html.awk
--- a/pkgtools/pbulk/files/pbulk/scripts/create-report-html.awk Wed Jul 25 15:09:32 2007 +0000
+++ b/pkgtools/pbulk/files/pbulk/scripts/create-report-html.awk Wed Jul 25 15:12:53 2007 +0000
@@ -1,5 +1,5 @@
 #!@AWK@ -f
-# $NetBSD: create-report-html.awk,v 1.5 2007/07/25 11:07:28 joerg Exp $
+# $NetBSD: create-report-html.awk,v 1.6 2007/07/25 15:12:53 joerg Exp $
 #
 # Copyright (c) 2007 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
 # All rights reserved.
@@ -123,9 +123,7 @@
                else if ($0 ~ "^BUILD_START_ISO=")
                        pkgsrc_build_start_iso = substr($0, 17)
                else if ($0 ~ "^BUILD_END_ISO=")
-                       pkgsrc_build_end_iso = substr($0, 14)
-               else if ($0 ~ "^BASE_URL=")
-                       pkgsrc_base_url = substr($0, 10)
+                       pkgsrc_build_end_iso = substr($0, 15)
        }
        close status_file
 
diff -r d1238e7663de -r 64356ff68724 pkgtools/pbulk/files/pbulk/scripts/create-report-txt.awk
--- a/pkgtools/pbulk/files/pbulk/scripts/create-report-txt.awk  Wed Jul 25 15:09:32 2007 +0000
+++ b/pkgtools/pbulk/files/pbulk/scripts/create-report-txt.awk  Wed Jul 25 15:12:53 2007 +0000
@@ -1,5 +1,5 @@
 #!@AWK@ -f
-# $NetBSD: create-report-txt.awk,v 1.3 2007/07/20 19:39:34 joerg Exp $
+# $NetBSD: create-report-txt.awk,v 1.4 2007/07/25 15:12:53 joerg Exp $
 #
 # Copyright (c) 2007 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
 # All rights reserved.
@@ -69,7 +69,7 @@
                else if ($0 ~ "^BUILD_START_DIR=")
                        pkgsrc_build_start_dir = substr($0, 17)
                else if ($0 ~ "^BUILD_END_ISO=")
-                       pkgsrc_build_end_iso = substr($0, 14)
+                       pkgsrc_build_end_iso = substr($0, 15)
                else if ($0 ~ "^BASE_URL=")
                        pkgsrc_base_url = substr($0, 10)
        }
@@ -127,7 +127,7 @@
        print "Build start: " pkgsrc_build_start_iso > txt_report
        print "Build end:   " pkgsrc_build_end_iso > txt_report
        print "" > txt_report
-       report_base_url = pkgsrc_base_url pkgsrc_build_start_dir
+       report_base_url = pkgsrc_base_url "/" pkgsrc_build_start_dir
        print "Full report: " report_base_url "/meta/report.html" > txt_report
        print "Machine readable version: " report_base_url "/meta/report.bz2" > txt_report
        print "" > txt_report



Home | Main Index | Thread Index | Old Index