aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2010-06-01 23:16:12 +0800
committerale <ale@FreeBSD.org>2010-06-01 23:16:12 +0800
commitccb2de3aa246c19e76c1e1b8b895d7881bad6df3 (patch)
tree669ff98bd93abd77967ffbaf5223939dfc6c3238 /security
parent5952c53aba9bcbfa019d22e8834e525b5b645f28 (diff)
downloadfreebsd-ports-gnome-ccb2de3aa246c19e76c1e1b8b895d7881bad6df3.tar.gz
freebsd-ports-gnome-ccb2de3aa246c19e76c1e1b8b895d7881bad6df3.tar.zst
freebsd-ports-gnome-ccb2de3aa246c19e76c1e1b8b895d7881bad6df3.zip
Quantis is a physical random number generator exploiting
an elementary quantum optics process. This port contains the kernel driver to access Quantis PCI and PCIe devices. WWW: http://www.idquantique.com/
Diffstat (limited to 'security')
-rw-r--r--security/Makefile1
-rw-r--r--security/quantis-kmod/Makefile52
-rw-r--r--security/quantis-kmod/distinfo3
-rw-r--r--security/quantis-kmod/pkg-descr10
-rw-r--r--security/quantis-kmod/pkg-message6
5 files changed, 72 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 342d1549c7ae..2dde19aad540 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -717,6 +717,7 @@
SUBDIR += qca-tls
SUBDIR += qident
SUBDIR += qtfw
+ SUBDIR += quantis-kmod
SUBDIR += quintuple-agent
SUBDIR += racoon2
SUBDIR += radiusniff
diff --git a/security/quantis-kmod/Makefile b/security/quantis-kmod/Makefile
new file mode 100644
index 000000000000..4eb55b95c315
--- /dev/null
+++ b/security/quantis-kmod/Makefile
@@ -0,0 +1,52 @@
+# New ports collection makefile for: quantis-kmod
+# Date created: 10 May 2010
+# Whom: Alex Dupre <ale@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= quantis
+DISTVERSION= v10.06.01
+CATEGORIES= security kld
+MASTER_SITES= http://www.idquantique.com/files/products/quantis/ \
+ ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= ale
+PKGNAMESUFFIX= -kmod
+
+MAINTAINER= ale@FreeBSD.org
+COMMENT= Kernel driver for Quantis PCI/PCIe random number generator
+
+LICENSE_COMB= dual
+LICENSE= BSD GPLv2
+LICENSE_FILE= ${WRKDIR}/Quantis-${DISTVERSION}/License.txt
+
+USE_ZIP= yes
+EXTRACT_BEFORE_ARGS= -aqo
+
+WRKSRC= ${WRKDIR}/Quantis-${DISTVERSION}/Drivers/Unix/QuantisPci
+
+KMODDIR?= /boot/modules
+
+SRC_BASE?= /usr/src
+
+MAKE_ENV+= KMODDIR=${KMODDIR}
+
+PLIST_FILES= "@cwd ${KMODDIR}" \
+ "quantis.ko" \
+ "@unexec kldxref ${KMODDIR}" \
+ "@cwd ${PREFIX}"
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 700000
+IGNORE= requires FreeBSD >= 7
+.endif
+
+.if !exists(${SRC_BASE}/sys/Makefile)
+IGNORE= requires kernel source to be installed
+.endif
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.post.mk>
diff --git a/security/quantis-kmod/distinfo b/security/quantis-kmod/distinfo
new file mode 100644
index 000000000000..d2fbc8709c0c
--- /dev/null
+++ b/security/quantis-kmod/distinfo
@@ -0,0 +1,3 @@
+MD5 (quantis-v10.06.01.zip) = 56b307d4f6930356adbe8d91d4c7a5a0
+SHA256 (quantis-v10.06.01.zip) = 7992d65990c3c174f5e579e6d6555dc6fc42dc53b2dd7110bd637d706d4f4953
+SIZE (quantis-v10.06.01.zip) = 1160026
diff --git a/security/quantis-kmod/pkg-descr b/security/quantis-kmod/pkg-descr
new file mode 100644
index 000000000000..27e3f69e65d7
--- /dev/null
+++ b/security/quantis-kmod/pkg-descr
@@ -0,0 +1,10 @@
+Quantis is a physical random number generator exploiting
+an elementary quantum optics process.
+
+This port contains the kernel driver to access Quantis
+PCI and PCIe devices.
+
+WWW: http://www.idquantique.com/
+
+- Alex Dupre
+ale@FreeBSD.org
diff --git a/security/quantis-kmod/pkg-message b/security/quantis-kmod/pkg-message
new file mode 100644
index 000000000000..fe487ef1871d
--- /dev/null
+++ b/security/quantis-kmod/pkg-message
@@ -0,0 +1,6 @@
+*******************************************************
+
+Add quantis_load="YES" to /boot/loader.conf to load the
+kernel module automatically.
+
+*******************************************************