source: trunk/third/cns/HOWTO-BONES @ 8789

Revision 8789, 1.4 KB checked in by ghudson, 28 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r8788, which included commits to RCS files with non-trunk default branches.
Line 
1                How to make a 'bones' version of cns.
2
3This procedure is pretty mechanical.  For V5 we should use a
4mechanism more like Sanitize, but for now this will suffice.
5
6
71> Check out 'bones'.  That's just like cns, only without certain
8   files (like all of lib/des or lib/kstream/kstream-des.*).
92> run the script kerberos/dounifdef over the whole tree (including
10   doc) with a command something like:
11   find  . -type f \( -name '*akefile*' -o -name '*.c' \) -exec `pwd`/dounifdef {} \;
12
133> unifdef is pretty lame; you have to fix the following files by hand:
14   src/lib/krb/cr_ciph.c:26:#ifndef NOENCRYPTION
15   src/lib/krb/cr_tkt.c:29:#ifndef NOENCRYPTION
16   src/lib/krb/cr_tkt.c:50:#ifdef NOENCRYPTION
17   src/lib/krb/decomp_tkt.c:23:#ifndef NOENCRYPTION
18   src/lib/krb/mk_priv.c:78:#ifdef NOENCRYPTION
19   src/lib/krb/mk_priv.c:95:#ifndef NOENCRYPTION
20   src/lib/krb/mk_req.c:57:#ifdef NOENCRYPTION
21   src/lib/krb/rd_priv.c:58:#ifdef NOENCRYPTION
22   src/lib/krb/rd_priv.c:67:#ifdef NOENCRYPTION
23
24   src/tests/fixprot.sh
25
26   Modify src/util/imake.includes/config.Imakefile and src/config/common:
27      make sure NOENCFLAG=-DNOENCRYPTION.
28      Check for #ifdef NOENCRYPTION
29
304> modify src/lib/Makefile to remove reference to 'des' from subdirs.
31   ditto src/tools/makeconfig, src/Makefile, src/configure.in for lib/des.
32
335> rebuild normally; make sure it builds.  The software should work
34   after this process, although it will be ppretty useless!
Note: See TracBrowser for help on using the repository browser.