milis/talimatname/genel/r/rpcbind/talimat

36 lines
954 B
Plaintext
Raw Normal View History

2018-07-30 13:34:03 +02:00
# Tanım: Rpcbind yardımcı programı, RPC program numaralarını evrensel adreslere dönüştüren bir sunucudur.
2018-06-09 00:06:58 +02:00
# URL: http://rpcbind.sourceforge.net/
# Paketçi: milisarge
# Gerekler: libtirpc
2018-07-30 13:34:03 +02:00
# Grup: ağ
2018-06-09 00:06:58 +02:00
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
}