From 669fc589cb8701b4a9a6c8675c8c18d9ba901c1b Mon Sep 17 00:00:00 2001 From: Thomas Parrott Date: Wed, 18 Dec 2024 09:02:00 +0000 Subject: [PATCH] nftables: Switch to source tarball As git repo is unreliable. Signed-off-by: Thomas Parrott --- snapcraft.yaml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/snapcraft.yaml b/snapcraft.yaml index b9a41bcd..179dc930 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -546,9 +546,9 @@ parts: after: - libmnl - libnftnl - source: https://git.netfilter.org/nftables - source-type: git - source-commit: d946842f576b422972212a2b83601bbd6204337c # v1.1.0 + # XXX: Netfilter's git repo is unreliable + source: https://www.netfilter.org/projects/nftables/files/nftables-1.1.0.tar.xz + source-checksum: sha256/ef3373294886c5b607ee7be82c56a25bc04e75f802f8e8adcd55aac91eb0aa24 plugin: autotools autotools-configure-parameters: - --prefix= @@ -559,15 +559,6 @@ parts: - libreadline-dev stage-packages: - libjansson4 - override-build: | - set -ex - - git config user.email "noreply@lists.canonical.com" - git config user.name "LXD snap builder" - - set +ex - snapcraftctl build - set -ex organize: sbin/: bin/ usr/lib/: lib/