Files
hakurei/internal/rosa/package/iproute2.az
T
cat 6c2ca507b9
Test / Create distribution (push) Successful in 2m9s
Test / Sandbox (push) Successful in 7m31s
Test / ShareFS (push) Successful in 9m54s
Test / Sandbox (race detector) (push) Successful in 2m27s
Test / Hakurei (push) Successful in 2m58s
Test / Hakurei (race detector) (push) Successful in 4m0s
Test / Flake checks (push) Successful in 1m16s
internal/rosa/package: byacc
Much cleaner than bison and compiles much faster. This should be used whenever possible.

Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-07-24 18:48:20 +09:00

56 lines
947 B
Go

package iproute2 {
description = "routing commands and utilities";
website = "https://wiki.linuxfoundation.org/networking/iproute2";
anitya = 1392;
version# = "7.1.0";
source = remoteTar {
url = "https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/"+
"snapshot/iproute2-"+version+".tar.gz";
checksum = "yc6NdF6GtFUpKtKg6xwF_yxYGyj0eqFQW8RGsgBzKrOiVlE2bpVQlfeZf_ca5wJL";
compress = gzip;
};
env = [
"CC=cc",
"PREFIX=/system",
"SBINDIR=/system/sbin",
];
enterSource = true;
writable = true;
chmod = true;
exec = make {
inPlace = true;
// drop default autoconf options
configureName = "./configure";
configure = {
"prefix": "/system";
"color": "auto";
};
make = [ "CC=cc", "YACC=yacc" ];
// wants root
skipCheck = true;
};
inputs = [
pkg-config,
m4,
byacc,
flex,
libbpf,
libmnl,
db,
libcap,
kernel-headers,
];
runtime = [
libbpf,
libmnl,
db,
libcap,
];
}