summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorLi Wang <li.wang@windriver.com>2015-07-10 13:35:57 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-12 22:55:46 +0100
commit9fee217a854fddffff7f44d0921cbb253d42e9c8 (patch)
tree37d9a491c517db851ef83bec07c00f76cb7007a8 /meta
parent75c877b3cc451e8d8a4e881d1683d2fe8cd037f2 (diff)
downloadpoky-9fee217a854fddffff7f44d0921cbb253d42e9c8.tar.gz
netbase: add rpcbind as an alias to sunrpc
the patch comes from: https://bugs.archlinux.org/task/20273 (From OE-Core rev: 7381b103f6e407e5c77af8ea5c82cacfb51e2952) Signed-off-by: Li Wang <li.wang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/netbase/netbase/netbase-add-rpcbind-as-an-alias-to-sunrpc.patch44
-rw-r--r--meta/recipes-core/netbase/netbase_5.3.bb1
2 files changed, 45 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
diff --git a/meta/recipes-core/netbase/netbase_5.3.bb b/meta/recipes-core/netbase/netbase_5.3.bb
index 4ac0221c9e..ccd89ff84f 100644
--- a/meta/recipes-core/netbase/netbase_5.3.bb
+++ b/meta/recipes-core/netbase/netbase_5.3.bb
@@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://debian/copyright;md5=3dd6192d306f582dee7687da3d8748ab
7PE = "1" 7PE = "1"
8 8
9SRC_URI = "${DEBIAN_MIRROR}/main/n/netbase/netbase_${PV}.tar.xz \ 9SRC_URI = "${DEBIAN_MIRROR}/main/n/netbase/netbase_${PV}.tar.xz \
10 file://netbase-add-rpcbind-as-an-alias-to-sunrpc.patch \
10 file://hosts" 11 file://hosts"
11 12
12SRC_URI[md5sum] = "2637a27fd3de02a278d2b5be7e6558c1" 13SRC_URI[md5sum] = "2637a27fd3de02a278d2b5be7e6558c1"