Subject: wanted: advice on integrating TCFS into NetBSD-current
To: None <current-users@NetBSD.org>
From: VaX#n8 <vax@carolina.rr.com>
List: current-users
Date: 04/10/2004 16:32:11
Hi,

I've updated TCFS to work with NetBSD-1.6.2, and I'm looking for guidance
on how to integrate it with NetBSD.  There are some technical problems
and I guess some potential licensing issues (I haven't looked into it,
as I first need to know what I need to look for).

The ported code may be found here:
http://vaxn8.tripod.com/tcfs/tcfs.html

The original code may be found here:
http://www.tcfs.it/

I have not been able to reach the original authors.  I'll try that again.

On a technical level, there are some matters of aesthetics.
There's a patch to three files, then the addition of the following files:

usr/src/tcfs-utils_0.2/
usr/src/tcfs-utils_0.2/bin/
usr/src/tcfs-utils_0.2/bin/Makefile
usr/src/tcfs-utils_0.2/bin/tcfs_flags.c
usr/src/tcfs-utils_0.2/bin/tcfsaddgroup.c
usr/src/tcfs-utils_0.2/bin/tcfsadduser.c
usr/src/tcfs-utils_0.2/bin/tcfsflag.c
usr/src/tcfs-utils_0.2/bin/tcfsgenkey.c
usr/src/tcfs-utils_0.2/bin/tcfsputkey.c
usr/src/tcfs-utils_0.2/bin/tcfsrmkey.c
usr/src/tcfs-utils_0.2/bin/tcfsrmuser.c
usr/src/tcfs-utils_0.2/bin/tcfsrun.c
usr/src/tcfs-utils_0.2/bin/tcfsrmgroup.c
usr/src/tcfs-utils_0.2/bin/tcfstat.c
usr/src/tcfs-utils_0.2/bin/tcfstatold.c
usr/src/tcfs-utils_0.2/include/
usr/src/tcfs-utils_0.2/include/CONFIG.h
usr/src/tcfs-utils_0.2/include/config.h
usr/src/tcfs-utils_0.2/include/global_prototypes.h
usr/src/tcfs-utils_0.2/include/kdes.h
usr/src/tcfs-utils_0.2/include/md5.h
usr/src/tcfs-utils_0.2/include/md_global.h
usr/src/tcfs-utils_0.2/include/sec_config.h
usr/src/tcfs-utils_0.2/include/sec_global.h
usr/src/tcfs-utils_0.2/include/tcfs.h
usr/src/tcfs-utils_0.2/include/tcfsdefines.h
usr/src/tcfs-utils_0.2/include/tcfserrors.h
usr/src/tcfs-utils_0.2/include/tcfslib.h
usr/src/tcfs-utils_0.2/include/tcfspwdb.h
usr/src/tcfs-utils_0.2/lib/
usr/src/tcfs-utils_0.2/lib/decode.c
usr/src/tcfs-utils_0.2/lib/des.c
usr/src/tcfs-utils_0.2/lib/encode.c
usr/src/tcfs-utils_0.2/lib/md5.c
usr/src/tcfs-utils_0.2/lib/gentcfskey.c
usr/src/tcfs-utils_0.2/lib/md5_if.c
usr/src/tcfs-utils_0.2/lib/tcfs_dbmaint.c
usr/src/tcfs-utils_0.2/lib/tcfs_getfspath.c
usr/src/tcfs-utils_0.2/lib/tcfs_keymaint.c
usr/src/tcfs-utils_0.2/lib/tcfserrors.c
usr/src/tcfs-utils_0.2/lib/unix_auth.c
usr/src/tcfs-utils_0.2/lib/Makefile
usr/src/tcfs-utils_0.2/lib/tcfs_getstatus.c
usr/src/tcfs-utils_0.2/Makefile
usr/src/sys/miscfs/tcfs/
usr/src/sys/miscfs/tcfs/ciphers/
usr/src/sys/miscfs/tcfs/ciphers/des.h
usr/src/sys/miscfs/tcfs/ciphers/rc5.h
usr/src/sys/miscfs/tcfs/ciphers/3des.c
usr/src/sys/miscfs/tcfs/ciphers/blowfish.h
usr/src/sys/miscfs/tcfs/ciphers/rc5.c
usr/src/sys/miscfs/tcfs/ciphers/blowfish.c
usr/src/sys/miscfs/tcfs/tcfs_subr.c
usr/src/sys/miscfs/tcfs/tcfs_vfsops.c
usr/src/sys/miscfs/tcfs/tcfs_vnops.c
usr/src/sys/miscfs/tcfs/tcfs_rw.h
usr/src/sys/miscfs/tcfs/tcfs_attr.c
usr/src/sys/miscfs/tcfs/tcfs_crypto.c
usr/src/sys/miscfs/tcfs/tcfs_fileinfo.c
usr/src/sys/miscfs/tcfs/tcfs_rw.c
usr/src/sys/miscfs/tcfs/tcfs_dir.c
usr/src/sys/miscfs/tcfs/tcfs_fileinfo.h
usr/src/sys/miscfs/tcfs/tcfs_version.h
usr/src/sys/miscfs/tcfs/tcfs_keytab.h
usr/src/sys/miscfs/tcfs/tcfs_keytab.c
usr/src/sys/miscfs/tcfs/tcfs_cmd.c
usr/src/sys/miscfs/tcfs/tcfs_cmd.h
usr/src/sys/miscfs/tcfs/tcfs_interp.c
usr/src/sys/miscfs/tcfs/tcfs_mount.h
usr/src/sys/miscfs/tcfs/tcfs_cipher.h
usr/src/sys/miscfs/tcfs/tcfs_cipher_conf.c
usr/src/sys/miscfs/tcfs/tcfs_cipher_RC5.c
usr/src/sys/miscfs/tcfs/tcfs_cipher_TDES.c
usr/src/sys/miscfs/tcfs/tcfs.h
usr/src/sys/miscfs/tcfs/tcfs_cipher_none.c
usr/src/sys/miscfs/tcfs/tcfs_cipher_BLOWFISH.c
usr/src/sys/miscfs/tcfs/files.tcfs
usr/src/sbin/mount_tcfs/
usr/src/sbin/mount_tcfs/mount_tcfs.c
usr/src/sbin/mount_tcfs/Makefile
usr/src/sbin/mount_tcfs/mount_tcfs.1
usr/src/sbin/mount_tcfs/mount_tcfs.cat1
usr/src/sbin/mount_tcfs/tcfs_getfspath.c
usr/tcfs/
usr/tcfs/etc/
usr/tcfs/etc/tcfstab
usr/tcfs/sbin/
usr/tcfs/bin/
usr/tcfs/lib/

This is only partially in keeping with the NetBSD file system.
I assume that having a special /usr/src/tcfs-utils-0.2 is not appropriate.
Also, a /usr/tcfs seems a little silly, I would want to install tcfstab to
/etc.  I have a CVS repository of 1.6.2, and would like to know where to
integrate these.  Also I've supped -current and I'd like to know whether
I should import -current first, or patch first and then update.

PS: There's wrong permissions on -current /usr/src/usr.bin/which, sup can't
read any of the files in there.  Please fix!