From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from dude.hi.pengutronix.de ([2001:6f8:1178:2:21e:67ff:fe11:9c5c]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1USPtm-00078X-Dn for ptxdist@pengutronix.de; Wed, 17 Apr 2013 12:47:34 +0200 Received: from mgr by dude.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1USPtm-0004Ql-Ci for ptxdist@pengutronix.de; Wed, 17 Apr 2013 12:47:34 +0200 From: Michael Grzeschik Date: Wed, 17 Apr 2013 12:47:33 +0200 Message-Id: <1366195653-16982-1-git-send-email-m.grzeschik@pengutronix.de> Subject: [ptxdist] [PATCH] ptxdist: add socat package 1.7.2.1 Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Signed-off-by: Michael Grzeschik --- 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 +# + +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 ") + @$(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