From 149a95fcef242d3809a10324286096014f83c0ec Mon Sep 17 00:00:00 2001 From: foxfair Date: Tue, 25 Mar 2003 13:04:56 +0000 Subject: Add libidea 0.8.2b, iDEA block cipher library. PR: 43793 Submitted by: Jim Geovedi --- security/Makefile | 1 + security/libidea/Makefile | 29 +++++++++++++++++++++++++++++ security/libidea/distinfo | 1 + security/libidea/files/patch-Makefile | 25 +++++++++++++++++++++++++ security/libidea/pkg-descr | 10 ++++++++++ security/libidea/pkg-plist | 4 ++++ 6 files changed, 70 insertions(+) create mode 100644 security/libidea/Makefile create mode 100644 security/libidea/distinfo create mode 100644 security/libidea/files/patch-Makefile create mode 100644 security/libidea/pkg-descr create mode 100644 security/libidea/pkg-plist (limited to 'security') diff --git a/security/Makefile b/security/Makefile index b344492..d7d3ad8 100644 --- a/security/Makefile +++ b/security/Makefile @@ -115,6 +115,7 @@ SUBDIR += libfwbuilder SUBDIR += libgcrypt SUBDIR += libgringotts + SUBDIR += libidea SUBDIR += libident SUBDIR += libksba SUBDIR += libmcrypt diff --git a/security/libidea/Makefile b/security/libidea/Makefile new file mode 100644 index 0000000..45f858e --- /dev/null +++ b/security/libidea/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: libidea +# Date created: Sep 30, 2002 +# Whom: Jim Geovedi +# +# $FreeBSD$ +# + +PORTNAME= libidea +PORTVERSION= 0.8.2b +CATEGORIES= security +MASTER_SITES= ftp://ftp.funet.fi/pub/mirrors/ftp.psy.uq.oz.au/libeay/ \ + ftp://ftp.psy.uq.oz.au/pub/Crypto/libeay/ \ + ftp://ftp.ntnu.no/pub/unix/security/ \ + ftp://ftp.sunsite.org.uk/Mirrors/ftp.psy.uq.oz.au/pub/Crypto/libeay/ + +MAINTAINER= jim@corebsd.or.id +COMMENT= IDEA block cipher library + +RESTRICTED= "Crypto; export-controlled" + +WRKSRC= ${WRKDIR}/idea + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/ideatest ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/idea_spd ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/libidea.a ${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/idea.h ${PREFIX}/include + +.include diff --git a/security/libidea/distinfo b/security/libidea/distinfo new file mode 100644 index 0000000..cc199e7 --- /dev/null +++ b/security/libidea/distinfo @@ -0,0 +1 @@ +MD5 (libidea-0.8.2b.tar.gz) = d67b25dd2e4a6f3331f4061724d0056a diff --git a/security/libidea/files/patch-Makefile b/security/libidea/files/patch-Makefile new file mode 100644 index 0000000..8dd4813 --- /dev/null +++ b/security/libidea/files/patch-Makefile @@ -0,0 +1,25 @@ +--- Makefile.orig Thu Dec 4 20:35:38 1997 ++++ Makefile Mon Sep 30 02:55:39 2002 +@@ -5,20 +5,14 @@ + + DIR= cast + TOP= . +-CC= gcc +-CFLAG= -O3 -fomit-frame-pointer + +-CPP= $(CC) -E +-INCLUDES= +-INSTALLTOP=/usr/local/lib ++CPP?= $(CC) -E ++INSTALLTOP= ${PREFIX}/lib + MAKE= make + MAKEDEPEND= makedepend +-MAKEFILE= Makefile.uni + AR= ar r + + IDEA_ENC=i_cbc.o +- +-CFLAGS= $(INCLUDES) $(CFLAG) + + GENERAL=Makefile + TEST=ideatest diff --git a/security/libidea/pkg-descr b/security/libidea/pkg-descr new file mode 100644 index 0000000..6aa2c8b --- /dev/null +++ b/security/libidea/pkg-descr @@ -0,0 +1,10 @@ +IDEA is a block cipher invented by Xuejia Lai and James Massey in +1991. A block cipher is an encryption algorithm that encrypts the +data in blocks. IDEA has a block size of 64 bits, and a keylength of +128 bits. IDEA is a symmetrical algorithm, which means that the same +key is used both for encryption and for decryption. + +WWW: http://www.mediacrypt.com/engl/Community/index.asp + + -- Jim Geovedi + jim@corebsd.or.id diff --git a/security/libidea/pkg-plist b/security/libidea/pkg-plist new file mode 100644 index 0000000..f61bf75 --- /dev/null +++ b/security/libidea/pkg-plist @@ -0,0 +1,4 @@ +bin/ideatest +bin/idea_spd +include/idea.h +lib/libidea.a -- cgit v1.1