mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] Add support for stunnel
@ 2014-05-19  8:46 Guillermo Rodriguez Garcia
  2014-06-02  7:49 ` Michael Olbrich
  0 siblings, 1 reply; 3+ messages in thread
From: Guillermo Rodriguez Garcia @ 2014-05-19  8:46 UTC (permalink / raw)
  To: ptxdist

Add support for stunnel.

Signed-off-by: Guillermo Rodriguez <guille.rodriguez@gmail.com>
---
 rules/stunnel.in   |   16 +++++++++++++
 rules/stunnel.make |   60 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+), 0 deletions(-)
 create mode 100644 rules/stunnel.in
 create mode 100644 rules/stunnel.make

diff --git a/rules/stunnel.in b/rules/stunnel.in
new file mode 100644
index 0000000..8eedc56
--- /dev/null
+++ b/rules/stunnel.in
@@ -0,0 +1,16 @@
+## SECTION=networking
+
+config STUNNEL
+ tristate
+ select OPENSSL
+ prompt "stunnel                       "
+ help
+      The stunnel program is designed to work as an SSL encryption
+      wrapper between remote client and local (inetd-startable) or
+      remote servers. The goal is to facilitate SSL encryption and
+      authentication for non-SSL-aware programs.
+
+      stunnel can be used to add  SSL  functionality  to  commonly
+      used  inetd  daemons  like  POP-2,  POP-3  and  IMAP servers
+      without any changes in the programs' code.
+
diff --git a/rules/stunnel.make b/rules/stunnel.make
new file mode 100644
index 0000000..9e6af6f
--- /dev/null
+++ b/rules/stunnel.make
@@ -0,0 +1,60 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2014 by Guillermo Rodriguez <guille.rodriguez@gmail.com>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_STUNNEL) += stunnel
+
+#
+# Paths and names
+#
+STUNNEL_VERSION := 5.01
+STUNNEL_MD5 := 7b63266b6fa05da696729e245100da65
+STUNNEL := stunnel-$(STUNNEL_VERSION)
+STUNNEL_SUFFIX := tar.gz
+STUNNEL_URL :=
http://ftp.nluug.nl/pub/networking/stunnel/$(STUNNEL).$(STUNNEL_SUFFIX)
+STUNNEL_SOURCE := $(SRCDIR)/$(STUNNEL).$(STUNNEL_SUFFIX)
+STUNNEL_DIR := $(BUILDDIR)/$(STUNNEL)
+STUNNEL_LICENSE := stunnel (GPL2 or later with openssl exception)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+STUNNEL_CONF_ENV := $(CROSS_ENV)
+
+#
+# autoconf
+#
+STUNNEL_CONF_TOOL := autoconf
+STUNNEL_AUTOCONF := $(CROSS_AUTOCONF_USR) \
+                        --with-ssl=$(PTXDIST_SYSROOT_TARGET)/usr
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/stunnel.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, stunnel)
+ @$(call install_fixup, stunnel,PRIORITY,optional)
+ @$(call install_fixup, stunnel,SECTION,base)
+ @$(call install_fixup, stunnel,AUTHOR,"Guillermo Rodriguez
<guille.rodriguez@gmail.com>")
+ @$(call install_fixup, stunnel,DESCRIPTION,missing)
+
+ @$(call install_copy, stunnel, 0, 0, 0755,
$(STUNNEL_DIR)/src/stunnel, /usr/bin/stunnel)
+
+ @$(call install_finish, stunnel)
+
+ @$(call touch)
+
+# vim: syntax=make
-- 
1.7.0.4

-- 
Guillermo Rodriguez Garcia
guille.rodriguez@gmail.com

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [PATCH] Add support for stunnel
  2014-05-19  8:46 [ptxdist] [PATCH] Add support for stunnel Guillermo Rodriguez Garcia
@ 2014-06-02  7:49 ` Michael Olbrich
  2014-06-03  9:24   ` Guillermo Rodriguez Garcia
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Olbrich @ 2014-06-02  7:49 UTC (permalink / raw)
  To: ptxdist

On Mon, May 19, 2014 at 10:46:47AM +0200, Guillermo Rodriguez Garcia wrote:
> Add support for stunnel.
> 

Did you copy/paste the patch? Somehow all tabs got lost and there are some
extra linebreaks, so the patch fails to apply.

> Signed-off-by: Guillermo Rodriguez <guille.rodriguez@gmail.com>
> ---
>  rules/stunnel.in   |   16 +++++++++++++
>  rules/stunnel.make |   60 ++++++++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 76 insertions(+), 0 deletions(-)
>  create mode 100644 rules/stunnel.in
>  create mode 100644 rules/stunnel.make
> 
> diff --git a/rules/stunnel.in b/rules/stunnel.in
> new file mode 100644
> index 0000000..8eedc56
> --- /dev/null
> +++ b/rules/stunnel.in
> @@ -0,0 +1,16 @@
> +## SECTION=networking
> +
> +config STUNNEL
> + tristate
> + select OPENSSL
> + prompt "stunnel                       "
> + help
> +      The stunnel program is designed to work as an SSL encryption
> +      wrapper between remote client and local (inetd-startable) or
> +      remote servers. The goal is to facilitate SSL encryption and
> +      authentication for non-SSL-aware programs.
> +
> +      stunnel can be used to add  SSL  functionality  to  commonly
> +      used  inetd  daemons  like  POP-2,  POP-3  and  IMAP servers
> +      without any changes in the programs' code.
> +
> diff --git a/rules/stunnel.make b/rules/stunnel.make
> new file mode 100644
> index 0000000..9e6af6f
> --- /dev/null
> +++ b/rules/stunnel.make
> @@ -0,0 +1,60 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2014 by Guillermo Rodriguez <guille.rodriguez@gmail.com>
> +#
> +# See CREDITS for details about who has contributed to this project.
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_STUNNEL) += stunnel
> +
> +#
> +# Paths and names
> +#
> +STUNNEL_VERSION := 5.01
> +STUNNEL_MD5 := 7b63266b6fa05da696729e245100da65
> +STUNNEL := stunnel-$(STUNNEL_VERSION)
> +STUNNEL_SUFFIX := tar.gz
> +STUNNEL_URL :=
> http://ftp.nluug.nl/pub/networking/stunnel/$(STUNNEL).$(STUNNEL_SUFFIX)
> +STUNNEL_SOURCE := $(SRCDIR)/$(STUNNEL).$(STUNNEL_SUFFIX)
> +STUNNEL_DIR := $(BUILDDIR)/$(STUNNEL)
> +STUNNEL_LICENSE := stunnel (GPL2 or later with openssl exception)
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +STUNNEL_CONF_ENV := $(CROSS_ENV)

remove.

> +
> +#
> +# autoconf
> +#
> +STUNNEL_CONF_TOOL := autoconf

break like this:

STUNNEL_AUTOCONF := \
	$(CROSS_AUTOCONF_USR) \
	--with-ssl=$(PTXDIST_SYSROOT_TARGET)/usr

looks good otherwise.

Michael

> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/stunnel.targetinstall:
> + @$(call targetinfo)
> +
> + @$(call install_init, stunnel)
> + @$(call install_fixup, stunnel,PRIORITY,optional)
> + @$(call install_fixup, stunnel,SECTION,base)
> + @$(call install_fixup, stunnel,AUTHOR,"Guillermo Rodriguez
> <guille.rodriguez@gmail.com>")
> + @$(call install_fixup, stunnel,DESCRIPTION,missing)
> +
> + @$(call install_copy, stunnel, 0, 0, 0755,
> $(STUNNEL_DIR)/src/stunnel, /usr/bin/stunnel)
> +
> + @$(call install_finish, stunnel)
> +
> + @$(call touch)
> +
> +# vim: syntax=make
> -- 
> 1.7.0.4
> 
> -- 
> Guillermo Rodriguez Garcia
> guille.rodriguez@gmail.com
> 
> -- 
> 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] 3+ messages in thread

* Re: [ptxdist] [PATCH] Add support for stunnel
  2014-06-02  7:49 ` Michael Olbrich
@ 2014-06-03  9:24   ` Guillermo Rodriguez Garcia
  0 siblings, 0 replies; 3+ messages in thread
From: Guillermo Rodriguez Garcia @ 2014-06-03  9:24 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 659 bytes --]

Hi Michael,

El lunes, 2 de junio de 2014, Michael Olbrich <m.olbrich@pengutronix.de>
escribió:

> On Mon, May 19, 2014 at 10:46:47AM +0200, Guillermo Rodriguez Garcia wrote:
> > Add support for stunnel.
> >
>
> Did you copy/paste the patch? Somehow all tabs got lost and there are some
> extra linebreaks, so the patch fails to apply.
>
>
Uhm, sorry for that. I will check all patches. Will also apply the changes,
and resend with correct formatting.

Can't do that until next Monday though (no access to my computer for the
whole week)

Thank you,

Guillermo Rodriguez


-- 
Guillermo Rodriguez Garcia
guille.rodriguez@gmail.com

[-- Attachment #1.2: Type: text/html, Size: 1267 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2014-06-03  9:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-19  8:46 [ptxdist] [PATCH] Add support for stunnel Guillermo Rodriguez Garcia
2014-06-02  7:49 ` Michael Olbrich
2014-06-03  9:24   ` Guillermo Rodriguez Garcia

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