diff options
author | foxfair <foxfair@FreeBSD.org> | 2003-03-25 21:04:56 +0800 |
---|---|---|
committer | foxfair <foxfair@FreeBSD.org> | 2003-03-25 21:04:56 +0800 |
commit | 149a95fcef242d3809a10324286096014f83c0ec (patch) | |
tree | 6c9ac51a7a320fc038a19be55fd1f81a7009f262 | |
parent | 5de3e033859182eedd7ca138dd7b117f60232897 (diff) | |
download | freebsd-ports-graphics-149a95fcef242d3809a10324286096014f83c0ec.tar.gz freebsd-ports-graphics-149a95fcef242d3809a10324286096014f83c0ec.tar.zst freebsd-ports-graphics-149a95fcef242d3809a10324286096014f83c0ec.zip |
Add libidea 0.8.2b, iDEA block cipher library.
PR: 43793
Submitted by: Jim Geovedi <jim@corebsd.or.id>
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/libidea/Makefile | 29 | ||||
-rw-r--r-- | security/libidea/distinfo | 1 | ||||
-rw-r--r-- | security/libidea/files/patch-Makefile | 25 | ||||
-rw-r--r-- | security/libidea/pkg-descr | 10 | ||||
-rw-r--r-- | security/libidea/pkg-plist | 4 |
6 files changed, 70 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index b344492dd15..d7d3ad8242d 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 00000000000..45f858ebd07 --- /dev/null +++ b/security/libidea/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: libidea +# Date created: Sep 30, 2002 +# Whom: Jim Geovedi <jim@corebsd.or.id> +# +# $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 <bsd.port.mk> diff --git a/security/libidea/distinfo b/security/libidea/distinfo new file mode 100644 index 00000000000..cc199e7f2b9 --- /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 00000000000..8dd4813466d --- /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 00000000000..6aa2c8b8a73 --- /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 00000000000..f61bf752f36 --- /dev/null +++ b/security/libidea/pkg-plist @@ -0,0 +1,4 @@ +bin/ideatest +bin/idea_spd +include/idea.h +lib/libidea.a |