Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Record the tzdata version in a separate file in the share/zo...
details: https://anonhg.NetBSD.org/src/rev/40082d28d1fd
branches: trunk
changeset: 345948:40082d28d1fd
user: agc <agc%NetBSD.org@localhost>
date: Thu Jun 16 15:17:56 2016 +0000
description:
Record the tzdata version in a separate file in the share/zoneinfo directory.
The file is kept up to date by the tzdata2netbsd script
diffstat:
distrib/sets/lists/base/mi | 3 ++-
external/public-domain/tz/dist/TZDATA_VERSION | 1 +
external/public-domain/tz/share/zoneinfo/Makefile | 4 +++-
external/public-domain/tz/tzdata2netbsd | 3 ++-
4 files changed, 8 insertions(+), 3 deletions(-)
diffs (57 lines):
diff -r b07224753519 -r 40082d28d1fd distrib/sets/lists/base/mi
--- a/distrib/sets/lists/base/mi Thu Jun 16 15:11:43 2016 +0000
+++ b/distrib/sets/lists/base/mi Thu Jun 16 15:17:56 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1127 2016/06/04 16:29:35 nonaka Exp $
+# $NetBSD: mi,v 1.1128 2016/06/16 15:17:56 agc Exp $
#
# Note: Don't delete entries from here - mark them as "obsolete" instead,
# unless otherwise stated below.
@@ -5841,6 +5841,7 @@
./usr/share/zoneinfo/SystemV/PST8PDT base-obsolete obsolete
./usr/share/zoneinfo/SystemV/YST9 base-obsolete obsolete
./usr/share/zoneinfo/SystemV/YST9YDT base-obsolete obsolete
+./usr/share/zoneinfo/TZDATA_VERSION base-sys-share share
./usr/share/zoneinfo/Turkey base-sys-share share
./usr/share/zoneinfo/UCT base-sys-share share
./usr/share/zoneinfo/US base-sys-share
diff -r b07224753519 -r 40082d28d1fd external/public-domain/tz/dist/TZDATA_VERSION
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/public-domain/tz/dist/TZDATA_VERSION Thu Jun 16 15:17:56 2016 +0000
@@ -0,0 +1,1 @@
+tzdata-2016d
diff -r b07224753519 -r 40082d28d1fd external/public-domain/tz/share/zoneinfo/Makefile
--- a/external/public-domain/tz/share/zoneinfo/Makefile Thu Jun 16 15:11:43 2016 +0000
+++ b/external/public-domain/tz/share/zoneinfo/Makefile Thu Jun 16 15:17:56 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2014/08/08 09:17:03 apb Exp $
+# $NetBSD: Makefile,v 1.3 2016/06/16 15:17:56 agc Exp $
.include <bsd.own.mk>
.include "../../Makefile.inc"
@@ -138,6 +138,8 @@
${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \
${TZDISTDIR}/$$f ${DESTDIR}${TZDIR}; \
done
+ ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \
+ ${TZDISTDIR}/TZDATA_VERSION ${DESTDIR}${TZDIR}/TZDATA_VERSION
.else # ${MKSHARE} == "no"
afterinstall:
.endif # ${MKSHARE} == "no"
diff -r b07224753519 -r 40082d28d1fd external/public-domain/tz/tzdata2netbsd
--- a/external/public-domain/tz/tzdata2netbsd Thu Jun 16 15:11:43 2016 +0000
+++ b/external/public-domain/tz/tzdata2netbsd Thu Jun 16 15:17:56 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: tzdata2netbsd,v 1.9 2016/06/01 00:02:12 agc Exp $
+# $NetBSD: tzdata2netbsd,v 1.10 2016/06/16 15:17:56 agc Exp $
# For use by NetBSD developers when updating to new versions of tzdata.
#
@@ -194,6 +194,7 @@
// { if (inrange) print; }
' \
<"${NEWSFILE}" >"${NEWSTRIMFILE}"
+ echo "tzdata-${NEWVER}" > ${TZDISTDIR}/TZDATA_VERSION
}
# Create IMPORTMSGFILE from NEWSTRIMFILE, by ignoring some sections,
Home |
Main Index |
Thread Index |
Old Index