From a2924457d3e6a08fee87e42bff4c1a8a9b1f6e32 Mon Sep 17 00:00:00 2001 From: Julien Coloos Date: Fri, 12 Nov 2021 18:03:46 +0100 Subject: [PATCH] Use SHA256 checksums instead of MD5 --- ChangeLog | 6 ++++++ PKGBUILD | 6 +++--- README.md | 3 ++- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2429ef2..28ad2e1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2021-11-12 Julien Coloos + + * v0.9-2 + Use SHA256 checksums instead of MD5 + + 2021-10-24 Julien Coloos * v0.9-1 diff --git a/PKGBUILD b/PKGBUILD index 9a32228..0ad59ea 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Julien Coloos pkgname=initrd-ssh-cryptsetup pkgver=0.9 -pkgrel=1 +pkgrel=2 pkgdesc="Allows for LUKS-encrypted devices to be unlocked remotely over SSH" arch=('any') url="https://github.com/suiryc/archlinux-$pkgname" @@ -10,8 +10,8 @@ depends=('dropbear' 'cryptsetup' 'mkinitcpio-nfs-utils' 'iproute2') install=$pkgname.install changelog='ChangeLog' source=("http://julien.coloos.free.fr/archlinux/$pkgname-$pkgver.tar.xz" "$pkgname.install") -md5sums=('c94a905ca91f7afe2c0f771bd5182cb2' - 'ac60109d80e7bb2af0d66e69aaf178a6') +sha256sums=('c3fa91fc8ba2228b3492d3709231918c8015cc3da49f516c3eacea5c0217536c' + 'b84978b3c2ef32208c2b104ee2d3ce8aaec26da0bd4e9e1c83942f373bbf6285') package() { install -Dm644 "$srcdir/src/install/ssh-cryptsetup" "$pkgdir/usr/lib/initcpio/install/ssh-cryptsetup" diff --git a/README.md b/README.md index 3d4bfef..55bbb81 100644 --- a/README.md +++ b/README.md @@ -64,5 +64,6 @@ For example: 3. Update ChangeLog 4. Update `PKGBUILD` * bump `pkgver` if `src` was modified, or `pkgrel` if building files were modified - * refresh `md5sums` if necessary (based on `md5sum initrd-ssh-cryptsetup-*.tar.xz initrd-ssh-cryptsetup.install` output) + * refresh `sha256sums` with `updpkgsums` if necessary + - or manually, based on `sha256sum initrd-ssh-cryptsetup-*.tar.xz initrd-ssh-cryptsetup.install` output 5. Delete generated archive file if any