Index: head/security/quantis/Makefile =================================================================== --- head/security/quantis/Makefile (revision 482413) +++ head/security/quantis/Makefile (revision 482414) @@ -1,107 +1,106 @@ # Created by: Alex Dupre # $FreeBSD$ PORTNAME= quantis -DISTVERSION= v13.11.08 -PORTREVISION= 11 +DISTVERSION= v18.03.08 CATEGORIES= security devel java -MASTER_SITES= http://www.idquantique.com/~download/Quantis/ \ - LOCAL/ale -DISTNAME= Quantis-${DISTVERSION}-src +MASTER_SITES= https://www.idquantique.com/wordpress/wp-content/uploads/ +DISTNAME= Quantis-${DISTVERSION} MAINTAINER= ale@FreeBSD.org COMMENT= Libraries and utilities to access Quantis devices LICENSE= BSD3CLAUSE GPLv2 LICENSE_COMB= dual LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/../License.txt BROKEN_aarch64= fails to build: Could not find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY) BROKEN_armv6= fails to build: Could not find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY) BROKEN_armv7= fails to build: Could not find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY) +USES= cmake compiler:c++11-lang qt:4 zip:infozip + OPTIONS_DEFINE= PCI USB JAVA COMPAT TOOL GUI DOCS EXAMPLES OPTIONS_DEFAULT=PCI USB JAVA TOOL GUI NO_OPTIONS_SORT=yes PCI_DESC= Enable Quantis PCI support USB_DESC= Enable Quantis USB support JAVA_DESC= Enable Java support COMPAT_DESC= Build API v1 compatibility libraries TOOL_DESC= Build EasyQuantis application GUI_DESC= Build QT4 GUI for EasyQuantis application EXTRACT_BEFORE_ARGS= -aqo -USES= cmake compiler:c++11-lang qt:4 zip:infozip USE_LDCONFIG= yes SUB_FILES= pkg-message WRKSRC= ${WRKDIR}/Quantis-${DISTVERSION}/Libs-Apps KMODDIR?= /boot/modules PORTDOCS= * PORTEXAMPLES= * .include .if ${PORT_OPTIONS:MPCI} RUN_DEPENDS+= ${KMODDIR}/quantis.ko:security/quantis-kmod .else CMAKE_ARGS+= -DDISABLE_QUANTIS_PCI=1 .endif .if ! ${PORT_OPTIONS:MUSB} CMAKE_ARGS+= -DDISABLE_QUANTIS_USB=1 PKGMESSAGE= ${PKGDIR}/notexistent .endif .if ${PORT_OPTIONS:MJAVA} USE_JAVA= yes JAVA_VERSION= 1.6+ JAVA_OS= native .else CMAKE_ARGS+= -DDISABLE_QUANTIS_JAVA=1 .endif .if ${PORT_OPTIONS:MCOMPAT} CMAKE_ARGS+= -DENABLE_QUANTIS_COMPAT=1 PLIST_SUB+= COMPAT="" .else PLIST_SUB+= COMPAT="@comment " .endif .if ${PORT_OPTIONS:MTOOL} BUILD_DEPENDS+= ${LOCALBASE}/lib/libboost_date_time.a:devel/boost-libs CXXFLAGS+= -I${LOCALBASE}/include . if ${PORT_OPTIONS:MGUI} -USE_QT+= gui moc_build uic_build rcc_build qmake_build +USE_QT+= corelib gui moc_build uic_build rcc_build qmake_build . else CMAKE_ARGS+= -DDISABLE_EASYQUANTIS_GUI=1 . endif PLIST_SUB+= TOOL="" .else CMAKE_ARGS+= -DDISABLE_EASYQUANTIS=1 PLIST_SUB+= TOOL="@comment " .endif post-patch: @${REINPLACE_CMD} '/ if(CMAKE_COMPILER_IS_GNU/s/)/ MATCHES "0")/' \ ${WRKSRC}/CMake/CompilersFlags.cmake post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/../*.txt ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/../User_Manual.pdf ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @(cd ${WRKSRC}/../Samples; ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} "-not -empty") .if ${PORT_OPTIONS:MUSB} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/devd ${INSTALL_DATA} ${FILESDIR}/quantis.conf ${STAGEDIR}${EXAMPLESDIR}/devd .endif .include Index: head/security/quantis/distinfo =================================================================== --- head/security/quantis/distinfo (revision 482413) +++ head/security/quantis/distinfo (revision 482414) @@ -1,2 +1,3 @@ -SHA256 (Quantis-v13.11.08-src.zip) = cd56cb8835c1cde798b966ef256902d30e2328e59c169e43962d164b7be093db -SIZE (Quantis-v13.11.08-src.zip) = 7222860 +TIMESTAMP = 1539934255 +SHA256 (Quantis-v18.03.08.zip) = d7e88f5213c17a414666954266462219d4f7f8a0de0f3cc72d832b600fb73d3e +SIZE (Quantis-v18.03.08.zip) = 293853325 Index: head/security/quantis-kmod/Makefile =================================================================== --- head/security/quantis-kmod/Makefile (revision 482413) +++ head/security/quantis-kmod/Makefile (revision 482414) @@ -1,28 +1,26 @@ # Created by: Alex Dupre # $FreeBSD$ PORTNAME= quantis -DISTVERSION= v13.11.08 +DISTVERSION= v18.03.08 CATEGORIES= security -MASTER_SITES= http://www.idquantique.com/~download/Quantis/ \ - LOCAL/ale +MASTER_SITES= https://www.idquantique.com/wordpress/wp-content/uploads/ PKGNAMESUFFIX= -kmod -DISTNAME= Quantis-${DISTVERSION}-src +DISTNAME= Quantis-${DISTVERSION} MAINTAINER= ale@FreeBSD.org COMMENT= Kernel driver for Quantis PCI/PCIe random number generator LICENSE= BSD3CLAUSE GPLv2 LICENSE_COMB= dual LICENSE_FILE= ${WRKDIR}/Quantis-${DISTVERSION}/License.txt -BROKEN_powerpc64= fails to compile: pcpu.h: size of array '__assert_0' is negative - USES= kmod uidfix zip:infozip + EXTRACT_BEFORE_ARGS= -aqo WRKSRC= ${WRKDIR}/Quantis-${DISTVERSION}/Drivers/Unix/QuantisPci PLIST_FILES= ${KMODDIR}/quantis.ko .include Index: head/security/quantis-kmod/distinfo =================================================================== --- head/security/quantis-kmod/distinfo (revision 482413) +++ head/security/quantis-kmod/distinfo (revision 482414) @@ -1,2 +1,3 @@ -SHA256 (Quantis-v13.11.08-src.zip) = cd56cb8835c1cde798b966ef256902d30e2328e59c169e43962d164b7be093db -SIZE (Quantis-v13.11.08-src.zip) = 7222860 +TIMESTAMP = 1539934295 +SHA256 (Quantis-v18.03.08.zip) = d7e88f5213c17a414666954266462219d4f7f8a0de0f3cc72d832b600fb73d3e +SIZE (Quantis-v18.03.08.zip) = 293853325