blob: 9f8288ae51fd4d3bb29dbf31fc60a901e0fbbc99 (
plain)
1 # Description: Server that converts RPC program numbers into universal addresses
2 # URL: http://sourceforge.net/projects/rpcbind/
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4 # Depends on: libtirpc
5
6 name=rpcbind
7 version=0.2.4
8 release=2
9 source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.bz2 \
10 rpcbind-CVE-2017-8779.patch rpcbind)
11
12 build() {
13 cd $name-$version
14
15 # security fix, see
16 #http://openwall.com/lists/oss-security/2017/05/03/12
17 patch -p1 -i $SRC/rpcbind-CVE-2017-8779.patch
18
19 ./configure --prefix=/usr \
20 --bindir=/sbin \
21 --disable-libwrap \
22 --without-systemdsystemunitdir
23
24 make
25 make DESTDIR=$PKG install
26
27 install -D -m 755 $SRC/rpcbind $PKG/etc/rc.d/rpcbind
28 }
|