* [ptxdist] [PATCH] Add support for stunnel (resending)
@ 2014-06-09 16:09 Guillermo Rodriguez
2014-06-10 5:59 ` Michael Olbrich
0 siblings, 1 reply; 6+ messages in thread
From: Guillermo Rodriguez @ 2014-06-09 16:09 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 | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 75 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..ed2468b
--- /dev/null
+++ b/rules/stunnel.make
@@ -0,0 +1,59 @@
+# -*-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
+# ----------------------------------------------------------------------------
+
+#
+# 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
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ptxdist] [PATCH] Add support for stunnel (resending)
2014-06-09 16:09 [ptxdist] [PATCH] Add support for stunnel (resending) Guillermo Rodriguez
@ 2014-06-10 5:59 ` Michael Olbrich
2014-06-10 9:43 ` Guillermo Rodriguez
2014-06-10 10:23 ` Guillermo Rodriguez
0 siblings, 2 replies; 6+ messages in thread
From: Michael Olbrich @ 2014-06-10 5:59 UTC (permalink / raw)
To: ptxdist
On Mon, Jun 09, 2014 at 06:09:56PM +0200, Guillermo Rodriguez wrote:
> Add support for stunnel.
>
> Signed-off-by: Guillermo Rodriguez <guille.rodriguez@gmail.com>
> ---
> rules/stunnel.in | 16 ++++++++++++++
> rules/stunnel.make | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 75 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 "
spaces are only needed for menuconfig options.
> + 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.
indent help text with <tab><space><space>
> +
> diff --git a/rules/stunnel.make b/rules/stunnel.make
> new file mode 100644
> index 0000000..ed2468b
> --- /dev/null
> +++ b/rules/stunnel.make
> @@ -0,0 +1,59 @@
> +# -*-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)
this must be aligned in the final file, not the diff
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +#
> +# autoconf
> +#
> +STUNNEL_CONF_TOOL := autoconf
> +STUNNEL_AUTOCONF := \
> + $(CROSS_AUTOCONF_USR) \
> + --with-ssl=$(PTXDIST_SYSROOT_TARGET)/usr
$(GLOBAL_IPV6_OPTION) \
--disable-libwrap \
--{en,dis}able-fips
I don't care what set for the last one, but it must not be autodetected.
> +
> +# ----------------------------------------------------------------------------
> +# 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_copy, stunnel, 0, 0, 0755, -, /usr/bin/stunnel)
Michael
> +
> + @$(call install_finish, stunnel)
> +
> + @$(call touch)
> +
> +# vim: syntax=make
> --
> 1.7.0.4
>
>
>
>
> --
> 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] 6+ messages in thread
* Re: [ptxdist] [PATCH] Add support for stunnel (resending)
2014-06-10 5:59 ` Michael Olbrich
@ 2014-06-10 9:43 ` Guillermo Rodriguez
2014-06-10 10:23 ` Guillermo Rodriguez
1 sibling, 0 replies; 6+ messages in thread
From: Guillermo Rodriguez @ 2014-06-10 9:43 UTC (permalink / raw)
To: ptxdist
Hi Michael,
El mar, 10-06-2014 a las 07:59 +0200, Michael Olbrich escribió:
[...]
> > +#
> > +# 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)
>
> this must be aligned in the final file, not the diff
:) I did not align it in the diff -- in fact I did not align it at all;
this was generated from the ptxdist template.
> > +
> > +# ----------------------------------------------------------------------------
> > +# Prepare
> > +# ----------------------------------------------------------------------------
> > +
> > +#
> > +# autoconf
> > +#
> > +STUNNEL_CONF_TOOL := autoconf
> > +STUNNEL_AUTOCONF := \
> > + $(CROSS_AUTOCONF_USR) \
> > + --with-ssl=$(PTXDIST_SYSROOT_TARGET)/usr
>
> $(GLOBAL_IPV6_OPTION) \
> --disable-libwrap \
> --{en,dis}able-fips
>
> I don't care what set for the last one, but it must not be autodetected.
OK. Do you have any doc with "best practices" on what options should be
passed to autoconf when writing these rules files ?
>
> > +
> > +# ----------------------------------------------------------------------------
> > +# 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_copy, stunnel, 0, 0, 0755, -, /usr/bin/stunnel)
Ah! This was not clear to me from the documentation of the install_copy
macro. I'll change this (and the other bits) and resend.
Thank you for reviewing.
Best,
Guillermo Rodriguez
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 6+ messages in thread
* [ptxdist] [PATCH] Add support for stunnel (resending)
2014-06-10 5:59 ` Michael Olbrich
2014-06-10 9:43 ` Guillermo Rodriguez
@ 2014-06-10 10:23 ` Guillermo Rodriguez
2014-06-13 6:43 ` Michael Olbrich
1 sibling, 1 reply; 6+ messages in thread
From: Guillermo Rodriguez @ 2014-06-10 10:23 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 | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 77 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..b6c552b
--- /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..9df6dc1
--- /dev/null
+++ b/rules/stunnel.make
@@ -0,0 +1,61 @@
+# -*-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
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+STUNNEL_CONF_TOOL := autoconf
+STUNNEL_AUTOCONF := \
+ $(CROSS_AUTOCONF_USR) \
+ --with-ssl=$(PTXDIST_SYSROOT_TARGET)/usr \
+ $(GLOBAL_IPV6_OPTION) \
+ --disable-fips
+
+# ----------------------------------------------------------------------------
+# 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, -, /usr/bin/stunnel)
+
+ @$(call install_finish, stunnel)
+
+ @$(call touch)
+
+# vim: syntax=make
--
1.7.0.4
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ptxdist] [PATCH] Add support for stunnel (resending)
2014-06-10 10:23 ` Guillermo Rodriguez
@ 2014-06-13 6:43 ` Michael Olbrich
2014-06-13 9:15 ` Guillermo Rodriguez
0 siblings, 1 reply; 6+ messages in thread
From: Michael Olbrich @ 2014-06-13 6:43 UTC (permalink / raw)
To: ptxdist
On Tue, Jun 10, 2014 at 12:23:42PM +0200, Guillermo Rodriguez wrote:
> Add support for stunnel.
>
> Signed-off-by: Guillermo Rodriguez <guille.rodriguez@gmail.com>
> ---
Much better. All 3 Patches applied.
Just a hint for the next time:
The subject is part of the git commit message, so you don't need to add it
inline again. And don't add '(resending)'. Instead use '[PATCH v2]' or
something like that, because that's stripped when I apply the patch.
Michael
> rules/stunnel.in | 16 +++++++++++++
> rules/stunnel.make | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 77 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..b6c552b
> --- /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..9df6dc1
> --- /dev/null
> +++ b/rules/stunnel.make
> @@ -0,0 +1,61 @@
> +# -*-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
> +# ----------------------------------------------------------------------------
> +
> +#
> +# autoconf
> +#
> +STUNNEL_CONF_TOOL := autoconf
> +STUNNEL_AUTOCONF := \
> + $(CROSS_AUTOCONF_USR) \
> + --with-ssl=$(PTXDIST_SYSROOT_TARGET)/usr \
> + $(GLOBAL_IPV6_OPTION) \
> + --disable-fips
> +
> +# ----------------------------------------------------------------------------
> +# 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, -, /usr/bin/stunnel)
> +
> + @$(call install_finish, stunnel)
> +
> + @$(call touch)
> +
> +# vim: syntax=make
> --
> 1.7.0.4
>
>
>
>
> --
> 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] 6+ messages in thread
* Re: [ptxdist] [PATCH] Add support for stunnel (resending)
2014-06-13 6:43 ` Michael Olbrich
@ 2014-06-13 9:15 ` Guillermo Rodriguez
0 siblings, 0 replies; 6+ messages in thread
From: Guillermo Rodriguez @ 2014-06-13 9:15 UTC (permalink / raw)
To: ptxdist
Hi Michael,
El 13/06/2014 8:43, Michael Olbrich escribió:
> On Tue, Jun 10, 2014 at 12:23:42PM +0200, Guillermo Rodriguez wrote:
>> Add support for stunnel.
>>
>> Signed-off-by: Guillermo Rodriguez <guille.rodriguez@gmail.com>
>> ---
>
> Much better. All 3 Patches applied.
> Just a hint for the next time:
> The subject is part of the git commit message, so you don't need to add it
> inline again. And don't add '(resending)'. Instead use '[PATCH v2]' or
> something like that, because that's stripped when I apply the patch.
Thank you for the hints!
Guillermo
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-06-13 9:15 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-09 16:09 [ptxdist] [PATCH] Add support for stunnel (resending) Guillermo Rodriguez
2014-06-10 5:59 ` Michael Olbrich
2014-06-10 9:43 ` Guillermo Rodriguez
2014-06-10 10:23 ` Guillermo Rodriguez
2014-06-13 6:43 ` Michael Olbrich
2014-06-13 9:15 ` Guillermo Rodriguez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox