diff options
author | Guillermo Rodriguez <guille.rodriguez@gmail.com> | 2014-06-10 12:23:42 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-06-13 08:37:58 +0200 |
commit | 0893ecb054eba5e959b9e23c1962e7684086aecb (patch) | |
tree | ce4fab8fd066aaab69b41162b6df2c95dbf515b9 /rules/stunnel.make | |
parent | a14c651183eb4d485f55b7eed7d2d362cb22fbc0 (diff) | |
download | ptxdist-0893ecb054eba5e959b9e23c1962e7684086aecb.tar.gz ptxdist-0893ecb054eba5e959b9e23c1962e7684086aecb.tar.xz |
Add support for stunnel
Signed-off-by: Guillermo Rodriguez <guille.rodriguez@gmail.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/stunnel.make')
-rw-r--r-- | rules/stunnel.make | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/rules/stunnel.make b/rules/stunnel.make new file mode 100644 index 000000000..9df6dc131 --- /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 |