Edit

IABSD.fr/ports/security/stunnel/Makefile

Branch :

  • Show log

    Commit

  • Author : espie
    Date : 2023-09-27 16:34:29
    Hash : 8ca1dc55
    Message : MASTER_SITES -> SITES

  • security/stunnel/Makefile
  • COMMENT=	SSL encryption wrapper for standard network daemons
    
    DISTNAME=	stunnel-5.64
    CATEGORIES=	security
    REVISION=	0
    
    MAINTAINER=	Gleydson Soares <gsoares@openbsd.org>
    
    # GPLv2+ with OpenSSL exemption
    PERMIT_PACKAGE=	Yes
    
    WANTLIB += c crypto pthread ssl util
    
    HOMEPAGE=	https://www.stunnel.org/
    
    SITES=		https://www.stunnel.org/downloads/archive/5.x/ \
    		https://ftp.nluug.nl/pub/networking/stunnel/ \
    		https://www.usenix.org.uk/mirrors/stunnel/
    
    SEPARATE_BUILD=		Yes
    CONFIGURE_STYLE=	gnu
    CONFIGURE_ARGS+=	--with-ssl=/usr \
    			--disable-libwrap
    MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/auto
    
    USE_GMAKE=		Yes
    
    pre-configure:
    	${SUBST_CMD} ${WRKSRC}/src/stunnel3.in
    	${SUBST_CMD} ${WRKSRC}/tools/stunnel.conf-sample.in
    
    do-install:
    	${INSTALL_PROGRAM} ${WRKBUILD}/src/stunnel ${PREFIX}/sbin
    	${INSTALL_SCRIPT} ${WRKBUILD}/src/stunnel3 ${PREFIX}/sbin
    	${INSTALL_MAN} ${WRKBUILD}/doc/stunnel.8 ${PREFIX}/man/man8
    	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/stunnel
    	${INSTALL_DATA} ${WRKSRC}/tools/stunnel.conf-sample.in \
    		${PREFIX}/share/examples/stunnel/stunnel.conf-sample
    
    .include <bsd.port.mk>