summaryrefslogtreecommitdiff
path: root/devel/rpcsvc-proto/MAKEPKG
diff options
context:
space:
mode:
authorrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
committerrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
commitc82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch)
tree56d864b5a5c6c145edd96178ae219a8f90e191a6 /devel/rpcsvc-proto/MAKEPKG
downloadports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'devel/rpcsvc-proto/MAKEPKG')
-rw-r--r--devel/rpcsvc-proto/MAKEPKG33
1 files changed, 33 insertions, 0 deletions
diff --git a/devel/rpcsvc-proto/MAKEPKG b/devel/rpcsvc-proto/MAKEPKG
new file mode 100644
index 0000000..3ec67b2
--- /dev/null
+++ b/devel/rpcsvc-proto/MAKEPKG
@@ -0,0 +1,33 @@
+#!/bin/mkpkg
+# description: rpcsvc protocol definitions from glibc
+# url: https://github.com/thkukuk/rpcsvc-proto
+name=rpcsvc-proto
+version=1.4.4
+release=1
+depends=(libtirpc)
+makedeps=()
+source=(https://github.com/thkukuk/$name/releases/download/v$version/$name-$version.tar.xz)
+
+sha256sums=(
+ "81c3aa27edb5d8a18ef027081ebb984234d5b5860c65bd99d4ac8f03145a558b"
+)
+
+build() {
+ cd $name-$version
+
+ # musl does not have stat64/struct stat64 (uses 64-bit stat natively)
+ sed -i 's/struct stat64/struct stat/g; s/stat64 (/stat (/g' rpcgen/rpc_main.c
+
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc
+
+ make
+ make DESTDIR=$PKG install
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+# vim: filetype=sh