Files
chromebrew/packages/nftables.rb
github-actions[bot] 626a53a7a7 Update buildsystems to use buildsystem name variables, and report contents of those variables/methods during use. (#11936)
* Update buildsystems, update jq, add jq to core for arm.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Only report build options if they exist.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Fix overeager sed replacement.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* workflow debugging

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add logging for build errors.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Revert to function in each package file.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update jq since it needs gcc14 to build.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add built packages for linux/386 to buildsystems

* remove deprecated gfbgraph

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* fix git tag for gnome_maps

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update llvm20 package file.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update gnome_maps deps.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Abstract out buildsystems_methods reporting.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Keep LIBC_VERSION const from being empty.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update crew_profile_base and libxml2

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* clarify

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* lint

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update libarchive

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* update libavif

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* more updates

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add libxml2 build comment.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add build comment to libarchive.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Don't warn for missing directory during package removal.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: satmandu <satmandu@users.noreply.github.com>
2025-05-23 19:50:48 +00:00

37 lines
1.2 KiB
Ruby

# Adapted from Arch Linux nftables PKGBUILD at:
# https://github.com/archlinux/svntogit-packages/raw/packages/nftables/trunk/PKGBUILD
require 'buildsystems/autotools'
class Nftables < Autotools
description 'Netfilter tables userspace tools'
homepage 'https://netfilter.org/projects/nftables/'
version '1.1.3'
license 'GPL2'
compatibility 'aarch64 armv7l x86_64'
source_url "https://netfilter.org/projects/nftables/files/nftables-#{version}.tar.xz"
source_sha256 '9c8a64b59c90b0825e540a9b8fcb9d2d942c636f81ba50199f068fde44f34ed8'
binary_compression 'tar.zst'
binary_sha256({
aarch64: '8606a5a73a8705fe5ae9e58589b8046adef8a36bd00fa07dbe7eb404f7718cf0',
armv7l: '8606a5a73a8705fe5ae9e58589b8046adef8a36bd00fa07dbe7eb404f7718cf0',
x86_64: 'dd8fa408d9ecf3557c7125cc73eab5211f080e6602e3dc34d23aef2aaf9fb89f'
})
depends_on 'py3_asciidoc' => :build
depends_on 'glibc' # R
depends_on 'jansson' # R
depends_on 'libmnl' # R
depends_on 'libnftnl' # R
depends_on 'readline' # R
autotools_configure_options "--sysconfdir=#{CREW_PREFIX}/etc \
--with-json \
--with-cli=readline \
--with-mini-gmp \
--disable-debug"
run_tests
end