blob: e43c99d7e43ca68a2b6bbcfdc02f9710db083ddd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= stunnel
PKG_VERSION:= 5.24
PKG_RELEASE:= 1
PKG_HASH:= ab2e5a1034d422951ddad21b572eb7fa8efb4c4ce04bc86536c6845f3d02b07e
PKG_DESCR:= encryption wrapper
PKG_SECTION:= net/security
PKG_URL:= https://www.stunnel.org
PKG_SITES:= https://www.stunnel.org/downloads/
PKG_CHOICES_STUNNEL:= WITH_LIBRESSL WITH_OPENSSL
PKGCD_WITH_LIBRESSL:= use libressl for crypto
PKGCB_WITH_LIBRESSL:= libressl
PKGCS_WITH_LIBRESSL:= libressl ca-certificates
PKGCD_WITH_OPENSSL:= use openssl for crypto
PKGCB_WITH_OPENSSL:= openssl
PKGCS_WITH_OPENSSL:= libopenssl ca-certificates
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,STUNNEL,stunnel,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
AUTOTOOL_STYLE:= autoreconf
CONFIGURE_ARGS+= --with-ssl=${STAGING_TARGET_DIR}/usr \
--disable-systemd \
--disable-libwrap
stunnel-install:
$(INSTALL_DIR) $(IDIR_STUNNEL)/usr/bin
$(INSTALL_BIN) $(WRKINST)/usr/bin/stunnel \
$(IDIR_STUNNEL)/usr/bin
include ${ADK_TOPDIR}/mk/pkg-bottom.mk
|