1 ################################################################################
5 ################################################################################
7 STUNNEL_VERSION_MAJOR
= 5
8 STUNNEL_VERSION
= $(STUNNEL_VERSION_MAJOR
).36
9 STUNNEL_SITE
= http
://www.usenix.org.uk
/mirrors
/stunnel
/archive
/$(STUNNEL_VERSION_MAJOR
).x
10 STUNNEL_DEPENDENCIES
= openssl
11 STUNNEL_CONF_OPTS
= --with-ssl
=$(STAGING_DIR
)/usr
--with-threads
=fork \
14 ax_cv_check_cflags___fstack_protector
=$(if
$(BR2_TOOLCHAIN_HAS_SSP
),yes
,no
)
15 STUNNEL_LICENSE
= GPLv2
+
16 STUNNEL_LICENSE_FILES
= COPYING COPYRIGHT.GPL
18 ifeq ($(BR2_INIT_SYSTEMD
),y
)
19 STUNNEL_DEPENDENCIES
+= systemd
21 STUNNEL_CONF_OPTS
+= --disable-systemd
24 define STUNNEL_INSTALL_CONF
25 $(INSTALL
) -m
0644 -D
$(@D
)/tools
/stunnel.conf \
26 $(TARGET_DIR
)/etc
/stunnel
/stunnel.conf
27 rm -f
$(TARGET_DIR
)/etc
/stunnel
/stunnel.conf-sample
30 STUNNEL_POST_INSTALL_TARGET_HOOKS
+= STUNNEL_INSTALL_CONF
32 define STUNNEL_INSTALL_INIT_SYSV
33 $(INSTALL
) -m
0755 -D package
/stunnel
/S50stunnel
$(TARGET_DIR
)/etc
/init.d
/S50stunnel
36 $(eval
$(autotools-package
))