From f499f008189ab6fe844855a95d10a61eb8d04bcd Mon Sep 17 00:00:00 2001 From: Thomas Parrott Date: Tue, 17 Dec 2024 12:55:23 +0000 Subject: [PATCH] nftables: Switch to source tarball As git repo is unreliable. Signed-off-by: Thomas Parrott (cherry picked from commit 3c198b3667c39ed4ee55c13d742a3c75fbd26ea8) --- snapcraft.yaml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/snapcraft.yaml b/snapcraft.yaml index 5fb538c1..cb1e757c 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -459,9 +459,9 @@ parts: after: - libmnl - libnftnl - source: https://git.netfilter.org/nftables - source-type: git - source-tag: v1.0.5 + # XXX: Netfilter's git repo is unreliable + source: https://www.netfilter.org/projects/nftables/files/nftables-1.0.5.tar.bz2 + source-checksum: sha256/8d1b4b18393af43698d10baa25d2b9b6397969beecac7816c35dd0714e4de50a plugin: autotools autotools-configure-parameters: - --prefix= @@ -472,15 +472,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/