opt/rpcbind/Pkgfile

29 lines
806 B
Plaintext

# 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.4
release=2
source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.bz2 \
rpcbind-CVE-2017-8779.patch rpcbind)
build() {
cd $name-$version
# security fix, see
#http://openwall.com/lists/oss-security/2017/05/03/12
patch -p1 -i $SRC/rpcbind-CVE-2017-8779.patch
./configure --prefix=/usr \
--bindir=/sbin \
--disable-libwrap \
--without-systemdsystemunitdir
make
make DESTDIR=$PKG install
install -D -m 755 $SRC/rpcbind $PKG/etc/rc.d/rpcbind
}