From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Wed, 6 Feb 2019 17:16:17 +0100 Subject: [Buildroot] [PATCH 1/2] package/libnfsidmap: new package In-Reply-To: <20190206160601.6360-1-kostap@marvell.com> References: <20190206160601.6360-1-kostap@marvell.com> Message-ID: <20190206171617.6faea825@windsurf> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hello Kostya, On Wed, 6 Feb 2019 18:06:00 +0200 wrote: > From: Konstantin Porotchkin > > Reqired for NFSv4 support. Required > Taken from git at github.com:openstack/manila-test-image.git > /patches/nfs-utils-enable-nfsv4.patch What is taken from there ? > package/Config.in | 1 + > package/libnfsidmap/Config.in | 7 +++++++ > package/libnfsidmap/libnfsidmap.mk | 13 +++++++++++++ > 3 files changed, 21 insertions(+) An entry to the DEVELOPERS file should be added, and a .hash file is needed. > diff --git a/package/libnfsidmap/Config.in b/package/libnfsidmap/Config.in > new file mode 100644 > index 0000000000..12dbf505a5 > --- /dev/null > +++ b/package/libnfsidmap/Config.in > @@ -0,0 +1,7 @@ > +config BR2_PACKAGE_LIBNFSIDMAP > + bool "libnfsidmap" No dependencies at all ? Did you test this package with ./utils/test-pkg ? > + help > + Library used by the NFSv4 server to do userid mapping. > + > + http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap > + Unneeded empty new line at the end of the file. > diff --git a/package/libnfsidmap/libnfsidmap.mk b/package/libnfsidmap/libnfsidmap.mk > new file mode 100644 > index 0000000000..2c3bd812de > --- /dev/null > +++ b/package/libnfsidmap/libnfsidmap.mk > @@ -0,0 +1,13 @@ > +# > +# libnfsidmap > +# Please use the standard header for packages. > + > +LIBNFSIDMAP_VERSION = 0.25 > +LIBNFSIDMAP_SITE = http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap > +LIBNFSIDMAP_SOURCE = libnfsidmap-$(LIBNFSIDMAP_VERSION).tar.gz Not needed, this is the default value. Have you run "make check-package" ? > +LIBNFSIDMAP_INSTALL_STAGING = YES > +LIBNFSIDMAP_LICENSE = BSD-like This is not a proper license, see https://spdx.org/licenses/ for a proper list of SPDX license codes. > +LIBNFSIDMAP_LICENSE_FILES = COPYING > + > +$(eval $(autotools-package)) > +$(eval $(host-autotools-package)) You're not using the host version of this package, so it shouldn't be added. Thanks! Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com