opnsense-ports/security/sha1collisiondetection/Makefile
Franco Fichtner b59c460a67 */*: sync with upstream
Taken from: HardenedBSD
2018-07-03 10:11:41 +02:00

41 lines
1.6 KiB
Makefile

# $FreeBSD$
PORTNAME= sha1collisiondetection
PORTVERSION= 1.0.2
DISTVERSIONPREFIX= stable-v
CATEGORIES= security
MAINTAINER= jharris@widomaker.com
COMMENT= Library and command line tool to detect SHA-1 collisions
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BROKEN_aarch64= fails to compile: generic selections are a C11-specific feature [-Werror,-Wc11-extensions]
BROKEN_armv6= fails to compile: generic selections are a C11-specific feature [-Werror,-Wc11-extensions]
BROKEN_armv7= fails to compile: generic selections are a C11-specific feature [-Werror,-Wc11-extensions]
BROKEN_mips= fails to compile: cc1: unrecognized command line option -std=c90
BROKEN_mips64= fails to compile: cc1: unrecognized command line option -std=c90
BROKEN_powerpc64= fails to compile: cc1: unrecognized command line option -std=c90
USE_GITHUB= yes
GH_ACCOUNT= cr-marcstevens
USES= gmake libtool:build
USE_LDCONFIG= yes
PLIST_FILES= bin/sha1dcsum \
bin/sha1dcsum_partialcoll \
include/sha1dc/sha1.h \
lib/libsha1detectcoll.so \
lib/libsha1detectcoll.so.0 \
lib/libsha1detectcoll.so.0.0.0
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/.libs/sha1dcsum* ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${PREFIX}/include/sha1dc
${INSTALL_DATA} ${WRKSRC}/lib/sha1.h ${STAGEDIR}${PREFIX}/include/sha1dc
${INSTALL_LIB} ${WRKSRC}/bin/.libs/libsha1detectcoll.so.0.0.0 ${STAGEDIR}${PREFIX}/lib
${LN} -sf libsha1detectcoll.so.0.0.0 ${STAGEDIR}${PREFIX}/lib/libsha1detectcoll.so
${LN} -sf libsha1detectcoll.so.0.0.0 ${STAGEDIR}${PREFIX}/lib/libsha1detectcoll.so.0
.include <bsd.port.mk>