Index: head/security/libtomcrypt/Makefile =================================================================== --- head/security/libtomcrypt/Makefile (revision 480861) +++ head/security/libtomcrypt/Makefile (revision 480862) @@ -1,86 +1,83 @@ # Created by: Yonatan # $FreeBSD$ PORTNAME= libtomcrypt -PORTVERSION= 1.18.1 -PORTREVISION= 1 +PORTVERSION= 1.18.2 +PORTREVISION= 0 CATEGORIES= security MASTER_SITES= https://github.com/libtom/${PORTNAME}/releases/download/v${PORTVERSION}/ DISTNAME= crypt-${PORTVERSION} MAINTAINER= gahr@FreeBSD.org COMMENT= Comprehensive, modular, and portable cryptographic toolkit LICENSE= PD LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_mips= fails to compile: unrecognized command line option "-Wno-type-limits" -BROKEN_mips64= fails to compile: unrecognized command line option "-Wno-type-limits" -BROKEN_powerpc64= fails to compile: unrecognized command line option "-Wno-type-limits" +USES= gmake libtool:build tar:xz WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} CFLAGS+= -I${LOCALBASE}/include EXTRALIBS= -L${LOCALBASE}/lib MAKEFILE= makefile.shared ALL_TARGET= library MAKE_ARGS= INCPATH="${PREFIX}/include" LIBPATH="${PREFIX}/lib" \ EXTRALIBS="${EXTRALIBS}" -USES= gmake libtool:build tar:xz USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS OPTIONS_MULTI= MATH OPTIONS_MULTI_MATH= LIBTOMMATH TOMSFASTMATH GMP OPTIONS_DEFAULT= LIBTOMMATH LIBTOMMATH_DESC= Use LibTomMath TOMSFASTMATH_DESC= Use TomsFastMath LIBTOMMATH_BUILD_DEPENDS= ${LOCALBASE}/include/tommath.h:math/libtommath LIBTOMMATH_CFLAGS= -DLTM_DESC LIBTOMMATH_VARS= EXTRALIBS+=-ltommath TOMSFASTMATH_BUILD_DEPENDS= ${LOCALBASE}/include/tfm.h:math/tomsfastmath TOMSFASTMATH_CFLAGS= -DTFM_DESC TOMSFASTMATH_VARS= EXTRALIBS+=-ltfm GMP_LIB_DEPENDS= libgmp.so:math/gmp GMP_CFLAGS= -DGMP_DESC GMP_VARS= EXTRALIBS+=-lgmp PORTDOCS= * post-patch: @${REINPLACE_CMD} -e 's|gcc|${CC}|' -e 's| make | $$(MAKE) |' \ -e 's|-g $$(GROUP)||' -e 's|-o $$(USER)||' \ ${WRKSRC}/makefile.shared ${WRKSRC}/makefile_include.mk post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtomcrypt.so.1 post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/crypt.pdf ${STAGEDIR}${DOCSDIR} do-test: # TomsFastMath @${ECHO_CMD} "Testing TomsFastMath" ${MAKE_CMD} -C ${WRKSRC} \ CFLAGS="-I${LOCALBASE}/include -DUSE_TFM -DTFM_DESC" \ EXTRALIBS="-L${LOCALBASE}/lib -ltfm" clean test (cd ${WRKSRC} && ./test) # LibTomMath @${ECHO_CMD} "Testing LibTomMath" ${MAKE_CMD} -C ${WRKSRC} \ CFLAGS="-I${LOCALBASE}/include -DUSE_LTM -DLTM_DESC" \ EXTRALIBS="-L${LOCALBASE}/lib -ltommath" clean test (cd ${WRKSRC} && ./test) # GMP @${ECHO_CMD} "Testing GMP" ${MAKE_CMD} -C ${WRKSRC} \ CFLAGS="-I${LOCALBASE}/include -DUSE_GMP -DGMP_DESC" \ EXTRALIBS="-L${LOCALBASE}/lib -lgmp" clean test (cd ${WRKSRC} && ./test) .include Index: head/security/libtomcrypt/distinfo =================================================================== --- head/security/libtomcrypt/distinfo (revision 480861) +++ head/security/libtomcrypt/distinfo (revision 480862) @@ -1,3 +1,3 @@ -TIMESTAMP = 1516696801 -SHA256 (crypt-1.18.1.tar.xz) = 57c13a34fbfd45696189d19e47864e48f4e5c11590c29b444accb8edbf047f14 -SIZE (crypt-1.18.1.tar.xz) = 2614492 +TIMESTAMP = 1538144834 +SHA256 (crypt-1.18.2.tar.xz) = 96ad4c3b8336050993c5bc2cf6c057484f2b0f9f763448151567fbab5e767b84 +SIZE (crypt-1.18.2.tar.xz) = 2638064 Index: head/security/libtomcrypt/files/patch-makefile__include.mk =================================================================== --- head/security/libtomcrypt/files/patch-makefile__include.mk (nonexistent) +++ head/security/libtomcrypt/files/patch-makefile__include.mk (revision 480862) @@ -0,0 +1,11 @@ +--- makefile_include.mk.orig 2018-09-28 13:43:18 UTC ++++ makefile_include.mk +@@ -73,8 +73,6 @@ LTC_CFLAGS += -Wdeclaration-after-statement + LTC_CFLAGS += -Wwrite-strings + endif + +-LTC_CFLAGS += -Wno-type-limits +- + ifdef LTC_DEBUG + $(info Debug build) + # compile for DEBUGGING (required for ccmalloc checking!!!) Property changes on: head/security/libtomcrypt/files/patch-makefile__include.mk ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property