Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pbulk pbulk-0.70: store end of build in epoch...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/13fc0f0c3506
branches:  trunk
changeset: 436851:13fc0f0c3506
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Aug 09 23:18:30 2020 +0000

description:
pbulk-0.70: store end of build in epoche format too

This is nicer for using bulk builds as benchmark as it doesn't require
parsing dates.

diffstat:

 pkgtools/pbulk/Makefile                  |  4 ++--
 pkgtools/pbulk/files/pbulk/scripts/build |  5 +++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r 0cb6f68ab1a1 -r 13fc0f0c3506 pkgtools/pbulk/Makefile
--- a/pkgtools/pbulk/Makefile   Sun Aug 09 23:16:48 2020 +0000
+++ b/pkgtools/pbulk/Makefile   Sun Aug 09 23:18:30 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.87 2020/04/04 20:44:36 riastradh Exp $
+# $NetBSD: Makefile,v 1.88 2020/08/09 23:18:30 joerg Exp $
 
-PKGNAME=       pbulk-0.69
+PKGNAME=       pbulk-0.70
 COMMENT=       Modular bulk build framework
 
 .include "../../pkgtools/pbulk/Makefile.common"
diff -r 0cb6f68ab1a1 -r 13fc0f0c3506 pkgtools/pbulk/files/pbulk/scripts/build
--- a/pkgtools/pbulk/files/pbulk/scripts/build  Sun Aug 09 23:16:48 2020 +0000
+++ b/pkgtools/pbulk/files/pbulk/scripts/build  Sun Aug 09 23:18:30 2020 +0000
@@ -1,5 +1,5 @@
 #!@SH@
-# $NetBSD: build,v 1.5 2008/09/16 18:21:30 joerg Exp $
+# $NetBSD: build,v 1.6 2020/08/09 23:18:30 joerg Exp $
 #
 # Copyright (c) 2007 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
 # All rights reserved.
@@ -54,7 +54,8 @@
        ;;
 esac
 
-date '+BUILD_END_ISO=%Y-%m-%d %H:%M' >> ${loc}/status
+date '+BUILD_END_ISO=%Y-%m-%d %H:%M
+BUILD_END_EPOCHE=%s' >> ${loc}/status
 
 echo "Building pkg_summary..."
 cd ${packages}/All



Home | Main Index | Thread Index | Old Index