summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/netbase/netbase/netbase-add-rpcbind-as-an-alias-to-sunrpc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/netbase/netbase/netbase-add-rpcbind-as-an-alias-to-sunrpc.patch')
-rw-r--r--meta/recipes-core/netbase/netbase/netbase-add-rpcbind-as-an-alias-to-sunrpc.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/meta/recipes-core/netbase/netbase/netbase-add-rpcbind-as-an-alias-to-sunrpc.patch b/meta/recipes-core/netbase/netbase/netbase-add-rpcbind-as-an-alias-to-sunrpc.patch
new file mode 100644
index 0000000000..35ce21e36d
--- /dev/null
+++ b/meta/recipes-core/netbase/netbase/netbase-add-rpcbind-as-an-alias-to-sunrpc.patch
@@ -0,0 +1,44 @@
1netbase: add rpcbind as an alias to sunrpc
2
3the patch comes from:
4https://bugs.archlinux.org/task/20273
5
6Upstream-Status: Pending
7
8Signed-off-by: Li Wang <li.wang@windriver.com>
9---
10 etc-rpc | 2 +-
11 etc-services | 4 ++--
12 2 files changed, 3 insertions(+), 3 deletions(-)
13
14diff --git a/etc-rpc b/etc-rpc
15index 1b30625..9a9a81a 100644
16--- a/etc-rpc
17+++ b/etc-rpc
18@@ -1,7 +1,7 @@
19 # This file contains user readable names that can be used in place of rpc
20 # program numbers.
21
22-portmapper 100000 portmap sunrpc
23+portmapper 100000 portmap sunrpc rpcbind
24 rstatd 100001 rstat rstat_svc rup perfmeter
25 rusersd 100002 rusers
26 nfs 100003 nfsprog
27diff --git a/etc-services b/etc-services
28index 9d64a52..a19f7c8 100644
29--- a/etc-services
30+++ b/etc-services
31@@ -72,8 +72,8 @@ pop2 109/tcp postoffice pop-2 # POP version 2
32 pop2 109/udp pop-2
33 pop3 110/tcp pop-3 # POP version 3
34 pop3 110/udp pop-3
35-sunrpc 111/tcp portmapper # RPC 4.0 portmapper
36-sunrpc 111/udp portmapper
37+sunrpc 111/tcp portmapper rpcbind # RPC 4.0 portmapper
38+sunrpc 111/udp portmapper rpcbind
39 auth 113/tcp authentication tap ident
40 sftp 115/tcp
41 uucp-path 117/tcp
42--
431.7.9.5
44