head 1.8; access; symbols pkgsrc-2026Q1:1.8.0.26 pkgsrc-2026Q1-base:1.8 pkgsrc-2025Q4:1.8.0.24 pkgsrc-2025Q4-base:1.8 pkgsrc-2025Q3:1.8.0.22 pkgsrc-2025Q3-base:1.8 pkgsrc-2025Q2:1.8.0.20 pkgsrc-2025Q2-base:1.8 pkgsrc-2025Q1:1.8.0.18 pkgsrc-2025Q1-base:1.8 pkgsrc-2024Q4:1.8.0.16 pkgsrc-2024Q4-base:1.8 pkgsrc-2024Q3:1.8.0.14 pkgsrc-2024Q3-base:1.8 pkgsrc-2024Q2:1.8.0.12 pkgsrc-2024Q2-base:1.8 pkgsrc-2024Q1:1.8.0.10 pkgsrc-2024Q1-base:1.8 pkgsrc-2023Q4:1.8.0.8 pkgsrc-2023Q4-base:1.8 pkgsrc-2023Q3:1.8.0.6 pkgsrc-2023Q3-base:1.8 pkgsrc-2023Q2:1.8.0.4 pkgsrc-2023Q2-base:1.8 pkgsrc-2023Q1:1.8.0.2 pkgsrc-2023Q1-base:1.8 pkgsrc-2022Q4:1.7.0.2 pkgsrc-2022Q4-base:1.7 pkgsrc-2022Q3:1.6.0.120 pkgsrc-2022Q3-base:1.6 pkgsrc-2022Q2:1.6.0.118 pkgsrc-2022Q2-base:1.6 pkgsrc-2022Q1:1.6.0.116 pkgsrc-2022Q1-base:1.6 pkgsrc-2021Q4:1.6.0.114 pkgsrc-2021Q4-base:1.6 pkgsrc-2021Q3:1.6.0.112 pkgsrc-2021Q3-base:1.6 pkgsrc-2021Q2:1.6.0.110 pkgsrc-2021Q2-base:1.6 pkgsrc-2021Q1:1.6.0.108 pkgsrc-2021Q1-base:1.6 pkgsrc-2020Q4:1.6.0.106 pkgsrc-2020Q4-base:1.6 pkgsrc-2020Q3:1.6.0.104 pkgsrc-2020Q3-base:1.6 pkgsrc-2020Q2:1.6.0.100 pkgsrc-2020Q2-base:1.6 pkgsrc-2020Q1:1.6.0.80 pkgsrc-2020Q1-base:1.6 pkgsrc-2019Q4:1.6.0.102 pkgsrc-2019Q4-base:1.6 pkgsrc-2019Q3:1.6.0.98 pkgsrc-2019Q3-base:1.6 pkgsrc-2019Q2:1.6.0.96 pkgsrc-2019Q2-base:1.6 pkgsrc-2019Q1:1.6.0.94 pkgsrc-2019Q1-base:1.6 pkgsrc-2018Q4:1.6.0.92 pkgsrc-2018Q4-base:1.6 pkgsrc-2018Q3:1.6.0.90 pkgsrc-2018Q3-base:1.6 pkgsrc-2018Q2:1.6.0.88 pkgsrc-2018Q2-base:1.6 pkgsrc-2018Q1:1.6.0.86 pkgsrc-2018Q1-base:1.6 pkgsrc-2017Q4:1.6.0.84 pkgsrc-2017Q4-base:1.6 pkgsrc-2017Q3:1.6.0.82 pkgsrc-2017Q3-base:1.6 pkgsrc-2017Q2:1.6.0.78 pkgsrc-2017Q2-base:1.6 pkgsrc-2017Q1:1.6.0.76 pkgsrc-2017Q1-base:1.6 pkgsrc-2016Q4:1.6.0.74 pkgsrc-2016Q4-base:1.6 pkgsrc-2016Q3:1.6.0.72 pkgsrc-2016Q3-base:1.6 pkgsrc-2016Q2:1.6.0.70 pkgsrc-2016Q2-base:1.6 pkgsrc-2016Q1:1.6.0.68 pkgsrc-2016Q1-base:1.6 pkgsrc-2015Q4:1.6.0.66 pkgsrc-2015Q4-base:1.6 pkgsrc-2015Q3:1.6.0.64 pkgsrc-2015Q3-base:1.6 pkgsrc-2015Q2:1.6.0.62 pkgsrc-2015Q2-base:1.6 pkgsrc-2015Q1:1.6.0.60 pkgsrc-2015Q1-base:1.6 pkgsrc-2014Q4:1.6.0.58 pkgsrc-2014Q4-base:1.6 pkgsrc-2014Q3:1.6.0.56 pkgsrc-2014Q3-base:1.6 pkgsrc-2014Q2:1.6.0.54 pkgsrc-2014Q2-base:1.6 pkgsrc-2014Q1:1.6.0.52 pkgsrc-2014Q1-base:1.6 pkgsrc-2013Q4:1.6.0.50 pkgsrc-2013Q4-base:1.6 pkgsrc-2013Q3:1.6.0.48 pkgsrc-2013Q3-base:1.6 pkgsrc-2013Q2:1.6.0.46 pkgsrc-2013Q2-base:1.6 pkgsrc-2013Q1:1.6.0.44 pkgsrc-2013Q1-base:1.6 pkgsrc-2012Q4:1.6.0.42 pkgsrc-2012Q4-base:1.6 pkgsrc-2012Q3:1.6.0.40 pkgsrc-2012Q3-base:1.6 pkgsrc-2012Q2:1.6.0.38 pkgsrc-2012Q2-base:1.6 pkgsrc-2012Q1:1.6.0.36 pkgsrc-2012Q1-base:1.6 pkgsrc-2011Q4:1.6.0.34 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q3:1.6.0.32 pkgsrc-2011Q3-base:1.6 pkgsrc-2011Q2:1.6.0.30 pkgsrc-2011Q2-base:1.6 pkgsrc-2011Q1:1.6.0.28 pkgsrc-2011Q1-base:1.6 pkgsrc-2010Q4:1.6.0.26 pkgsrc-2010Q4-base:1.6 pkgsrc-2010Q3:1.6.0.24 pkgsrc-2010Q3-base:1.6 pkgsrc-2010Q2:1.6.0.22 pkgsrc-2010Q2-base:1.6 pkgsrc-2010Q1:1.6.0.20 pkgsrc-2010Q1-base:1.6 pkgsrc-2009Q4:1.6.0.18 pkgsrc-2009Q4-base:1.6 pkgsrc-2009Q3:1.6.0.16 pkgsrc-2009Q3-base:1.6 pkgsrc-2009Q2:1.6.0.14 pkgsrc-2009Q2-base:1.6 pkgsrc-2009Q1:1.6.0.12 pkgsrc-2009Q1-base:1.6 pkgsrc-2008Q4:1.6.0.10 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.8 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.6 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.4 pkgsrc-2008Q2-base:1.6 cwrapper:1.6.0.2 pkgsrc-2008Q1:1.5.0.30 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.28 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.26 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.24 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.22 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.20 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.18 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.16 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.5.0.14 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.5.0.12 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.5.0.10 pkgsrc-2005Q3-base:1.5 pkgsrc-2005Q2:1.5.0.8 pkgsrc-2005Q2-base:1.5 pkgsrc-2005Q1:1.5.0.6 pkgsrc-2005Q1-base:1.5 pkgsrc-2004Q4:1.5.0.4 pkgsrc-2004Q4-base:1.5 pkgsrc-2004Q3:1.5.0.2 pkgsrc-2004Q3-base:1.5 pkgsrc-2004Q2:1.4.0.14 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.12 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.10 pkgsrc-2003Q4-base:1.4 netbsd-1-6-1:1.4.0.6 netbsd-1-6-1-base:1.4 netbsd-1-6:1.4.0.8 netbsd-1-6-RELEASE-base:1.4 pkgviews:1.4.0.4 pkgviews-base:1.4 buildlink2:1.4.0.2 buildlink2-base:1.4 netbsd-1-5-PATCH003:1.4 pkgsrc-base:1.1.1.2 TNF:1.1.1; locks; strict; comment @# @; 1.8 date 2023.03.11.01.54.01; author gdt; state Exp; branches; next 1.7; commitid cLDLp3EY8wGraEgE; 1.7 date 2022.12.19.23.18.37; author gdt; state Exp; branches; next 1.6; commitid 0aJCVjiQnB2jUd6E; 1.6 date 2008.06.20.01.09.33; author joerg; state Exp; branches; next 1.5; 1.5 date 2004.07.25.04.51.26; author grant; state Exp; branches; next 1.4; 1.4 date 2001.06.09.04.32.14; author jlam; state Exp; branches 1.4.14.1; next 1.3; 1.3 date 2001.06.07.15.35.15; author jlam; state Exp; branches; next 1.2; 1.2 date 2001.06.05.11.15.42; author agc; state Exp; branches; next 1.1; 1.1 date 2001.06.05.10.29.38; author agc; state Exp; branches 1.1.1.1; next ; 1.4.14.1 date 2004.07.29.21.54.34; author agc; state Exp; branches; next ; 1.1.1.1 date 2001.06.05.10.29.38; author agc; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 2001.06.05.22.19.11; author jlam; state Exp; branches; next ; desc @@ 1.8 log @security/cfs: Improve statvfs handling and add patch comments It is necessary to use statvfs instead of statfs on NetBSD; simplify how that is done. Explain most patches much better and add notes to file most upstream. @ text @$NetBSD: patch-aa,v 1.7 2022/12/19 23:18:37 gdt Exp $ Add stanza for modern NetBSD. \todo Send upstream. Adjust Makefile for pkgsrc norms: - Use PREFIX - Comment out FreeBSD - Uncomment the "fail if not configured" line - Change installation to use INSTALL_PROGRAM \todo Evaluate PROGRAM vs SCRIPT; this is carried from before. --- Makefile.orig 2022-12-19 22:46:57.638664951 +0000 +++ Makefile @@@@ -48,12 +48,13 @@@@ CC?=cc -CFLAGS?=-O2 +# Use CFLAGS form the environment. #paths: #some peple like /usr/local/sbin instead of /usr/local/etc -BINDIR=/usr/local/bin -ETCDIR=/usr/local/etc +SBINDIR=${PREFIX}/sbin +BINDIR=${PREFIX}/bin +ETCDIR=${PREFIX}/etc PRINTCMD=enscript -Gr2 # you only need RSAREF for ESM # these paths WILL have to be changed... @@@@ -188,6 +189,13 @@@@ RINCLUDES=/usr/mab/rsaref/source #COMPAT=-lcompat #RPCOPTS=-b +#* Use these for NetBSD 9 +# For mounting, use +# mount -o intr,udp,-2 127.0.0.1:/null /crypt +#CFLAGS=$(COPT) -DBSD44 -DANYPORT -DCFS_PORT=2049 -DSHORTLINKS -I$(RINCLUDES) +#COMPAT=-lcompat +#RPCOPTS=-b + ## Solaris 2.3 / SUNOS 5.x #CFLAGS=$(COPT) -DSOLARIS2X -DPORTMAP -I$(RINCLUDES) -DPTMX #LIBS=-lsocket -lnsl @@@@ -198,17 +206,17 @@@@ RINCLUDES=/usr/mab/rsaref/source #CFLAGS=$(COPT) -posix -D_BSD -DANYPORT -I$(RINCLUDES) ## use these for FreeBSD -CFLAGS+=-DBSD44 -DANYPORT -DSHORTLINKS -LIBS=-lrpcsvc -COMPAT=-lcompat -RPCOPTS= +#CFLAGS+=-DBSD44 -DANYPORT -DSHORTLINKS +#LIBS=-lrpcsvc +#COMPAT=-lcompat +#RPCOPTS= #========================================================================== # 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. @@@@ -344,10 +352,11 @@@@ printout: $(SRCS) cfs.h mcg.h safer.h ad $(PRINTCMD) $(SRCS) cfs.h mcg.h safer.h admproto.h nfsproto.h install_cfs: cfsd cattach cdetach cmkdir - install -m 0755 -c -o root cfsd $(ETCDIR) - install -m 0755 -c -o root cattach cdetach cmkdir cpasswd cfssh \ - cname ccat cmkkey $(BINDIR) -# install -m 0755 i o $(BINDIR) + ${BSD_INSTALL_PROGRAM} cfsd ${DESTDIR}$(SBINDIR) + ${BSD_INSTALL_SCRIPT} cmkkey cfssh ${DESTDIR}$(BINDIR) + ${BSD_INSTALL_SCRIPT} cattach cdetach cmkdir cpasswd \ + cname ccat ${DESTDIR}$(BINDIR) +# ${BSD_INSTALL_PROGRAM} i o ${DESTDIR}$(BINDIR) @@echo "Kill any running cfsd prior to restarting." @@echo "See the README file for more information." @@echo "Don't forget to install the man pages (*.[18])." @ 1.7 log @security/cfs: Update to 1.5.0b Shift to a continution fork of cfs, which has many of our patches applied, and which is buildable with modern rpcgen. Tested on NetBSD 9 amd64 with an encrypted directory that was made with older cfs. Upstream changes are mainly modernization of the code and removal of accomodations for the 80s and 90s. @ text @d1 11 a11 1 $NetBSD: patch-aa,v 1.6 2008/06/20 01:09:33 joerg Exp $ @ 1.6 log @Add DESTDIR support. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.5 2004/07/25 04:51:26 grant Exp $ d3 1 a3 1 --- Makefile.orig 2001-05-04 04:29:21.000000000 +1000 d5 1 a5 9 @@@@ -74,18 +74,19 @@@@ #CC=cc #COPT=-O -DNOT_ANSI_C -DPROTOTYPES=0 # for gcc, use -CC=gcc -COPT=-O2 -DPROTOTYPES=1 +#CC=gcc +#COPT=-O2 -DPROTOTYPES=1 +CFLAGS+=${CFS_CFLAGS} d7 6 a12 1 #1B: paths: d16 1 d18 1 a18 1 +ETCDIR=${PREFIX}/sbin d22 30 a51 9 -RSALIB=/usr/mab/rsaref/install/rsaref.a -RINCLUDES=/usr/mab/rsaref/source +#RSALIB=/usr/mab/rsaref/install/rsaref.a +#RINCLUDES=/usr/mab/rsaref/source # if you're a paranoid fascist, you might want to configure # default timeouts on the attach command. If you do, @@@@ -229,7 +230,7 @@@@ RINCLUDES=/usr/mab/rsaref/source # (3/3) CONFIGURE: one last thing d59 1 a59 17 @@@@ -322,6 +323,7 @@@@ nfsproto_svr.c: nfsproto.x nfsproto.h: nfsproto.x rpcgen $(RPCOPTS) -h -o nfsproto.h nfsproto.x + ./unansi ${OPSYS} nfsproto.h admproto_xdr.c: admproto.x rpcgen $(RPCOPTS) -c -o admproto_xdr.c admproto.x @@@@ -331,6 +333,7 @@@@ admproto_svr.c: admproto.x admproto.h: admproto.x rpcgen $(RPCOPTS) -h -o admproto.h admproto.x + ./unansi ${OPSYS} admproto.h admproto_clnt.c: admproto.x rpcgen $(RPCOPTS) -l -o admproto_clnt.c admproto.x @@@@ -359,10 +362,11 @@@@ printout: $(SRCS) cfs.h mcg.h safer.h ad d65 3 a67 1 + ${BSD_INSTALL_PROGRAM} cfsd ${DESTDIR}$(ETCDIR) a69 1 - cname ccat cmkkey $(BINDIR) a70 1 -# install -m 0755 i o $(BINDIR) @ 1.5 log @call ${BSD_INSTALL} instead of "install". fixes install on Solaris. @ text @d1 1 a1 1 $NetBSD$ d56 1 a56 1 @@@@ -359,10 +362,10 @@@@ printout: $(SRCS) cfs.h mcg.h safer.h ad d62 5 a66 3 + ${BSD_INSTALL} -m 0755 -c -o root cfsd $(ETCDIR) + ${BSD_INSTALL} -m 0755 -c -o root cattach cdetach cmkdir cpasswd cfssh \ cname ccat cmkkey $(BINDIR) d68 1 a68 1 +# ${BSD_INSTALL} -m 0755 i o $(BINDIR) @ 1.4 log @Add patches from Simon Burge to build cfs without needing -traditional. This fixes socklen_t lossage mentioned in the README.netbsd file. This was tested on i386 NetBSD-1.5 and -current. @ text @d3 2 a4 2 --- Makefile.orig Thu May 3 11:29:21 2001 +++ Makefile Fri Jun 8 21:15:13 2001 d31 1 a31 1 @@@@ -229,7 +230,7 @@@@ d40 1 a40 1 @@@@ -322,6 +323,7 @@@@ d48 1 a48 1 @@@@ -331,6 +333,7 @@@@ d56 14 @ 1.4.14.1 log @Pullup ticket 80 to the pkgsrc-2004Q2 branch, requested by Grant Beattie Solaris fixes for cfs Module Name: pkgsrc Committed By: grant Date: Sun Jul 25 04:45:41 UTC 2004 Modified Files: pkgsrc/security/cfs: Makefile Log Message: only pass -traditional if using gcc. and Module Name: pkgsrc Committed By: grant Date: Sun Jul 25 04:46:10 UTC 2004 Modified Files: pkgsrc/security/cfs: Makefile Log Message: be quieter in post-patch and pre-build targets. and Module Name: pkgsrc Committed By: grant Date: Sun Jul 25 04:47:15 UTC 2004 Modified Files: pkgsrc/security/cfs: Makefile Log Message: be quiet in post-extract, too. and Module Name: pkgsrc Committed By: grant Date: Sun Jul 25 04:51:26 UTC 2004 Modified Files: pkgsrc/security/cfs: distinfo pkgsrc/security/cfs/patches: patch-aa Log Message: call ${BSD_INSTALL} instead of "install". fixes install on Solaris. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.4 2001/06/09 04:32:14 jlam Exp $ d3 2 a4 2 --- Makefile.orig 2001-05-04 04:29:21.000000000 +1000 +++ Makefile d31 1 a31 1 @@@@ -229,7 +230,7 @@@@ RINCLUDES=/usr/mab/rsaref/source d40 1 a40 1 @@@@ -322,6 +323,7 @@@@ nfsproto_svr.c: nfsproto.x d48 1 a48 1 @@@@ -331,6 +333,7 @@@@ admproto_svr.c: admproto.x a55 14 @@@@ -359,10 +362,10 @@@@ printout: $(SRCS) cfs.h mcg.h safer.h ad $(PRINTCMD) $(SRCS) cfs.h mcg.h safer.h admproto.h nfsproto.h install_cfs: cfsd cattach cdetach cmkdir - install -m 0755 -c -o root cfsd $(ETCDIR) - install -m 0755 -c -o root cattach cdetach cmkdir cpasswd cfssh \ + ${BSD_INSTALL} -m 0755 -c -o root cfsd $(ETCDIR) + ${BSD_INSTALL} -m 0755 -c -o root cattach cdetach cmkdir cpasswd cfssh \ cname ccat cmkkey $(BINDIR) -# install -m 0755 i o $(BINDIR) +# ${BSD_INSTALL} -m 0755 i o $(BINDIR) @@echo "Kill any running cfsd prior to restarting." @@echo "See the README file for more information." @@echo "Don't forget to install the man pages (*.[18])." @ 1.3 log @* Use NetBSD's getpass() function instead of the homegrown one, as the homegrown one doesn't seem to hide the password when it is being entered. * Add a rc.d style script to start cfsd, and also install the documentation for the filesystem. * Rename c* commands to cfs_* to avoid conflicts with coda programs with a similar name. @ text @d4 1 a4 1 +++ Makefile Thu Jun 7 07:28:23 2001 d40 16 @ 1.2 log @Define RINCLUDES, since otherwise cc -I will eat the next argument, which is not TRT. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.1.1.1 2001/06/05 10:29:38 agc Exp $ d3 11 a13 3 --- Makefile 2001/06/05 09:15:05 1.1 +++ Makefile 2001/06/05 10:08:08 @@@@ -79,13 +79,13 @@@@ d20 1 a20 1 +ETCDIR=${PREFIX}/libexec d27 1 a27 1 +RINCLUDES=${PREFIX}/include d31 1 a31 55 @@@@ -104,6 +104,8 @@@@ # Uncomment the options for the your local platform. # You'll need to figure out how to install man pages yourself. +OS!= uname -s + ## Use these for vanilla SUNOS 4.x . #CFLAGS=$(COPT) -I$(RINCLUDES) -DSUN #LIBS= @@@@ -116,10 +118,12 @@@@ ## Linux dists). ## See NOTE TO LINUX USERS above, and also README.linux, ## if you can't make things work. -#CFLAGS=$(COPT) -U__STDC__ -Dd_fileno=d_ino -I$(RINCLUDES) -#LIBS= -#COMPAT= -#RPCOPTS= -k -b +.if ${OS} == "Linux" +CFLAGS=$(COPT) -U__STDC__ -Dd_fileno=d_ino -I$(RINCLUDES) +LIBS= +COMPAT= +RPCOPTS= -k -b +.endif ## A few Linux users have reported success with these ## options: @@@@ -211,15 +215,18 @@@@ #* Use these for NetBSD 1.5 ## For mounting, use ## mount -o intr,-2 127.0.0.1:/null /crypt -#CFLAGS=$(COPT) -DBSD44 -DANYPORT -DCFS_PORT=2049 -DSHORTLINKS -I$(RINCLUDES) -traditional -#COMPAT=-lcompat -#RPCOPTS=-b - -## Solaris 2.3 / SUNOS 5.x -#CFLAGS=$(COPT) -DSOLARIS2X -DPORTMAP -I$(RINCLUDES) -DPTMX -#LIBS=-lsocket -lnsl -#COMPAT= -#RPCOPTS= +.if ${OS} == "NetBSD" +CFLAGS=$(COPT) -DBSD44 -DANYPORT -DCFS_PORT=2049 -DSHORTLINKS -I$(RINCLUDES) -traditional +COMPAT=-lcompat +RPCOPTS=-b +.endif + +.if ${OS} == "SunOS" +CFLAGS=$(COPT) -DSOLARIS2X -DPORTMAP -I$(RINCLUDES) -DPTMX +LIBS=-lsocket -lnsl +COMPAT= +RPCOPTS= +.endif ## not sure what to do for NeXT. I think this works: #CFLAGS=$(COPT) -posix -D_BSD -DANYPORT -I$(RINCLUDES) @@@@ -229,7 +236,7 @@@@ @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ d19 1 a19 1 +#RINCLUDES=/usr/mab/rsaref/source @ 1.1.1.1 log @Initial import of Steve Bellovin's port of Matt Blaze's CFS into the packages collection. CFS is an encrypting file system for Unix-like OSs. It uses NFS as its interface, and so is reasonably portable. The FS code dates back to 1989, and the crypto to 1992, so it is showing signs of age. This code should be regarded as completely unsupported; a complete rewrite will follow eventually. Please don't download this code if you're in a place that's forbidden (under US or local law) to export cryptographic software from the US to, or if you're on the State Department's "Denied Persons List." If you aren't sure, ask a good lawyer. @ text @@ 1.1.1.2 log @cfs - Cryptographic File System CFS pushes encryption services into the UN*X file system. It supports secure storage at the system level through a standard UN*X file system interface to encrypted files. Users associate a cryptographic key with the directories they wish to protect. Files in these directories (as well as their pathname components) are transparently encrypted and decrypted with the specified key without further user intervention; cleartext is never stored on a disk or sent to a remote file server. CFS employs a novel combination of DES stream and codebook cipher modes to provide high security with good performance on a modern workstation. CFS can use any available file system for its underlying storage without modification, including remote file servers such as NFS. System management functions, such as file backup, work in a normal manner and without knowledge of the key. @ text @d3 3 a5 11 --- Makefile.orig Thu May 31 17:38:00 2001 +++ Makefile Thu May 31 17:39:29 2001 @@@@ -74,18 +74,19 @@@@ #CC=cc #COPT=-O -DNOT_ANSI_C -DPROTOTYPES=0 # for gcc, use -CC=gcc -COPT=-O2 -DPROTOTYPES=1 +#CC=gcc +#COPT=-O2 -DPROTOTYPES=1 +CFLAGS+=${CFS_CFLAGS} d12 1 a12 1 +ETCDIR=${PREFIX}/sbin d23 55 a77 1 @@@@ -229,7 +230,7 @@@@ @