mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH v1 1/5] add host gc
@ 2022-09-07 13:21 Oleksij Rempel
  2022-09-07 13:21 ` [ptxdist] [PATCH v1 2/5] add host libunsitring Oleksij Rempel
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Oleksij Rempel @ 2022-09-07 13:21 UTC (permalink / raw)
  To: ptxdist; +Cc: Oleksij Rempel

This package is needed by guile tools

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 rules/host-gc.in   |  4 ++++
 rules/host-gc.make | 32 ++++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)
 create mode 100644 rules/host-gc.in
 create mode 100644 rules/host-gc.make

diff --git a/rules/host-gc.in b/rules/host-gc.in
new file mode 100644
index 000000000..2dda15c91
--- /dev/null
+++ b/rules/host-gc.in
@@ -0,0 +1,4 @@
+## SECTION=hosttools_noprompt_ptx
+
+config HOST_GC
+	bool
diff --git a/rules/host-gc.make b/rules/host-gc.make
new file mode 100644
index 000000000..888bfe244
--- /dev/null
+++ b/rules/host-gc.make
@@ -0,0 +1,32 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2022 by Marc Kleine-Budde <mkl@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_GC) += host-gc
+
+#
+# Paths and names
+#
+HOST_GC_VERSION	:= 8.2.2
+HOST_GC_MD5	:= 787177b1b15aa19ffa0d61d8f508b69d
+HOST_GC		:= gc-$(HOST_GC_VERSION)
+HOST_GC_SUFFIX	:= tar.gz
+HOST_GC_URL	:= https://www.hboehm.info/gc/gc_source/$(HOST_GC).$(HOST_GC_SUFFIX)
+HOST_GC_SOURCE	:= $(SRCDIR)/$(HOST_GC).$(HOST_GC_SUFFIX)
+HOST_GC_DIR	:= $(HOST_BUILDDIR)/$(HOST_GC)
+HOST_GC_LICENSE	:= unknown
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HOST_GC_CONF_TOOL	:= autoconf
+
+# vim: syntax=make
-- 
2.30.2




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

* [ptxdist] [PATCH v1 2/5] add host libunsitring
  2022-09-07 13:21 [ptxdist] [PATCH v1 1/5] add host gc Oleksij Rempel
@ 2022-09-07 13:21 ` Oleksij Rempel
  2022-09-09  9:53   ` Michael Olbrich
  2022-09-07 13:21 ` [ptxdist] [PATCH v1 3/5] add host guile tools Oleksij Rempel
                   ` (4 subsequent siblings)
  5 siblings, 1 reply; 9+ messages in thread
From: Oleksij Rempel @ 2022-09-07 13:21 UTC (permalink / raw)
  To: ptxdist; +Cc: Oleksij Rempel

This package is needed by guile tools

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 rules/host-libunistring.in   |  4 ++++
 rules/host-libunistring.make | 38 ++++++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+)
 create mode 100644 rules/host-libunistring.in
 create mode 100644 rules/host-libunistring.make

diff --git a/rules/host-libunistring.in b/rules/host-libunistring.in
new file mode 100644
index 000000000..b501a8d12
--- /dev/null
+++ b/rules/host-libunistring.in
@@ -0,0 +1,4 @@
+## SECTION=hosttools_noprompt_ptx
+
+config HOST_LIBUNISTRING
+	bool
diff --git a/rules/host-libunistring.make b/rules/host-libunistring.make
new file mode 100644
index 000000000..21b14a57b
--- /dev/null
+++ b/rules/host-libunistring.make
@@ -0,0 +1,38 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2022 by Marc Kleine-Budde <mkl@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_LIBUNISTRING) += host-libunistring
+
+#
+# Paths and names
+#
+HOST_LIBUNISTRING_VERSION	:= 1.0
+HOST_LIBUNISTRING_MD5	:= 88752c7859212f9c7a0f6cbf7a273535
+HOST_LIBUNISTRING		:= libunistring-$(HOST_LIBUNISTRING_VERSION)
+HOST_LIBUNISTRING_SUFFIX	:= tar.xz
+HOST_LIBUNISTRING_URL	:= https://ftp.gnu.org/gnu/libunistring/$(HOST_LIBUNISTRING).$(HOST_LIBUNISTRING_SUFFIX)
+HOST_LIBUNISTRING_SOURCE	:= $(SRCDIR)/$(HOST_LIBUNISTRING).$(HOST_LIBUNISTRING_SUFFIX)
+HOST_LIBUNISTRING_DIR	:= $(HOST_BUILDDIR)/$(HOST_LIBUNISTRING)
+HOST_LIBUNISTRING_LICENSE	:= GPLv3
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+HOST_LIBUNISTRING_CONF_TOOL := autoconf
+HOST_LIBUNISTRING_CONF_OPT :=  \
+	$(HOST_AUTOCONF)
+HOST_LIBUNISTRING_MAKE_OPT := V=1
+
+# vim: syntax=make
-- 
2.30.2




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

* [ptxdist] [PATCH v1 3/5] add host guile tools
  2022-09-07 13:21 [ptxdist] [PATCH v1 1/5] add host gc Oleksij Rempel
  2022-09-07 13:21 ` [ptxdist] [PATCH v1 2/5] add host libunsitring Oleksij Rempel
@ 2022-09-07 13:21 ` Oleksij Rempel
  2022-09-09  9:54   ` Michael Olbrich
  2022-09-07 13:21 ` [ptxdist] [PATCH v1 4/5] add host autotools-autogen Oleksij Rempel
                   ` (3 subsequent siblings)
  5 siblings, 1 reply; 9+ messages in thread
From: Oleksij Rempel @ 2022-09-07 13:21 UTC (permalink / raw)
  To: ptxdist; +Cc: Oleksij Rempel

This package is needed by autotools-autogen

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 rules/host-guile.in   |  7 +++++++
 rules/host-guile.make | 33 +++++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+)
 create mode 100644 rules/host-guile.in
 create mode 100644 rules/host-guile.make

diff --git a/rules/host-guile.in b/rules/host-guile.in
new file mode 100644
index 000000000..f548b9ad3
--- /dev/null
+++ b/rules/host-guile.in
@@ -0,0 +1,7 @@
+## SECTION=hosttools_noprompt_ptx
+
+config HOST_GUILE
+	bool
+	select HOST_LIBUNISTRING
+	select HOST_LIBFFI
+	select HOST_GC
diff --git a/rules/host-guile.make b/rules/host-guile.make
new file mode 100644
index 000000000..1b1043d26
--- /dev/null
+++ b/rules/host-guile.make
@@ -0,0 +1,33 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2022 by Marc Kleine-Budde <mkl@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_GUILE) += host-guile
+
+#
+# Paths and names
+#
+HOST_GUILE_VERSION	:= 2.0.14
+HOST_GUILE_MD5		:= c64977c775effd19393364b3018fd8cd
+HOST_GUILE		:= guile-$(HOST_GUILE_VERSION)
+HOST_GUILE_SUFFIX	:= tar.xz
+HOST_GUILE_URL		:= https://ftp.gnu.org/gnu/guile/$(HOST_GUILE).$(HOST_GUILE_SUFFIX)
+HOST_GUILE_SOURCE	:= $(SRCDIR)/$(HOST_GUILE).$(HOST_GUILE_SUFFIX)
+HOST_GUILE_DIR		:= $(HOST_BUILDDIR)/$(HOST_GUILE)
+HOST_GUILE_LICENSE	:= GPLv3
+HOST_GUILE_DEVPKG	:= NO
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HOST_GUILE_CONF_TOOL := autoconf
+
+# vim: syntax=make
-- 
2.30.2




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

* [ptxdist] [PATCH v1 4/5] add host autotools-autogen
  2022-09-07 13:21 [ptxdist] [PATCH v1 1/5] add host gc Oleksij Rempel
  2022-09-07 13:21 ` [ptxdist] [PATCH v1 2/5] add host libunsitring Oleksij Rempel
  2022-09-07 13:21 ` [ptxdist] [PATCH v1 3/5] add host guile tools Oleksij Rempel
@ 2022-09-07 13:21 ` Oleksij Rempel
  2022-09-07 13:21 ` [ptxdist] [PATCH v1 5/5] add tcpreplay Oleksij Rempel
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: Oleksij Rempel @ 2022-09-07 13:21 UTC (permalink / raw)
  To: ptxdist; +Cc: Oleksij Rempel

This package is needed by tcpreplay

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 rules/host-autotools-autogen.in   |  5 +++++
 rules/host-autotools-autogen.make | 35 +++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+)
 create mode 100644 rules/host-autotools-autogen.in
 create mode 100644 rules/host-autotools-autogen.make

diff --git a/rules/host-autotools-autogen.in b/rules/host-autotools-autogen.in
new file mode 100644
index 000000000..1d93636fd
--- /dev/null
+++ b/rules/host-autotools-autogen.in
@@ -0,0 +1,5 @@
+## SECTION=hosttools_noprompt_ptx
+
+config HOST_AUTOTOOLS_AUTOGEN
+	bool
+	select HOST_GUILE
diff --git a/rules/host-autotools-autogen.make b/rules/host-autotools-autogen.make
new file mode 100644
index 000000000..5981dd0f6
--- /dev/null
+++ b/rules/host-autotools-autogen.make
@@ -0,0 +1,35 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2022 by Marc Kleine-Budde <mkl@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_AUTOTOOLS_AUTOGEN) += host-autotools-autogen
+
+#
+# Paths and names
+#
+HOST_AUTOTOOLS_AUTOGEN_VERSION	:= 5.18.12
+HOST_AUTOTOOLS_AUTOGEN_MD5	:= 62e8d5fcc6dde13631bd54fbd2dde07a
+HOST_AUTOTOOLS_AUTOGEN		:= autogen-$(HOST_AUTOTOOLS_AUTOGEN_VERSION)
+HOST_AUTOTOOLS_AUTOGEN_SUFFIX	:= tar.xz
+HOST_AUTOTOOLS_AUTOGEN_URL	:= https://ftp.gnu.org/gnu/autogen/rel5.18.12/$(HOST_AUTOTOOLS_AUTOGEN).$(HOST_AUTOTOOLS_AUTOGEN_SUFFIX)
+HOST_AUTOTOOLS_AUTOGEN_SOURCE	:= $(SRCDIR)/$(HOST_AUTOTOOLS_AUTOGEN).$(HOST_AUTOTOOLS_AUTOGEN_SUFFIX)
+HOST_AUTOTOOLS_AUTOGEN_DIR	:= $(HOST_BUILDDIR)/$(HOST_AUTOTOOLS_AUTOGEN)
+HOST_AUTOTOOLS_AUTOGEN_LICENSE	:= GPLv3
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+HOST_AUTOTOOLS_AUTOGEN_CONF_TOOL	:= autoconf
+
+# vim: syntax=make
-- 
2.30.2




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

* [ptxdist] [PATCH v1 5/5] add tcpreplay
  2022-09-07 13:21 [ptxdist] [PATCH v1 1/5] add host gc Oleksij Rempel
                   ` (2 preceding siblings ...)
  2022-09-07 13:21 ` [ptxdist] [PATCH v1 4/5] add host autotools-autogen Oleksij Rempel
@ 2022-09-07 13:21 ` Oleksij Rempel
  2022-09-09  9:51 ` [ptxdist] [PATCH v1 1/5] add host gc Michael Olbrich
  2022-09-09  9:57 ` Michael Olbrich
  5 siblings, 0 replies; 9+ messages in thread
From: Oleksij Rempel @ 2022-09-07 13:21 UTC (permalink / raw)
  To: ptxdist; +Cc: Oleksij Rempel

Add tcpreplay for network testing

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 patches/tcpreplay-4.4.2/autogen.sh |  3 ++
 rules/tcpreplay.in                 | 10 ++++
 rules/tcpreplay.make               | 74 ++++++++++++++++++++++++++++++
 3 files changed, 87 insertions(+)
 create mode 100755 patches/tcpreplay-4.4.2/autogen.sh
 create mode 100644 rules/tcpreplay.in
 create mode 100644 rules/tcpreplay.make

diff --git a/patches/tcpreplay-4.4.2/autogen.sh b/patches/tcpreplay-4.4.2/autogen.sh
new file mode 100755
index 000000000..9992a42b2
--- /dev/null
+++ b/patches/tcpreplay-4.4.2/autogen.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+exec ${PWD}/autogen.sh
diff --git a/rules/tcpreplay.in b/rules/tcpreplay.in
new file mode 100644
index 000000000..13507be15
--- /dev/null
+++ b/rules/tcpreplay.in
@@ -0,0 +1,10 @@
+## SECTION=networking
+
+config TCPREPLAY
+	tristate
+	select HOST_AUTOTOOLS_AUTOGEN
+	select LIBPCAP
+	prompt "tcpreplay"
+	help
+	  Tcpreplay is a suite of free Open Source utilities for editing and
+	  replaying previously captured network traffic.
diff --git a/rules/tcpreplay.make b/rules/tcpreplay.make
new file mode 100644
index 000000000..6b5c5f261
--- /dev/null
+++ b/rules/tcpreplay.make
@@ -0,0 +1,74 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2022 by Oleksij Rempel <o.rempel@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_TCPREPLAY) += tcpreplay
+
+#
+# Paths and names
+#
+TCPREPLAY_VERSION	:= 4.4.2
+TCPREPLAY_MD5		:= a557d08da49a7d7c2f231299ef9354d1
+TCPREPLAY		:= tcpreplay-$(TCPREPLAY_VERSION)
+TCPREPLAY_URL		:= file://local_src/tcpreplay
+TCPREPLAY_SUFFIX	:= tar.gz
+TCPREPLAY_URL		:= https://github.com/appneta/tcpreplay/archive/$(TCPREPLAY_VERSION).$(TCPREPLAY_SUFFIX)
+TCPREPLAY_SOURCE	:= $(SRCDIR)/$(TCPREPLAY).$(TCPREPLAY_SUFFIX)
+TCPREPLAY_DIR		:= $(BUILDDIR)/$(TCPREPLAY)
+TCPREPLAY_BUILD_OOT	:= YES
+TCPREPLAY_LICENSE	:= GPLv3
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+TCPREPLAY_CONF_TOOL := autoconf
+TCPREPLAY_CONF_OPT := \
+	$(CROSS_AUTOCONF_USR) \
+	--with-libpcap=$(PTXDIST_SYSROOT_TARGET)/usr
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/tcpreplay.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, tcpreplay)
+	@$(call install_fixup, tcpreplay, PRIORITY, optional)
+	@$(call install_fixup, tcpreplay, SECTION, base)
+	@$(call install_fixup, tcpreplay, AUTHOR, "Oleksij Rempel <o.rempel@pengutronix.de>")
+	@$(call install_fixup, tcpreplay, DESCRIPTION, "TODO tcpreplay")
+
+#	# This is an example only. Adapt it to your requirements. Read the
+#	# documentation's section "Make it Work" in chapter "Adding new Packages"
+#	# how to prepare this content or/and read chapter
+#	# "Rule File Macro Reference" to get an idea of the available macros
+#	# you can use here and how to use them.
+
+#	# install binary (note: may fail, if there is no binary)
+	@$(call install_copy, tcpreplay, 0, 0, 0755, -, /usr/bin/tcpreplay)
+
+	@$(call install_finish, tcpreplay)
+
+	@$(call touch)
+
+# ----------------------------------------------------------------------------
+# Clean
+# ----------------------------------------------------------------------------
+
+#$(STATEDIR)/tcpreplay.clean:
+#	@$(call targetinfo)
+#	@$(call clean_pkg, TCPREPLAY)
+
+# vim: syntax=make
-- 
2.30.2




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

* Re: [ptxdist] [PATCH v1 1/5] add host gc
  2022-09-07 13:21 [ptxdist] [PATCH v1 1/5] add host gc Oleksij Rempel
                   ` (3 preceding siblings ...)
  2022-09-07 13:21 ` [ptxdist] [PATCH v1 5/5] add tcpreplay Oleksij Rempel
@ 2022-09-09  9:51 ` Michael Olbrich
  2022-09-09  9:57 ` Michael Olbrich
  5 siblings, 0 replies; 9+ messages in thread
From: Michael Olbrich @ 2022-09-09  9:51 UTC (permalink / raw)
  To: Oleksij Rempel; +Cc: ptxdist

On Wed, Sep 07, 2022 at 03:21:21PM +0200, Oleksij Rempel wrote:
> This package is needed by guile tools
> 
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> ---
>  rules/host-gc.in   |  4 ++++
>  rules/host-gc.make | 32 ++++++++++++++++++++++++++++++++
>  2 files changed, 36 insertions(+)
>  create mode 100644 rules/host-gc.in
>  create mode 100644 rules/host-gc.make
> 
> diff --git a/rules/host-gc.in b/rules/host-gc.in
> new file mode 100644
> index 000000000..2dda15c91
> --- /dev/null
> +++ b/rules/host-gc.in
> @@ -0,0 +1,4 @@
> +## SECTION=hosttools_noprompt_ptx
> +
> +config HOST_GC
> +	bool
> diff --git a/rules/host-gc.make b/rules/host-gc.make
> new file mode 100644
> index 000000000..888bfe244
> --- /dev/null
> +++ b/rules/host-gc.make
> @@ -0,0 +1,32 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2022 by Marc Kleine-Budde <mkl@pengutronix.de>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +HOST_PACKAGES-$(PTXCONF_HOST_GC) += host-gc
> +
> +#
> +# Paths and names
> +#
> +HOST_GC_VERSION	:= 8.2.2
> +HOST_GC_MD5	:= 787177b1b15aa19ffa0d61d8f508b69d
> +HOST_GC		:= gc-$(HOST_GC_VERSION)
> +HOST_GC_SUFFIX	:= tar.gz
> +HOST_GC_URL	:= https://www.hboehm.info/gc/gc_source/$(HOST_GC).$(HOST_GC_SUFFIX)
> +HOST_GC_SOURCE	:= $(SRCDIR)/$(HOST_GC).$(HOST_GC_SUFFIX)
> +HOST_GC_DIR	:= $(HOST_BUILDDIR)/$(HOST_GC)
> +HOST_GC_LICENSE	:= unknown

Please specify the license (with license files).

Michael

> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +HOST_GC_CONF_TOOL	:= autoconf
> +
> +# vim: syntax=make
> -- 
> 2.30.2
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



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

* Re: [ptxdist] [PATCH v1 2/5] add host libunsitring
  2022-09-07 13:21 ` [ptxdist] [PATCH v1 2/5] add host libunsitring Oleksij Rempel
@ 2022-09-09  9:53   ` Michael Olbrich
  0 siblings, 0 replies; 9+ messages in thread
From: Michael Olbrich @ 2022-09-09  9:53 UTC (permalink / raw)
  To: Oleksij Rempel; +Cc: ptxdist

On Wed, Sep 07, 2022 at 03:21:22PM +0200, Oleksij Rempel wrote:
> This package is needed by guile tools
> 
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> ---
>  rules/host-libunistring.in   |  4 ++++
>  rules/host-libunistring.make | 38 ++++++++++++++++++++++++++++++++++++
>  2 files changed, 42 insertions(+)
>  create mode 100644 rules/host-libunistring.in
>  create mode 100644 rules/host-libunistring.make
> 
> diff --git a/rules/host-libunistring.in b/rules/host-libunistring.in
> new file mode 100644
> index 000000000..b501a8d12
> --- /dev/null
> +++ b/rules/host-libunistring.in
> @@ -0,0 +1,4 @@
> +## SECTION=hosttools_noprompt_ptx
> +
> +config HOST_LIBUNISTRING
> +	bool
> diff --git a/rules/host-libunistring.make b/rules/host-libunistring.make
> new file mode 100644
> index 000000000..21b14a57b
> --- /dev/null
> +++ b/rules/host-libunistring.make
> @@ -0,0 +1,38 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2022 by Marc Kleine-Budde <mkl@pengutronix.de>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +HOST_PACKAGES-$(PTXCONF_HOST_LIBUNISTRING) += host-libunistring
> +
> +#
> +# Paths and names
> +#
> +HOST_LIBUNISTRING_VERSION	:= 1.0
> +HOST_LIBUNISTRING_MD5	:= 88752c7859212f9c7a0f6cbf7a273535
> +HOST_LIBUNISTRING		:= libunistring-$(HOST_LIBUNISTRING_VERSION)
> +HOST_LIBUNISTRING_SUFFIX	:= tar.xz
> +HOST_LIBUNISTRING_URL	:= https://ftp.gnu.org/gnu/libunistring/$(HOST_LIBUNISTRING).$(HOST_LIBUNISTRING_SUFFIX)
> +HOST_LIBUNISTRING_SOURCE	:= $(SRCDIR)/$(HOST_LIBUNISTRING).$(HOST_LIBUNISTRING_SUFFIX)
> +HOST_LIBUNISTRING_DIR	:= $(HOST_BUILDDIR)/$(HOST_LIBUNISTRING)
> +HOST_LIBUNISTRING_LICENSE	:= GPLv3

This looks wrong. I've seen files with LGPLv2+ and (LGPLv3+ or GPLv2).
There may be others. And use SPDX identifiers and add the license files.

Michael

> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +#
> +# autoconf
> +#
> +HOST_LIBUNISTRING_CONF_TOOL := autoconf
> +HOST_LIBUNISTRING_CONF_OPT :=  \
> +	$(HOST_AUTOCONF)
> +HOST_LIBUNISTRING_MAKE_OPT := V=1
> +
> +# vim: syntax=make
> -- 
> 2.30.2
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



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

* Re: [ptxdist] [PATCH v1 3/5] add host guile tools
  2022-09-07 13:21 ` [ptxdist] [PATCH v1 3/5] add host guile tools Oleksij Rempel
@ 2022-09-09  9:54   ` Michael Olbrich
  0 siblings, 0 replies; 9+ messages in thread
From: Michael Olbrich @ 2022-09-09  9:54 UTC (permalink / raw)
  To: Oleksij Rempel; +Cc: ptxdist

On Wed, Sep 07, 2022 at 03:21:23PM +0200, Oleksij Rempel wrote:
> This package is needed by autotools-autogen
> 
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> ---
>  rules/host-guile.in   |  7 +++++++
>  rules/host-guile.make | 33 +++++++++++++++++++++++++++++++++
>  2 files changed, 40 insertions(+)
>  create mode 100644 rules/host-guile.in
>  create mode 100644 rules/host-guile.make
> 
> diff --git a/rules/host-guile.in b/rules/host-guile.in
> new file mode 100644
> index 000000000..f548b9ad3
> --- /dev/null
> +++ b/rules/host-guile.in
> @@ -0,0 +1,7 @@
> +## SECTION=hosttools_noprompt_ptx
> +
> +config HOST_GUILE
> +	bool
> +	select HOST_LIBUNISTRING
> +	select HOST_LIBFFI
> +	select HOST_GC
> diff --git a/rules/host-guile.make b/rules/host-guile.make
> new file mode 100644
> index 000000000..1b1043d26
> --- /dev/null
> +++ b/rules/host-guile.make
> @@ -0,0 +1,33 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2022 by Marc Kleine-Budde <mkl@pengutronix.de>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +HOST_PACKAGES-$(PTXCONF_HOST_GUILE) += host-guile
> +
> +#
> +# Paths and names
> +#
> +HOST_GUILE_VERSION	:= 2.0.14
> +HOST_GUILE_MD5		:= c64977c775effd19393364b3018fd8cd
> +HOST_GUILE		:= guile-$(HOST_GUILE_VERSION)
> +HOST_GUILE_SUFFIX	:= tar.xz
> +HOST_GUILE_URL		:= https://ftp.gnu.org/gnu/guile/$(HOST_GUILE).$(HOST_GUILE_SUFFIX)
> +HOST_GUILE_SOURCE	:= $(SRCDIR)/$(HOST_GUILE).$(HOST_GUILE_SUFFIX)
> +HOST_GUILE_DIR		:= $(HOST_BUILDDIR)/$(HOST_GUILE)
> +HOST_GUILE_LICENSE	:= GPLv3

SPDX identifiers and license files. The same for the other patches.

Michael

> +HOST_GUILE_DEVPKG	:= NO
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +HOST_GUILE_CONF_TOOL := autoconf
> +
> +# vim: syntax=make
> -- 
> 2.30.2
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



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

* Re: [ptxdist] [PATCH v1 1/5] add host gc
  2022-09-07 13:21 [ptxdist] [PATCH v1 1/5] add host gc Oleksij Rempel
                   ` (4 preceding siblings ...)
  2022-09-09  9:51 ` [ptxdist] [PATCH v1 1/5] add host gc Michael Olbrich
@ 2022-09-09  9:57 ` Michael Olbrich
  5 siblings, 0 replies; 9+ messages in thread
From: Michael Olbrich @ 2022-09-09  9:57 UTC (permalink / raw)
  To: Oleksij Rempel; +Cc: ptxdist

On Wed, Sep 07, 2022 at 03:21:21PM +0200, Oleksij Rempel wrote:
> This package is needed by guile tools
> 
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> ---
>  rules/host-gc.in   |  4 ++++
>  rules/host-gc.make | 32 ++++++++++++++++++++++++++++++++
>  2 files changed, 36 insertions(+)
>  create mode 100644 rules/host-gc.in
>  create mode 100644 rules/host-gc.make
> 
> diff --git a/rules/host-gc.in b/rules/host-gc.in
> new file mode 100644
> index 000000000..2dda15c91
> --- /dev/null
> +++ b/rules/host-gc.in
> @@ -0,0 +1,4 @@
> +## SECTION=hosttools_noprompt_ptx

hosttools_noprompt_ptx should only be used if the package must not be used
in the platformconfig. In general hosttools_noprompt should be used.

> +
> +config HOST_GC
> +	bool

	default y if ALLYES

For all host packages.

Michael

> diff --git a/rules/host-gc.make b/rules/host-gc.make
> new file mode 100644
> index 000000000..888bfe244
> --- /dev/null
> +++ b/rules/host-gc.make
> @@ -0,0 +1,32 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2022 by Marc Kleine-Budde <mkl@pengutronix.de>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +HOST_PACKAGES-$(PTXCONF_HOST_GC) += host-gc
> +
> +#
> +# Paths and names
> +#
> +HOST_GC_VERSION	:= 8.2.2
> +HOST_GC_MD5	:= 787177b1b15aa19ffa0d61d8f508b69d
> +HOST_GC		:= gc-$(HOST_GC_VERSION)
> +HOST_GC_SUFFIX	:= tar.gz
> +HOST_GC_URL	:= https://www.hboehm.info/gc/gc_source/$(HOST_GC).$(HOST_GC_SUFFIX)
> +HOST_GC_SOURCE	:= $(SRCDIR)/$(HOST_GC).$(HOST_GC_SUFFIX)
> +HOST_GC_DIR	:= $(HOST_BUILDDIR)/$(HOST_GC)
> +HOST_GC_LICENSE	:= unknown
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +HOST_GC_CONF_TOOL	:= autoconf
> +
> +# vim: syntax=make
> -- 
> 2.30.2
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



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

end of thread, other threads:[~2022-09-09  9:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-07 13:21 [ptxdist] [PATCH v1 1/5] add host gc Oleksij Rempel
2022-09-07 13:21 ` [ptxdist] [PATCH v1 2/5] add host libunsitring Oleksij Rempel
2022-09-09  9:53   ` Michael Olbrich
2022-09-07 13:21 ` [ptxdist] [PATCH v1 3/5] add host guile tools Oleksij Rempel
2022-09-09  9:54   ` Michael Olbrich
2022-09-07 13:21 ` [ptxdist] [PATCH v1 4/5] add host autotools-autogen Oleksij Rempel
2022-09-07 13:21 ` [ptxdist] [PATCH v1 5/5] add tcpreplay Oleksij Rempel
2022-09-09  9:51 ` [ptxdist] [PATCH v1 1/5] add host gc Michael Olbrich
2022-09-09  9:57 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox