rpcbind: initial release

This commit is contained in:
Juergen Daubert 2010-06-15 20:03:29 +02:00
parent 85f48acacf
commit 23a0706a14
4 changed files with 55 additions and 0 deletions

10
rpcbind/.footprint Normal file
View File

@ -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

2
rpcbind/.md5sum Normal file
View File

@ -0,0 +1,2 @@
b19843b2a0dd0a56fdec182e39b23775 rpcbind
1a77ddb1aaea8099ab19c351eeb26316 rpcbind-0.2.0.tar.bz2

20
rpcbind/Pkgfile Normal file
View File

@ -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
}

23
rpcbind/rpcbind Normal file
View File

@ -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