All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] package/lpeg: add missing LPEG_LICENSE_FILES
@ 2023-01-13 13:44 Nicolas Carrier
  2023-01-14 21:00 ` Yann E. MORIN
  2023-01-16 14:45 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Nicolas Carrier @ 2023-01-13 13:44 UTC (permalink / raw)
  To: buildroot@buildroot.org

[-- Attachment #1: Type: text/plain, Size: 102 bytes --]

The lpeg.html file declares the licensing terms at its bottom, so it
should work as a license file.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-package-lpeg-add-missing-LPEG_LICENSE_FILES.patch --]
[-- Type: text/x-patch; name="0001-package-lpeg-add-missing-LPEG_LICENSE_FILES.patch", Size: 1204 bytes --]

From 12007e85d75daf941b8e82741e14ee1cb9c61893 Mon Sep 17 00:00:00 2001
From: Nicolas Carrier <nicolas.carrier@orolia.com>
Date: Fri, 13 Jan 2023 14:39:53 +0100
Subject: [PATCH 1/1] package/lpeg: add missing LPEG_LICENSE_FILES

The lpeg.html file declares the licensing terms at its bottom, so it
should work as a license file.

Signed-off-by: Nicolas Carrier <nicolas.carrier@orolia.com>
---
 package/lpeg/lpeg.hash | 3 +++
 package/lpeg/lpeg.mk   | 1 +
 2 files changed, 4 insertions(+)

diff --git a/package/lpeg/lpeg.hash b/package/lpeg/lpeg.hash
index 1ccaf242c4..f480ac6483 100644
--- a/package/lpeg/lpeg.hash
+++ b/package/lpeg/lpeg.hash
@@ -1,2 +1,5 @@
 # computed by luarocks/buildroot
 sha256  e0d0d687897f06588558168eeb1902ac41a11edd1b58f1aa61b99d0ea0abbfbc  lpeg-1.0.2-1.src.rock
+# computed locally
+sha256  2b80a8cce793e008ba433e5e0184f20aca4a67ec741439fafd86a874a6a91c49  lpeg-1.0.2/lpeg.html
+
diff --git a/package/lpeg/lpeg.mk b/package/lpeg/lpeg.mk
index cdb2e81a5f..82c733904b 100644
--- a/package/lpeg/lpeg.mk
+++ b/package/lpeg/lpeg.mk
@@ -6,5 +6,6 @@
 
 LPEG_VERSION = 1.0.2-1
 LPEG_LICENSE = MIT
+LPEG_LICENSE_FILES = lpeg-1.0.2/lpeg.html
 
 $(eval $(luarocks-package))
-- 
2.30.2


[-- Attachment #3: Type: text/plain, Size: 150 bytes --]

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] package/lpeg: add missing LPEG_LICENSE_FILES
  2023-01-13 13:44 [Buildroot] package/lpeg: add missing LPEG_LICENSE_FILES Nicolas Carrier
@ 2023-01-14 21:00 ` Yann E. MORIN
  2023-01-16 14:45 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2023-01-14 21:00 UTC (permalink / raw)
  To: Nicolas Carrier; +Cc: buildroot@buildroot.org

Nicolas, All,

On 2023-01-13 13:44 +0000, Nicolas Carrier spake thusly:
> The lpeg.html file declares the licensing terms at its bottom, so it
> should work as a license file.

> From 12007e85d75daf941b8e82741e14ee1cb9c61893 Mon Sep 17 00:00:00 2001
> From: Nicolas Carrier <nicolas.carrier@orolia.com>
> Date: Fri, 13 Jan 2023 14:39:53 +0100
> Subject: [PATCH 1/1] package/lpeg: add missing LPEG_LICENSE_FILES
> 
> The lpeg.html file declares the licensing terms at its bottom, so it
> should work as a license file.
> 
> Signed-off-by: Nicolas Carrier <nicolas.carrier@orolia.com>
> ---
>  package/lpeg/lpeg.hash | 3 +++
>  package/lpeg/lpeg.mk   | 1 +
>  2 files changed, 4 insertions(+)
> 
> diff --git a/package/lpeg/lpeg.hash b/package/lpeg/lpeg.hash
> index 1ccaf242c4..f480ac6483 100644
> --- a/package/lpeg/lpeg.hash
> +++ b/package/lpeg/lpeg.hash
> @@ -1,2 +1,5 @@
>  # computed by luarocks/buildroot
>  sha256  e0d0d687897f06588558168eeb1902ac41a11edd1b58f1aa61b99d0ea0abbfbc  lpeg-1.0.2-1.src.rock
> +# computed locally
> +sha256  2b80a8cce793e008ba433e5e0184f20aca4a67ec741439fafd86a874a6a91c49  lpeg-1.0.2/lpeg.html
> +

    $ make check-package
    package/lpeg/lpeg.hash:5: empty line at end of file

> diff --git a/package/lpeg/lpeg.mk b/package/lpeg/lpeg.mk
> index cdb2e81a5f..82c733904b 100644
> --- a/package/lpeg/lpeg.mk
> +++ b/package/lpeg/lpeg.mk
> @@ -6,5 +6,6 @@
>  
>  LPEG_VERSION = 1.0.2-1
>  LPEG_LICENSE = MIT
> +LPEG_LICENSE_FILES = lpeg-1.0.2/lpeg.html

I've changed that to use $(LPEG_SUBDIR), which is autocomputed by the
luarosk-package infra to contain the proper package-version string.

Applied to master with that fixed, thanks.

Regards,
Yann E. MORIN.

>  
>  $(eval $(luarocks-package))
> -- 
> 2.30.2
> 

> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot


-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Buildroot] package/lpeg: add missing LPEG_LICENSE_FILES
  2023-01-13 13:44 [Buildroot] package/lpeg: add missing LPEG_LICENSE_FILES Nicolas Carrier
  2023-01-14 21:00 ` Yann E. MORIN
@ 2023-01-16 14:45 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2023-01-16 14:45 UTC (permalink / raw)
  To: Nicolas Carrier; +Cc: buildroot@buildroot.org

>>>>> "Nicolas" == Nicolas Carrier <Nicolas.Carrier@orolia.com> writes:

 > The lpeg.html file declares the licensing terms at its bottom, so it
 > should work as a license file.

Committed to 2022.11.x and 2022.02.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-01-16 14:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-13 13:44 [Buildroot] package/lpeg: add missing LPEG_LICENSE_FILES Nicolas Carrier
2023-01-14 21:00 ` Yann E. MORIN
2023-01-16 14:45 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.