Updated pkgtools/pkgdiff to 0.122

Set TZ=UTC before calling diff to ensure everyone uses the same timezone
to avoid spurious diffs in metadata, such as:

< clock/clock.c.orig        1993-06-29 01:11:39.000000000 -0400
---
> clock/clock.c.orig        1993-06-29 03:11:39.000000000 -0200
This commit is contained in:
abs 2009-12-10 20:26:33 +00:00
parent 49d6e0fd66
commit 72f220d2ab
2 changed files with 6 additions and 3 deletions

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.68 2009/09/20 11:57:16 tnn Exp $
# $NetBSD: Makefile,v 1.69 2009/12/10 20:26:33 abs Exp $
#
DISTNAME= pkgdiff-0.121
DISTNAME= pkgdiff-0.122
CATEGORIES= pkgtools devel
MASTER_SITES= # empty
DISTFILES= # empty

View file

@ -1,6 +1,6 @@
#!@SH@
#
# $NetBSD: pkgdiff,v 1.16 2005/08/02 12:16:19 seb Exp $
# $NetBSD: pkgdiff,v 1.17 2009/12/10 20:26:33 abs Exp $
#
# Usage: pkgdiff newfile
# pkgdiff oldfile newfile
@ -13,6 +13,9 @@
# All Rights Reserved. Absolutely no warranty.
#
# Ensure we always use the same timezone to avoid spurious metadata diffs
export TZ=UTC
if [ $# -le 1 ]
then
if [ -f "$1.orig" ]; then