home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / protocol / kerberos / 848 < prev    next >
Encoding:
Text File  |  1992-11-08  |  8.5 KB  |  313 lines

  1. Newsgroups: comp.protocols.kerberos
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!agate!stanford.edu!CTT.BELLCORE.COM!lunt
  3. From: lunt@CTT.BELLCORE.COM (Steve Lunt)
  4. Subject: Re: Some patches to V5 B2
  5. Message-ID: <9211062102.AA01776@shadow.secure.bellcore.com>
  6. Sender: news@shelby.stanford.edu (USENET News System)
  7. Organization: Internet-USENET Gateway at Stanford University
  8. Date: Fri, 6 Nov 1992 21:02:48 GMT
  9. Lines: 302
  10.  
  11.     Here are patches I've made to the Kerberos Version 5 beta #2.
  12.  
  13. -- Steve
  14.  
  15. Steven J. Lunt                     Bellcore
  16. Information Technology Security    RRC 1L-213
  17. lunt@bellcore.com                  444 Hoes Lane
  18. (908) 699-4244                     Piscataway, NJ 08854
  19.  
  20. Imakefile:
  21.     added config-files to SUBDIRS to install manual pages
  22.  
  23. config-files/Imakefile:
  24.     create this file, which installs manual pages
  25.  
  26. appl/sample/sclient.c: 
  27.     strange bug with "%*s" in printf
  28.  
  29. appl/sample/Imakefile:
  30.     install binaries
  31.  
  32. config/Project.tmpl:
  33.     support the install of server programs and files
  34.  
  35. config/site.def:
  36.     support the install of server programs and files
  37.     GCC should be Gcc
  38.  
  39. config/sun.cf:
  40.     Sun has setenv
  41.     GCC should be Gcc
  42.  
  43. tests/create/Imakefile:
  44.     install binary
  45.  
  46. *** Imakefile.orig    Fri Nov  6 11:40:24 1992
  47. --- Imakefile    Fri Nov  6 11:40:27 1992
  48. ***************
  49. *** 33,39 ****
  50.       make ${MFLAGS} depend
  51.       make ${MFLAGS} all
  52.   
  53. ! SUBDIRS = include lib kdc admin kadmin slave clients appl tests
  54.   LNINSTALLDIRS = 
  55.   
  56.   MakeSubdirs($(SUBDIRS))
  57. --- 33,39 ----
  58.       make ${MFLAGS} depend
  59.       make ${MFLAGS} all
  60.   
  61. ! SUBDIRS = include lib kdc admin kadmin slave clients appl tests config-files
  62.   LNINSTALLDIRS = 
  63.   
  64.   MakeSubdirs($(SUBDIRS))
  65. *** config-files/Imakefile.orig    Fri Nov  6 14:00:11 1992
  66. --- config-files/Imakefile    Fri Nov  6 14:01:10 1992
  67. ***************
  68. *** 0 ****
  69. --- 1,6 ----
  70. + all::
  71. + Krb5InstallManPage(krb.conf,$(FILE_MANDIR),$(FILE_MANSUFFIX))
  72. + Krb5InstallManPage(krb.realms,$(FILE_MANDIR),$(FILE_MANSUFFIX))
  73. + depend::
  74. *** appl/sample/sclient.c.orig    Fri Nov  6 11:42:39 1992
  75. --- appl/sample/sclient.c    Fri Nov  6 11:42:39 1992
  76. ***************
  77. *** 214,221 ****
  78.           com_err(argv[0], errno, "while reading data from server");
  79.           exit(1);
  80.       }
  81. !     printf("reply len %d, contents:\n%*s\n",
  82. !            recv_data.length,recv_data.length,recv_data.data);
  83.       } else {
  84.       com_err(argv[0], 0, "no error or reply from sendauth!");
  85.       exit(1);
  86. --- 214,222 ----
  87.           com_err(argv[0], errno, "while reading data from server");
  88.           exit(1);
  89.       }
  90. !     recv_data.data[recv_data.length] = '\0';
  91. !     printf("reply len %d, contents:\n%s\n",
  92. !            recv_data.length,recv_data.data);
  93.       } else {
  94.       com_err(argv[0], 0, "no error or reply from sendauth!");
  95.       exit(1);
  96. *** appl/sample/Imakefile.orig    Fri Nov  6 11:47:13 1992
  97. --- appl/sample/Imakefile    Fri Nov  6 11:47:48 1992
  98. ***************
  99. *** 27,34 ****
  100.   LOCAL_LIBRARIES = $(KLIB)
  101.              SRCS = sclient.c sserver.c
  102.   
  103. ! SimpleTestProgramTarget(sclient)
  104. ! SimpleTestProgramTarget(sserver)
  105.   
  106.   DependTarget()
  107.   LintTarget()
  108. --- 27,34 ----
  109.   LOCAL_LIBRARIES = $(KLIB)
  110.              SRCS = sclient.c sserver.c
  111.   
  112. ! Krb5ClientProgramTarget(sclient)
  113. ! Krb5ServerProgramTarget(sserver)
  114.   
  115.   DependTarget()
  116.   LintTarget()
  117. *** config/Project.tmpl.orig    Wed Sep 30 18:36:16 1992
  118. --- config/Project.tmpl    Fri Nov  6 13:36:38 1992
  119. ***************
  120. *** 73,79 ****
  121.   #define DesDefines YouMustFigureOutYourDesDefines
  122.   #endif
  123.   #ifndef Krb5Root
  124. ! #define Krb5Root    /krb5
  125.   #endif
  126.   
  127.   #ifndef PepsyTarget
  128. --- 73,79 ----
  129.   #define DesDefines YouMustFigureOutYourDesDefines
  130.   #endif
  131.   #ifndef Krb5Root
  132. ! #define Krb5Root    /usr/local/kerberos.V5
  133.   #endif
  134.   
  135.   #ifndef PepsyTarget
  136. ***************
  137. *** 80,86 ****
  138.   #define    PepsyTarget(basename)                        @@\
  139.   .SUFFIXES:    .py                            @@\
  140.   basename/**/_defs.h basename/**/_pre_defs.h basename-types.h basename/**/_tables.c: basename-asn.py                    @@\
  141. !     @echo '***Ignore the warning message "Warning: Can'\''t find UNIV.ph failed"' @@\
  142.       $(PEPSY) $(PSYFLAGS) $(SRCDIR)basename-asn.py
  143.   #endif /* PepsyTarget */
  144.   
  145. --- 80,86 ----
  146.   #define    PepsyTarget(basename)                        @@\
  147.   .SUFFIXES:    .py                            @@\
  148.   basename/**/_defs.h basename/**/_pre_defs.h basename-types.h basename/**/_tables.c: basename-asn.py                    @@\
  149. !     @echo '***Ignore the warning message "Warning\: Can'\''t find UNIV.ph failed"' @@\
  150.       $(PEPSY) $(PSYFLAGS) $(SRCDIR)basename-asn.py
  151.   #endif /* PepsyTarget */
  152.   
  153. ***************
  154. *** 260,265 ****
  155. --- 260,270 ----
  156.   Krb5SimpleProgramTarget(program,$(ADMIN_BINDIR),$(ADMIN_MANDIR),$(ADMIN_MANSUFFIX))
  157.   #endif /* Krb5AdminProgramTarget */
  158.   
  159. + #ifndef Krb5ServerProgramTarget
  160. + #define Krb5ServerProgramTarget(program)                @@\
  161. + Krb5SimpleProgramTarget(program,$(SERVER_BINDIR),$(SERVER_MANDIR),$(SERVER_MANSUFFIX))
  162. + #endif /* Krb5ServerProgramTarget */
  163.   #ifndef Krb5ClientProgramTarget
  164.   #define Krb5ClientProgramTarget(program)                @@\
  165.   Krb5SimpleProgramTarget(program,$(CLIENT_BINDIR),$(CLIENT_MANDIR),$(CLIENT_MANSUFFIX))
  166. ***************
  167. *** 521,525 ****
  168. --- 526,532 ----
  169.       CLIENT_BINDIR = ClientBindir
  170.    CLIENT_MANSUFFIX = ClientManSuffix
  171.       CLIENT_MANDIR = ClientMandir
  172. +    FILE_MANSUFFIX = FileManSuffix
  173. +       FILE_MANDIR = FileMandir
  174.         KRB5_LIBDIR = Krb5Libdir
  175.         KRB5_INCDIR = Krb5Incdir
  176. *** config/site.def.orig    Wed Sep 30 18:36:16 1992
  177. --- config/site.def    Fri Nov  6 13:44:28 1992
  178. ***************
  179. *** 51,57 ****
  180.   #endif
  181.   /* AdminMandir: manual page directory for administrative man pages */
  182.   #ifndef AdminMandir
  183. ! #define AdminMandir $(KRB5ROOT)/man/man8
  184.   #endif
  185.   
  186.   /* ServerManSuffix: man page suffix for server programs */
  187. --- 51,57 ----
  188.   #endif
  189.   /* AdminMandir: manual page directory for administrative man pages */
  190.   #ifndef AdminMandir
  191. ! #define AdminMandir $(KRB5ROOT)/man/man$(ADMIN_MANSUFFIX)
  192.   #endif
  193.   
  194.   /* ServerManSuffix: man page suffix for server programs */
  195. ***************
  196. *** 60,66 ****
  197.   #endif
  198.   /* ServerMandir: manual page directory for server man pages */
  199.   #ifndef ServerMandir
  200. ! #define ServerMandir $(KRB5ROOT)/man/man8
  201.   #endif
  202.   
  203.   /* ClientManSuffix: man page suffix for client programs */
  204. --- 60,66 ----
  205.   #endif
  206.   /* ServerMandir: manual page directory for server man pages */
  207.   #ifndef ServerMandir
  208. ! #define ServerMandir $(KRB5ROOT)/man/man$(SERVER_MANSUFFIX)
  209.   #endif
  210.   
  211.   /* ClientManSuffix: man page suffix for client programs */
  212. ***************
  213. *** 69,77 ****
  214.   #endif
  215.   /* ClientMandir: manual page directory for client man pages */
  216.   #ifndef ClientMandir
  217. ! #define ClientMandir $(KRB5ROOT)/man/man1
  218.   #endif
  219.   
  220.   /*
  221.    * 3. Binary program install areas.
  222.    */
  223. --- 69,86 ----
  224.   #endif
  225.   /* ClientMandir: manual page directory for client man pages */
  226.   #ifndef ClientMandir
  227. ! #define ClientMandir $(KRB5ROOT)/man/man$(CLIENT_MANSUFFIX)
  228.   #endif
  229.   
  230. + /* FileManSuffix: man page suffix for files */
  231. + #ifndef FileManSuffix
  232. + #define FileManSuffix 5
  233. + #endif
  234. + /* FileMandir: manual page directory for file man pages */
  235. + #ifndef FileMandir
  236. + #define FileMandir $(KRB5ROOT)/man/man$(FILE_MANSUFFIX)
  237. + #endif
  238.   /*
  239.    * 3. Binary program install areas.
  240.    */
  241. ***************
  242. *** 235,247 ****
  243.   #endif
  244.   
  245.   #if defined(VaxArchitecture) || defined(RtArchitecture)
  246. ! #ifdef HasGCC
  247.   #ifdef SourceTop
  248.   #define    STDCTopIncludes    -I$(SRCTOP)/include/stdc-incl
  249.   #else
  250.   #define    STDCTopIncludes    -I$(TOP)/include/stdc-incl
  251.   #endif
  252. ! #endif /* HasGCC */
  253.   #endif
  254.   
  255.   #ifdef UltrixArchitecture
  256. --- 244,256 ----
  257.   #endif
  258.   
  259.   #if defined(VaxArchitecture) || defined(RtArchitecture)
  260. ! #ifdef HasGcc
  261.   #ifdef SourceTop
  262.   #define    STDCTopIncludes    -I$(SRCTOP)/include/stdc-incl
  263.   #else
  264.   #define    STDCTopIncludes    -I$(TOP)/include/stdc-incl
  265.   #endif
  266. ! #endif /* HasGcc */
  267.   #endif
  268.   
  269.   #ifdef UltrixArchitecture
  270. *** config/sun.cf.orig    Wed Sep 30 18:36:16 1992
  271. --- config/sun.cf    Fri Nov  6 13:46:53 1992
  272. ***************
  273. *** 33,40 ****
  274.   #define    HasStdlibH        YES
  275.   #define    HasInet            YES
  276.   #define HasPutenv        YES
  277.   #define HasBsearch        YES
  278. ! #define    HasGCC            NO
  279.   #define    UseSysTimeH        YES
  280.   #define IsPOSIX            NO
  281.   #define    Bitsize32        YES
  282. --- 33,41 ----
  283.   #define    HasStdlibH        YES
  284.   #define    HasInet            YES
  285.   #define HasPutenv        YES
  286. + #define HaveSetenv        YES
  287.   #define HasBsearch        YES
  288. ! #define    HasGcc            NO
  289.   #define    UseSysTimeH        YES
  290.   #define IsPOSIX            NO
  291.   #define    Bitsize32        YES
  292. *** tests/create/Imakefile.orig    Wed Sep 30 18:36:19 1992
  293. --- tests/create/Imakefile    Fri Nov  6 15:03:35 1992
  294. ***************
  295. *** 25,30 ****
  296.   DEPLIBS = $(DEPKDBLIB) $(DEPKLIB)
  297.   LOCAL_LIBRARIES = $(KDBLIB) $(KLIB)
  298.   
  299. ! SimpleTestProgramTarget(kdb5_mkdums)
  300.   
  301.   DependTarget()
  302. --- 25,30 ----
  303.   DEPLIBS = $(DEPKDBLIB) $(DEPKLIB)
  304.   LOCAL_LIBRARIES = $(KDBLIB) $(KLIB)
  305.   
  306. ! Krb5ServerProgramTarget(kdb5_mkdums)
  307.   
  308.   DependTarget()
  309.