summaryrefslogtreecommitdiff
path: root/rpcbind
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2010-06-15 20:03:29 +0200
committerJuergen Daubert <jue@jue.li>2010-06-15 20:03:29 +0200
commit23a0706a140bb66f51d1e904cd0ebee9f1784d09 (patch)
tree0aa015c1dc08be1af22347a1ff1e6bc7548b21da /rpcbind
parent85f48acacf3db92350c19b0f8a061b651c9c7fc2 (diff)
downloadopt-23a0706a140bb66f51d1e904cd0ebee9f1784d09.tar.gz
opt-23a0706a140bb66f51d1e904cd0ebee9f1784d09.tar.xz
rpcbind: initial release
Diffstat (limited to 'rpcbind')
-rw-r--r--rpcbind/.footprint10
-rw-r--r--rpcbind/.md5sum2
-rw-r--r--rpcbind/Pkgfile20
-rw-r--r--rpcbind/rpcbind23
4 files changed, 55 insertions, 0 deletions
diff --git a/rpcbind/.footprint b/rpcbind/.footprint
new file mode 100644
index 000000000..3e2ec30ca
--- /dev/null
+++ b/rpcbind/.footprint
@@ -0,0 +1,10 @@
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/rc.d/
+-rwxr-xr-x root/root etc/rc.d/rpcbind
+drwxr-xr-x root/root sbin/
+-rwxr-xr-x root/root sbin/rpcbind
+-rwxr-xr-x root/root sbin/rpcinfo
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man8/
+-rw-r--r-- root/root usr/man/man8/rpcbind.8.gz
diff --git a/rpcbind/.md5sum b/rpcbind/.md5sum
new file mode 100644
index 000000000..e3df69328
--- /dev/null
+++ b/rpcbind/.md5sum
@@ -0,0 +1,2 @@
+b19843b2a0dd0a56fdec182e39b23775 rpcbind
+1a77ddb1aaea8099ab19c351eeb26316 rpcbind-0.2.0.tar.bz2
diff --git a/rpcbind/Pkgfile b/rpcbind/Pkgfile
new file mode 100644
index 000000000..38728ccaf
--- /dev/null
+++ b/rpcbind/Pkgfile
@@ -0,0 +1,20 @@
+# Description: Server that converts RPC program numbers into universal addresses
+# URL: http://sourceforge.net/projects/rpcbind/
+# Maintainer: Juergen Daubert, jue at crux dot nu
+# Depends on: libtirpc
+
+name=rpcbind
+version=0.2.0
+release=1
+source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.bz2 \
+ rpcbind)
+
+build() {
+ cd $name-$version
+ ./configure --prefix=/usr \
+ --bindir=/sbin \
+ --mandir=/usr/man
+ make
+ make DESTDIR=$PKG install
+ install -D -m 755 $SRC/rpcbind $PKG/etc/rc.d/rpcbind
+}
diff --git a/rpcbind/rpcbind b/rpcbind/rpcbind
new file mode 100644
index 000000000..18a4c163a
--- /dev/null
+++ b/rpcbind/rpcbind
@@ -0,0 +1,23 @@
+#!/bin/sh
+#
+# /etc/rc.d/rpcbind: start/stop rpcbind daemon
+#
+
+case $1 in
+start)
+ /sbin/rpcbind
+ ;;
+stop)
+ killall -q /sbin/rpcbind
+ ;;
+restart)
+ $0 stop
+ sleep 2
+ $0 start
+ ;;
+*)
+ echo "usage: $0 [start|stop|restart]"
+ ;;
+esac
+
+# End of file

Generated by cgit