summaryrefslogtreecommitdiff
path: root/rpcbind
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2018-07-22 11:16:21 +0200
committerJuergen Daubert <jue@jue.li>2018-07-22 11:16:21 +0200
commit0d988cd06b632619cf8fc3c526e04485d6c218ba (patch)
treeab3aeb5a8eb95767b33b9b3e620605c16683dc82 /rpcbind
parentcbbdcdaaafefdb87c992b1fa3a09aec864e9b6f1 (diff)
downloadopt-0d988cd06b632619cf8fc3c526e04485d6c218ba.tar.gz
opt-0d988cd06b632619cf8fc3c526e04485d6c218ba.tar.xz
rpcbind: use sunrpc instead rpcbind as service-name
Diffstat (limited to 'rpcbind')
-rw-r--r--rpcbind/.signature4
-rw-r--r--rpcbind/Pkgfile7
2 files changed, 7 insertions, 4 deletions
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.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