diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2014-07-10 10:33:11 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2014-07-10 10:33:11 +0000 |
commit | 09153d74ab6261944427702631eba0fd8126a49d (patch) | |
tree | 8c654d5fc93d8b2443914867f811f146e9ed5853 /usr.sbin/pkg_add | |
parent | 26272f4879b28d9022d68be8b9aed4ced62a25d6 (diff) |
prevent users from adding timestamp themselves
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PkgCreate.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm b/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm index 43199912188..ae0c3ff541a 100644 --- a/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm +++ b/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm @@ -1,6 +1,6 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: PkgCreate.pm,v 1.107 2014/07/01 09:52:27 espie Exp $ +# $OpenBSD: PkgCreate.pm,v 1.108 2014/07/10 10:33:10 espie Exp $ # # Copyright (c) 2003-2014 Marc Espie <espie@openbsd.org> # @@ -210,7 +210,7 @@ sub compute_checksum if (defined $base) { $fname = $base.$fname; } - for my $field (qw(symlink link size)) { # md5 + for my $field (qw(symlink link size ts)) { # md5 if (defined $result->{$field}) { $state->error("User tried to define @#1 for #2", $field, $fname); |