diff options
Diffstat (limited to 'meta/recipes-core/netbase')
| -rw-r--r-- | meta/recipes-core/netbase/netbase/hosts | 6 | ||||
| -rw-r--r-- | meta/recipes-core/netbase/netbase/netbase-add-rpcbind-as-an-alias-to-sunrpc.patch | 48 | ||||
| -rw-r--r-- | meta/recipes-core/netbase/netbase_5.4.bb (renamed from meta/recipes-core/netbase/netbase_5.1.bb) | 8 |
3 files changed, 59 insertions, 3 deletions
diff --git a/meta/recipes-core/netbase/netbase/hosts b/meta/recipes-core/netbase/netbase/hosts index 2f332451b5..b94f414d5c 100644 --- a/meta/recipes-core/netbase/netbase/hosts +++ b/meta/recipes-core/netbase/netbase/hosts @@ -1,2 +1,8 @@ 127.0.0.1 localhost.localdomain localhost +# The following lines are desirable for IPv6 capable hosts +::1 localhost ip6-localhost ip6-loopback +fe00::0 ip6-localnet +ff00::0 ip6-mcastprefix +ff02::1 ip6-allnodes +ff02::2 ip6-allrouters 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..56c8d5b5c2 --- /dev/null +++ b/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 + diff --git a/meta/recipes-core/netbase/netbase_5.1.bb b/meta/recipes-core/netbase/netbase_5.4.bb index 2b1df07a19..5ab0c58f83 100644 --- a/meta/recipes-core/netbase/netbase_5.1.bb +++ b/meta/recipes-core/netbase/netbase_5.4.bb @@ -6,12 +6,14 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://debian/copyright;md5=3dd6192d306f582dee7687da3d8748ab" PE = "1" -SRC_URI = "${DEBIAN_MIRROR}/main/n/netbase/netbase_${PV}.tar.gz \ +SRC_URI = "http://snapshot.debian.org/archive/debian/20170112T093812Z/pool/main/n/${BPN}/${BPN}_${PV}.tar.xz \ + file://netbase-add-rpcbind-as-an-alias-to-sunrpc.patch \ file://hosts" -SRC_URI[md5sum] = "d9ba76be063eb9b31fc60e14ad8a1206" -SRC_URI[sha256sum] = "0d291fa48e3f6490601b8e8ad62804c530cc937665a79e5c69510cd3c5ec889e" +SRC_URI[md5sum] = "117cb70c55ef3c1c002f127812b114c1" +SRC_URI[sha256sum] = "66ff73d2d162e2d49db43988d8b8cd328cf7fffca042db73397f14c71825e80d" +UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/n/netbase/" do_install () { install -d ${D}/${mandir}/man8 ${D}${sysconfdir} install -m 0644 ${WORKDIR}/hosts ${D}${sysconfdir}/hosts |
