summaryrefslogtreecommitdiff
path: root/math/solitaire
diff options
context:
space:
mode:
authorDima Dorfman <dd@FreeBSD.org>2001-06-24 23:45:35 +0000
committerDima Dorfman <dd@FreeBSD.org>2001-06-24 23:45:35 +0000
commit911522fd85ce8df387fcca5268933d274375faa0 (patch)
treeb3711d7f6a388b3002ce8f2791dae894288f4912 /math/solitaire
parentFix plist after 4.0.6 upgrade. (diff)
Add solitaire, the reference implementation of the Solitaire
encryption algorithm.
Notes
Notes: svn path=/head/; revision=44401
Diffstat (limited to 'math/solitaire')
-rw-r--r--math/solitaire/Makefile33
-rw-r--r--math/solitaire/distinfo2
-rw-r--r--math/solitaire/pkg-comment1
-rw-r--r--math/solitaire/pkg-descr9
-rw-r--r--math/solitaire/pkg-plist4
5 files changed, 49 insertions, 0 deletions
diff --git a/math/solitaire/Makefile b/math/solitaire/Makefile
new file mode 100644
index 000000000000..7ff2dce21996
--- /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 <bsd.port.mk>
diff --git a/math/solitaire/distinfo b/math/solitaire/distinfo
new file mode 100644
index 000000000000..0c69215583bb
--- /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 000000000000..a26a9ec2fbc5
--- /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 000000000000..e3f998b9297a
--- /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 000000000000..ca675ed145c8
--- /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