base.bbclass: add support for SOC_FAMILY in COMPATIBLE_MACHINES
[openembedded.git] / recipes / stunnel / stunnel.inc
blob6be13b8682d088eb05aab39f6ac0aaab4a06ab88
1 SECTION = "console/network"
2 DEPENDS = "openssl"
3 HOMEPAGE = "http://www.stunnel.org"
4 LICENSE = "GPL"
5 DESCRIPTION = "Stunnel is a program that allows you to encrypt \
6 arbitrary TCP connections inside SSL"
8 S = "${WORKDIR}/stunnel-${PV}"
10 inherit autotools update-rc.d
12 INITSCRIPT_NAME = "stunnel"
13 INITSCRIPT_PARAMS = "defaults"
15 EXTRA_OECONF = "--with-ssl=${STAGING_LIBDIR}/.. \
16                 --with-random=/dev/urandom \
17                 --with-ptmx \
18                 --without-ptc"
20 do_install() {
21         autotools_do_install
22         install -d ${D}${sysconfdir}/stunnel ${D}${sysconfdir}/init.d
23         install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/stunnel
24         install -m 644 ${WORKDIR}/stunnel.conf ${D}${sysconfdir}/stunnel