package/asn1c: new host package
PATCH 1/1 package/asn1c: new host package
The asn1c is a free, open source compiler of ASN.1 specifications into C source code.
--- DEVELOPERS | 1 + package/Config.in.host | 1 + package/asn1c/Config.in.host | 11 +++++++++++ package/asn1c/asn1c.hash | 5 +++++ package/asn1c/asn1c.mk | 12 ++++++++++++ 5 files changed, 30 insertions(+) create mode 100644 package/asn1c/Config.in.host create mode 100644 package/asn1c/asn1c.hash create mode 100644 package/asn1c/asn1c.mk
DEVELOPERS +1 -0
@@ -2241,6 +2241,7 @@ N: Sergio Prado <[email protected]> F: board/toradex/apalis-imx6/ F: configs/toradex_apalis_imx6_defconfig F: package/aoetools/ +F: package/asn1c/ F: package/curlpp/ F: package/daq/ F: package/libgdiplus/
package/Config.in.host +1 -0
@@ -2,6 +2,7 @@ menu "Host utilities" source "package/aespipe/Config.in.host" source "package/android-tools/Config.in.host" + source "package/asn1c/Config.in.host" source "package/btrfs-progs/Config.in.host" source "package/cargo/Config.in.host" source "package/cbootimage/Config.in.host"
package/asn1c/Config.in.host new file +11 -0
@@ -0,0 +1,11 @@ +config BR2_PACKAGE_HOST_ASN1C + bool "host asn1c" + help + ASN.1 stands for Abstract Syntax Notation One and allows + to describe complex data structures independently of any + particular programming language. + + The asn1c is a free, open source compiler of ASN.1 + specifications into C source code. + + http://lionet.info/asn1c
package/asn1c/asn1c.hash new file +5 -0
@@ -0,0 +1,5 @@ +# Locally computed: +sha256 8007440b647ef2dd9fb73d931c33ac11764e6afb2437dbe638bb4e5fc82386b9 asn1c-0.9.28.tar.gz + +# Hash for license files: +sha256 bcc636802a52ace2255212be15fb707084af87061b5cfd37eb84dcf6a02cc48b LICENSE
package/asn1c/asn1c.mk new file +12 -0
@@ -0,0 +1,12 @@ +################################################################################ +# +# asn1c +# +################################################################################ + +ASN1C_VERSION = 0.9.28 +ASN1C_SITE = https://github.com/vlm/asn1c/releases/download/v$(ASN1C_VERSION) +ASN1C_LICENSE = BSD-2-Clause +ASN1C_LICENSE_FILES = LICENSE + +$(eval $(host-autotools-package))
Signature · 1 line
2.17.1
PATCH 1/1 package/asn1c: new host package
Hi,
Does anyone had a chance to review this patch? Do I need to rebase it and send again?
Sergio Prado
Embedded Labworks
Em sex., 10 de jan. de 2020 ?s 18:14, Sergio Prado < [email protected]> escreveu:
Quoted 93 lines
The asn1c is a free, open source compiler of ASN.1 specifications into C source code.
Signed-off-by Sergio Prado <[email protected]>--- DEVELOPERS | 1 + package/Config.in.host | 1 + package/asn1c/Config.in.host | 11 +++++++++++ package/asn1c/asn1c.hash | 5 +++++ package/asn1c/asn1c.mk | 12 ++++++++++++ 5 files changed, 30 insertions(+) create mode 100644 package/asn1c/Config.in.host create mode 100644 package/asn1c/asn1c.hash create mode 100644 package/asn1c/asn1c.mkDEVELOPERS +1
-0@@ -2241,6 +2241,7 @@ N: Sergio Prado <[email protected]> F: board/toradex/apalis-imx6/ F: configs/toradex_apalis_imx6_defconfig F: package/aoetools/ +F: package/asn1c/ F: package/curlpp/ F: package/daq/ F: package/libgdiplus/package/Config.in.host +1
-0@@ -2,6 +2,7 @@ menu "Host utilities" source "package/aespipe/Config.in.host" source "package/android-tools/Config.in.host" + source "package/asn1c/Config.in.host" source "package/btrfs-progs/Config.in.host" source "package/cargo/Config.in.host" source "package/cbootimage/Config.in.host"package/asn1c/Config.in.host new file +11
-0@@ -0,0 +1,11 @@ +config BR2_PACKAGE_HOST_ASN1C + bool "host asn1c" + help + ASN.1 stands for Abstract Syntax Notation One and allows + to describe complex data structures independently of any + particular programming language. + + The asn1c is a free, open source compiler of ASN.1 + specifications into C source code. + + http://lionet.info/asn1cpackage/asn1c/asn1c.hash new file +2
-0@@ -0,0 +1,5 @@ +# Locally computed: +sha256 8007440b647ef2dd9fb73d931c33ac11764e6afb2437dbe638bb4e5fc82386b9asn1c-0.9.28.tar.gz
package/asn1c/asn1c.hash new file +3
-0+ +# Hash for license files: +sha256 bcc636802a52ace2255212be15fb707084af87061b5cfd37eb84dcf6a02cc48bLICENSE
package/asn1c/asn1c.mk new file +8
-0@@ -0,0 +1,12 @@ +################################################################################ +# +# asn1c +# +################################################################################ + +ASN1C_VERSION = 0.9.28 +ASN1C_SITE =https://github.com/vlm/asn1c/releases/download/v$(ASN1C_VERSION)
+ASN1C_LICENSE
<https://github.com/vlm/asn1c/releases/download/v$(ASN1C_VERSION)+ASN1C_LICENSE>
= BSD-2-Clausepackage/asn1c/asn1c.mk new file +3
-1+ASN1C_LICENSE_FILES = LICENSE + +$(eval $(host-autotools-package)) --
Quoted 3 lines
2.17.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20200227/eebf4f88/attachment.html>
PATCH 1/1 package/asn1c: new host package
In reply to Sergio PradoHI Sergio,
I tested the package with: utils/test-pkg -p host-asn1c
br-arm-full [1/6]: OK
br-arm-cortex-a9-glibc [2/6]: OK
br-arm-cortex-m4-full [3/6]: OK
br-x86-64-musl [4/6]: OK
br-arm-full-static [5/6]: OK
sourcery-arm [6/6]: OKand it builds.
Just some small comment below:
Am Fr., 10. Jan. 2020 um 22:21 Uhr schrieb Sergio Prado <[email protected]>:
Quoted 5 lines
The asn1c is a free, open source compiler of ASN.1 specifications into C source code.
Signed-off-by Sergio Prado <[email protected]>
Quoted 69 lines
--- DEVELOPERS | 1 + package/Config.in.host | 1 + package/asn1c/Config.in.host | 11 +++++++++++ package/asn1c/asn1c.hash | 5 +++++ package/asn1c/asn1c.mk | 12 ++++++++++++ 5 files changed, 30 insertions(+) create mode 100644 package/asn1c/Config.in.host create mode 100644 package/asn1c/asn1c.hash create mode 100644 package/asn1c/asn1c.mkDEVELOPERS +1
-0@@ -2241,6 +2241,7 @@ N: Sergio Prado <[email protected]> F: board/toradex/apalis-imx6/ F: configs/toradex_apalis_imx6_defconfig F: package/aoetools/ +F: package/asn1c/ F: package/curlpp/ F: package/daq/ F: package/libgdiplus/package/Config.in.host +1
-0@@ -2,6 +2,7 @@ menu "Host utilities" source "package/aespipe/Config.in.host" source "package/android-tools/Config.in.host" + source "package/asn1c/Config.in.host" source "package/btrfs-progs/Config.in.host" source "package/cargo/Config.in.host" source "package/cbootimage/Config.in.host"package/asn1c/Config.in.host new file +11
-0@@ -0,0 +1,11 @@ +config BR2_PACKAGE_HOST_ASN1C + bool "host asn1c" + help + ASN.1 stands for Abstract Syntax Notation One and allows + to describe complex data structures independently of any + particular programming language. + + The asn1c is a free, open source compiler of ASN.1 + specifications into C source code. + + http://lionet.info/asn1cpackage/asn1c/asn1c.hash new file +5
-0@@ -0,0 +1,5 @@ +# Locally computed: +sha256 8007440b647ef2dd9fb73d931c33ac11764e6afb2437dbe638bb4e5fc82386b9 asn1c-0.9.28.tar.gz + +# Hash for license files: +sha256 bcc636802a52ace2255212be15fb707084af87061b5cfd37eb84dcf6a02cc48b LICENSEpackage/asn1c/asn1c.mk new file +0
-0
package/asn1c/asn1c.mk line 8
Quoted 8 lines
package/asn1c/asn1c.mk new file +8
-0@@ -0,0 +1,12 @@ +################################################################################ +# +# asn1c +# +################################################################################ + +ASN1C_VERSION = 0.9.28 +ASN1C_SITE = https://github.com/vlm/asn1c/releases/download/v$(ASN1C_VERSION)
You can use the github macro to set the <pkg>_SITE variable:ASN1C_SITE = $(call github,vlm,asn1c,v$(ASN1C_VERSION))
Quoted 11 lines
package/asn1c/asn1c.mk new file +4
-1+ASN1C_LICENSE = BSD-2-Clause +ASN1C_LICENSE_FILES = LICENSE + +$(eval $(host-autotools-package)) --2.17.1
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 2 lines
BR, Heiko
PATCH 1/1 package/asn1c: new host package
Hi Heiko,
Thanks a lot for the review. I'll send V2.
Best regards,
Sergio Prado
Embedded Labworks
Em sex., 17 de abr. de 2020 ?s 10:28, Heiko Thiery <[email protected]> escreveu:
Quoted 119 lines
HI Sergio,
I tested the package with: utils/test-pkg -p host-asn1c
br-arm-full [1/6]: OK br-arm-cortex-a9-glibc [2/6]: OK br-arm-cortex-m4-full [3/6]: OK br-x86-64-musl [4/6]: OK br-arm-full-static [5/6]: OK sourcery-arm [6/6]: OKand it builds.
Just some small comment below:
Am Fr., 10. Jan. 2020 um 22:21 Uhr schrieb Sergio Prado <[email protected]>:
Quoted 5 lines
The asn1c is a free, open source compiler of ASN.1 specifications into C source code.
Signed-off-by Sergio Prado <[email protected]>Reviewed-by Heiko Thiery <[email protected]>DEVELOPERS N: Sergio Prado <
Quoted 16 lines
--- DEVELOPERS | 1 + package/Config.in.host | 1 + package/asn1c/Config.in.host | 11 +++++++++++ package/asn1c/asn1c.hash | 5 +++++ package/asn1c/asn1c.mk | 12 ++++++++++++ 5 files changed, 30 insertions(+) create mode 100644 package/asn1c/Config.in.host create mode 100644 package/asn1c/asn1c.hash create mode 100644 package/asn1c/asn1c.mkDEVELOPERS +0
-0@@ -2241,6 +2241,7 @@ N: Sergio Prado <sergio.prado at e-labworks.com>
Quoted 42 lines
DEVELOPERS +1
-0F: board/toradex/apalis-imx6/ F: configs/toradex_apalis_imx6_defconfig F: package/aoetools/ +F: package/asn1c/ F: package/curlpp/ F: package/daq/ F: package/libgdiplus/package/Config.in.host +1
-0@@ -2,6 +2,7 @@ menu "Host utilities" source "package/aespipe/Config.in.host" source "package/android-tools/Config.in.host" + source "package/asn1c/Config.in.host" source "package/btrfs-progs/Config.in.host" source "package/cargo/Config.in.host" source "package/cbootimage/Config.in.host"package/asn1c/Config.in.host new file +11
-0@@ -0,0 +1,11 @@ +config BR2_PACKAGE_HOST_ASN1C + bool "host asn1c" + help + ASN.1 stands for Abstract Syntax Notation One and allows + to describe complex data structures independently of any + particular programming language. + + The asn1c is a free, open source compiler of ASN.1 + specifications into C source code. + + http://lionet.info/asn1cpackage/asn1c/asn1c.hash new file +0
-0package/asn1c/asn1c.hash line 2
Quoted 2 lines
package/asn1c/asn1c.hash new file +2
-0@@ -0,0 +1,5 @@ +# Locally computed: +sha256
8007440b647ef2dd9fb73d931c33ac11764e6afb2437dbe638bb4e5fc82386b9asn1c-0.9.28.tar.gzpackage/asn1c/asn1c.hash
Quoted 3 lines
package/asn1c/asn1c.hash new file +3
-0+ +# Hash for license files: +sha256
bcc636802a52ace2255212be15fb707084af87061b5cfd37eb84dcf6a02cc48bLICENSEpackage/asn1c/asn1c.mk
Quoted 7 lines
package/asn1c/asn1c.mk new file +0
-0@@ -0,0 +1,12 @@+################################################################################
package/asn1c/asn1c.mk line 4
Quoted 4 lines
package/asn1c/asn1c.mk new file +3
-0+# +# asn1c +#+################################################################################
package/asn1c/asn1c.mk
Quoted 3 lines
package/asn1c/asn1c.mk new file +3
-0+ +ASN1C_VERSION = 0.9.28 +ASN1C_SITE =https://github.com/vlm/asn1c/releases/download/v$(ASN1C_VERSION)
You can use the github macro to set the <pkg>_SITE variable:
ASN1C_SITE= $(call github,vlm,asn1c,v$(ASN1C_VERSION))Quoted 7 lines
package/asn1c/asn1c.mk new file +4
-1+ASN1C_LICENSE = BSD-2-Clause +ASN1C_LICENSE_FILES = LICENSE + +$(eval $(host-autotools-package)) --2.17.1
Quoted 9 lines
Quoted 4 lines
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot--
BR,
Heiko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20200417/c685809b/attachment.html>
PATCH 1/1 package/asn1c: new host package
In reply to Heiko ThieryHi Heiko, Sergio,
Quoted 5 lines · Heiko Thiery
package/asn1c/asn1c.mk line 8
Quoted 2 lines
package/asn1c/asn1c.mk new file +2
-0+ASN1C_VERSION = 0.9.28 +ASN1C_SITE = https://github.com/vlm/asn1c/releases/download/v$(ASN1C_VERSION)You can use the github macro to set the <pkg>_SITE variable:
ASN1C_SITE= $(call github,vlm,asn1c,v$(ASN1C_VERSION))
When the package author provides a tarball we usually prefer to use it.
If the package you wish to add does have a release section on GitHub, the maintainer may have uploaded a release tarball, or the release may just point to the automatically generated tarball from the git tag. If there is a release tarball uploaded by the maintainer, we prefer to use that since it may be slightly different (e.g. it contains a configure script so we don?t need to do AUTORECONF).
This is quoted from
https://buildroot.org/downloads/manual/manual.html#github-download-url
In this case the tarball indeed contains a pre-generated configure script.
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
PATCH 1/1 package/asn1c: new host package
Hi Baruch, Hi Sergio,
Am So., 19. Apr. 2020 um 05:41 Uhr schrieb Baruch Siach <[email protected]>:
Quoted 19 lines
Hi Heiko, Sergio,
Quoted 5 lines · Heiko Thiery
package/asn1c/asn1c.mk line 8
Quoted 2 lines
package/asn1c/asn1c.mk new file +2
-0+ASN1C_VERSION = 0.9.28 +ASN1C_SITE = https://github.com/vlm/asn1c/releases/download/v$(ASN1C_VERSION)You can use the github macro to set the <pkg>_SITE variable:
ASN1C_SITE= $(call github,vlm,asn1c,v$(ASN1C_VERSION))When the package author provides a tarball we usually prefer to use it.
If the package you wish to add does have a release section on GitHub, the maintainer may have uploaded a release tarball, or the release may just point to the automatically generated tarball from the git tag. If there is a release tarball uploaded by the maintainer, we prefer to use that since it may be slightly different (e.g. it contains a configure script so we don?t need to do AUTORECONF).
Quoted 6 lines
This is quoted from
https://buildroot.org/downloads/manual/manual.html#github-download-urlIn this case the tarball indeed contains a pre-generated configure script.
You're right. The released version should be preferred.
Quoted 6 lines
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
Sorry for that mistake.
Signature · 1 line
Heiko
PATCH 1/1 package/asn1c: new host package
Hi Heiko, Baruch,
So it looks like I don't need to rework the patch, thanks.
Best regards,
Sergio Prado
Embedded Labworks
Mobile: +55 11 97123-3420
Em dom., 19 de abr. de 2020 ?s 02:39, Heiko Thiery <[email protected]> escreveu:
Quoted 39 lines
Hi Baruch, Hi Sergio,
Am So., 19. Apr. 2020 um 05:41 Uhr schrieb Baruch Siach <[email protected]
Quoted 7 lines
:
Hi Heiko, Sergio,
Quoted 2 lines · Heiko Thiery
Review
Quoted 2 lines
(quoted diff) +2
-0+ASN1C_VERSION = 0.9.28 +ASN1C_SITE =https://github.com/vlm/asn1c/releases/download/v$(ASN1C_VERSION)
Quoted 13 lines
Quoted 3 lines
You can use the github macro to set the <pkg>_SITE variable:
ASN1C_SITE= $(call github,vlm,asn1c,v$(ASN1C_VERSION))When the package author provides a tarball we usually prefer to use it.
If the package you wish to add does have a release section on GitHub, the maintainer may have uploaded a release tarball, or the release may just point to the automatically generated tarball from the git tag. If there is a release tarball uploaded by the maintainer, we prefer to use that since it may be slightly different (e.g. it contains a configure script so we don?t need to do AUTORECONF).
Quoted 6 lines
This is quoted from
https://buildroot.org/downloads/manual/manual.html#github-download-urlIn this case the tarball indeed contains a pre-generated configure script.
You're right. The released version should be preferred.
Quoted 4 lines
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk OpenSystems
Quoted 1 line
Quoted 8 lines
=}------------------------------------------------ooO--U--Ooo------------{=
Quoted 1 line
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
Sorry for that mistake.
--
Heiko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20200419/995e940d/attachment.html>
Yann E. MORIN
AppliedPATCH 1/1 package/asn1c: new host package
In reply to Sergio PradoSergio, All,
Sorry for the long delay...
On 2020-01-10 18:14 -0300, Sergio Prado spake thusly:
Quoted 4 lines
The asn1c is a free, open source compiler of ASN.1 specifications into C source code.
Signed-off-by Sergio Prado <[email protected]>
I was a bit skeptical about adding a host package that has no in-tree user, but I can see how an ASN.1 compiler can be handy.
Applied to master, thanks.
Regards,
Yann E. MORIN.
Quoted 88 lines
--- DEVELOPERS | 1 + package/Config.in.host | 1 + package/asn1c/Config.in.host | 11 +++++++++++ package/asn1c/asn1c.hash | 5 +++++ package/asn1c/asn1c.mk | 12 ++++++++++++ 5 files changed, 30 insertions(+) create mode 100644 package/asn1c/Config.in.host create mode 100644 package/asn1c/asn1c.hash create mode 100644 package/asn1c/asn1c.mkDEVELOPERS +1
-0@@ -2241,6 +2241,7 @@ N: Sergio Prado <[email protected]> F: board/toradex/apalis-imx6/ F: configs/toradex_apalis_imx6_defconfig F: package/aoetools/ +F: package/asn1c/ F: package/curlpp/ F: package/daq/ F: package/libgdiplus/package/Config.in.host +1
-0@@ -2,6 +2,7 @@ menu "Host utilities" source "package/aespipe/Config.in.host" source "package/android-tools/Config.in.host" + source "package/asn1c/Config.in.host" source "package/btrfs-progs/Config.in.host" source "package/cargo/Config.in.host" source "package/cbootimage/Config.in.host"package/asn1c/Config.in.host new file +11
-0@@ -0,0 +1,11 @@ +config BR2_PACKAGE_HOST_ASN1C + bool "host asn1c" + help + ASN.1 stands for Abstract Syntax Notation One and allows + to describe complex data structures independently of any + particular programming language. + + The asn1c is a free, open source compiler of ASN.1 + specifications into C source code. + + http://lionet.info/asn1cpackage/asn1c/asn1c.hash new file +5
-0@@ -0,0 +1,5 @@ +# Locally computed: +sha256 8007440b647ef2dd9fb73d931c33ac11764e6afb2437dbe638bb4e5fc82386b9 asn1c-0.9.28.tar.gz + +# Hash for license files: +sha256 bcc636802a52ace2255212be15fb707084af87061b5cfd37eb84dcf6a02cc48b LICENSEpackage/asn1c/asn1c.mk new file +12
-0@@ -0,0 +1,12 @@ +################################################################################ +# +# asn1c +# +################################################################################ + +ASN1C_VERSION = 0.9.28 +ASN1C_SITE = https://github.com/vlm/asn1c/releases/download/v$(ASN1C_VERSION) +ASN1C_LICENSE = BSD-2-Clause +ASN1C_LICENSE_FILES = LICENSE + +$(eval $(host-autotools-package))Signature · 6 lines
2.17.1 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | 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. | '------------------------------^-------^------------------^--------------------'