[Buildroot] [PATCH 1/2] package/libnfsidmap: new package

Thomas Petazzoni thomas.petazzoni at bootlin.com
Wed Feb 6 16:16:17 UTC 2019


Hello Kostya,

On Wed, 6 Feb 2019 18:06:00 +0200
<kostap at marvell.com> wrote:

> From: Konstantin Porotchkin <kostap at marvell.com>
> 
> 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



More information about the buildroot mailing list