aboutsummaryrefslogtreecommitdiffstats
path: root/security/cfs
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1997-07-31 06:10:23 +0800
committerjdp <jdp@FreeBSD.org>1997-07-31 06:10:23 +0800
commit73daebf4917b00567e3fdeefc3c6def4aaba38e0 (patch)
treeccb9fdee6c11bf1c13577dab1dcb0385a1cdb32d /security/cfs
parentf6625ff1cf0e630f33d0397f64bf16a3df4262a2 (diff)
downloadfreebsd-ports-gnome-73daebf4917b00567e3fdeefc3c6def4aaba38e0.tar.gz
freebsd-ports-gnome-73daebf4917b00567e3fdeefc3c6def4aaba38e0.tar.zst
freebsd-ports-gnome-73daebf4917b00567e3fdeefc3c6def4aaba38e0.zip
New port of CFS, the Cryptographic File System.
Diffstat (limited to 'security/cfs')
-rw-r--r--security/cfs/Makefile31
-rw-r--r--security/cfs/distinfo1
-rw-r--r--security/cfs/files/patch-aa22
-rw-r--r--security/cfs/files/patch-ab11
-rw-r--r--security/cfs/pkg-comment1
-rw-r--r--security/cfs/pkg-descr14
-rw-r--r--security/cfs/pkg-plist17
7 files changed, 97 insertions, 0 deletions
diff --git a/security/cfs/Makefile b/security/cfs/Makefile
new file mode 100644
index 000000000000..6b4f521360bf
--- /dev/null
+++ b/security/cfs/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: cfs
+# Version required: 1.3.3
+# Date created: 30 Jul 1997
+# Whom: John Polstra <jdp@polstra.com>
+#
+# $Id$
+#
+
+DISTNAME= cfs-1.3.3
+CATEGORIES= security
+MASTER_SITES= ftp://utopia.hacktic.nl/pub/crypto/disk/ \
+ ftp://ftp.informatik.uni-hamburg.de/pub/virus/crypt/disk/
+
+MAINTAINER= jdp@polstra.com
+
+ALL_TARGET= cfs
+MAN1= cattach.1 cdetach.1 cmkdir.1 cpasswd.1
+MAN8= ccat.8 cfsd.8 cname.8
+RESTRICTED= "contains crypto code"
+
+do-install:
+ @cd ${WRKSRC}; \
+ ${INSTALL_PROGRAM} ccat cfsd cname ${PREFIX}/sbin; \
+ ${INSTALL_PROGRAM} cattach cdetach cmkdir cpasswd ${PREFIX}/bin; \
+ ${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1; \
+ ${INSTALL_MAN} ${MAN8} ${PREFIX}/man/man8; \
+ ${MKDIR} ${PREFIX}/share/doc/cfs; \
+ ${INSTALL_DATA} README.install notes.ms ${PREFIX}/share/doc/cfs; \
+ ${INSTALL_SCRIPT} cfsd.sh ${PREFIX}/etc/rc.d
+
+.include <bsd.port.mk>
diff --git a/security/cfs/distinfo b/security/cfs/distinfo
new file mode 100644
index 000000000000..0900ac4eab43
--- /dev/null
+++ b/security/cfs/distinfo
@@ -0,0 +1 @@
+MD5 (cfs-1.3.3.tar.gz) = 44accb7e102a78150dd35e9fa36d7f5f
diff --git a/security/cfs/files/patch-aa b/security/cfs/files/patch-aa
new file mode 100644
index 000000000000..2adf405acb85
--- /dev/null
+++ b/security/cfs/files/patch-aa
@@ -0,0 +1,22 @@
+--- Makefile.orig Wed Mar 20 09:59:03 1996
++++ Makefile Wed Jul 30 12:04:03 1997
+@@ -193,12 +193,18 @@
+ ## not sure what to do for NeXT. I think this works:
+ #CFLAGS=$(COPT) -posix -D_BSD -DANYPORT -I$(RINCLUDES)
+
++## use these for FreeBSD
++CFLAGS=$(COPT) -DBSD44 -DANYPORT -DSHORTLINKS
++LIBS=-lrpcsvc
++COMPAT=-lcompat
++RPCOPTS=
++
+
+ #==========================================================================
+ # (3/3) CONFIGURE: one last thing
+ #==========================================================================
+ # finally, comment out the next line:
+-CC=you_forgot_to_edit_the_makefile
++#CC=you_forgot_to_edit_the_makefile
+
+ # now you're done with local configuration.
+
diff --git a/security/cfs/files/patch-ab b/security/cfs/files/patch-ab
new file mode 100644
index 000000000000..46cd6d0e0e0a
--- /dev/null
+++ b/security/cfs/files/patch-ab
@@ -0,0 +1,11 @@
+--- cfs.c.orig Wed Mar 20 09:57:56 1996
++++ cfs.c Wed Jul 30 12:06:01 1997
+@@ -42,7 +42,7 @@
+
+ struct in_addr validhost;
+
+-#if defined(SOLARIS2X) || defined(__NetBSD__)
++#if defined(SOLARIS2X) || defined(__NetBSD__) || defined(__FreeBSD__)
+ void nfs_program_2();
+ void adm_program_2();
+ #include <string.h>
diff --git a/security/cfs/pkg-comment b/security/cfs/pkg-comment
new file mode 100644
index 000000000000..a54b19ec87bc
--- /dev/null
+++ b/security/cfs/pkg-comment
@@ -0,0 +1 @@
+A cryptographic file system implemented as a user-space NFS server.
diff --git a/security/cfs/pkg-descr b/security/cfs/pkg-descr
new file mode 100644
index 000000000000..384e43e2b9b7
--- /dev/null
+++ b/security/cfs/pkg-descr
@@ -0,0 +1,14 @@
+This is CFS, Matt Blaze's Cryptographic File System. It provides
+transparent encryption and decryption of selected directory trees.
+It is implemented as a user-level NFS server and thus does not
+require any kernel modifications.
+
+For an overview of how to use it, read "${PREFIX}/share/doc/cfs/notes.ms"
+and the manual pages. There is a paper describing CFS at:
+
+ ftp://research.att.com/dist/mab/cfs.ps
+
+Under FreeBSD, the mount command for the CFS tree must include
+"-o port=3049,nfsv2".
+
+John Polstra <jdp@polstra.com>
diff --git a/security/cfs/pkg-plist b/security/cfs/pkg-plist
new file mode 100644
index 000000000000..ab349926e473
--- /dev/null
+++ b/security/cfs/pkg-plist
@@ -0,0 +1,17 @@
+bin/cattach
+bin/cdetach
+bin/cmkdir
+bin/cpasswd
+etc/rc.d/cfsd.sh
+man/man1/cattach.1.gz
+man/man1/cdetach.1.gz
+man/man1/cmkdir.1.gz
+man/man1/cpasswd.1.gz
+man/man8/ccat.8.gz
+man/man8/cfsd.8.gz
+man/man8/cname.8.gz
+sbin/ccat
+sbin/cfsd
+sbin/cname
+share/doc/cfs/README.install
+share/doc/cfs/notes.ms