milis/talimatname/genel/r/rpcbind/talimat

35 lines
897 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: portmap replacement which supports RPC over various protocols
# URL: http://rpcbind.sourceforge.net/
# Paketçi: milisarge
# Gerekler: libtirpc
isim=rpcbind
surum=0.2.3
devir=1
kaynak=(http://downloads.sourceforge.net/rpcbind/rpcbind-$surum.tar.bz2 )
derle() {
source /etc/blfs-bootscripts
wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
tar xvf $scripts-$scriptsversion.tar.bz2
cd rpcbind-$surum
sed -i "/servname/s:rpcbind:sunrpc:" src/rpcbind.c
./configure --prefix=/usr \
--bindir=/sbin \
--with-rpcuser=root \
--without-systemdsystemunitdir
make
make DESTDIR=$PKG install
cd ../$scripts-$scriptsversion
make DESTDIR=$PKG install-rpcbind
make DESTDIR=$PKG install-netfs
# cut is in /bin
sed -i "s,usr/bin/cut,bin/cut," $PKG/etc/rc.d/init.d/netfs
}