import mcrypt-2.5.5

--

mcrypt is intended to be a replacement of the old unix crypt(1)
under the GNU General Public License. Unix crypt(1) was a popular
file encryption program in unix boxes.

It was based on the Enigma encryption algorithm but it was considerable
trivialized. Since this was not adequate, even for individual privacy
needs, mcrypt was created as a similar program using some modern
block encryption algorithms.

Mcrypt also has a compatibility mode with unix crypt(1) and with
Solaris des(1). It supports all the algorithms and modes found in
libmcrypt and it is very extendable.

At the time writing this, it supports the algorithms: BLOWFISH,
TWOFISH, DES, TripleDES, 3-WAY, SAFER, LOKI97, GOST, RC2, RC6, MARS,
IDEA, RIJNDAEL, SERPENT, CAST, ARCFOUR and WAKE.

Block algorithms are implemented in modes: CFB, CBC, ECB, OFB (8
bit and n bit, where n is the size of the algorithm's block length).
For a brief description of the algorithms and the modes look at the
mcrypt manpage (this may be out of date).  In mcrypt it is on the
user to decide which algorithm he considers best for encrypting his
data.
This commit is contained in:
avsm 2000-11-27 15:56:03 +00:00
parent 7769275ab2
commit 91cb19a468
8 changed files with 99 additions and 0 deletions

28
security/mcrypt/Makefile Normal file
View File

@ -0,0 +1,28 @@
# $OpenBSD: Makefile,v 1.1.1.1 2000/11/27 15:56:03 avsm Exp $
DISTNAME= mcrypt-2.5.5
CATEGORIES= security
NEED_VERSION= 1.340
HOMEPAGE= http://mcrypt.hellug.gr/mcrypt/
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://mcrypt.hellug.gr/mcrypt/ \
ftp://argeas.cs-net.gr/pub/unix/mcrypt
USE_LIBTOOL= Yes
LIB_DEPENDS= mcrypt.4::security/libmcrypt \
intl.1::devel/gettext
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static --with-catgets
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lintl -lltdl"
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (mcrypt-2.5.5.tar.gz) = 2c7ce0050d897c09ec1f650671b66a3f
RMD160 (mcrypt-2.5.5.tar.gz) = f216aa0a6a4eaf170d42ef5b75da6c9289f37354
SHA1 (mcrypt-2.5.5.tar.gz) = d871b5d30cd927575dafba56155935a7a969b020

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-Makefile.in,v 1.1.1.1 2000/11/27 15:56:03 avsm Exp $
--- Makefile.in.orig Mon Oct 2 16:23:35 2000
+++ Makefile.in Mon Nov 20 15:57:31 2000
@@ -378,8 +378,7 @@ clean-generic maintainer-clean-generic c
maintainer-clean
install-exec-hook:
- -$(RM) -f $(bindir)/mdecrypt
- $(LN_S) mcrypt $(bindir)/mdecrypt
+ $(LN_S) mcrypt ${DESTDIR}$(bindir)/mdecrypt
uninstall-local:
-$(RM) -f $(bindir)/mdecrypt

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-intl_Makefile.in,v 1.1.1.1 2000/11/27 15:56:03 avsm Exp $
--- intl/Makefile.in.orig Mon Nov 20 15:43:32 2000
+++ intl/Makefile.in Mon Nov 20 15:44:07 2000
@@ -25,7 +25,7 @@ top_srcdir = @top_srcdir@
top_builddir = ..
VPATH = @srcdir@
-prefix = @prefix@
+prefix = ${DESTDIR}@prefix@
exec_prefix = @exec_prefix@
transform = @program_transform_name@
libdir = $(exec_prefix)/lib

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-po_Makefile.in.in,v 1.1.1.1 2000/11/27 15:56:03 avsm Exp $
--- po/Makefile.in.in.orig Mon Nov 20 15:50:43 2000
+++ po/Makefile.in.in Mon Nov 20 15:51:19 2000
@@ -16,7 +16,7 @@ srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
-prefix = @prefix@
+prefix = ${DESTDIR}@prefix@
exec_prefix = @exec_prefix@
datadir = $(prefix)/@DATADIRNAME@
localedir = $(datadir)/locale

View File

@ -0,0 +1 @@
extendable encryption program that supports many ciphers

23
security/mcrypt/pkg/DESCR Normal file
View File

@ -0,0 +1,23 @@
mcrypt is intended to be a replacement of the old unix crypt(1)
under the GNU General Public License. Unix crypt(1) was a popular
file encryption program in unix boxes.
It was based on the Enigma encryption algorithm but it was considerable
trivialized. Since this was not adequate, even for individual privacy
needs, mcrypt was created as a similar program using some modern
block encryption algorithms.
Mcrypt also has a compatibility mode with unix crypt(1) and with
Solaris des(1). It supports all the algorithms and modes found in
libmcrypt and it is very extendable.
At the time writing this, it supports the algorithms: BLOWFISH,
TWOFISH, DES, TripleDES, 3-WAY, SAFER, LOKI97, GOST, RC2, RC6, MARS,
IDEA, RIJNDAEL, SERPENT, CAST, ARCFOUR and WAKE.
Block algorithms are implemented in modes: CFB, CBC, ECB, OFB (8
bit and n bit, where n is the size of the algorithm's block length).
For a brief description of the algorithms and the modes look at the
mcrypt manpage (this may be out of date). In mcrypt it is on the
user to decide which algorithm he considers best for encrypting his
data.

View File

@ -0,0 +1,7 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2000/11/27 15:56:03 avsm Exp $
bin/mcrypt
bin/mdecrypt
man/man1/mcrypt.1
share/locale/cz/LC_MESSAGES/mcrypt.mo
share/locale/el/LC_MESSAGES/mcrypt.mo
share/locale/pl/LC_MESSAGES/mcrypt.mo