summaryrefslogtreecommitdiff
path: root/rpcbind/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'rpcbind/Pkgfile')
-rw-r--r--rpcbind/Pkgfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/rpcbind/Pkgfile b/rpcbind/Pkgfile
index 9f8288ae5..4613c1f7f 100644
--- a/rpcbind/Pkgfile
+++ b/rpcbind/Pkgfile
@@ -5,7 +5,7 @@
name=rpcbind
version=0.2.4
-release=2
+release=3
source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.bz2 \
rpcbind-CVE-2017-8779.patch rpcbind)
@@ -13,9 +13,12 @@ build() {
cd $name-$version
# security fix, see
- #http://openwall.com/lists/oss-security/2017/05/03/12
+ # http://openwall.com/lists/oss-security/2017/05/03/12
patch -p1 -i $SRC/rpcbind-CVE-2017-8779.patch
+ # use sunrpc instead of rpcbind as service-name
+ sed '/servname\[\]/s/rpcbind/sunrpc/' -i src/rpcbind.c
+
./configure --prefix=/usr \
--bindir=/sbin \
--disable-libwrap \

Generated by cgit