Edit

IABSD.fr/ports/net/tinc/Makefile

Branch :

  • Show log

    Commit

  • Author : espie
    Date : 2023-09-27 14:17:59
    Hash : a34bba28
    Message : MASTER_SITES -> SITES catch one MASTER_SITES0 that wasn't actually in use

  • net/tinc/Makefile
  • COMMENT =		Virtual Private Network (VPN) daemon
    DISTNAME =		tinc-1.1pre18
    CATEGORIES =		net security
    EPOCH =			0
    REVISION =		0
    
    HOMEPAGE =		https://www.tinc-vpn.org/
    
    # GPLv2+
    PERMIT_PACKAGE =	Yes
    
    COMPILER =		base-clang ports-gcc
    COMPILER_LANGS =	c
    
    WANTLIB +=		c crypto curses lzo2 m readline z
    
    SITES =			https://www.tinc-vpn.org/packages/
    
    LIB_DEPENDS +=		archivers/lzo2
    
    CONFIGURE_STYLE =	gnu
    CONFIGURE_ENV =		CPPFLAGS="-I${LOCALBASE}/include" \
    			LDFLAGS="-L${LOCALBASE}/lib" \
    			tinc_cv_attribute___nonnull__=yes
    
    USE_GMAKE =		Yes
    
    TEST_IS_INTERACTIVE =	XXX spawns tincd processes, \
    			${WRKSRC}/test/legacy-protocol.test stalls
    
    post-install:
    	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/tinc
    	cp -r ${WRKSRC}/doc/sample-config/* ${PREFIX}/share/examples/tinc/
    	chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/examples/tinc/
    	chmod -R u=rwX,go=rX ${PREFIX}/share/examples/tinc/*
    
    .include <bsd.port.mk>