Skip to content

Commit

Permalink
nftables: Switch to source tarball (5.21-candidate) (#667)
Browse files Browse the repository at this point in the history
As git repo is unreliable.

Signed-off-by: Thomas Parrott <[email protected]>
(cherry picked from commit 7eb76aa)
  • Loading branch information
tomponline authored Dec 18, 2024
2 parents 5e4b8d5 + c494e65 commit 0783bfe
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -643,11 +643,9 @@ parts:
after:
- libmnl
- libnftnl
source: https://git.netfilter.org/nftables
source-commit: 49151cd0709acbfb7c6c7f35c44fc12060b695d1 # v1.0.9
# XXX: git.netfilter.org does not support depth/shallow clones
#source-depth: 1
source-type: git
# XXX: Netfilter's git repo is unreliable
source: https://www.netfilter.org/projects/nftables/files/nftables-1.0.9.tar.xz
source-checksum: sha256/a3c304cd9ba061239ee0474f9afb938a9bb99d89b960246f66f0c3a0a85e14cd
plugin: autotools
autotools-configure-parameters:
- --prefix=
Expand All @@ -659,15 +657,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 0783bfe

Please sign in to comment.