From d6f9730f124b696a9404e46c2851692bea9f851a Mon Sep 17 00:00:00 2001 From: dd Date: Sun, 24 Jun 2001 23:45:35 +0000 Subject: Add solitaire, the reference implementation of the Solitaire encryption algorithm. --- math/Makefile | 1 + math/solitaire/Makefile | 33 +++++++++++++++++++++++++++++++++ math/solitaire/distinfo | 2 ++ math/solitaire/pkg-comment | 1 + math/solitaire/pkg-descr | 9 +++++++++ math/solitaire/pkg-plist | 4 ++++ 6 files changed, 50 insertions(+) create mode 100644 math/solitaire/Makefile create mode 100644 math/solitaire/distinfo create mode 100644 math/solitaire/pkg-comment create mode 100644 math/solitaire/pkg-descr create mode 100644 math/solitaire/pkg-plist diff --git a/math/Makefile b/math/Makefile index 2880db477da..6f7979c4a91 100644 --- a/math/Makefile +++ b/math/Makefile @@ -102,6 +102,7 @@ SUBDIR += simpack SUBDIR += slsc SUBDIR += snns + SUBDIR += solitaire SUBDIR += spar SUBDIR += spin SUBDIR += ss diff --git a/math/solitaire/Makefile b/math/solitaire/Makefile new file mode 100644 index 00000000000..7ff2dce2199 --- /dev/null +++ b/math/solitaire/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: solitaire +# Date created: 11 June 2001 +# Whom: dd +# +# $FreeBSD$ +# + +PORTNAME= solitaire +PORTVERSION= 19980817 +CATEGORIES= math misc +MASTER_SITES= http://www.counterpane.com/ \ + ${MASTER_SITE_LOCAL} \ + http://www.unixfreak.org/~dima/distfiles/ +MASTER_SITE_SUBDIR= dd +DISTFILES= sol.pl sol-test.txt + +MAINTAINER= dd@FreeBSD.org + +NO_BUILD= yes +NO_WRKSUBDIR= yes +STRIP= + +do-extract: + @${MKDIR} ${WRKDIR} + @${CP} -r ${DISTDIR}/sol.pl ${DISTDIR}/sol-test.txt ${WRKDIR} + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/sol.pl ${PREFIX}/bin/solitaire + @${MKDIR} ${PREFIX}/share/doc/solitaire + @${INSTALL_DATA} ${WRKSRC}/sol.pl ${WRKSRC}/sol-test.txt \ + ${PREFIX}/share/doc/solitaire + +.include diff --git a/math/solitaire/distinfo b/math/solitaire/distinfo new file mode 100644 index 00000000000..0c69215583b --- /dev/null +++ b/math/solitaire/distinfo @@ -0,0 +1,2 @@ +MD5 (sol.pl) = 9334ee5119b112fc51715be8a8c0ce45 +MD5 (sol-test.txt) = f3bddfb349ed8302568918b988f84786 diff --git a/math/solitaire/pkg-comment b/math/solitaire/pkg-comment new file mode 100644 index 00000000000..a26a9ec2fbc --- /dev/null +++ b/math/solitaire/pkg-comment @@ -0,0 +1 @@ +The reference implementation of the Solitaire encryption algorithm diff --git a/math/solitaire/pkg-descr b/math/solitaire/pkg-descr new file mode 100644 index 00000000000..e3f998b9297 --- /dev/null +++ b/math/solitaire/pkg-descr @@ -0,0 +1,9 @@ +Solitaire is an encryption system based on a deck of cards by Bruce +Schneier. Although it is designed to be worked out by a human, it can +work on computers. This is the reference implementation programmed in +Perl. The program itself is installed as 'solitaire', and the source +code and test vectors are installed in share/doc/solitaire. + +Please read the web site below before relying on this for real security. + +WWW: http://www.counterpane.com/solitaire.html diff --git a/math/solitaire/pkg-plist b/math/solitaire/pkg-plist new file mode 100644 index 00000000000..ca675ed145c --- /dev/null +++ b/math/solitaire/pkg-plist @@ -0,0 +1,4 @@ +bin/solitaire +share/doc/solitaire/sol.pl +share/doc/solitaire/sol-test.txt +@dirrm share/doc/solitaire -- cgit