# # cygport build script for stunnel # by Andrew E. Schulman # NAME=stunnel VERSION=5.17 RELEASE=1 # Packaging SUMMARY="Universal TLS wrapper" DESCRIPTION="stunnel is a program that allows you to encrypt arbitrary TCP connections inside TLS (Transport Layer Security, the successor to Secure Sockets Layer (SSL)). stunnel can allow you to secure non-TLS-aware daemons and protocols (like POP, IMAP, LDAP, etc) by having stunnel provide the encryption, requiring no changes to the daemon's code." CATEGORY=Net HOMEPAGE="http://www.stunnel.org/" # Sources SRC_URI="ftp://ftp.stunnel.org/stunnel/archive/5.x/stunnel-${VERSION}.tar.gz" PATCH_URI=" stunnel-dirs.patch stunnel-exe.patch stunnel-localdata.patch stunnel-pty.patch " # Build CYGCONF_ARGS=--disable-fips CFLAGS='-Wl,-no-undefined' src_install () { cd "${B}" cyginstall cd "${D}/usr/share/man" for lang in fr pl ; do mkdir -p ${lang}/man8 mv man8/stunnel.${lang}.8 ${lang}/man8/stunnel.8 done dodir /var/lib/stunnel }