From 43f7a3fad62aa1445d1d26cea38108a6cdd6ff07 Mon Sep 17 00:00:00 2001 From: Thomas Parrott Date: Wed, 18 Dec 2024 09:00:55 +0000 Subject: [PATCH 1/3] libmnl: Switch to source tarball As git repo is unreliable. Signed-off-by: Thomas Parrott --- snapcraft.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/snapcraft.yaml b/snapcraft.yaml index d0380efe..5923ad6f 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -371,9 +371,9 @@ parts: libmnl: build-attributes: [core22-step-dependencies] - source: https://git.netfilter.org/libmnl - source-type: git - source-commit: 493aacf2ec9cc61a5b30d77cd55ec248f033bc74 # libmnl-1.0.5 + # XXX: Netfilter's git repo is unreliable + source: https://www.netfilter.org/projects/libmnl/files/libmnl-1.0.5.tar.bz2 + source-checksum: sha256/274b9b919ef3152bfb3da3a13c950dd60d6e2bcd54230ffeca298d03b40d0525 plugin: autotools autotools-configure-parameters: - --prefix= From 64c9d938c5d297eddcca09699aa8b8e470a1b116 Mon Sep 17 00:00:00 2001 From: Thomas Parrott Date: Wed, 18 Dec 2024 09:01:15 +0000 Subject: [PATCH 2/3] libnftnl: Switch to source As git repo is unreliable. Signed-off-by: Thomas Parrott --- snapcraft.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/snapcraft.yaml b/snapcraft.yaml index 5923ad6f..b9a41bcd 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -386,9 +386,9 @@ parts: build-attributes: [core22-step-dependencies] after: - libmnl - source: https://git.netfilter.org/libnftnl - source-type: git - source-commit: 116e95aa7b6358c917de8c69f6f173874030b46b # libnftnl-1.2.7 + # XXX: Netfilter's git repo is unreliable + source: https://www.netfilter.org/projects/libnftnl/files/libnftnl-1.2.7.tar.xz + source-checksum: sha256/9122774f968093d5c0bacddd67de480f31fa4073405a7fc058a34b0f387aecb3 plugin: autotools autotools-configure-parameters: - --prefix= From 669fc589cb8701b4a9a6c8675c8c18d9ba901c1b Mon Sep 17 00:00:00 2001 From: Thomas Parrott Date: Wed, 18 Dec 2024 09:02:00 +0000 Subject: [PATCH 3/3] 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/