2007-09-15 19:29:57 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2007/09/15 23:29:58 merdely Exp $
|
initial import of cryptokit-1.2
--
The Cryptokit library for Objective Caml provides a variety of
cryptographic primitives that can be used to implement cryptographic
protocols in security-sensitive applications. The primitives
provided include:
- Symmetric-key ciphers: AES, DES, Triple-DES, ARCfour,
in ECB, CBC, CFB and OFB modes.
- Public-key cryptography: RSA encryption, Diffie-Hellman key
agreement.
- Hash functions and MACs: SHA-1, MD5, and MACs based on
AES and DES.
- Random number generation.
- Encodings and compression: Base64, hexadecimal, Zlib compression.
Additional ciphers and hashes can easily be used in conjunction
with the library. In particular, basic mechanisms such as chaining
modes, output buffering, and padding are provided by generic classes
that can easily be composed with user-provided ciphers. More
generally, the library promotes a "Lego"-like style of constructing
and composing transformations over character streams.
2003-07-20 22:39:46 -04:00
|
|
|
|
2007-09-15 19:29:57 -04:00
|
|
|
COMMENT= cryptographic framework for the Objective-ML language
|
initial import of cryptokit-1.2
--
The Cryptokit library for Objective Caml provides a variety of
cryptographic primitives that can be used to implement cryptographic
protocols in security-sensitive applications. The primitives
provided include:
- Symmetric-key ciphers: AES, DES, Triple-DES, ARCfour,
in ECB, CBC, CFB and OFB modes.
- Public-key cryptography: RSA encryption, Diffie-Hellman key
agreement.
- Hash functions and MACs: SHA-1, MD5, and MACs based on
AES and DES.
- Random number generation.
- Encodings and compression: Base64, hexadecimal, Zlib compression.
Additional ciphers and hashes can easily be used in conjunction
with the library. In particular, basic mechanisms such as chaining
modes, output buffering, and padding are provided by generic classes
that can easily be composed with user-provided ciphers. More
generally, the library promotes a "Lego"-like style of constructing
and composing transformations over character streams.
2003-07-20 22:39:46 -04:00
|
|
|
CATEGORIES= security
|
|
|
|
|
2006-05-28 11:45:07 -04:00
|
|
|
DISTNAME= cryptokit-1.3
|
2006-12-26 17:39:31 -05:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
initial import of cryptokit-1.2
--
The Cryptokit library for Objective Caml provides a variety of
cryptographic primitives that can be used to implement cryptographic
protocols in security-sensitive applications. The primitives
provided include:
- Symmetric-key ciphers: AES, DES, Triple-DES, ARCfour,
in ECB, CBC, CFB and OFB modes.
- Public-key cryptography: RSA encryption, Diffie-Hellman key
agreement.
- Hash functions and MACs: SHA-1, MD5, and MACs based on
AES and DES.
- Random number generation.
- Encodings and compression: Base64, hexadecimal, Zlib compression.
Additional ciphers and hashes can easily be used in conjunction
with the library. In particular, basic mechanisms such as chaining
modes, output buffering, and padding are provided by generic classes
that can easily be composed with user-provided ciphers. More
generally, the library promotes a "Lego"-like style of constructing
and composing transformations over character streams.
2003-07-20 22:39:46 -04:00
|
|
|
MASTER_SITES= http://caml.inria.fr/distrib/bazar-ocaml/
|
|
|
|
|
|
|
|
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
|
|
|
|
HOMEPAGE= http://pauillac.inria.fr/~xleroy/software.html
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
|
2004-08-10 16:41:47 -04:00
|
|
|
MODULES= lang/ocaml
|
initial import of cryptokit-1.2
--
The Cryptokit library for Objective Caml provides a variety of
cryptographic primitives that can be used to implement cryptographic
protocols in security-sensitive applications. The primitives
provided include:
- Symmetric-key ciphers: AES, DES, Triple-DES, ARCfour,
in ECB, CBC, CFB and OFB modes.
- Public-key cryptography: RSA encryption, Diffie-Hellman key
agreement.
- Hash functions and MACs: SHA-1, MD5, and MACs based on
AES and DES.
- Random number generation.
- Encodings and compression: Base64, hexadecimal, Zlib compression.
Additional ciphers and hashes can easily be used in conjunction
with the library. In particular, basic mechanisms such as chaining
modes, output buffering, and padding are provided by generic classes
that can easily be composed with user-provided ciphers. More
generally, the library promotes a "Lego"-like style of constructing
and composing transformations over character streams.
2003-07-20 22:39:46 -04:00
|
|
|
|
|
|
|
OCAML_LIBDIR= ${PREFIX}/lib/ocaml
|
|
|
|
DOC_DIR= ${PREFIX}/share/doc/cryptokit
|
|
|
|
MAKE_FLAGS= CFLAGS="${CFLAGS} -DHAVE_ZLIB"
|
|
|
|
FAKE_FLAGS= INSTALLDIR="${DESTDIR}${OCAML_LIBDIR}"
|
|
|
|
|
2003-07-22 16:11:47 -04:00
|
|
|
ALL_TARGET= all ${MODOCAML_NATIVE:S,Yes,allopt,:S,No,,}
|
|
|
|
|
initial import of cryptokit-1.2
--
The Cryptokit library for Objective Caml provides a variety of
cryptographic primitives that can be used to implement cryptographic
protocols in security-sensitive applications. The primitives
provided include:
- Symmetric-key ciphers: AES, DES, Triple-DES, ARCfour,
in ECB, CBC, CFB and OFB modes.
- Public-key cryptography: RSA encryption, Diffie-Hellman key
agreement.
- Hash functions and MACs: SHA-1, MD5, and MACs based on
AES and DES.
- Random number generation.
- Encodings and compression: Base64, hexadecimal, Zlib compression.
Additional ciphers and hashes can easily be used in conjunction
with the library. In particular, basic mechanisms such as chaining
modes, output buffering, and padding are provided by generic classes
that can easily be composed with user-provided ciphers. More
generally, the library promotes a "Lego"-like style of constructing
and composing transformations over character streams.
2003-07-20 22:39:46 -04:00
|
|
|
REGRESS_TARGET= test
|
|
|
|
|
2003-07-22 16:11:47 -04:00
|
|
|
pre-install:
|
initial import of cryptokit-1.2
--
The Cryptokit library for Objective Caml provides a variety of
cryptographic primitives that can be used to implement cryptographic
protocols in security-sensitive applications. The primitives
provided include:
- Symmetric-key ciphers: AES, DES, Triple-DES, ARCfour,
in ECB, CBC, CFB and OFB modes.
- Public-key cryptography: RSA encryption, Diffie-Hellman key
agreement.
- Hash functions and MACs: SHA-1, MD5, and MACs based on
AES and DES.
- Random number generation.
- Encodings and compression: Base64, hexadecimal, Zlib compression.
Additional ciphers and hashes can easily be used in conjunction
with the library. In particular, basic mechanisms such as chaining
modes, output buffering, and padding are provided by generic classes
that can easily be composed with user-provided ciphers. More
generally, the library promotes a "Lego"-like style of constructing
and composing transformations over character streams.
2003-07-20 22:39:46 -04:00
|
|
|
${INSTALL_DATA_DIR} ${OCAML_LIBDIR}
|
2003-07-22 16:11:47 -04:00
|
|
|
|
|
|
|
post-install:
|
initial import of cryptokit-1.2
--
The Cryptokit library for Objective Caml provides a variety of
cryptographic primitives that can be used to implement cryptographic
protocols in security-sensitive applications. The primitives
provided include:
- Symmetric-key ciphers: AES, DES, Triple-DES, ARCfour,
in ECB, CBC, CFB and OFB modes.
- Public-key cryptography: RSA encryption, Diffie-Hellman key
agreement.
- Hash functions and MACs: SHA-1, MD5, and MACs based on
AES and DES.
- Random number generation.
- Encodings and compression: Base64, hexadecimal, Zlib compression.
Additional ciphers and hashes can easily be used in conjunction
with the library. In particular, basic mechanisms such as chaining
modes, output buffering, and padding are provided by generic classes
that can easily be composed with user-provided ciphers. More
generally, the library promotes a "Lego"-like style of constructing
and composing transformations over character streams.
2003-07-20 22:39:46 -04:00
|
|
|
${INSTALL_DATA_DIR} ${DOC_DIR}
|
|
|
|
${LOCALBASE}/bin/ocamldoc -html -I ${WRKSRC} -d ${DOC_DIR} ${WRKSRC}/cryptokit.mli
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|