summaryrefslogtreecommitdiff
path: root/security/opencl
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-03-02 19:15:58 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-03-02 19:15:58 +0000
commit92c471f96a6e12321438289e49aa4647beb5bf83 (patch)
treecf95bb096824329197adf51c45048c28cbcd917b /security/opencl
parentHeuristically determine if the kernel sources contain knob required (diff)
add opencl, a portable, easy to use, and efficient C++ crypto library
Notes
Notes: svn path=/head/; revision=38995
Diffstat (limited to 'security/opencl')
-rw-r--r--security/opencl/Makefile31
-rw-r--r--security/opencl/distinfo1
-rw-r--r--security/opencl/files/patch-Makefile53
-rw-r--r--security/opencl/pkg-comment1
-rw-r--r--security/opencl/pkg-descr14
-rw-r--r--security/opencl/pkg-plist71
6 files changed, 171 insertions, 0 deletions
diff --git a/security/opencl/Makefile b/security/opencl/Makefile
new file mode 100644
index 000000000000..86715c3aac3d
--- /dev/null
+++ b/security/opencl/Makefile
@@ -0,0 +1,31 @@
+# ex:ts=8
+# New ports collection makefile for: opencl
+# Date created: Mar 3, 2001
+# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= opencl
+PORTVERSION= 0.7.0
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= OpenCL-${PORTVERSION}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= ijliao@FreeBSD.org
+
+USE_NEWGCC= yes
+
+HAS_CONFIGURE= yes
+CONFIGURE_SCRIPT= configure.pl
+CONFIGURE_ARGS= --nodebug gcc-freebsd-generic
+
+USE_GMAKE= yes
+
+INSTALLS_SHLIB= yes
+
+PLIST_SUB= PORTVERSION=${PORTVERSION}
+
+.include <bsd.port.mk>
diff --git a/security/opencl/distinfo b/security/opencl/distinfo
new file mode 100644
index 000000000000..1f421efff9d0
--- /dev/null
+++ b/security/opencl/distinfo
@@ -0,0 +1 @@
+MD5 (OpenCL-0.7.0.tgz) = 551e39f327ea2eb8b7ca3e1d470a0fea
diff --git a/security/opencl/files/patch-Makefile b/security/opencl/files/patch-Makefile
new file mode 100644
index 000000000000..e81dbb699ced
--- /dev/null
+++ b/security/opencl/files/patch-Makefile
@@ -0,0 +1,53 @@
+--- Makefile.orig Thu Mar 1 07:14:54 2001
++++ Makefile Sat Mar 3 02:51:20 2001
+@@ -23,7 +23,7 @@
+ DOCDIR = $(INSTALLROOT)/share/doc/$(NAME)-$(VERSION)
+
+ OWNER = root
+-GROUP = root
++GROUP = wheel
+ DATA_MODE = 644
+ EXEC_MODE = 755
+
+@@ -79,7 +79,7 @@
+ SYMLINK1 = $(LIBNAME)-$(MAJOR).$(MINOR).so
+ SYMLINK2 = $(LIBNAME)-$(MAJOR).so
+ SYMLINK3 = $(LIBNAME).so
+-SYMLINKS = $(SYMLINK1) $(SYMLINK2) $(SYMLINK3)
++SYMLINKS = $(SYMLINK3)
+
+ LIBRARIES = $(STATIC_LIB) $(SHARED_LIB)
+ else
+@@ -105,9 +105,7 @@
+ ifneq (,$(findstring yes,$(MAKE_SHARED)))
+ $(SHARED_LIB): $(LIBOBJS)
+ $(CXX) $(SO_LINK_FLAGS) $(LIBOBJS) -o $(SHARED_LIB)
+- $(call LN,.,$(SYMLINK0),$(SYMLINK1))
+- $(call LN,.,$(SYMLINK1),$(SYMLINK2))
+- $(call LN,.,$(SYMLINK2),$(SYMLINK3))
++ $(call LN,.,$(SYMLINK0),$(SYMLINK3))
+ endif
+
+ ##################################################
+@@ -154,9 +152,7 @@
+ $(call INSTALL,$(DATA_MODE)) $(STATIC_LIB) $(LIBDIR)
+ ifneq (,$(findstring yes,$(MAKE_SHARED)))
+ $(call INSTALL,$(EXEC_MODE)) $(SHARED_LIB) $(LIBDIR)
+- $(call LN,$(LIBDIR),$(SYMLINK0),$(SYMLINK1))
+- $(call LN,$(LIBDIR),$(SYMLINK1),$(SYMLINK2))
+- $(call LN,$(LIBDIR),$(SYMLINK2),$(SYMLINK3))
++ $(call LN,$(LIBDIR),$(SYMLINK0),$(SYMLINK3))
+ endif
+
+ install_user: $(LIBRARIES)
+@@ -165,9 +161,7 @@
+ $(call INSTALL,$(DATA_MODE)) $(USER_DOCS) $(DOCDIR)
+ ifneq (,$(findstring yes,$(MAKE_SHARED)))
+ $(call INSTALL,$(EXEC_MODE)) $(SHARED_LIB) $(LIBDIR)
+- $(call LN,$(LIBDIR),$(SYMLINK0),$(SYMLINK1))
+- $(call LN,$(LIBDIR),$(SYMLINK1),$(SYMLINK2))
+- $(call LN,$(LIBDIR),$(SYMLINK2),$(SYMLINK3))
++ $(call LN,$(LIBDIR),$(SYMLINK0),$(SYMLINK3))
+ endif
+
+ install_devel: $(LIBRARIES)
diff --git a/security/opencl/pkg-comment b/security/opencl/pkg-comment
new file mode 100644
index 000000000000..d735abdabc26
--- /dev/null
+++ b/security/opencl/pkg-comment
@@ -0,0 +1 @@
+A portable, easy to use, and efficient C++ crypto library
diff --git a/security/opencl/pkg-descr b/security/opencl/pkg-descr
new file mode 100644
index 000000000000..d45a42c72e24
--- /dev/null
+++ b/security/opencl/pkg-descr
@@ -0,0 +1,14 @@
+OpenCL aims to be a portable, easy to use, and efficient C++ crypto
+library. It currently supports the following algorithms:
+
+ Block Ciphers: Blowfish, CAST256, CAST5, CS-Cipher, DES, GOST,
+ IDEA, Luby-Rackoff, MISTY1, RC2, RC5, RC6, Rijndael, SAFER-SK128,
+ Serpent, SHARK, Skipjack, Square, TEA, Threeway, Twofish, XTEA
+ Stream Ciphers: ARC4, ISAAC, SEAL
+ Hash Functions: HAVAL, MD2, MD4, MD5, RIPE-MD128, RIPE-MD160, SHA-1,
+ SHA2-256, SHA2-512, Tiger
+ MACs: EMAC, HMAC, MD5MAC
+ Misc: Adler32, CRC24, CRC32, Randpool, X9.17 RNG
+ Cipher Modes: CBC w/ Padding, CFB, OFB, Counter
+
+WWW: http://opencl.sourceforge.net/
diff --git a/security/opencl/pkg-plist b/security/opencl/pkg-plist
new file mode 100644
index 000000000000..9d0add8eb7bc
--- /dev/null
+++ b/security/opencl/pkg-plist
@@ -0,0 +1,71 @@
+include/opencl/arc4.h
+include/opencl/blowfish.h
+include/opencl/cast256.h
+include/opencl/cast5.h
+include/opencl/checksum.h
+include/opencl/config.h
+include/opencl/cscipher.h
+include/opencl/des.h
+include/opencl/emac.h
+include/opencl/encoder.h
+include/opencl/exceptn.h
+include/opencl/filtbase.h
+include/opencl/filters.h
+include/opencl/filters.icc
+include/opencl/gost.h
+include/opencl/haval.h
+include/opencl/hmac.h
+include/opencl/idea.h
+include/opencl/isaac.h
+include/opencl/lubyrack.h
+include/opencl/md2.h
+include/opencl/md4.h
+include/opencl/md5.h
+include/opencl/md5mac.h
+include/opencl/misty1.h
+include/opencl/modes.h
+include/opencl/modes.icc
+include/opencl/opencl.h
+include/opencl/randpool.h
+include/opencl/rc2.h
+include/opencl/rc5.h
+include/opencl/rc6.h
+include/opencl/rijndael.h
+include/opencl/rmd128.h
+include/opencl/rmd160.h
+include/opencl/safer_sk.h
+include/opencl/seal.h
+include/opencl/secalloc.h
+include/opencl/secmem.h
+include/opencl/secqueue.h
+include/opencl/serpent.h
+include/opencl/sha1.h
+include/opencl/sha256.h
+include/opencl/sha512.h
+include/opencl/shark.h
+include/opencl/skipjack.h
+include/opencl/square.h
+include/opencl/symkey.h
+include/opencl/tea.h
+include/opencl/threeway.h
+include/opencl/tiger.h
+include/opencl/triple.h
+include/opencl/twofish.h
+include/opencl/types.h
+include/opencl/util.h
+include/opencl/x917.h
+include/opencl/xtea.h
+@dirrm include/opencl
+lib/libopencl.a
+lib/libopencl-%%PORTVERSION%%.so
+lib/libopencl.so
+share/doc/OpenCL-%%PORTVERSION%%/OpenCL.spec
+share/doc/OpenCL-%%PORTVERSION%%/license.txt
+share/doc/OpenCL-%%PORTVERSION%%/opencl.asc
+share/doc/OpenCL-%%PORTVERSION%%/opencl.ps
+share/doc/OpenCL-%%PORTVERSION%%/opencl.tex
+share/doc/OpenCL-%%PORTVERSION%%/readme.txt
+share/doc/OpenCL-%%PORTVERSION%%/relnotes.txt
+share/doc/OpenCL-%%PORTVERSION%%/thanks.txt
+share/doc/OpenCL-%%PORTVERSION%%/todo.txt
+@dirrm share/doc/OpenCL-%%PORTVERSION%%