I'm an idiot, let's checksum the actual plist contents instead of the
variable address
This commit is contained in:
parent
1667e45df7
commit
ae4df02705
@ -3,7 +3,7 @@ CATEGORIES = devel databases
|
||||
DISTFILES =
|
||||
|
||||
# API.rev
|
||||
PKGNAME = quirks-5.17
|
||||
PKGNAME = quirks-5.18
|
||||
PKG_ARCH = *
|
||||
MAINTAINER = Marc Espie <espie@openbsd.org>
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#! /usr/bin/perl
|
||||
# $OpenBSD: list_update_info,v 1.5 2022/04/21 15:18:58 espie Exp $
|
||||
# $OpenBSD: list_update_info,v 1.6 2022/04/27 15:48:45 espie Exp $
|
||||
#
|
||||
# Copyright (c) 2022 Marc Espie <espie@openbsd.org>
|
||||
#
|
||||
@ -56,7 +56,7 @@ sub handle_file
|
||||
open my $fh, '>', \$content;
|
||||
$plist->write($fh);
|
||||
close $fh;
|
||||
my $digest = Digest::SHA::sha256_base64(\$content);
|
||||
my $digest = Digest::SHA::sha256_base64($content);
|
||||
print {$self->{output}} $plist->pkgname, ':@option always-update ', $digest, "\n";
|
||||
} else {
|
||||
# TODO think about generating a "total size" annotation ?
|
||||
|
Loading…
Reference in New Issue
Block a user