1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Add libidea 0.8.2b, iDEA block cipher library.

PR:		43793
Submitted by:	Jim Geovedi <jim@corebsd.or.id>
This commit is contained in:
Foxfair Hu 2003-03-25 13:04:56 +00:00
parent 33e059c87e
commit 5282cf001d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=77451
6 changed files with 70 additions and 0 deletions

View File

@ -115,6 +115,7 @@
SUBDIR += libfwbuilder
SUBDIR += libgcrypt
SUBDIR += libgringotts
SUBDIR += libidea
SUBDIR += libident
SUBDIR += libksba
SUBDIR += libmcrypt

29
security/libidea/Makefile Normal file
View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (libidea-0.8.2b.tar.gz) = d67b25dd2e4a6f3331f4061724d0056a

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,4 @@
bin/ideatest
bin/idea_spd
include/idea.h
lib/libidea.a