Skip to content

Commit

Permalink
nftables: Switch to source tarball
Browse files Browse the repository at this point in the history
As git repo is unreliable.

Signed-off-by: Thomas Parrott <[email protected]>
  • Loading branch information
tomponline committed Dec 17, 2024
1 parent 1767879 commit 3c198b3
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -534,9 +534,9 @@ parts:
after:
- libmnl
- libnftnl
source: https://git.netfilter.org/nftables
source-commit: d946842f576b422972212a2b83601bbd6204337c # v1.1.0
source-type: git
# 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 @@ -548,15 +548,6 @@ parts:
- libreadline-dev
stage-packages:
- libjansson4
override-build: |
set -ex
# Git cherry-picks
git config user.email "[email protected]"
git config user.name "LXD snap builder"
set +ex
craftctl default
organize:
sbin/: bin/
usr/lib/: lib/
Expand Down

0 comments on commit 3c198b3

Please sign in to comment.