Skip to content

Commit

Permalink
nftables: Switch to source tarball (5.0-candidate) (#668)
Browse files Browse the repository at this point in the history
As git repo is unreliable.
  • Loading branch information
tomponline authored Dec 18, 2024
2 parents 1136018 + 669fc58 commit ee7e9fc
Showing 1 changed file with 9 additions and 18 deletions.
27 changes: 9 additions & 18 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand All @@ -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=
Expand Down Expand Up @@ -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=
Expand All @@ -559,15 +559,6 @@ parts:
- libreadline-dev
stage-packages:
- libjansson4
override-build: |
set -ex
git config user.email "[email protected]"
git config user.name "LXD snap builder"
set +ex
snapcraftctl build
set -ex
organize:
sbin/: bin/
usr/lib/: lib/
Expand Down

0 comments on commit ee7e9fc

Please sign in to comment.