nfs-utils: remove libnfsidmap

As of nfs-utils 2.2.1 libnfsidmap has been integrated and isn't an external
requirement anymore.

Also consolidate nfs-utils patches into a single directory.

(From OE-Core rev: 98e8146553c912e869c174674c53e96d8ff01e57)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2018-07-10 13:45:05 +01:00
committed by Richard Purdie
parent 6ebeeab6a6
commit 7aff75bcc3
8 changed files with 1 additions and 87 deletions

View File

@@ -326,7 +326,6 @@ RECIPE_MAINTAINER_pn-libmnl = "Khem Raj <raj.khem@gmail.com>"
RECIPE_MAINTAINER_pn-libmpc = "Khem Raj <raj.khem@gmail.com>"
RECIPE_MAINTAINER_pn-libnewt = "Hongxu Jia <hongxu.jia@windriver.com>"
RECIPE_MAINTAINER_pn-libnewt-python = "Hongxu Jia <hongxu.jia@windriver.com>"
RECIPE_MAINTAINER_pn-libnfsidmap = "Maxin B. John <maxin.john@intel.com>"
RECIPE_MAINTAINER_pn-libnl = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-libnotify = "Maxin B. John <maxin.john@intel.com>"
RECIPE_MAINTAINER_pn-libnsl2 = "Khem Raj <raj.khem@gmail.com>"

View File

@@ -1,27 +0,0 @@
From a5e95a42e7bceddc9ecad06694c1a0588f4bafc8 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Tue, 14 Apr 2015 07:22:47 -0700
Subject: [PATCH] include sys/types.h for getting u_* typedefs
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
cfg.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/cfg.h b/cfg.h
index d4d4cab..fe49e8f 100644
--- a/cfg.h
+++ b/cfg.h
@@ -33,6 +33,7 @@
#ifndef _CONF_H_
#define _CONF_H_
+#include <sys/types.h>
#include "queue.h"
struct conf_list_node {
--
2.1.4

View File

@@ -1,18 +0,0 @@
Set nobody user and group
Upstream-Status: Inappropriate [configuration]
Signed-off-by: Roy.Li <rongqing.li@windriver.com>
--- a/idmapd.conf
+++ b/idmapd.conf
@@ -17,8 +17,8 @@
[Mapping]
-#Nobody-User = nobody
-#Nobody-Group = nobody
+Nobody-User = nobody
+Nobody-Group = nogroup
[Translation]

View File

@@ -1,13 +0,0 @@
Upstream-Status: Inappropriate [configuration]
--- a/configure.in
+++ b/configure.in
@@ -1,7 +1,7 @@
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
-AC_PREREQ([2.68])
+AC_PREREQ([2.65])
AC_INIT([libnfsidmap],[0.25],[linux-nfs@vger.kernel.org])
AC_CONFIG_SRCDIR([nfsidmap.h])
AC_CONFIG_MACRO_DIR([m4])

View File

@@ -1,27 +0,0 @@
SUMMARY = "NFS id mapping library"
HOMEPAGE = "http://www.citi.umich.edu/projects/nfsv4/linux/"
SECTION = "libs"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=d9c6a2a0ca6017fda7cd905ed2739b37"
SRC_URI = "http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/${BPN}-${PV}.tar.gz \
file://fix-ac-prereq.patch \
file://Set_nobody_user_group.patch \
file://0001-include-sys-types.h-for-getting-u_-typedefs.patch \
"
SRC_URI[md5sum] = "2ac4893c92716add1a1447ae01df77ab"
SRC_URI[sha256sum] = "656d245d84400e1030f8f40a5a27da76370690c4a932baf249110f047fe7efcf"
UPSTREAM_CHECK_URI = "http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/"
inherit autotools
EXTRA_OECONF = "--disable-ldap"
do_install_append () {
install -d ${D}${sysconfdir}/
install -m 0644 ${WORKDIR}/${BPN}-${PV}/idmapd.conf ${D}${sysconfdir}/idmapd.conf
}

View File

@@ -8,7 +8,7 @@ LICENSE = "MIT & GPLv2+ & BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=95f3a93a5c3c7888de623b46ea085a84"
# util-linux for libblkid
DEPENDS = "libcap libnfsidmap libevent util-linux sqlite3 libtirpc"
DEPENDS = "libcap libevent util-linux sqlite3 libtirpc"
RDEPENDS_${PN} = "${PN}-client bash"
RRECOMMENDS_${PN} = "kernel-module-nfsd"