[Lunar-commits] <moonbase-other> rpcbind: a portmap like rpc broker daemon.

Florin Braescu florin at lunar-linux.org
Sat Jan 11 14:56:28 CET 2014


commit fe4159a7461a19ae269c0f3b869061075f9679a3
Author: Florin Braescu <florin at lunar-linux.org>
Date: Sat, 11 Jan 2014 05:55:41 -0800
URL: https://github.com/lunar-linux/moonbase-other/commit/fe4159a7461a19ae269c0f3b869061075f9679a3

rpcbind: a portmap like rpc broker daemon.
---
  net/rpcbind/BUILD                     | +2/-0     
  net/rpcbind/DEPENDS                   | +1/-0     
  net/rpcbind/DETAILS                   | +14/-0    
  net/rpcbind/init.d/rpcbind            | +11/-0    
  net/rpcbind/systemd.d/rpcbind.service | +13/-0    
  5 files changed, 41 insertions(+)

--- /dev/null
+++ b/net/rpcbind/BUILD
@@ -0,0 +1,2 @@
+./configure --prefix=/usr --with-rpcuser=rpc --enable-warmstarts --with-statedir=/run
+default_make
--- /dev/null
+++ b/net/rpcbind/DEPENDS
@@ -0,0 +1 @@
+depends libtirpc
--- /dev/null
+++ b/net/rpcbind/DETAILS
@@ -0,0 +1,14 @@
+          MODULE=rpcbind
+         VERSION=0.2.1
+          SOURCE=$MODULE-$VERSION.tar.bz2
+      SOURCE_URL=$SFORGE_URL/$MODULE
+      SOURCE_VFY=sha1:d1ca8ce155d98d4f1c1dd40fa747a2144a42cb61
+        WEB_SITE=http://rpcbind.sourceforge.net
+           SHORT="portmap replacement which supports RPC over various protocols"
+         ENTERED=20140111
+         UPDATED=20140111
+
+cat << EOF
+The rpcbind utility is a server that converts RPC program numbers into universal
+addresses.
+EOF
--- /dev/null
+++ b/net/rpcbind/init.d/rpcbind
@@ -0,0 +1,11 @@
+#!/bin/sh
+#
+# rpcbind
+#
+# chkconfig: 345 11 89
+# description: the rpcbind is a RPC port broker
+# processname: /usr/bin/rpcbind
+#
+
+. /lib/lsb/init-functions
+
--- /dev/null
+++ b/net/rpcbind/systemd.d/rpcbind.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=RPC Bind
+After=network.target
+Wants=rpcbind.target
+Before=rpcbind.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/rpcbind
+Restart=always
+
+[Install]
+WantedBy=multi-user.target




More information about the Lunar-commits mailing list