Patchwork [08/13] libnfs: new package

login
register
mail settings
Submitter Maxime Hadjinlian
Date Feb. 21, 2013, 2:58 p.m.
Message ID <6f49fb1679eb12c011edfaf52648c065a049c101.1361458625.git.maxime.hadjinlian@gmail.com>
Download mbox | patch
Permalink /patch/222311/
State Changes Requested
Headers show

Comments

Maxime Hadjinlian - Feb. 21, 2013, 2:58 p.m.
nfs userspace implementation.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
 package/Config.in        |    1 +
 package/libnfs/Config.in |   11 +++++++++++
 package/libnfs/libnfs.mk |   16 ++++++++++++++++
 3 files changed, 28 insertions(+)
 create mode 100644 package/libnfs/Config.in
 create mode 100644 package/libnfs/libnfs.mk
Yann E. MORIN - Feb. 21, 2013, 7:53 p.m.
Maxime, All,

On Thursday 21 February 2013 Maxime Hadjinlian wrote:
> nfs userspace implementation.
> This package was originally found at : https://github.com/huceke/buildroot-rbp
> By gimli <ebsi4711@gmail.com>
[--SNIP--]
> diff --git a/package/Config.in b/package/Config.in
> index ac021e8..a9cb9ed 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -404,6 +404,7 @@ source "package/gamin/Config.in"
>  source "package/libconfig/Config.in"
>  source "package/libconfuse/Config.in"
>  source "package/libfuse/Config.in"
> +source "package/libnfs/Config.in"
>  source "package/liblockfile/Config.in"

Alphabetical order, please.

> diff --git a/package/libnfs/libnfs.mk b/package/libnfs/libnfs.mk
> new file mode 100644
> index 0000000..693de46
> --- /dev/null
> +++ b/package/libnfs/libnfs.mk
> @@ -0,0 +1,16 @@
> +#############################################################
> +#
> +# libnfs
> +#
> +#############################################################
> +
> +LIBNFS_VERSION = libnfs-1.3.0
> +LIBNFS_SITE = http://github.com/sahlberg/libnfs/tarball/$(LIBNFS_VERSION)
> +LIBNFS_INSTALL_STAGING = YES
> +LIBNFS_AUTORECONF = YES
> +LIBNFS_MAKE = $(MAKE1)
> +LIBNFS_LICENSE = LGPLv2.1

It looks like it is in fact LGPLv2.1+.

There's at least one file (lib/init.c) that does not have the 'or later'
clause, but just a terse reference to the license, while all other files
I've looked at explicitly state 'or later'.

So, I'd be enclined to believe it is LGPLv2.1+.

Regards,
Yann E. MORIN.

Patch

diff --git a/package/Config.in b/package/Config.in
index ac021e8..a9cb9ed 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -404,6 +404,7 @@  source "package/gamin/Config.in"
 source "package/libconfig/Config.in"
 source "package/libconfuse/Config.in"
 source "package/libfuse/Config.in"
+source "package/libnfs/Config.in"
 source "package/liblockfile/Config.in"
 source "package/libsysfs/Config.in"
 endmenu
diff --git a/package/libnfs/Config.in b/package/libnfs/Config.in
new file mode 100644
index 0000000..29e5a43
--- /dev/null
+++ b/package/libnfs/Config.in
@@ -0,0 +1,11 @@ 
+config BR2_PACKAGE_LIBNFS
+	bool "libnfs"
+	depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
+	depends on BR2_LARGEFILE
+	help
+	  nfs userspace implementation.
+
+	  http://github.com/sahlberg/libnfs
+
+comment "libnfs requires a toolchain with RPC and LARGEFILE support"
+	depends on !(BR2_TOOLCHAIN_HAS_NATIVE_RPC && BR2_LARGEFILE)
diff --git a/package/libnfs/libnfs.mk b/package/libnfs/libnfs.mk
new file mode 100644
index 0000000..693de46
--- /dev/null
+++ b/package/libnfs/libnfs.mk
@@ -0,0 +1,16 @@ 
+#############################################################
+#
+# libnfs
+#
+#############################################################
+
+LIBNFS_VERSION = libnfs-1.3.0
+LIBNFS_SITE = http://github.com/sahlberg/libnfs/tarball/$(LIBNFS_VERSION)
+LIBNFS_INSTALL_STAGING = YES
+LIBNFS_AUTORECONF = YES
+LIBNFS_MAKE = $(MAKE1)
+LIBNFS_LICENSE = LGPLv2.1
+LIBNFS_LICENSE_FILES = LICENCE-LGPL-2.1.txt
+LIBNFS_DEPENDENCIES = host-pkgconf
+
+$(eval $(autotools-package))