logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git
commit: f70b4bb807afbdaccc1daab13b8ff24459c8dfa5
parent 2794994795dbfa8dd3fa03a7af5287f108456bbb
Author: Michael Forney <mforney@mforney.org>
Date:   Mon, 16 Jan 2023 00:31:54 -0800

Add libtirpc 1.3.3

Diffstat:

M.gitmodules3+++
Mpkg/gen.lua1+
Apkg/libtirpc/gen.lua29+++++++++++++++++++++++++++++
Apkg/libtirpc/src1+
Apkg/libtirpc/ver1+
5 files changed, 35 insertions(+), 0 deletions(-)

diff --git a/.gitmodules b/.gitmodules @@ -160,6 +160,9 @@ [submodule "pkg/libpng/src"] path = pkg/libpng/src url = https://github.com/glennrp/libpng +[submodule "pkg/libtirpc/src"] + path = pkg/libtirpc/src + url = git://git.linux-nfs.org/projects/steved/libtirpc.git [submodule "pkg/libtls-bearssl/src"] path = pkg/libtls-bearssl/src url = https://git.sr.ht/~mcf/libtls-bearssl diff --git a/pkg/gen.lua b/pkg/gen.lua @@ -58,6 +58,7 @@ subgen 'libpciaccess' subgen 'libpng' subgen 'libressl' subgen 'libtermkey' +subgen 'libtirpc' subgen 'libtls-bearssl' subgen 'libutp' subgen 'libxkbcommon' diff --git a/pkg/libtirpc/gen.lua b/pkg/libtirpc/gen.lua @@ -0,0 +1,29 @@ +cflags{ + '-std=c99', '-Wall', '-Wpedantic', + '-D _BSD_SOURCE', + '-D INET6', + '-I $outdir/include', + '-I $srcdir/tirpc', +} + +pkg.hdrs = copy('$outdir/include', '$srcdir/tirpc', { + 'netconfig.h', + 'rpc/types.h', + 'rpc/xdr.h', +}) +pkg.deps = {'$gendir/headers'} + +lib('libtirpc.a', [[ + src/( + xdr.c + xdr_rec.c + xdr_array.c + xdr_float.c + xdr_mem.c + xdr_reference.c + xdr_stdio.c + xdr_sizeof.c + ) +]]) + +fetch 'git' diff --git a/pkg/libtirpc/src b/pkg/libtirpc/src @@ -0,0 +1 @@ +Subproject commit 490ba51956e3935d9e4b0b36c6cc927ac305b673 diff --git a/pkg/libtirpc/ver b/pkg/libtirpc/ver @@ -0,0 +1 @@ +1.3.3 r0