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
|
2016-12-03 16:40:18 +01:00
|
|
|
version=0.2.4
|
2017-07-06 14:37:05 +02:00
|
|
|
release=2
|
2010-11-12 13:57:28 +01:00
|
|
|
source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.bz2 \
|
2017-07-06 14:37:05 +02:00
|
|
|
rpcbind-CVE-2017-8779.patch rpcbind)
|
2010-06-15 20:03:29 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2015-11-04 10:33:33 +01:00
|
|
|
|
2017-07-06 14:37:05 +02:00
|
|
|
# security fix, see
|
|
|
|
#http://openwall.com/lists/oss-security/2017/05/03/12
|
|
|
|
patch -p1 -i $SRC/rpcbind-CVE-2017-8779.patch
|
|
|
|
|
2010-06-15 20:03:29 +02:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--bindir=/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
|
|
|
|
}
|