From eb8dc40360f0cfef56fb6947cc817a547d6d9bc6 Mon Sep 17 00:00:00 2001 From: Dave Cobbley Date: Tue, 14 Aug 2018 10:05:37 -0700 Subject: [Subtree] Removing import-layers directory As part of the move to subtrees, need to bring all the import layers content to the top level. Change-Id: I4a163d10898cbc6e11c27f776f60e1a470049d8f Signed-off-by: Dave Cobbley Signed-off-by: Brad Bishop --- poky/meta/recipes-core/netbase/netbase/hosts | 8 ++++ ...netbase-add-rpcbind-as-an-alias-to-sunrpc.patch | 48 ++++++++++++++++++++++ poky/meta/recipes-core/netbase/netbase_5.4.bb | 25 +++++++++++ 3 files changed, 81 insertions(+) create mode 100644 poky/meta/recipes-core/netbase/netbase/hosts create mode 100644 poky/meta/recipes-core/netbase/netbase/netbase-add-rpcbind-as-an-alias-to-sunrpc.patch create mode 100644 poky/meta/recipes-core/netbase/netbase_5.4.bb (limited to 'poky/meta/recipes-core/netbase') diff --git a/poky/meta/recipes-core/netbase/netbase/hosts b/poky/meta/recipes-core/netbase/netbase/hosts new file mode 100644 index 000000000..b94f414d5 --- /dev/null +++ b/poky/meta/recipes-core/netbase/netbase/hosts @@ -0,0 +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/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" +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 +Signed-off-by: Maxin B. John +--- + 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/poky/meta/recipes-core/netbase/netbase_5.4.bb b/poky/meta/recipes-core/netbase/netbase_5.4.bb new file mode 100644 index 000000000..5ab0c58f8 --- /dev/null +++ b/poky/meta/recipes-core/netbase/netbase_5.4.bb @@ -0,0 +1,25 @@ +SUMMARY = "Basic TCP/IP networking support" +DESCRIPTION = "This package provides the necessary infrastructure for basic TCP/IP based networking" +HOMEPAGE = "http://packages.debian.org/netbase" +SECTION = "base" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://debian/copyright;md5=3dd6192d306f582dee7687da3d8748ab" +PE = "1" + +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] = "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 + install -m 0644 etc-rpc ${D}${sysconfdir}/rpc + install -m 0644 etc-protocols ${D}${sysconfdir}/protocols + install -m 0644 etc-services ${D}${sysconfdir}/services +} + +CONFFILES_${PN} = "${sysconfdir}/hosts" -- cgit v1.2.3