From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wg0-x231.google.com ([2a00:1450:400c:c00::231]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WuJDT-0006g0-KH for ptxdist@pengutronix.de; Tue, 10 Jun 2014 12:23:45 +0200 Received: by mail-wg0-f49.google.com with SMTP id y10so1236194wgg.20 for ; Tue, 10 Jun 2014 03:23:37 -0700 (PDT) Received: from [192.168.0.124] (19.Red-217-125-83.staticIP.rima-tde.net. [217.125.83.19]) by mx.google.com with ESMTPSA id di10sm28950252wjb.1.2014.06.10.03.23.36 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Tue, 10 Jun 2014 03:23:37 -0700 (PDT) From: Guillermo Rodriguez In-Reply-To: <20140610055925.GG4904@pengutronix.de> References: <1402330196.2432.16.camel@ubuntu.ubuntu-domain> <20140610055925.GG4904@pengutronix.de> Date: Tue, 10 Jun 2014 12:23:42 +0200 Message-ID: <1402395822.4030.12.camel@ubuntu.ubuntu-domain> Mime-Version: 1.0 Subject: [ptxdist] [PATCH] Add support for stunnel (resending) Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 Add support for stunnel. Signed-off-by: Guillermo Rodriguez --- 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 +# +# 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 ") + @$(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