diff options
Diffstat (limited to 'security/quantis')
-rw-r--r-- | security/quantis/Makefile | 105 | ||||
-rw-r--r-- | security/quantis/distinfo | 3 | ||||
-rw-r--r-- | security/quantis/files/patch-CMake_FindJNI.cmake | 18 | ||||
-rw-r--r-- | security/quantis/files/patch-EasyQuantis_CMakeLists.txt | 10 | ||||
-rw-r--r-- | security/quantis/files/patch-QuantisExtensions_CMakeLists.txt | 10 | ||||
-rw-r--r-- | security/quantis/files/patch-QuantisExtensions_QuantisExtractor_C.c | 15 | ||||
-rw-r--r-- | security/quantis/files/patch-Quantis_CMakeLists.txt | 11 | ||||
-rw-r--r-- | security/quantis/files/pkg-message.in | 10 | ||||
-rw-r--r-- | security/quantis/files/quantis.conf | 7 | ||||
-rw-r--r-- | security/quantis/pkg-descr | 7 | ||||
-rw-r--r-- | security/quantis/pkg-plist | 34 |
11 files changed, 0 insertions, 230 deletions
diff --git a/security/quantis/Makefile b/security/quantis/Makefile deleted file mode 100644 index 6de075029033..000000000000 --- a/security/quantis/Makefile +++ /dev/null @@ -1,105 +0,0 @@ -# Created by: Alex Dupre <ale@FreeBSD.org> -# $FreeBSD$ - -PORTNAME= quantis -DISTVERSION= v18.03.08 -PORTREVISION= 4 -CATEGORIES= security devel java -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= does not build -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) -DEPRECATED= Broken for more than 6 months -EXPIRATION_DATE= 2019-05-08 - -USES= cmake compiler:c++11-lang zip:infozip - -OPTIONS_DEFINE= PCI USB JAVA COMPAT TOOL DOCS EXAMPLES -OPTIONS_DEFAULT=PCI USB JAVA TOOL -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 - -EXTRACT_BEFORE_ARGS= -aqo -USE_LDCONFIG= yes -SUB_FILES= pkg-message - -WRKSRC= ${WRKDIR}/Quantis-${DISTVERSION}/Libs-Apps - -KMODDIR?= /boot/modules - -PORTDOCS= * -PORTEXAMPLES= * - -.include <bsd.port.options.mk> - -.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 - -CMAKE_ARGS+= -DDISABLE_EASYQUANTIS_GUI=1 - -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 <bsd.port.mk> diff --git a/security/quantis/distinfo b/security/quantis/distinfo deleted file mode 100644 index 126de4072608..000000000000 --- a/security/quantis/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1539934255 -SHA256 (Quantis-v18.03.08.zip) = d7e88f5213c17a414666954266462219d4f7f8a0de0f3cc72d832b600fb73d3e -SIZE (Quantis-v18.03.08.zip) = 293853325 diff --git a/security/quantis/files/patch-CMake_FindJNI.cmake b/security/quantis/files/patch-CMake_FindJNI.cmake deleted file mode 100644 index 96b2d29c913d..000000000000 --- a/security/quantis/files/patch-CMake_FindJNI.cmake +++ /dev/null @@ -1,18 +0,0 @@ ---- CMake/FindJNI.cmake.orig 2010-06-29 07:44:57 UTC -+++ CMake/FindJNI.cmake -@@ -98,6 +98,7 @@ JAVA_APPEND_LIBRARY_DIRECTORIES(JAVA_AWT - /usr/lib/jvm/default-java/jre/lib - /usr/lib/jvm/default-java/lib - # FreeBSD specific paths for default JVM -+ /usr/local/openjdk8/jre/lib/{libarch} - /usr/local/openjdk7/jre/lib/{libarch} - /usr/local/openjdk6/jre/lib/{libarch} - /usr/local/diablo-jdk1.6.0/jre/lib/{libarch} -@@ -138,6 +139,7 @@ SET(JAVA_AWT_INCLUDE_DIRECTORIES - # Debian specific path for default JVM - /usr/lib/jvm/default-java/include - # FreeBSD specific path for default JVM -+ /usr/local/openjdk8/include - /usr/local/openjdk7/include - /usr/local/openjdk6/include - /usr/local/diablo-jdk1.6.0/include diff --git a/security/quantis/files/patch-EasyQuantis_CMakeLists.txt b/security/quantis/files/patch-EasyQuantis_CMakeLists.txt deleted file mode 100644 index c8828506c54f..000000000000 --- a/security/quantis/files/patch-EasyQuantis_CMakeLists.txt +++ /dev/null @@ -1,10 +0,0 @@ ---- EasyQuantis/CMakeLists.txt.orig 2014-04-17 14:41:53.461085311 +0000 -+++ EasyQuantis/CMakeLists.txt 2014-04-17 14:44:22.923075121 +0000 -@@ -102,6 +102,7 @@ - ${QT_LIBRARIES} - ${Boost_LIBRARIES} - ${Rt_LIBRARIES} -+ -pthread - ) - if(CMAKE_SYSTEM_NAME MATCHES "Darwin") - set_target_properties(${ExeName} PROPERTIES diff --git a/security/quantis/files/patch-QuantisExtensions_CMakeLists.txt b/security/quantis/files/patch-QuantisExtensions_CMakeLists.txt deleted file mode 100644 index c3dfbb978cfb..000000000000 --- a/security/quantis/files/patch-QuantisExtensions_CMakeLists.txt +++ /dev/null @@ -1,10 +0,0 @@ ---- QuantisExtensions/CMakeLists.txt.orig 2012-09-24 16:08:08.000000000 +0200 -+++ QuantisExtensions/CMakeLists.txt 2012-09-24 16:08:24.000000000 +0200 -@@ -58,6 +58,6 @@ - ARCHIVE DESTINATION ${CMAKE_INSTALL_LIB_DIR} - ) - --INSTALL(FILES ${Public_Headers} DESTINATION include) -+INSTALL(FILES ${Public_Headers} DESTINATION include/QuantisExtensions) - - diff --git a/security/quantis/files/patch-QuantisExtensions_QuantisExtractor_C.c b/security/quantis/files/patch-QuantisExtensions_QuantisExtractor_C.c deleted file mode 100644 index 038c22ee9af1..000000000000 --- a/security/quantis/files/patch-QuantisExtensions_QuantisExtractor_C.c +++ /dev/null @@ -1,15 +0,0 @@ ---- QuantisExtensions/QuantisExtractor_C.c.orig 2012-09-24 15:42:36.000000000 +0200 -+++ QuantisExtensions/QuantisExtractor_C.c 2012-09-24 15:42:56.000000000 +0200 -@@ -53,7 +53,11 @@ - #include "../Quantis/Conversion.h" - #include <stdio.h> - #include <math.h> --#include <malloc.h> -+#ifdef HAVE_MALLOC_H -+# include <malloc.h> -+#else -+# include <stdlib.h> -+#endif - - - /* Size of the buffer used for QuantisReadXXX methods */ diff --git a/security/quantis/files/patch-Quantis_CMakeLists.txt b/security/quantis/files/patch-Quantis_CMakeLists.txt deleted file mode 100644 index 1a3b25440b8b..000000000000 --- a/security/quantis/files/patch-Quantis_CMakeLists.txt +++ /dev/null @@ -1,11 +0,0 @@ ---- Quantis/CMakeLists.txt.orig 2011-05-27 14:12:20.000000000 +0200 -+++ Quantis/CMakeLists.txt 2011-05-27 14:15:01.000000000 +0200 -@@ -151,7 +151,7 @@ - ARCHIVE DESTINATION ${CMAKE_INSTALL_LIB_DIR} - ) - --INSTALL(FILES ${Public_Headers} DESTINATION include) -+INSTALL(FILES ${Public_Headers} DESTINATION include/Quantis) - - - ########## Quantis Compatilibity Libraries ########## diff --git a/security/quantis/files/pkg-message.in b/security/quantis/files/pkg-message.in deleted file mode 100644 index 7db754ebbd02..000000000000 --- a/security/quantis/files/pkg-message.in +++ /dev/null @@ -1,10 +0,0 @@ -************************************************************ - -To give Quantis USB access to other users than 'root', -you have to change permissions on the generated 'ugen' -device. - -A devd config sample has been put in the examples directory. -Copy it into %%LOCALBASE%%/etc/devd ad modify it at your needs. - -************************************************************ diff --git a/security/quantis/files/quantis.conf b/security/quantis/files/quantis.conf deleted file mode 100644 index d2826eb2347d..000000000000 --- a/security/quantis/files/quantis.conf +++ /dev/null @@ -1,7 +0,0 @@ -# Quantis USB RNG -attach 100 { - device-name "ugen[0-9\.]+"; - match "vendor" "0x0aba"; - match "product" "0x0102"; - action "/bin/chmod 666 /dev/$device-name"; -}; diff --git a/security/quantis/pkg-descr b/security/quantis/pkg-descr deleted file mode 100644 index de36fd5b943a..000000000000 --- a/security/quantis/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -Quantis is a physical random number generator exploiting -an elementary quantum optics process. - -This port contains the user library and a CLI/GUI application -to access such devices. - -WWW: http://www.idquantique.com/ diff --git a/security/quantis/pkg-plist b/security/quantis/pkg-plist deleted file mode 100644 index 26483b7be00f..000000000000 --- a/security/quantis/pkg-plist +++ /dev/null @@ -1,34 +0,0 @@ -%%TOOL%%bin/EasyQuantis -include/Quantis/Conversion.h -include/Quantis/DllMain.h -include/Quantis/Quantis.h -include/Quantis/Quantis.hpp -include/Quantis/QuantisUsb_Commands.h -include/Quantis/Quantis_Compat.h -include/Quantis/Quantis_Internal.h -include/Quantis/Quantis_Java.h -include/Quantis/Quantis_random_device.hpp -include/Quantis/msc_stdint.h -include/Quantis/resource.h -include/QuantisExtensions/QuantisExtractor.h -include/QuantisExtensions/QuantisExtractor.hpp -lib/libQuantis-NoHw.a -lib/libQuantis-NoHw.so -lib/libQuantis-NoHw.so.2 -lib/libQuantis-NoHw.so.2.12.0 -lib/libQuantis.a -lib/libQuantis.so -lib/libQuantis.so.2 -lib/libQuantis.so.2.12.0 -lib/libQuantis_Extensions.a -lib/libQuantis_Extensions.so -lib/libQuantis_Extensions.so.2 -lib/libQuantis_Extensions.so.2.12.0 -%%COMPAT%%lib/libQuantisPci-Compat.a -%%COMPAT%%lib/libQuantisPci-Compat.so -%%COMPAT%%lib/libQuantisPci-Compat.so.2 -%%COMPAT%%lib/libQuantisPci-Compat.so.2.12.0 -%%COMPAT%%lib/libQuantisUsb-Compat.a -%%COMPAT%%lib/libQuantisUsb-Compat.so -%%COMPAT%%lib/libQuantisUsb-Compat.so.2 -%%COMPAT%%lib/libQuantisUsb-Compat.so.2.12.0 |