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]>
(cherry picked from commit 3c198b3)
  • Loading branch information
tomponline committed Dec 18, 2024
1 parent 6a73e77 commit f499f00
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 @@ -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=
Expand All @@ -472,15 +472,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 f499f00

Please sign in to comment.