]> code.ossystems Code Review - openembedded-core.git/commitdiff
netbase: add rpcbind as an alias to sunrpc
authorLi Wang <li.wang@windriver.com>
Fri, 10 Jul 2015 05:35:57 +0000 (13:35 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 12 Jul 2015 21:53:22 +0000 (22:53 +0100)
the patch comes from:
https://bugs.archlinux.org/task/20273

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/netbase/netbase/netbase-add-rpcbind-as-an-alias-to-sunrpc.patch [new file with mode: 0644]
meta/recipes-core/netbase/netbase_5.3.bb

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 (file)
index 0000000..35ce21e
--- /dev/null
@@ -0,0 +1,44 @@
+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>
+---
+ 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 9d64a52..a19f7c8 100644
+--- a/etc-services
++++ b/etc-services
+@@ -72,8 +72,8 @@ pop2         109/tcp         postoffice pop-2 # POP version 2
+ pop2          109/udp         pop-2
+ pop3          110/tcp         pop-3           # POP version 3
+ pop3          110/udp         pop-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
+ uucp-path     117/tcp
+-- 
+1.7.9.5
+
index 4ac0221c9eff1e69419046be102641a0ea924c31..ccd89ff84f62e0a534018fcb368bd91170411050 100644 (file)
@@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://debian/copyright;md5=3dd6192d306f582dee7687da3d8748ab
 PE = "1"
 
 SRC_URI = "${DEBIAN_MIRROR}/main/n/netbase/netbase_${PV}.tar.xz \
+           file://netbase-add-rpcbind-as-an-alias-to-sunrpc.patch \
            file://hosts"
 
 SRC_URI[md5sum] = "2637a27fd3de02a278d2b5be7e6558c1"