summaryrefslogtreecommitdiffstats
path: root/poky/meta/recipes-core/netbase/netbase/netbase-add-rpcbind-as-an-alias-to-sunrpc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'poky/meta/recipes-core/netbase/netbase/netbase-add-rpcbind-as-an-alias-to-sunrpc.patch')
-rw-r--r--poky/meta/recipes-core/netbase/netbase/netbase-add-rpcbind-as-an-alias-to-sunrpc.patch48
1 files changed, 48 insertions, 0 deletions
diff --git a/poky/meta/recipes-core/netbase/netbase/netbase-add-rpcbind-as-an-alias-to-sunrpc.patch b/poky/meta/recipes-core/netbase/netbase/netbase-add-rpcbind-as-an-alias-to-sunrpc.patch
new file mode 100644
index 000000000..56c8d5b5c
--- /dev/null
+++ b/poky/meta/recipes-core/netbase/netbase/netbase-add-rpcbind-as-an-alias-to-sunrpc.patch
@@ -0,0 +1,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
+
OpenPOWER on IntegriCloud