[LON-CAPA-cvs] cvs: modules /josh krb4.patch krb5.patch

taceyjo1 lon-capa-cvs@mail.lon-capa.org
Mon, 17 Nov 2003 20:02:48 -0000


taceyjo1		Mon Nov 17 15:02:48 2003 EDT

  Added files:                 
    /modules/josh	krb4.patch krb5.patch 
  Log:
  Here are the patch's that need to be applied to the Krb4 and Krb5 modules to get them to compile and work on RedHat 10, and I would assume that they work for older versions (9 and 8) too, but I don't know for sure.
  
  

Index: modules/josh/krb4.patch
+++ modules/josh/krb4.patch
--- Krb4-1.1/Makefile.PL	2000-06-12 20:07:25.000000000 -0400
+++ Krb4-1.1-new/Makefile.PL	2003-11-17 10:10:01.366238826 -0500
@@ -5,7 +5,7 @@
     'NAME'	=> 'Authen::Krb4',
     'VERSION_FROM' => 'Krb4.pm',
     # Remove '-lresolv' if you're not using KTH Kerberos libraries
-    'LIBS'	=> ['-L/usr/local/krb4/lib -lkrb -ldes -lresolv'],
+    'LIBS'	=> ['-L/usr/local/krb4/lib -lkrb4 -ldes425 -lresolv'],
     'DEFINE'	=> '',
-    'INC'	=> '-I/usr/local/krb4/include'
+    'INC'	=> '-I/usr/include/kerberosIV/'
 );

Index: modules/josh/krb5.patch
+++ modules/josh/krb5.patch
--- Krb5-1.2/Makefile.PL	2000-03-10 18:07:57.000000000 -0500
+++ Krb5-1.2-new/Makefile.PL	2003-11-17 14:32:23.734392545 -0500
@@ -3,7 +3,7 @@
 ##### CHANGE THESE ACCORDING TO YOUR CONFIGURATION #####
 
 # location of Kerberos 5 libraries
-my $KRB5_LIBDIR = '/usr/local/krb5/lib';
+my $KRB5_LIBDIR = '/usr/lib';
 
 # any extra libraries?
 my $KRB5_EXTRALIBS = '';
@@ -12,7 +12,7 @@
 my $KRB5_INCDIR = '/usr/local/krb5/include';
 
 # any extra include flags?
-my $KRB5_EXTRAINCS = '';
+my $KRB5_EXTRAINCS = '/usr/include/et';
 
 ##### DO NOT CHANGE ANYTHING BELOW HERE #####
 
@@ -34,5 +34,5 @@
     'LIBS'	=> ["-L${KRB5_LIBDIR} -lkrb5 ${cryptolib} -lcom_err",
 			$KRB5_EXTRALIBS ],
     'DEFINE'	=> '',
-    'INC'	=> "-I${KRB5_INCDIR} $KRB5_EXTRAINCS"
+    'INC'	=> "-I${KRB5_INCDIR} -I$KRB5_EXTRAINCS"
 );