Edit

IABSD.fr/ports/security/sslscan/Makefile

Branch :

  • Show log

    Commit

  • Author : sthen
    Date : 2020-01-03 11:26:14
    Hash : c66456bc
    Message : mark sslscan,openssl as BROKEN-sparc64; runs openssl tests during build; fails SIGILL in BN_mod_sqrt (unsure if security/openssl/1.0.2 itself is affected as sslscan builds it with nonstandard options)

  • security/sslscan/Makefile
  • # $OpenBSD: Makefile,v 1.22 2020/01/03 11:26:14 sthen Exp $
    
    COMMENT=	SSL port scanner
    
    V=		1.11.12
    GH_ACCOUNT=	rbsec
    GH_PROJECT=	sslscan
    GH_TAGNAME=	$V-rbsec
    DISTNAME=	sslscan-$V
    
    CATEGORIES=	security net
    
    HOMEPAGE=	https://github.com/rbsec/sslscan
    
    MAINTAINER=	Stuart Henderson <sthen@openbsd.org>
    
    # GPLv3
    PERMIT_PACKAGE=	Yes
    
    FLAVORS=	openssl
    FLAVOR?=
    
    WANTLIB += c
    
    USE_GMAKE=	Yes
    NO_TEST=	Yes
    
    MAKE_FLAGS=	BINDIR=${TRUEPREFIX}/bin \
    		MANDIR=${TRUEPREFIX}/man \
    		GIT_VERSION="$V" \
    		CC="${CC}"
    
    SUBST_VARS=	SUFFIX
    
    .if ${FLAVOR:Mopenssl}
    BROKEN-sparc64=	runs openssl tests during build; fails SIGILL in BN_mod_sqrt
    BUILD_DEPENDS=	security/openssl/1.0.2:patch
    SUFFIX=		-openssl
    FULLPKGNAME=	sslscan-openssl-$V
    ALL_TARGET=	static
    #openssl/libcrypto.a sslscan
    #MAKE_FLAGS+=	STATIC_BUILD=TRUE
    CFLAGS+=	-nostdinc -I${WRKSRC}/openssl/include -I/usr/include
    WANTLIB+=	z
    
    post-extract:
    	ln -s ${WRKDIR}/security/openssl/1.0.2/openssl-* ${WRKSRC}/openssl
    	-mkdir -p ${WRKSRC}/openssl/.git
    	rm -f ${WRKSRC}/openssl/Makefile
    .else
    WANTLIB +=	crypto ssl
    .endif
    
    post-install:
    	mv ${PREFIX}/bin/sslscan ${PREFIX}/bin/sslscan${SUFFIX}
    	mv ${PREFIX}/man/man1/sslscan.1 ${PREFIX}/man/man1/sslscan${SUFFIX}.1
    
    .include <bsd.port.mk>