Skip to content

Commit

Permalink
Use sha256sums instead of md5sums
Browse files Browse the repository at this point in the history
  • Loading branch information
joukewitteveen committed May 6, 2023
1 parent 68789f7 commit 786904b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ netctl-$(VERSION).tar.xz:
pkgbuild: PKGBUILD
PKGBUILD: netctl-$(VERSION).tar.xz netctl.install contrib/PKGBUILD.in
sed -e "s|@pkgver@|$(VERSION)|g" \
-e "s|@md5sum@|$(shell md5sum $< | cut -d ' ' -f 1)|" \
-e "s|@md5sum.sig@|$(shell md5sum $<.sig | cut -d ' ' -f 1)|" \
-e "s|@sha256sum@|$(shell sha256sum $< | cut -d ' ' -f 1)|" \
$(lastword $^) > $@

netctl.install: contrib/netctl.install
Expand Down
7 changes: 3 additions & 4 deletions contrib/PKGBUILD.in
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,12 @@ optdepends=('dialog: for the menu based wifi assistant'
'ifplugd: for automatic wired connections through netctl-ifplugd'
'ppp: for PPP connections'
'openvswitch: for Open vSwitch connections'
'wireguard-tools: for WireGuard connections'
)
'wireguard-tools: for WireGuard connections')
install=netctl.install
source=(https://sources.archlinux.org/other/packages/netctl/netctl-${pkgver}.tar.xz{,.sig})
arch=('any')
md5sums=('@md5sum@'
'@md5sum.sig@')
sha256sums=('@sha256sum@'
'SKIP')
validpgpkeys=('CFA6AF15E5C74149FC1D8C086D1655C14CE1C13E') # Florian Pritz

package() {
Expand Down

0 comments on commit 786904b

Please sign in to comment.