[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [UNIKRAFT/KERBEROS 2/4] Added libkrb5 sources
From: Cristian Vijelie <cristianvijelie@xxxxxxxxx> Signed-off-by: Cristian <cristianvijelie@xxxxxxxxx> --- .gitignore | 2 + Config.uk | 2 +- Makefile.uk | 251 +++++++++++++++++++++++++++++++++++++++++++++++----- 3 files changed, 232 insertions(+), 23 deletions(-) diff --git a/.gitignore b/.gitignore index 890d606..01e46c1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ krb5-1.18.2 *_make make_log +0000-cover-letter.patch +0001-Ported-libkrb5support-libkrb5crypto-and-libcom_err.patch diff --git a/Config.uk b/Config.uk index 73176de..ab7834e 100644 --- a/Config.uk +++ b/Config.uk @@ -12,11 +12,11 @@ menuconfig LIBKRB5SUPPORT select LIBLWIP select LWIP_UKNETDEV select LWIP_TCP - select LWIP_TCP_KEEPALIVE select LWIP_THREADS select LWIP_SOCKET select LWIP_IPV4 select LWIP_IPV6 + select LWIP_DNS default n menuconfig LIBKRB5CRYPTO diff --git a/Makefile.uk b/Makefile.uk index eea8972..1f901f1 100644 --- a/Makefile.uk +++ b/Makefile.uk @@ -28,7 +28,7 @@ LIBKRB5SUPPORT_DIR=$(LIBKRB5_MAINDIR)/util/support LIBKRB5CRYPTO_DIR=$(LIBKRB5_MAINDIR)/lib/crypto ############################################################################################## -# libkrb5 flags +# Initialize library flags ############################################################################################## LIBKRB5_CFLAGS += -fPIC -DSHARED -DHAVE_CONFIG_H -I$(LIBKRB5_BASE)/include \ -I$(LIBKRB5_MAINDIR)/include -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE -Wall -Wcast-align -Wshadow \ @@ -39,23 +39,237 @@ LIBKRB5_CFLAGS += -fPIC -DSHARED -DHAVE_CONFIG_H -I$(LIBKRB5_BASE)/include \ -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=discarded-qualifiers \ -Werror=implicit-int -Werror=declaration-after-statement -Werror-implicit-function-declaration +LIBCOM_ERR_CFLAGS = $(LIBKRB5_CFLAGS) + +LIBKRB5_CFLAGS += -I$(LIBNEWLIB_LIBC)/sys/linux/include +LIBKRB5_CFLAGS += -I$(LIBNEWLIB_LIBC)/sys/linux +LIBKRB5_CFLAGS += -I$(LIBNEWLIB_LIBC)/sys/linux/sys + +LIBKRB5SUPPORT_OBJFLAGS = $(LIBKRB5_OBJFLAGS) +LIBKRB5CRYPTO_CFLAGS = $(LIBKRB5_CFLAGS) + +LIBKRB5_CFLAGS += -I$(LIBKRB5_DIR)/ccache +LIBKRB5_CFLAGS += -I$(LIBKRB5_DIR)/ccache/ccapi +LIBKRB5_CFLAGS += -I$(LIBKRB5_DIR)/os +LIBKRB5_CFLAGS += -I$(LIBKRB5_DIR)/keytab +LIBKRB5_CFLAGS += -I$(LIBKRB5_DIR)/rcache +LIBKRB5_CFLAGS += -I$(LIBKRB5_DIR)/unicode +LIBKRB5_CFLAGS += -I$(LIBKRB5_MAINDIR) +LIBKRB5_CFLAGS += -I$(LIBKRB5_MAINDIR)/util/profile +LIBKRB5_CFLAGS += -DLIBDIR=\"/usr/local/lib\" +LIBKRB5_CFLAGS += -DDYNOBJEXT=\".so\" +LIBKRB5_CFLAGS += -DBINDIR=\"/usr/local/bin\" +LIBKRB5_CFLAGS += -DSBINDIR=\"/usr/local/sbin\" + LIBKRB5_OBJFLAGS += -shared -fPIC -Wl,--no-undefined -Wl,--enable-new-dtags \ -Wl,-rpath ############################################################################################## # libkrb5 code ############################################################################################## -LIBKRB5_SRCS-y += - -############################################################################################## -# libkrb5support flags -############################################################################################## - -LIBKRB5SUPPORT_CFLAGS = $(LIBKRB5_CFLAGS) -LIBKRB5SUPPORT_CFLAGS += -I$(LIBNEWLIB_LIBC)/sys/linux/include -LIBKRB5SUPPORT_CFLAGS += -I$(LIBNEWLIB_LIBC)/sys/linux -LIBKRB5SUPPORT_CFLAGS += -I$(LIBNEWLIB_LIBC)/sys/linux/sys -LIBKRB5SUPPORT_OBJFLAGS = $(LIBKRB5_OBJFLAGS) +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/error_tables/asn1_err.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/error_tables/kdb5_err.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/error_tables/krb5_err.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/error_tables/k5e1_err.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/error_tables/kv5m_err.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/error_tables/krb524_err.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/asn.1/asn1_encode.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/asn.1/asn1_k_encode.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/asn.1/ldap_key_seq.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/ccache/ccbase.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/ccache/cccopy.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/ccache/cccursor.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/ccache/ccdefault.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/ccache/ccdefops.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/ccache/ccmarshal.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/ccache/ccselect.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/ccache/ccselect_hostname.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/ccache/ccselect_k5identity.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/ccache/ccselect_realm.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/ccache/cc_dir.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/ccache/cc_retr.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/ccache/cc_file.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/ccache/cc_kcm.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/ccache/cc_memory.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/ccache/cc_keyring.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/ccache/ccfns.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/keytab/ktadd.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/keytab/ktbase.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/keytab/ktdefault.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/keytab/ktfr_entry.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/keytab/ktremove.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/keytab/ktfns.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/keytab/kt_file.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/keytab/kt_memory.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/keytab/read_servi.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/addr_comp.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/addr_order.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/addr_srch.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/allow_weak.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/appdefault.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/ai_authdata.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/auth_con.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/cammac_util.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/authdata.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/authdata_exp.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/authdata_enc.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/authdata_dec.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/bld_pr_ext.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/bld_princ.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/chk_trans.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/chpw.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/conv_creds.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/conv_princ.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/copy_addrs.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/copy_auth.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/copy_athctr.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/copy_cksum.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/copy_creds.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/copy_data.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/copy_key.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/copy_princ.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/copy_tick.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/cp_key_cnt.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/decode_kdc.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/decrypt_tk.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/deltat.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/enc_helper.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/enc_keyhelper.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/encode_kdc.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/encrypt_tk.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/etype_list.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/fast.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/fwd_tgt.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/gc_via_tkt.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/gen_seqnum.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/gen_subkey.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/gen_save_subkey.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/get_creds.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/get_etype_info.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/get_in_tkt.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/gic_keytab.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/gic_opt.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/gic_pwd.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/in_tkt_sky.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/init_ctx.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/copy_ctx.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/init_keyblock.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/kdc_rep_dc.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/kerrs.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/kfree.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/libdef_parse.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/mk_cred.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/mk_error.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/mk_priv.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/mk_rep.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/mk_req.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/mk_req_ext.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/mk_safe.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/pac.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/pac_sign.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/padata.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/parse.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/parse_host_string.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/plugin.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/pr_to_salt.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/preauth2.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/preauth_ec.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/preauth_encts.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/preauth_otp.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/preauth_pkinit.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/preauth_sam2.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/princ_comp.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/privsafe.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/random_str.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/rd_cred.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/rd_error.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/rd_priv.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/rd_rep.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/rd_req.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/rd_req_dec.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/rd_safe.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/recvauth.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/response_items.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/s4u_authdata.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/s4u_creds.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/sendauth.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/send_tgs.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/ser_actx.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/ser_adata.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/ser_addr.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/ser_auth.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/ser_cksum.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/ser_ctx.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/ser_key.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/ser_princ.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/serialize.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/set_realm.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/sname_match.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/srv_dec_tkt.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/srv_rcache.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/str_conv.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/tgtname.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/unparse.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/val_renew.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/valid_times.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/vfy_increds.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/vic_opt.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb/walk_rtree.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/accessor.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/c_ustime.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/ccdefname.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/changepw.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/dnsglue.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/dnssrv.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/expand_path.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/full_ipadr.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/gen_port.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/genaddrs.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/gen_rname.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/hostaddr.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/hostrealm.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/hostrealm_dns.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/hostrealm_domain.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/hostrealm_profile.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/hostrealm_registry.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/init_os_ctx.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/krbfileio.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/ktdefname.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/mk_faddr.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/localaddr.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/localauth.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/localauth_an2ln.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/localauth_k5login.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/localauth_names.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/localauth_rule.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/locate_kdc.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/lock_file.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/net_read.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/net_write.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/port2ip.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/prompter.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/read_msg.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/read_pwd.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/realm_dom.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/sendto_kdc.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/sn2princ.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/thread_safe.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/timeofday.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/toffset.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/trace.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/unlck_file.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/ustime.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/os/write_msg.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/rcache/memrcache.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/rcache/rc_base.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/rcache/rc_dfl.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/rcache/rc_file2.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/rcache/rc_none.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/unicode/ucdata.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/unicode/ure.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/unicode/urestubs.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/unicode/ucstr.c +LIBKRB5_SRCS-y += $(LIBKRB5_DIR)/krb5_libinit.c ############################################################################################## # libkrb5support code @@ -83,7 +297,6 @@ LIBKRB5SUPPORT_SRCS-y += $(LIBKRB5SUPPORT_DIR)/strlcpy.c ############################################################################################## # libkrb5crypto flags ############################################################################################## -LIBKRB5CRYPTO_CFLAGS = $(LIBKRB5_CFLAGS) LIBKRB5CRYPTO_CFLAGS += -I$(LIBKRB5CRYPTO_DIR)/krb LIBKRB5CRYPTO_CFLAGS += -I$(LIBKRB5CRYPTO_DIR)/builtin LIBKRB5CRYPTO_CFLAGS += -I$(LIBKRB5CRYPTO_DIR)/builtin/aes @@ -93,9 +306,6 @@ LIBKRB5CRYPTO_CFLAGS += -I$(LIBKRB5CRYPTO_DIR)/builtin/md4 LIBKRB5CRYPTO_CFLAGS += -I$(LIBKRB5CRYPTO_DIR)/builtin/md5 LIBKRB5CRYPTO_CFLAGS += -I$(LIBKRB5CRYPTO_DIR)/builtin/sha1 LIBKRB5CRYPTO_CFLAGS += -I$(LIBKRB5CRYPTO_DIR)/builtin/sha2 -LIBKRB5CRYPTO_CFLAGS += -I$(LIBNEWLIB_LIBC)/sys/linux/include -LIBKRB5CRYPTO_CFLAGS += -I$(LIBNEWLIB_LIBC)/sys/linux -LIBKRB5CRYPTO_CFLAGS += -I$(LIBNEWLIB_LIBC)/sys/linux/sys LIBKRB5CRYPTO_OBJFLAGS = $(LIBKRB5_OBJFLAGS) ############################################################################################## @@ -189,11 +399,6 @@ LIBKRB5CRYPTO_SRCS-y += $(LIBKRB5CRYPTO_DIR)/builtin/hmac.c LIBKRB5CRYPTO_SRCS-y += $(LIBKRB5CRYPTO_DIR)/builtin/init.c LIBKRB5CRYPTO_SRCS-y += $(LIBKRB5CRYPTO_DIR)/builtin/pbkdf2.c -############################################################################################## -# libcom_err flags -############################################################################################## -LIBCOM_ERR_CFLAGS = $(LIBKRB5_CFLAGS) - ############################################################################################## # libcom_err code ############################################################################################## @@ -207,7 +412,9 @@ LIBCOM_ERR_SRCS-y += $(LIBKRB5_COMPILE_PATH)/com_err.c # Run ./configure $(LIBKRB5_MAINDIR)/.configured: $(LIBKRB5_BUILD)/.origin $(call verbose_cmd,CONFIG,libkrb: $(notdir $@), cd $(LIBKRB5_MAINDIR) && ./configure \ - --disable-nls && touch $@) + --disable-nls && touch $@ && cd include && \ + sed -e "s/#define HAVE_SECURE_GETENV 1/\/\* #undef HAVE_SECURE_GETENV \*\//" autoconf.h > \ + autoconf.temp && mv autoconf.temp autoconf.h) # Generate compile_et $(LIBKRB5_COMPILE_PATH)/compile_et: -- 2.25.1
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |