2010-06-15 20:03:29 +02:00
|
|
|
# Description: Server that converts RPC program numbers into universal addresses
|
|
|
|
# URL: http://sourceforge.net/projects/rpcbind/
|
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2015-06-27 17:39:22 +02:00
|
|
|
# Depends on: libtirpc
|
2010-06-15 20:03:29 +02:00
|
|
|
|
|
|
|
name=rpcbind
|
2018-08-16 13:15:11 +02:00
|
|
|
version=1.2.5
|
|
|
|
release=1
|
2010-11-12 13:57:28 +01:00
|
|
|
source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.bz2 \
|
2018-08-16 13:15:11 +02:00
|
|
|
rpcbind)
|
2010-06-15 20:03:29 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2015-11-04 10:33:33 +01:00
|
|
|
|
2018-07-22 11:16:21 +02:00
|
|
|
# use sunrpc instead of rpcbind as service-name
|
|
|
|
sed '/servname\[\]/s/rpcbind/sunrpc/' -i src/rpcbind.c
|
|
|
|
|
2010-06-15 20:03:29 +02:00
|
|
|
./configure --prefix=/usr \
|
2018-08-16 13:15:11 +02:00
|
|
|
--sbindir=/sbin \
|
2015-06-27 17:39:22 +02:00
|
|
|
--disable-libwrap \
|
2014-11-30 12:11:32 +01:00
|
|
|
--without-systemdsystemunitdir
|
2015-11-04 10:33:33 +01:00
|
|
|
|
2010-06-15 20:03:29 +02:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2015-11-04 10:33:33 +01:00
|
|
|
|
2010-06-15 20:03:29 +02:00
|
|
|
install -D -m 755 $SRC/rpcbind $PKG/etc/rc.d/rpcbind
|
|
|
|
}
|