summaryrefslogtreecommitdiff
path: root/security/ccrypt
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-02-07 01:13:35 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-02-07 01:13:35 +0000
commit156225ecf2eabc5480c532fba38202b4f26e02de (patch)
treeacb81ad9fcc88866d3bad7f0b3203c0c303b2361 /security/ccrypt
parentFix a typo. PKG_PREIFX -> PKG_PREFIX (diff)
add ccrypt 1.2
A command-line utility for encrypting and decrypting files and streams
Notes
Notes: svn path=/head/; revision=54279
Diffstat (limited to 'security/ccrypt')
-rw-r--r--security/ccrypt/Makefile32
-rw-r--r--security/ccrypt/distinfo1
-rw-r--r--security/ccrypt/files/patch-Makefile.in11
-rw-r--r--security/ccrypt/files/patch-doc::Makefile.in11
-rw-r--r--security/ccrypt/pkg-comment1
-rw-r--r--security/ccrypt/pkg-descr22
-rw-r--r--security/ccrypt/pkg-plist6
7 files changed, 84 insertions, 0 deletions
diff --git a/security/ccrypt/Makefile b/security/ccrypt/Makefile
new file mode 100644
index 000000000000..c7eb499065bc
--- /dev/null
+++ b/security/ccrypt/Makefile
@@ -0,0 +1,32 @@
+# ex:ts=8
+# Ports collection makefile for: ccrypt
+# Date created: Feb 7, 2002
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= ccrypt
+PORTVERSION= 1.2
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
+ http://quasar.mathstat.uottawa.ca/~selinger/ccrypt/download/
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ports@FreeBSD.org
+
+LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
+
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
+
+MAN1= ccrypt.1
+MLINKS= ccrypt.1 ccencrypt.1 \
+ ccrypt.1 ccdecrypt.1 \
+ ccrypt.1 ccat.1
+
+post-patch:
+ @${PERL} -pi -e "s,gtar,tar,g" ${WRKSRC}/configure
+
+.include <bsd.port.mk>
diff --git a/security/ccrypt/distinfo b/security/ccrypt/distinfo
new file mode 100644
index 000000000000..2ad966f58796
--- /dev/null
+++ b/security/ccrypt/distinfo
@@ -0,0 +1 @@
+MD5 (ccrypt-1.2.tar.gz) = 48d592d677e344d7a5259f3571886adf
diff --git a/security/ccrypt/files/patch-Makefile.in b/security/ccrypt/files/patch-Makefile.in
new file mode 100644
index 000000000000..f642d37c7ce2
--- /dev/null
+++ b/security/ccrypt/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Thu Feb 7 09:08:04 2002
++++ Makefile.in Thu Feb 7 09:08:12 2002
+@@ -72,7 +72,7 @@
+ VERSION = @VERSION@
+ lispdir = @lispdir@
+
+-SUBDIRS = src emacs doc check
++SUBDIRS = src doc check
+
+ EXTRA_DIST = README.win
+
diff --git a/security/ccrypt/files/patch-doc::Makefile.in b/security/ccrypt/files/patch-doc::Makefile.in
new file mode 100644
index 000000000000..5fb2e733519f
--- /dev/null
+++ b/security/ccrypt/files/patch-doc::Makefile.in
@@ -0,0 +1,11 @@
+--- doc/Makefile.in.orig Thu Feb 7 09:08:51 2002
++++ doc/Makefile.in Thu Feb 7 09:09:31 2002
+@@ -75,7 +75,7 @@
+
+ EXTRA_DIST = ccrypt.1.in man2html.sed cypfaq01.txt
+
+-htmldir = $(prefix)/doc/ccrypt
++htmldir = $(prefix)/share/doc/ccrypt
+
+ DISTCLEANFILES = ccrypt.ps ccrypt.html
+
diff --git a/security/ccrypt/pkg-comment b/security/ccrypt/pkg-comment
new file mode 100644
index 000000000000..a2c0d7a25f41
--- /dev/null
+++ b/security/ccrypt/pkg-comment
@@ -0,0 +1 @@
+A command-line utility for encrypting and decrypting files and streams
diff --git a/security/ccrypt/pkg-descr b/security/ccrypt/pkg-descr
new file mode 100644
index 000000000000..299ef745557e
--- /dev/null
+++ b/security/ccrypt/pkg-descr
@@ -0,0 +1,22 @@
+ccrypt is a utility for encrypting and decrypting files and streams. It was
+designed to replace the standard unix crypt utility, which is notorious for
+using a very weak encryption algorithm. ccrypt is based on the Rijndael
+cipher, which is the U.S. government's chosen candidate for the Advanced
+Encryption Standard (AES, see http://www.nist.gov/aes/). This cipher is
+believed to provide very strong security.
+
+Unlike unix crypt, the algorithm provided by ccrypt is not symmetric, i.e.,
+one must specify whether to encrypt or decrypt. The most common way to invoke
+ccrypt is via the commands ccencrypt and ccdecrypt. There is also a ccat
+command for decrypting a file directly to the terminal, thus reducing the
+likelihood of leaving temporary plaintext files around. In addition, there
+is a compatibility mode for decrypting legacy unix crypt files.
+
+Encryption and decryption depends on a keyword (or key phrase) supplied by
+the user. By default, the user is prompted to enter a keyword from the
+terminal. Keywords can consist of any number of characters, and all characters
+are significant (although ccrypt internally hashes the key to 256 bits).
+Longer keywords provide better security than short ones, since they are less
+likely to be discovered by exhaustive search.
+
+WWW: http://quasar.mathstat.uottawa.ca/~selinger/ccrypt/
diff --git a/security/ccrypt/pkg-plist b/security/ccrypt/pkg-plist
new file mode 100644
index 000000000000..7a57399c2bed
--- /dev/null
+++ b/security/ccrypt/pkg-plist
@@ -0,0 +1,6 @@
+bin/ccat
+bin/ccdecrypt
+bin/ccencrypt
+bin/ccrypt
+share/doc/ccrypt/ccrypt.html
+@dirrm share/doc/ccrypt