ports/opt (3.4): rpcbind: use sunrpc instead rpcbind as service-name
commit 0d988cd06b632619cf8fc3c526e04485d6c218ba Author: Juergen Daubert <jue@jue.li> Date: Sun Jul 22 11:16:21 2018 +0200 rpcbind: use sunrpc instead rpcbind as service-name diff --git a/rpcbind/.signature b/rpcbind/.signature index 3989fe19d..0cb048ab7 100644 --- a/rpcbind/.signature +++ b/rpcbind/.signature @@ -1,6 +1,6 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/T9IML5QmrNm6nBLf8eCB9F4jlaa3iPM9yOZbqP6cXts2i6nz42OOrOmQmxVau42wZpmGSGnXjQBNASFYFXIYAM= -SHA256 (Pkgfile) = 9d6a767db6fd04745a28b799260ba8edb25fba35b4083f045473ced826430e74 +RWSE3ohX2g5d/czjOQ51fjLRbMFJ+uZMCx8E2MpFQFAsPpG3rWqEFsR3ozDXf6Hd6gBpeeHv+quiS9P0toGhGYJDaztPydv1cws= +SHA256 (Pkgfile) = cbc90f456a15e54cc46459d88bae02b267b5155dfeef401704e2736ffc321525 SHA256 (.footprint) = 6d7a05e556df2d89ba9965aa2c7afac7c362edb73ca0be465ba237dc4d2ac5e1 SHA256 (rpcbind-0.2.4.tar.bz2) = 074a9a530dc7c11e0d905aa59bcb0847c009313f02e98d3d798aa9568f414c66 SHA256 (rpcbind-CVE-2017-8779.patch) = df10706a774370ea9dd0c3ba65d7574088a82a0ab80a6c87164f0382f30b83fe 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... \ 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 \
participants (1)
-
crux@crux.nu