aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/netbase/netbase/netbase-add-rpcbind-as-an-alias-to-sunrpc.patch
blob: 56c8d5b5c21056c8ab3b459fe89696895e632626 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
From 76989205a1411f16d7ab09ff9d279539a73dc259 Mon Sep 17 00:00:00 2001
From: "Maxin B. John" <maxin.john@intel.com>
Date: Thu, 12 Jan 2017 16:50:58 +0200
Subject: [PATCH] netbase: add rpcbind as an alias to sunrpc

the patch comes from:
https://bugs.archlinux.org/task/20273

Upstream-Status: Pending

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Maxin B. John <maxin.john@intel.com>
---
 etc-rpc      | 2 +-
 etc-services | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/etc-rpc b/etc-rpc
index 1b30625..9a9a81a 100644
--- a/etc-rpc
+++ b/etc-rpc
@@ -1,7 +1,7 @@
 # This file contains user readable names that can be used in place of rpc
 # program numbers.
 
-portmapper	100000	portmap sunrpc
+portmapper	100000	portmap sunrpc rpcbind
 rstatd		100001	rstat rstat_svc rup perfmeter
 rusersd		100002	rusers
 nfs		100003	nfsprog
diff --git a/etc-services b/etc-services
index e3202ec..a039d7e 100644
--- a/etc-services
+++ b/etc-services
@@ -64,8 +64,8 @@ csnet-ns	105/udp		cso-ns
 rtelnet		107/tcp				# Remote Telnet
 rtelnet		107/udp
 pop3		110/tcp		pop-3		# POP version 3
-sunrpc		111/tcp		portmapper	# RPC 4.0 portmapper
-sunrpc		111/udp		portmapper
+sunrpc		111/tcp		portmapper rpcbind # RPC 4.0 portmapper
+sunrpc		111/udp		portmapper rpcbind
 auth		113/tcp		authentication tap ident
 sftp		115/tcp
 nntp		119/tcp		readnews untp	# USENET News Transfer Protocol
-- 
2.4.0