milis/talimatname/genel/r/rpcbind/talimat

35 lines
897 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: portmap replacement which supports RPC over various protocols
2016-02-24 01:27:23 +01:00
# URL: http://rpcbind.sourceforge.net/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: libtirpc
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
isim=rpcbind
surum=0.2.3
devir=1
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
kaynak=(http://downloads.sourceforge.net/rpcbind/rpcbind-$surum.tar.bz2 )
2016-02-24 01:27:23 +01:00
2017-10-27 23:59:41 +02:00
derle() {
2016-02-24 01:27:23 +01:00
source /etc/blfs-bootscripts
wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
tar xvf $scripts-$scriptsversion.tar.bz2
2017-10-28 14:10:23 +02:00
cd rpcbind-$surum
2016-02-24 01:27:23 +01:00
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
}