mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] ptxdist: add socat package 1.7.2.1
@ 2013-04-17 10:47 Michael Grzeschik
  2013-04-18 12:49 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Grzeschik @ 2013-04-17 10:47 UTC (permalink / raw)
  To: ptxdist

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
---
 rules/socat.in   | 11 +++++++++++
 rules/socat.make | 47 +++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+)
 create mode 100644 rules/socat.in
 create mode 100644 rules/socat.make

diff --git a/rules/socat.in b/rules/socat.in
new file mode 100644
index 0000000..f3e69a0
--- /dev/null
+++ b/rules/socat.in
@@ -0,0 +1,11 @@
+## SECTION=networking
+
+config SOCAT
+	tristate
+	prompt "socat"
+	help
+	  Socat (for SOcket CAT) establishes two bidirectional byte streams and
+	  transfers data between them. Data channels may be files, pipes, devices
+	  (terminal or modem, etc.), or sockets (Unix, IPv4, IPv6, raw, UDP, TCP,
+	  SSL). It provides forking, logging and tracing, different modes for
+	  interprocess communication and many more options.
diff --git a/rules/socat.make b/rules/socat.make
new file mode 100644
index 0000000..d504297
--- /dev/null
+++ b/rules/socat.make
@@ -0,0 +1,47 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2013 by Michael Grzeschik <mgr@pengutronix.de>
+#
+
+PACKAGES-$(PTXCONF_SOCAT) += socat
+
+#
+# Paths and names
+#
+SOCAT_VERSION	:= 1.7.2.1
+SOCAT_MD5	:= c807a2feb6fdd8cdbd8b075a36e8f5f4
+SOCAT		:= socat-$(SOCAT_VERSION)
+SOCAT_SUFFIX	:= tar.gz
+SOCAT_URL	:= http://www.dest-unreach.org/socat/download/$(SOCAT).$(SOCAT_SUFFIX)
+SOCAT_SOURCE	:= $(SRCDIR)/$(SOCAT).$(SOCAT_SUFFIX)
+SOCAT_DIR	:= $(BUILDDIR)/$(SOCAT)
+SOCAT_LICENSE	:= unknown
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+SOCAT_CONF_TOOL	:= autoconf
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/socat.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, socat)
+	@$(call install_fixup, socat,PRIORITY,optional)
+	@$(call install_fixup, socat,SECTION,base)
+	@$(call install_fixup, socat,AUTHOR,"Michael Grzeschik <mgr@pengutronix.de>")
+	@$(call install_fixup, socat,DESCRIPTION,missing)
+
+	@$(call install_copy, socat, 0, 0, 0755, -, /usr/bin/procan)
+	@$(call install_copy, socat, 0, 0, 0755, -, /usr/bin/filan)
+	@$(call install_copy, socat, 0, 0, 0755, -, /usr/bin/socat)
+
+	@$(call install_finish, socat)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
1.8.2.rc2


-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [PATCH] ptxdist: add socat package 1.7.2.1
  2013-04-17 10:47 [ptxdist] [PATCH] ptxdist: add socat package 1.7.2.1 Michael Grzeschik
@ 2013-04-18 12:49 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2013-04-18 12:49 UTC (permalink / raw)
  To: ptxdist

On Wed, Apr 17, 2013 at 12:47:33PM +0200, Michael Grzeschik wrote:
> Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
> ---
>  rules/socat.in   | 11 +++++++++++
>  rules/socat.make | 47 +++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 58 insertions(+)
>  create mode 100644 rules/socat.in
>  create mode 100644 rules/socat.make
> 
> diff --git a/rules/socat.in b/rules/socat.in
> new file mode 100644
> index 0000000..f3e69a0
> --- /dev/null
> +++ b/rules/socat.in
> @@ -0,0 +1,11 @@
> +## SECTION=networking
> +
> +config SOCAT
> +	tristate
> +	prompt "socat"
> +	help
> +	  Socat (for SOcket CAT) establishes two bidirectional byte streams and
> +	  transfers data between them. Data channels may be files, pipes, devices
> +	  (terminal or modem, etc.), or sockets (Unix, IPv4, IPv6, raw, UDP, TCP,
> +	  SSL). It provides forking, logging and tracing, different modes for
> +	  interprocess communication and many more options.
> diff --git a/rules/socat.make b/rules/socat.make
> new file mode 100644
> index 0000000..d504297
> --- /dev/null
> +++ b/rules/socat.make
> @@ -0,0 +1,47 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2013 by Michael Grzeschik <mgr@pengutronix.de>
> +#
> +
> +PACKAGES-$(PTXCONF_SOCAT) += socat
> +
> +#
> +# Paths and names
> +#
> +SOCAT_VERSION	:= 1.7.2.1
> +SOCAT_MD5	:= c807a2feb6fdd8cdbd8b075a36e8f5f4
> +SOCAT		:= socat-$(SOCAT_VERSION)
> +SOCAT_SUFFIX	:= tar.gz
> +SOCAT_URL	:= http://www.dest-unreach.org/socat/download/$(SOCAT).$(SOCAT_SUFFIX)
> +SOCAT_SOURCE	:= $(SRCDIR)/$(SOCAT).$(SOCAT_SUFFIX)
> +SOCAT_DIR	:= $(BUILDDIR)/$(SOCAT)
> +SOCAT_LICENSE	:= unknown
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +SOCAT_CONF_TOOL	:= autoconf

This has a lot of configure options that need to be specified.
Provied options or disable those with external depdendencies and probably
enable all the rest. Use the global option for IPv6.

Michael

> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/socat.targetinstall:
> +	@$(call targetinfo)
> +
> +	@$(call install_init, socat)
> +	@$(call install_fixup, socat,PRIORITY,optional)
> +	@$(call install_fixup, socat,SECTION,base)
> +	@$(call install_fixup, socat,AUTHOR,"Michael Grzeschik <mgr@pengutronix.de>")
> +	@$(call install_fixup, socat,DESCRIPTION,missing)
> +
> +	@$(call install_copy, socat, 0, 0, 0755, -, /usr/bin/procan)
> +	@$(call install_copy, socat, 0, 0, 0755, -, /usr/bin/filan)
> +	@$(call install_copy, socat, 0, 0, 0755, -, /usr/bin/socat)
> +
> +	@$(call install_finish, socat)
> +
> +	@$(call touch)
> +
> +# vim: syntax=make
> -- 
> 1.8.2.rc2
> 
> 
> -- 
> ptxdist mailing list
> ptxdist@pengutronix.de
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2013-04-18 12:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-17 10:47 [ptxdist] [PATCH] ptxdist: add socat package 1.7.2.1 Michael Grzeschik
2013-04-18 12:49 ` Michael Olbrich

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