Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # $OpenBSD: Makefile,v 1.87 2017/01/09 15:40:30 gsoares Exp $
  2. COMMENT= SSL encryption wrapper for standard network daemons
  3. DISTNAME= stunnel-5.39
  4. CATEGORIES= security
  5. MAINTAINER= Gleydson Soares <gsoares@openbsd.org>
  6. # GPLv2+ with OpenSSL exemption
  7. PERMIT_PACKAGE_CDROM= Yes
  8. WANTLIB += c crypto pthread ssl util
  9. HOMEPAGE= http://www.stunnel.org/
  10. MASTER_SITES= https://www.stunnel.org/downloads/archive/5.x/ \
  11. http://ftp.nluug.nl/pub/networking/stunnel/archive/5.x/ \
  12. http://mirror.bit.nl/stunnel/archive/5.x/ \
  13. ftp://ftp.stunnel.org/stunnel/archive/5.x/
  14. SEPARATE_BUILD= Yes
  15. CONFIGURE_STYLE= gnu
  16. CONFIGURE_ARGS+= --with-ssl=/usr \
  17. --disable-libwrap
  18. MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/auto
  19. NO_TEST= Yes
  20. USE_GMAKE= Yes
  21. pre-configure:
  22. ${SUBST_CMD} ${WRKSRC}/src/stunnel3.in
  23. ${SUBST_CMD} ${WRKSRC}/tools/stunnel.conf-sample.in
  24. do-install:
  25. ${INSTALL_PROGRAM} ${WRKBUILD}/src/stunnel ${PREFIX}/sbin
  26. ${INSTALL_SCRIPT} ${WRKBUILD}/src/stunnel3 ${PREFIX}/sbin
  27. ${INSTALL_MAN} ${WRKBUILD}/doc/stunnel.8 ${PREFIX}/man/man8
  28. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/stunnel
  29. ${INSTALL_DATA} ${WRKSRC}/tools/stunnel.conf-sample.in \
  30. ${PREFIX}/share/examples/stunnel/stunnel.conf-sample
  31. .include <bsd.port.mk>