diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-14 02:07:25 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-14 02:07:25 +0900 |
| commit | c1cd5ba07b31ceb3124840600907f20dcc4c5b72 (patch) | |
| tree | 7c7ecf06a635433349ddf361a605e055e31ff4f7 /internal | |
| parent | 7b0cd2e4721cc2d3dec1d69769f6f92cde972187 (diff) | |
internal/rosa: libtirpc artifact
Required by xserver.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/rosa/all.go | 1 | ||||
| -rw-r--r-- | internal/rosa/libtirpc.go | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/internal/rosa/all.go b/internal/rosa/all.go index c93c70a0..fe0ec135 100644 --- a/internal/rosa/all.go +++ b/internal/rosa/all.go @@ -107,6 +107,7 @@ const ( Libpsl Libseccomp Libtasn1 + Libtirpc Libtool Libucontext Libunistring diff --git a/internal/rosa/libtirpc.go b/internal/rosa/libtirpc.go new file mode 100644 index 00000000..7cc1dca6 --- /dev/null +++ b/internal/rosa/libtirpc.go @@ -0,0 +1,44 @@ +package rosa + +import ( + "strings" + + "hakurei.app/internal/pkg" +) + +func (t Toolchain) newLibtirpc() (pkg.Artifact, string) { + const ( + version = "1.3.7" + checksum = "nzFfu7LNvnSNiNAryD1vtnNWnU-Xqee8KqfXUKoBf5yjb5-dkeRkYuRijdCoYLof" + ) + return t.NewPackage("libtirpc", version, t.newTagRemote( + "git://linux-nfs.org/~steved/libtirpc", + "libtirpc-"+ + strings.Join(strings.SplitN(version, ".", 3), "-"), + checksum, + ), nil, &MakeHelper{ + Generate: "sh -e ./bootstrap", + Configure: []KV{ + {"CFLAGS", `"$(pkg-config --cflags libbsd-overlay) ${CFLAGS:-}"`}, + {"disable-gssapi"}, + }, + }, + Automake, + Libtool, + PkgConfig, + + Libbsd, + KernelHeaders, + ), version +} +func init() { + artifactsM[Libtirpc] = Metadata{ + f: Toolchain.newLibtirpc, + + Name: "libtirpc", + Description: "a port of Suns Transport-Independent RPC library to Linux", + Website: "https://sourceforge.net/projects/libtirpc/", + + ID: 1740, + } +} |
