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)
(cherry picked from commit f499f00)
  • Loading branch information
tomponline committed Dec 18, 2024
1 parent 557aa2e commit d8be9ff
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 @@ -457,9 +457,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 @@ -470,15 +470,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 d8be9ff

Please sign in to comment.