2010-10-23 15:39:46 -04:00
|
|
|
$OpenBSD: patch-src_osdep_unix_Makefile.gss,v 1.8 2010/10/23 19:39:46 jsg Exp $
|
2001-09-24 18:01:49 -04:00
|
|
|
|
2010-10-23 15:39:46 -04:00
|
|
|
--- src/osdep/unix/Makefile.gss.orig Wed Jun 4 20:18:34 2008
|
|
|
|
+++ src/osdep/unix/Makefile.gss Sat Oct 16 14:17:18 2010
|
2007-10-30 06:12:41 -04:00
|
|
|
@@ -29,11 +29,12 @@
|
2001-09-24 18:01:49 -04:00
|
|
|
GSSDIR=/usr/local
|
2006-12-01 09:40:00 -05:00
|
|
|
GSSINCLUDE=$(GSSDIR)/include
|
|
|
|
GSSLIB=$(GSSDIR)/lib
|
2007-10-30 06:12:41 -04:00
|
|
|
-GSSCFLAGS= -I$(GSSINCLUDE) -DGSS_C_NT_HOSTBASED_SERVICE=gss_nt_service_name -DKRB5_DEPRECATED=1
|
2006-12-01 09:40:00 -05:00
|
|
|
+GSSCFLAGS= -I$(GSSINCLUDE) -DHEIMDAL
|
2010-10-23 15:39:46 -04:00
|
|
|
+GSSLDFLAGS= -L$(GSSLIB) -lkafs -lgssapi -lkrb5 -lasn1 -lcom_err -lcrypto
|
2007-10-30 06:12:41 -04:00
|
|
|
GSSOLDLDFLAGS= -L$(GSSLIB) -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err
|
|
|
|
GSSNEWLDFLAGS= -L$(GSSLIB) -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err
|
2001-09-24 18:01:49 -04:00
|
|
|
|
|
|
|
gss: # GSSAPI Kerberos V flags
|
|
|
|
echo $(GSSCFLAGS) >> OSCFLAGS
|
2006-12-01 09:40:00 -05:00
|
|
|
- sh -c '(test -f $(GSSLIB)/libk5crypto.a) && echo $(GSSNEWLDFLAGS) || echo $(GSSOLDLDFLAGS)' >> LDFLAGS
|
2001-09-24 18:01:49 -04:00
|
|
|
+ echo $(GSSLDFLAGS) >> LDFLAGS
|
2003-04-17 04:06:29 -04:00
|
|
|
echo "#include \"kerb_mit.c\"" >> auths.c
|