diff options
author | Robert Nagy <robert@cvs.openbsd.org> | 2013-06-17 19:11:47 +0000 |
---|---|---|
committer | Robert Nagy <robert@cvs.openbsd.org> | 2013-06-17 19:11:47 +0000 |
commit | 22db4b2e9c63b9f500b2d0f99d94107b5a600444 (patch) | |
tree | e4923efc907c9bf89e24b630cec2d94c161ffca3 /kerberosV/lib | |
parent | eda62d8f4e9fbdc55f8600409818ed1cbd89e35e (diff) |
2nd part of:
update kerberosV to Heimdal 1.5.2 using BSD Makefiles based
on the ones from FreeBSD
This is getting commited now so that we can patch it up
fast in the tree.
There are known regressions so please don't try to build
this on your own now, please wait for the next available
snapshot.
If however you would still want to build it, make sure
build and install everything in the tools directory first.
Diffstat (limited to 'kerberosV/lib')
32 files changed, 1891 insertions, 0 deletions
diff --git a/kerberosV/lib/libasn1/Makefile b/kerberosV/lib/libasn1/Makefile new file mode 100644 index 00000000000..a101680804a --- /dev/null +++ b/kerberosV/lib/libasn1/Makefile @@ -0,0 +1,115 @@ +# $OpenBSD: Makefile,v 1.1 2013/06/17 19:11:35 robert Exp $ + +LIB= asn1 +LDFLAGS= -Wl,--no-undefined +INCS= asn1_err.h asn1-common.h heim_asn1.h der.h der-protos.h der-private.h + +VERSION_MAP= ${.CURDIR}/version.map + +SRCS= asn1_err.c \ + asn1_err.h \ + der.c \ + der_copy.c \ + der_cmp.c \ + der_free.c \ + der_format.c \ + der_get.c \ + der_length.c \ + der_put.c \ + extra.c \ + template.c \ + timegm.c \ + roken.h \ + ${GEN:S/.x$/.c/:S/.hx$/.h/} + +CFLAGS+=-I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/roken -I${KRB5DIR}/lib/com_err -I. + +GEN_RFC2459= asn1_rfc2459_asn1.x rfc2459_asn1.hx rfc2459_asn1-priv.hx +GEN_CMS= asn1_cms_asn1.x cms_asn1.hx cms_asn1-priv.hx +GEN_K5= asn1_krb5_asn1.x krb5_asn1.hx krb5_asn1-priv.hx +GEN_PKINIT= asn1_pkinit_asn1.x pkinit_asn1.hx pkinit_asn1-priv.hx +GEN_PKCS8= asn1_pkcs8_asn1.x pkcs8_asn1.hx pkcs8_asn1-priv.hx +GEN_PKCS9= asn1_pkcs9_asn1.x pkcs9_asn1.hx pkcs9_asn1-priv.hx +GEN_PKCS12= asn1_pkcs12_asn1.x pkcs12_asn1.hx pkcs12_asn1-priv.hx +GEN_DIGEST= asn1_digest_asn1.x digest_asn1.hx digest_asn1-priv.hx +GEN_KX509= asn1_kx509_asn1.x kx509_asn1.hx kx509_asn1-priv.hx + +GEN+= ${GEN_RFC2459} +GEN+= ${GEN_CMS} +GEN+= ${GEN_K5} +GEN+= ${GEN_PKINIT} +GEN+= ${GEN_PKCS8} +GEN+= ${GEN_PKCS9} +GEN+= ${GEN_PKCS12} +GEN+= ${GEN_DIGEST} +GEN+= ${GEN_KX509} + +CLEANFILES= ${GEN} ${GEN:S/.x$/.c/:S/.hx$/.h/} *_asn1_files + +INCS+= krb5_asn1.h \ + pkinit_asn1.h \ + cms_asn1.h \ + rfc2459_asn1.h \ + pkcs8_asn1.h \ + pkcs9_asn1.h \ + pkcs12_asn1.h \ + digest_asn1.h \ + kx509_asn1.h + +${GEN_CMS}: cms.asn1 cms.opt + ${ASN1_COMPILE} --one-code-file \ + --option-file=${.ALLSRC:M*.opt} ${.ALLSRC:M*.asn1} cms_asn1 + +${GEN_RFC2459}: rfc2459.asn1 + ${ASN1_COMPILE} \ + --one-code-file \ + --preserve-binary=TBSCertificate \ + --preserve-binary=TBSCRLCertList \ + --preserve-binary=Name \ + --sequence=GeneralNames \ + --sequence=Extensions \ + --sequence=CRLDistributionPoints ${.ALLSRC:M*.asn1} rfc2459_asn1 + +${GEN_K5}: krb5.asn1 krb5.opt + ${ASN1_COMPILE} \ + --one-code-file \ + --option-file=${.ALLSRC:M*.opt} \ + ${.ALLSRC:M*.asn1} krb5_asn1 + +${GEN_PKINIT}: pkinit.asn1 + ${ASN1_COMPILE} --one-code-file \ + ${.ALLSRC:M*.asn1} pkinit_asn1 + +${GEN_PKCS8}: pkcs8.asn1 + ${ASN1_COMPILE} --one-code-file \ + ${.ALLSRC:M*.asn1} pkcs8_asn1 + +${GEN_PKCS9}: pkcs9.asn1 + ${ASN1_COMPILE} --one-code-file \ + ${.ALLSRC:M*.asn1} pkcs9_asn1 + +${GEN_PKCS12}: pkcs12.asn1 + ${ASN1_COMPILE} --one-code-file \ + ${.ALLSRC:M*.asn1} pkcs12_asn1 + +${GEN_DIGEST}: digest.asn1 + ${ASN1_COMPILE} --one-code-file \ + ${.ALLSRC:M*.asn1} digest_asn1 + +${GEN_KX509}: kx509.asn1 + ${ASN1_COMPILE} --one-code-file \ + ${.ALLSRC:M*.asn1} kx509_asn1 + +.SUFFIXES: .h .c .x .hx + +.x.c: + cmp -s ${.IMPSRC} ${.TARGET} 2> /dev/null || cp ${.IMPSRC} ${.TARGET} + +.hx.h: + cmp -s ${.IMPSRC} ${.TARGET} 2> /dev/null || cp ${.IMPSRC} ${.TARGET} + +.include <bsd.lib.mk> + +.SUFFIXES: .h .c .x .hx + +.PATH: ${KRB5DIR}/lib/asn1 ${KRB5DIR}/include ${.CURDIR}/../../include diff --git a/kerberosV/lib/libasn1/shlib_version b/kerberosV/lib/libasn1/shlib_version new file mode 100644 index 00000000000..0aab0406bf8 --- /dev/null +++ b/kerberosV/lib/libasn1/shlib_version @@ -0,0 +1,2 @@ +major=19 +minor=0 diff --git a/kerberosV/lib/libcom_err/Makefile b/kerberosV/lib/libcom_err/Makefile new file mode 100644 index 00000000000..2b87f8c73b1 --- /dev/null +++ b/kerberosV/lib/libcom_err/Makefile @@ -0,0 +1,11 @@ +# $OpenBSD: Makefile,v 1.1 2013/06/17 19:11:35 robert Exp $ + +LIB= com_err +SRCS= com_err.c error.c +INCS= com_err.h com_right.h + +CFLAGS+=-I. -I${KRB5DIR}/lib/com_err + +.include <bsd.lib.mk> + +.PATH: ${KRB5DIR}/lib/com_err diff --git a/kerberosV/lib/libcom_err/shlib_version b/kerberosV/lib/libcom_err/shlib_version new file mode 100644 index 00000000000..0aab0406bf8 --- /dev/null +++ b/kerberosV/lib/libcom_err/shlib_version @@ -0,0 +1,2 @@ +major=19 +minor=0 diff --git a/kerberosV/lib/libgssapi/Makefile b/kerberosV/lib/libgssapi/Makefile new file mode 100644 index 00000000000..2e646b180a9 --- /dev/null +++ b/kerberosV/lib/libgssapi/Makefile @@ -0,0 +1,309 @@ +# $OpenBSD: Makefile,v 1.1 2013/06/17 19:11:35 robert Exp $ + +LIB= gssapi + +GEN= asn1_ContextFlags.x \ + asn1_GSSAPIContextToken.x \ + asn1_MechType.x \ + asn1_MechTypeList.x \ + asn1_NegotiationToken.x \ + asn1_NegotiationTokenWin.x \ + asn1_NegHints.x \ + asn1_NegTokenInit.x \ + asn1_NegTokenInitWin.x \ + asn1_NegTokenResp.x \ + +krb5src= \ + krb5/8003.c \ + krb5/accept_sec_context.c \ + krb5/acquire_cred.c \ + krb5/add_cred.c \ + krb5/address_to_krb5addr.c \ + krb5/aeap.c \ + krb5/arcfour.c \ + krb5/authorize_localname.c \ + krb5/canonicalize_name.c \ + krb5/creds.c \ + krb5/ccache_name.c \ + krb5/cfx.c \ + krb5/compare_name.c \ + krb5/compat.c \ + krb5/context_time.c \ + krb5/copy_ccache.c \ + krb5/decapsulate.c \ + krb5/delete_sec_context.c \ + krb5/display_name.c \ + krb5/display_status.c \ + krb5/duplicate_name.c \ + krb5/encapsulate.c \ + krb5/export_name.c \ + krb5/export_sec_context.c \ + krb5/external.c \ + krb5/get_mic.c \ + krb5/import_name.c \ + krb5/import_sec_context.c \ + krb5/indicate_mechs.c \ + krb5/init.c \ + krb5/init_sec_context.c \ + krb5/inquire_context.c \ + krb5/inquire_cred.c \ + krb5/inquire_cred_by_mech.c \ + krb5/inquire_cred_by_oid.c \ + krb5/inquire_mechs_for_name.c \ + krb5/inquire_names_for_mech.c \ + krb5/inquire_sec_context_by_oid.c \ + krb5/pname_to_uid.c \ + krb5/process_context_token.c \ + krb5/prf.c \ + krb5/release_buffer.c \ + krb5/release_cred.c \ + krb5/release_name.c \ + krb5/sequence.c \ + krb5/store_cred.c \ + krb5/set_cred_option.c \ + krb5/set_sec_context_option.c \ + krb5/ticket_flags.c \ + krb5/unwrap.c \ + krb5/verify_mic.c \ + krb5/wrap.c + +mechsrc = \ + mech/context.c \ + mech/doxygen.c \ + mech/gss_accept_sec_context.c \ + mech/gss_acquire_cred.c \ + mech/gss_acquire_cred_ext.c \ + mech/gss_acquire_cred_with_password.c \ + mech/gss_add_cred.c \ + mech/gss_add_oid_set_member.c \ + mech/gss_authorize_localname.c \ + mech/gss_aeap.c \ + mech/gss_buffer_set.c \ + mech/gss_canonicalize_name.c \ + mech/gss_compare_name.c \ + mech/gss_context_time.c \ + mech/gss_create_empty_oid_set.c \ + mech/gss_cred.c \ + mech/gss_decapsulate_token.c \ + mech/gss_delete_name_attribute.c \ + mech/gss_delete_sec_context.c \ + mech/gss_display_name.c \ + mech/gss_display_name_ext.c \ + mech/gss_display_status.c \ + mech/gss_duplicate_name.c \ + mech/gss_duplicate_oid.c \ + mech/gss_encapsulate_token.c \ + mech/gss_export_name.c \ + mech/gss_export_name_composite.c \ + mech/gss_export_sec_context.c \ + mech/gss_get_mic.c \ + mech/gss_get_name_attribute.c \ + mech/gss_import_name.c \ + mech/gss_import_sec_context.c \ + mech/gss_indicate_mechs.c \ + mech/gss_init_sec_context.c \ + mech/gss_inquire_context.c \ + mech/gss_inquire_cred.c \ + mech/gss_inquire_cred_by_mech.c \ + mech/gss_inquire_cred_by_oid.c \ + mech/gss_inquire_mechs_for_name.c \ + mech/gss_inquire_name.c \ + mech/gss_inquire_names_for_mech.c \ + mech/gss_krb5.c \ + mech/gss_mech_switch.c \ + mech/gss_mo.c \ + mech/gss_names.c \ + mech/gss_oid.c \ + mech/gss_oid_equal.c \ + mech/gss_oid_to_str.c \ + mech/gss_pname_to_uid.c \ + mech/gss_process_context_token.c \ + mech/gss_pseudo_random.c \ + mech/gss_release_buffer.c \ + mech/gss_release_cred.c \ + mech/gss_release_name.c \ + mech/gss_release_oid.c \ + mech/gss_release_oid_set.c \ + mech/gss_seal.c \ + mech/gss_set_cred_option.c \ + mech/gss_set_name_attribute.c \ + mech/gss_set_sec_context_option.c \ + mech/gss_sign.c \ + mech/gss_store_cred.c \ + mech/gss_test_oid_set_member.c \ + mech/gss_unseal.c \ + mech/gss_unwrap.c \ + mech/gss_utils.c \ + mech/gss_verify.c \ + mech/gss_verify_mic.c \ + mech/gss_wrap.c \ + mech/gss_wrap_size_limit.c \ + mech/gss_inquire_sec_context_by_oid.c + +spnegosrc = \ + spnego/accept_sec_context.c \ + spnego/compat.c \ + spnego/context_stubs.c \ + spnego/cred_stubs.c \ + spnego/external.c \ + spnego/init_sec_context.c + +ntlmsrc = \ + ntlm/accept_sec_context.c \ + ntlm/acquire_cred.c \ + ntlm/add_cred.c \ + ntlm/canonicalize_name.c \ + ntlm/compare_name.c \ + ntlm/context_time.c \ + ntlm/creds.c \ + ntlm/crypto.c \ + ntlm/delete_sec_context.c \ + ntlm/display_name.c \ + ntlm/display_status.c \ + ntlm/duplicate_name.c \ + ntlm/export_name.c \ + ntlm/export_sec_context.c \ + ntlm/external.c \ + ntlm/import_name.c \ + ntlm/import_sec_context.c \ + ntlm/indicate_mechs.c \ + ntlm/init_sec_context.c \ + ntlm/inquire_context.c \ + ntlm/inquire_cred_by_mech.c \ + ntlm/inquire_mechs_for_name.c \ + ntlm/inquire_names_for_mech.c \ + ntlm/inquire_sec_context_by_oid.c \ + ntlm/iter_cred.c \ + ntlm/process_context_token.c \ + ntlm/release_cred.c \ + ntlm/release_name.c \ + ntlm/kdc.c + +NTLMSRC= ${ntlmsrc:S@/@__@} +KRB5SRC= ${krb5src:S@/@__@} +MECHSRC= ${mechsrc:S@/@__@} +SPNEGOSRC= ${spnegosrc:S@/@__@} + + +SRCS= ${KRB5SRC} \ + ${MECHSRC} \ + ${SPNEGOSRC} \ + ${NTLMSRC} \ + gkrb5_err.c \ + gkrb5_err.h \ + ${GEN:S/.x$/.c/:S/.hx$/.h/} + +INCS= gssapi.h + +OIDINCS= gssapi_oid.h +OIDINCSDIR= ${INCLUDEDIR}/gssapi + +KRB5INCS= gssapi.h gssapi_krb5.h +KRB5INCSDIR= ${INCLUDEDIR}/gssapi + +SPNEGOINCS= gssapi_spnego.h +SPNEGOINCSDIR= ${INCLUDEDIR}/gssapi + +INCSGROUPS= INCS OIDINCS KRB5INCS SPNEGOINCS + +GEN+= gssapi_asn1.hx \ + gssapi_asn1-priv.hx \ + spnego_asn1.hx \ + spnego_asn1-priv.hx + +MAN= gssapi.3 \ + gss_acquire_cred.3 \ + mech.5 + +MLINKS= \ + gss_acquire_cred.3 gss_accept_sec_context.3 \ + gss_acquire_cred.3 gss_add_cred.3 \ + gss_acquire_cred.3 gss_add_oid_set_member.3 \ + gss_acquire_cred.3 gss_canonicalize_name.3 \ + gss_acquire_cred.3 gss_compare_name.3 \ + gss_acquire_cred.3 gss_context_time.3 \ + gss_acquire_cred.3 gss_create_empty_oid_set.3 \ + gss_acquire_cred.3 gss_delete_sec_context.3 \ + gss_acquire_cred.3 gss_display_name.3 \ + gss_acquire_cred.3 gss_display_status.3 \ + gss_acquire_cred.3 gss_duplicate_name.3 \ + gss_acquire_cred.3 gss_export_name.3 \ + gss_acquire_cred.3 gss_export_sec_context.3 \ + gss_acquire_cred.3 gss_get_mic.3 \ + gss_acquire_cred.3 gss_import_name.3 \ + gss_acquire_cred.3 gss_import_sec_context.3 \ + gss_acquire_cred.3 gss_indicate_mechs.3 \ + gss_acquire_cred.3 gss_init_sec_context.3 \ + gss_acquire_cred.3 gss_inquire_context.3 \ + gss_acquire_cred.3 gss_inquire_cred.3 \ + gss_acquire_cred.3 gss_inquire_cred_by_mech.3 \ + gss_acquire_cred.3 gss_inquire_mechs_for_name.3 \ + gss_acquire_cred.3 gss_inquire_names_for_mech.3 \ + gss_acquire_cred.3 gss_krb5_ccache_name.3 \ + gss_acquire_cred.3 gss_krb5_compat_des3_mic.3 \ + gss_acquire_cred.3 gss_krb5_copy_ccache.3 \ + gss_acquire_cred.3 gss_krb5_get_tkt_flags.3 \ + gss_acquire_cred.3 gss_krb5_import_ccache.3 \ + gss_acquire_cred.3 gss_krb5_import_cred.3 \ + gss_acquire_cred.3 gss_process_context_token.3 \ + gss_acquire_cred.3 gss_release_buffer.3 \ + gss_acquire_cred.3 gss_release_cred.3 \ + gss_acquire_cred.3 gss_release_name.3 \ + gss_acquire_cred.3 gss_release_oid_set.3 \ + gss_acquire_cred.3 gss_seal.3 \ + gss_acquire_cred.3 gss_sign.3 \ + gss_acquire_cred.3 gss_test_oid_set_member.3 \ + gss_acquire_cred.3 gss_unseal.3 \ + gss_acquire_cred.3 gss_unwrap.3 \ + gss_acquire_cred.3 gss_verify.3 \ + gss_acquire_cred.3 gss_verify_mic.3 \ + gss_acquire_cred.3 gss_wrap.3 \ + gss_acquire_cred.3 gss_wrap_size_limit.3 \ + gss_acquire_cred.3 gsskrb5_extract_authz_data_from_sec_context.3 \ + gss_acquire_cred.3 gsskrb5_register_acceptor_identity.3 + +CFLAGS+=-I${KRB5DIR}/lib/gssapi +CFLAGS+=-I${KRB5DIR}/lib/gssapi/gssapi +CFLAGS+=-I${KRB5DIR}/lib/gssapi/krb5 +CFLAGS+=-I${KRB5DIR}/lib/gssapi/mech +CFLAGS+=-I${KRB5DIR}/lib/gssapi/ntlm +CFLAGS+=-I${KRB5DIR}/lib/gssapi/spnego +CFLAGS+=-I${KRB5DIR}/lib/krb5 +CFLAGS+=-I${KRB5DIR}/lib/asn1 +CFLAGS+=-I${KRB5DIR}/lib/roken -I. + +CLEANFILES= ${GEN} ${GEN:S/.x$/.c/:S/.hx$/.h/} gssapi_asn1_files spnego_asn1_files \ + gssapi_asn1-template.c spnego_asn1-template.c + +.for i in ${KRB5SRC} ${MECHSRC} ${SPNEGOSRC} ${NTLMSRC} +CLEANFILES+=$i +.endfor + +beforedepend: +.for i in ${KRB5SRC} ${MECHSRC} ${SPNEGOSRC} ${NTLMSRC} + cmp -s ${KRB5DIR}/lib/gssapi/${i:S@__@/@} ${.OBJDIR}/${i} || \ + ln -sf ${KRB5DIR}/lib/gssapi/${i:S@__@/@} ${.OBJDIR}/${i} +.endfor + +gengssapi: gssapi.asn1 + ${ASN1_COMPILE} ${.ALLSRC:M*.asn1} gssapi_asn1 + +genspnego: spnego.asn1 spnego.opt + ${ASN1_COMPILE} --option-file=${.ALLSRC:M*.opt} ${.ALLSRC:M*.asn1} spnego_asn1 + +${GEN}: gengssapi genspnego + +.SUFFIXES: .h .c .x .hx + +.x.c: + cmp -s ${.IMPSRC} ${.TARGET} 2> /dev/null || cp ${.IMPSRC} ${.TARGET} + +.hx.h: + cmp -s ${.IMPSRC} ${.TARGET} 2> /dev/null || cp ${.IMPSRC} ${.TARGET} + +.include <bsd.lib.mk> + +.SUFFIXES: .h .c .x .hx + +.PATH: ${KRB5DIR}/lib/gssapi/gssapi ${KRB5DIR}/lib/gssapi ${KRB5DIR}/lib/gssapi/krb5 ${KRB5DIR}/lib/gssapi/mech \ + ${KRB5DIR}/lib/gssapi/spnego ${KRB5DIR}/lib/ntlm diff --git a/kerberosV/lib/libgssapi/shlib_version b/kerberosV/lib/libgssapi/shlib_version new file mode 100644 index 00000000000..9c1551636c5 --- /dev/null +++ b/kerberosV/lib/libgssapi/shlib_version @@ -0,0 +1,2 @@ +major=6 +minor=0 diff --git a/kerberosV/lib/libhdb/Makefile b/kerberosV/lib/libhdb/Makefile new file mode 100644 index 00000000000..e356486b08f --- /dev/null +++ b/kerberosV/lib/libhdb/Makefile @@ -0,0 +1,100 @@ +# $OpenBSD: Makefile,v 1.1 2013/06/17 19:11:35 robert Exp $ + +LIB= hdb +LDFLAGS= -Wl,--no-undefined +VERSION_MAP= ${KRB5DIR}/lib/hdb/version-script.map + +MAN= HDB.3 hdb_entry_ex.3 + +MLINKS= HDB.3 hdb__del.3 \ + HDB.3 hdb__get.3 \ + HDB.3 hdb__put.3 \ + HDB.3 hdb_auth_status.3 \ + HDB.3 hdb_check_constrained_delegation.3 \ + HDB.3 hdb_check_pkinit_ms_upn_match.3 \ + HDB.3 hdb_check_s4u2self.3 \ + HDB.3 hdb_close.3 \ + HDB.3 hdb_destroy.3 \ + HDB.3 hdb_fetch_kvno.3 \ + HDB.3 hdb_firstkey.3 \ + HDB.3 hdb_free.3 \ + HDB.3 hdb_get_realms.3 \ + HDB.3 hdb_lock.3 \ + HDB.3 hdb_name.3 \ + HDB.3 hdb_nextkey.3 \ + HDB.3 hdb_open.3 \ + HDB.3 hdb_password.3 \ + HDB.3 hdb_remove.3 \ + HDB.3 hdb_rename.3 \ + HDB.3 hdb_store.3 \ + HDB.3 hdb_unlock.3 + +INCS= hdb-protos.h \ + hdb.h + +INCS+= hdb_asn1.h \ + hdb_err.h + +SRCS= common.c \ + db.c \ + db3.c \ + dbinfo.c \ + ext.c \ + hdb-ldap.c \ + hdb.c \ + hdb_err.c \ + hdb_err.h \ + hdb-keytab.c \ + hdb-mitdb.c \ + keys.c \ + keytab.c \ + mkey.c \ + ndbm.c \ + print.c \ + ${GEN:S/.x$/.c/:S/.hx$/.h/} + +CFLAGS+=-I${KRB5DIR}/lib/hdb -I${KRB5DIR}/lib/asn1 \ + -I${KRB5DIR}/lib/roken \ + -I${KRB5DIR}/lib/krb5 \ + -I. +CFLAGS+=-DHDB_DB_DIR="\"/var/heimdal\"" + +GEN= asn1_Salt.x \ + asn1_Key.x \ + asn1_Event.x \ + asn1_HDBFlags.x \ + asn1_GENERATION.x \ + asn1_HDB_Ext_PKINIT_acl.x \ + asn1_HDB_Ext_PKINIT_cert.x \ + asn1_HDB_Ext_PKINIT_hash.x \ + asn1_HDB_Ext_Constrained_delegation_acl.x \ + asn1_HDB_Ext_Lan_Manager_OWF.x \ + asn1_HDB_Ext_Password.x \ + asn1_HDB_Ext_Aliases.x \ + asn1_HDB_extension.x \ + asn1_HDB_extensions.x \ + asn1_hdb_entry.x \ + asn1_hdb_entry_alias.x \ + asn1_hdb_keyset.x \ + hdb_asn1.hx \ + hdb_asn1-priv.hx + +CLEANFILES= ${GEN} ${GEN:S/.x$/.c/:S/.hx$/.h/} hdb_asn1_files \ + hdb_asn1-template.[ch]* + +${GEN}: hdb.asn1 + ${ASN1_COMPILE} ${.ALLSRC:M*.asn1} hdb_asn1 + +.SUFFIXES: .h .c .x .hx + +.x.c: + cmp -s ${.IMPSRC} ${.TARGET} 2> /dev/null || cp ${.IMPSRC} ${.TARGET} + +.hx.h: + cmp -s ${.IMPSRC} ${.TARGET} 2> /dev/null || cp ${.IMPSRC} ${.TARGET} + +.include <bsd.lib.mk> + +.SUFFIXES: .h .c .x .hx + +.PATH: ${KRB5DIR}/lib/hdb ${KRB5DIR}/doc/doxyout/hdb/man/man3/ diff --git a/kerberosV/lib/libhdb/shlib_version b/kerberosV/lib/libhdb/shlib_version new file mode 100644 index 00000000000..97c9f92d6b8 --- /dev/null +++ b/kerberosV/lib/libhdb/shlib_version @@ -0,0 +1,2 @@ +major=0 +minor=0 diff --git a/kerberosV/lib/libheimbase/Makefile b/kerberosV/lib/libheimbase/Makefile new file mode 100644 index 00000000000..71000c4beb0 --- /dev/null +++ b/kerberosV/lib/libheimbase/Makefile @@ -0,0 +1,22 @@ +#$OpenBSD: Makefile,v 1.1 2013/06/17 19:11:35 robert Exp $ + +LIB= heimbase +LDFLAGS= -Wl,--no-undefined +VERSION_MAP= ${KRB5DIR}/base/version-script.map + +INCS= heimbase.h + +SRCS= \ + array.c \ + bool.c \ + dict.c \ + heimbase.c \ + null.c \ + number.c \ + string.c + +CFLAGS+= -I${KRB5DIR}/include + +.include <bsd.lib.mk> + +.PATH: ${KRB5DIR}/base diff --git a/kerberosV/lib/libheimbase/shlib_version b/kerberosV/lib/libheimbase/shlib_version new file mode 100644 index 00000000000..97c9f92d6b8 --- /dev/null +++ b/kerberosV/lib/libheimbase/shlib_version @@ -0,0 +1,2 @@ +major=0 +minor=0 diff --git a/kerberosV/lib/libheimipcc/Makefile b/kerberosV/lib/libheimipcc/Makefile new file mode 100644 index 00000000000..994c6287aa9 --- /dev/null +++ b/kerberosV/lib/libheimipcc/Makefile @@ -0,0 +1,24 @@ +#$OpenBSD: Makefile,v 1.1 2013/06/17 19:11:35 robert Exp $ + +.include <bsd.own.mk> + +LIB= heimipcc + +SRCS= \ + client.c \ + common.c + +.if !defined(NOPIC) +CFLAGS+= -DPIC ${PICFLAG} +.endif + +CFLAGS+= -I${KRB5DIR}/lib/roken \ + -I${KRB5DIR}/base \ + -I${KRB5DIR}/lib/ipc + +# skip installation +install: + +.include <bsd.lib.mk> + +.PATH: ${KRB5DIR}/lib/ipc diff --git a/kerberosV/lib/libheimipcs/Makefile b/kerberosV/lib/libheimipcs/Makefile new file mode 100644 index 00000000000..2dfeb7e4258 --- /dev/null +++ b/kerberosV/lib/libheimipcs/Makefile @@ -0,0 +1,24 @@ +#$OpenBSD: Makefile,v 1.1 2013/06/17 19:11:35 robert Exp $ + +.include <bsd.own.mk> + +LIB= heimipcs + +SRCS= \ + server.c \ + common.c + +.if !defined(NOPIC) +CFLAGS+= -DPIC ${PICFLAG} +.endif + +CFLAGS+= -I${KRB5DIR}/lib/roken \ + -I${KRB5DIR}/base \ + -I${KRB5DIR}/lib/ipc -I. + +# skip installation +install: + +.include <bsd.lib.mk> + +.PATH: ${KRB5DIR}/lib/ipc diff --git a/kerberosV/lib/libheimntlm/Makefile b/kerberosV/lib/libheimntlm/Makefile new file mode 100644 index 00000000000..d23f78d4b3c --- /dev/null +++ b/kerberosV/lib/libheimntlm/Makefile @@ -0,0 +1,39 @@ +# $OpenBSD: Makefile,v 1.1 2013/06/17 19:11:35 robert Exp $ + +LIB= heimntlm +LDFLAGS= -Wl,--no-undefined +DPADD= ${LIBCRYPTO} ${LIBCOM_ERR} ${LIBKRB5} ${LIBROKEN} +SRCS= ntlm.c ntlm_err.c +INCS= heimntlm.h heimntlm-protos.h ntlm_err.h +CFLAGS+=-I${KRB5DIR}/lib/ntlm -I${KRB5DIR}/lib/roken +VERSION_MAP= ${KRB5DIR}/lib/ntlm/version-script.map + +MAN= ntlm_buf.3 \ + ntlm_core.3 \ + ntlm_type1.3 \ + ntlm_type2.3 \ + ntlm_type3.3 + +MLINKS= ntlm_core.3 heim_ntlm_build_ntlm1_master.3 \ + ntlm_core.3 heim_ntlm_build_ntlm2_master.3 \ + ntlm_core.3 heim_ntlm_calculate_lm2.3 \ + ntlm_core.3 heim_ntlm_calculate_ntlm1.3 \ + ntlm_core.3 heim_ntlm_calculate_ntlm2.3 \ + ntlm_core.3 heim_ntlm_decode_targetinfo.3 \ + ntlm_core.3 heim_ntlm_encode_targetinfo.3 \ + ntlm_core.3 heim_ntlm_encode_type1.3 \ + ntlm_core.3 heim_ntlm_encode_type2.3 \ + ntlm_core.3 heim_ntlm_encode_type3.3 \ + ntlm_core.3 heim_ntlm_free_buf.3 \ + ntlm_core.3 heim_ntlm_free_targetinfo.3 \ + ntlm_core.3 heim_ntlm_free_type1.3 \ + ntlm_core.3 heim_ntlm_free_type2.3 \ + ntlm_core.3 heim_ntlm_free_type3.3 \ + ntlm_core.3 heim_ntlm_keyex_unwrap.3 \ + ntlm_core.3 heim_ntlm_nt_key.3 \ + ntlm_core.3 heim_ntlm_ntlmv2_key.3 \ + ntlm_core.3 heim_ntlm_verify_ntlm2.3 + +.include <bsd.lib.mk> + +.PATH: ${KRB5DIR}/lib/ntlm ${KRB5DIR}/doc/doxyout/ntlm/man/man3 diff --git a/kerberosV/lib/libheimntlm/shlib_version b/kerberosV/lib/libheimntlm/shlib_version new file mode 100644 index 00000000000..97c9f92d6b8 --- /dev/null +++ b/kerberosV/lib/libheimntlm/shlib_version @@ -0,0 +1,2 @@ +major=0 +minor=0 diff --git a/kerberosV/lib/libhx509/Makefile b/kerberosV/lib/libhx509/Makefile new file mode 100644 index 00000000000..3a7acbbf707 --- /dev/null +++ b/kerberosV/lib/libhx509/Makefile @@ -0,0 +1,298 @@ +# $OpenBSD: Makefile,v 1.1 2013/06/17 19:11:35 robert Exp $ + +LIB= hx509 +DPADD= ${LIBASN1} ${LIBCOM_ERR} ${LIBCRYPTO} ${LIBROKEN} ${LIBWIND} + +MAN= hx509.3 \ + hx509_ca.3 \ + hx509_cert.3 \ + hx509_cms.3 \ + hx509_crypto.3 \ + hx509_env.3 \ + hx509_error.3 \ + hx509_keyset.3 \ + hx509_lock.3 \ + hx509_misc.3 \ + hx509_name.3 \ + hx509_peer.3 \ + hx509_print.3 \ + hx509_query.3 \ + hx509_revoke.3 \ + hx509_verify.3 + +MLINKS= hx509.3 hx509_context_free.3 \ + hx509.3 hx509_context_init.3 \ + hx509_ca.3 hx509_ca_sign.3 \ + hx509_ca.3 hx509_ca_sign_self.3 \ + hx509_ca.3 hx509_ca_tbs_add_crl_dp_uri.3 \ + hx509_ca.3 hx509_ca_tbs_add_eku.3 \ + hx509_ca.3 hx509_ca_tbs_add_san_hostname.3 \ + hx509_ca.3 hx509_ca_tbs_add_san_jid.3 \ + hx509_ca.3 hx509_ca_tbs_add_san_ms_upn.3 \ + hx509_ca.3 hx509_ca_tbs_add_san_otherName.3 \ + hx509_ca.3 hx509_ca_tbs_add_san_pkinit.3 \ + hx509_ca.3 hx509_ca_tbs_add_san_rfc822name.3 \ + hx509_ca.3 hx509_ca_tbs_free.3 \ + hx509_ca.3 hx509_ca_tbs_init.3 \ + hx509_ca.3 hx509_ca_tbs_set_ca.3 \ + hx509_ca.3 hx509_ca_tbs_set_domaincontroller.3 \ + hx509_ca.3 hx509_ca_tbs_set_notAfter.3 \ + hx509_ca.3 hx509_ca_tbs_set_notAfter_lifetime.3 \ + hx509_ca.3 hx509_ca_tbs_set_notBefore.3 \ + hx509_ca.3 hx509_ca_tbs_set_proxy.3 \ + hx509_ca.3 hx509_ca_tbs_set_serialnumber.3 \ + hx509_ca.3 hx509_ca_tbs_set_spki.3 \ + hx509_ca.3 hx509_ca_tbs_set_subject.3 \ + hx509_ca.3 hx509_ca_tbs_set_template.3 \ + hx509_ca.3 hx509_ca_tbs_set_unique.3 \ + hx509_ca.3 hx509_ca_tbs_subject_expand.3 \ + hx509_ca.3 hx509_ca_tbs_template_units.3 \ + hx509_cert.3 hx509_cert_binary.3 \ + hx509_cert.3 hx509_cert_check_eku.3 \ + hx509_cert.3 hx509_cert_cmp.3 \ + hx509_cert.3 hx509_cert_find_subjectAltName_otherName.3 \ + hx509_cert.3 hx509_cert_free.3 \ + hx509_cert.3 hx509_cert_get_SPKI.3 \ + hx509_cert.3 hx509_cert_get_SPKI_AlgorithmIdentifier.3 \ + hx509_cert.3 hx509_cert_get_attribute.3 \ + hx509_cert.3 hx509_cert_get_base_subject.3 \ + hx509_cert.3 hx509_cert_get_friendly_name.3 \ + hx509_cert.3 hx509_cert_get_issuer.3 \ + hx509_cert.3 hx509_cert_get_issuer_unique_id.3 \ + hx509_cert.3 hx509_cert_get_notAfter.3 \ + hx509_cert.3 hx509_cert_get_notBefore.3 \ + hx509_cert.3 hx509_cert_get_serialnumber.3 \ + hx509_cert.3 hx509_cert_get_subject.3 \ + hx509_cert.3 hx509_cert_get_subject_unique_id.3 \ + hx509_cert.3 hx509_cert_init.3 \ + hx509_cert.3 hx509_cert_init_data.3 \ + hx509_cert.3 hx509_cert_ref.3 \ + hx509_cert.3 hx509_cert_set_friendly_name.3 \ + hx509_cert.3 hx509_print_cert.3 \ + hx509_cert.3 hx509_query_alloc.3 \ + hx509_cert.3 hx509_query_free.3 \ + hx509_cert.3 hx509_query_match_cmp_func.3 \ + hx509_cert.3 hx509_query_match_eku.3 \ + hx509_cert.3 hx509_query_match_friendly_name.3 \ + hx509_cert.3 hx509_query_match_issuer_serial.3 \ + hx509_cert.3 hx509_query_match_option.3 \ + hx509_cert.3 hx509_query_statistic_file.3 \ + hx509_cert.3 hx509_query_unparse_stats.3 \ + hx509_cert.3 hx509_verify_ctx_f_allow_default_trustanchors.3 \ + hx509_cert.3 hx509_verify_hostname.3 \ + hx509_cms.3 hx509_cms_create_signed_1.3 \ + hx509_cms.3 hx509_cms_envelope_1.3 \ + hx509_cms.3 hx509_cms_unenvelope.3 \ + hx509_cms.3 hx509_cms_unwrap_ContentInfo.3 \ + hx509_cms.3 hx509_cms_verify_signed.3 \ + hx509_cms.3 hx509_cms_wrap_ContentInfo.3 \ + hx509_crypto.3 hx509_verify_signature.3 \ + hx509_env.3 hx509_env_add.3 \ + hx509_env.3 hx509_env_add_binding.3 \ + hx509_env.3 hx509_env_find.3 \ + hx509_env.3 hx509_env_find_binding.3 \ + hx509_env.3 hx509_env_free.3 \ + hx509_env.3 hx509_env_lfind.3 \ + hx509_error.3 hx509_clear_error_string.3 \ + hx509_error.3 hx509_err.3 \ + hx509_error.3 hx509_free_error_string.3 \ + hx509_error.3 hx509_get_error_string.3 \ + hx509_error.3 hx509_set_error_string.3 \ + hx509_error.3 hx509_set_error_stringv.3 \ + hx509_keyset.3 hx509_certs_add.3 \ + hx509_keyset.3 hx509_certs_append.3 \ + hx509_keyset.3 hx509_certs_end_seq.3 \ + hx509_keyset.3 hx509_certs_filter.3 \ + hx509_keyset.3 hx509_certs_find.3 \ + hx509_keyset.3 hx509_certs_free.3 \ + hx509_keyset.3 hx509_certs_info.3 \ + hx509_keyset.3 hx509_certs_init.3 \ + hx509_keyset.3 hx509_certs_iter_f.3 \ + hx509_keyset.3 hx509_certs_merge.3 \ + hx509_keyset.3 hx509_certs_next_cert.3 \ + hx509_keyset.3 hx509_certs_start_seq.3 \ + hx509_keyset.3 hx509_certs_store.3 \ + hx509_keyset.3 hx509_ci_print_names.3 \ + hx509_keyset.3 hx509_get_one_cert.3 \ + hx509_misc.3 hx509_free_octet_string_list.3 \ + hx509_misc.3 hx509_xfree.3 \ + hx509_name.3 hx509_general_name_unparse.3 \ + hx509_name.3 hx509_name_binary.3 \ + hx509_name.3 hx509_name_cmp.3 \ + hx509_name.3 hx509_name_copy.3 \ + hx509_name.3 hx509_name_expand.3 \ + hx509_name.3 hx509_name_free.3 \ + hx509_name.3 hx509_name_is_null_p.3 \ + hx509_name.3 hx509_name_to_Name.3 \ + hx509_name.3 hx509_name_to_string.3 \ + hx509_name.3 hx509_parse_name.3 \ + hx509_name.3 hx509_unparse_der_name.3 \ + hx509_peer.3 hx509_peer_info_add_cms_alg.3 \ + hx509_peer.3 hx509_peer_info_alloc.3 \ + hx509_peer.3 hx509_peer_info_free.3 \ + hx509_peer.3 hx509_peer_info_set_cert.3 \ + hx509_peer.3 hx509_peer_info_set_cms_algs.3 \ + hx509_print.3 hx509_bitstring_print.3 \ + hx509_print.3 hx509_cert_keyusage_print.3 \ + hx509_print.3 hx509_oid_print.3 \ + hx509_print.3 hx509_oid_sprint.3 \ + hx509_print.3 hx509_print_stdout.3 \ + hx509_print.3 hx509_validate_cert.3 \ + hx509_print.3 hx509_validate_ctx_add_flags.3 \ + hx509_print.3 hx509_validate_ctx_free.3 \ + hx509_print.3 hx509_validate_ctx_init.3 \ + hx509_print.3 hx509_validate_ctx_set_print.3 \ + hx509_revoke.3 hx509_ocsp_request.3 \ + hx509_revoke.3 hx509_revoke_add_crl.3 \ + hx509_revoke.3 hx509_revoke_add_ocsp.3 \ + hx509_revoke.3 hx509_revoke_free.3 \ + hx509_revoke.3 hx509_revoke_init.3 \ + hx509_revoke.3 hx509_revoke_ocsp_print.3 \ + hx509_revoke.3 hx509_revoke_verify.3 \ + hx509_verify.3 hx509_context_set_missing_revoke.3 \ + hx509_verify.3 hx509_crl_add_revoked_certs.3 \ + hx509_verify.3 hx509_crl_alloc.3 \ + hx509_verify.3 hx509_crl_free.3 \ + hx509_verify.3 hx509_crl_lifetime.3 \ + hx509_verify.3 hx509_crl_sign.3 \ + hx509_verify.3 hx509_ocsp_verify.3 \ + hx509_verify.3 hx509_verify_attach_anchors.3 \ + hx509_verify.3 hx509_verify_attach_revoke.3 \ + hx509_verify.3 hx509_verify_destroy_ctx.3 \ + hx509_verify.3 hx509_verify_init_ctx.3 \ + hx509_verify.3 hx509_verify_path.3 \ + hx509_verify.3 hx509_verify_set_max_depth.3 \ + hx509_verify.3 hx509_verify_set_proxy_certificate.3 \ + hx509_verify.3 hx509_verify_set_strict_rfc3280_verification.3 \ + hx509_verify.3 hx509_verify_set_time.3 + +INCS= hx509.h \ + hx509-private.h \ + hx509-protos.h \ + hx509.h \ + hx509_err.h + +SRCS= ca.c \ + cert.c \ + cms.c \ + collector.c \ + crypto.c \ + doxygen.c \ + error.c \ + env.c \ + file.c \ + sel.c \ + sel-gram.c \ + sel-gram.h \ + sel-lex.l \ + keyset.c \ + ks_dir.c \ + ks_file.c \ + ks_mem.c \ + ks_null.c \ + ks_p11.c \ + ks_p12.c \ + ks_keychain.c \ + lock.c \ + name.c \ + peer.c \ + print.c \ + softp11.c \ + req.c \ + revoke.c + +SRCS+= hx509_err.c \ + hx509_err.h + +SRCS+= ${GEN_OCSP:S/.x$/.c/:S/.hx$/.h/} \ + ${GEN_PKCS10:S/.x$/.c/:S/.hx$/.h/} + +CFLAGS+=-I${KRB5DIR}/lib/hx509 +CFLAGS+=-I${KRB5DIR}/lib/hx509/ref +CFLAGS+=-I${KRB5DIR}/lib/asn1 +CFLAGS+=-I${KRB5DIR}/lib/wind +CFLAGS+=-I${KRB5DIR}/lib/roken -I. + +GEN_OCSP= \ + asn1_OCSPBasicOCSPResponse.x \ + asn1_OCSPCertID.x \ + asn1_OCSPCertStatus.x \ + asn1_OCSPInnerRequest.x \ + asn1_OCSPKeyHash.x \ + asn1_OCSPRequest.x \ + asn1_OCSPResponderID.x \ + asn1_OCSPResponse.x \ + asn1_OCSPResponseBytes.x \ + asn1_OCSPResponseData.x \ + asn1_OCSPResponseStatus.x \ + asn1_OCSPSignature.x \ + asn1_OCSPSingleResponse.x \ + asn1_OCSPTBSRequest.x \ + asn1_OCSPVersion.x \ + asn1_id_pkix_ocsp.x \ + asn1_id_pkix_ocsp_basic.x \ + asn1_id_pkix_ocsp_nonce.x \ + ocsp_asn1.hx \ + ocsp_asn1-priv.hx + +GEN_PKCS10= \ + asn1_CertificationRequestInfo.x \ + asn1_CertificationRequest.x \ + pkcs10_asn1.hx \ + pkcs10_asn1-priv.hx + +GEN_CRMF= \ + asn1_CRMFRDNSequence.x \ + asn1_CertReqMessages.x \ + asn1_CertReqMsg.x \ + asn1_CertRequest.x \ + asn1_CertTemplate.x \ + asn1_Controls.x \ + asn1_PBMParameter.x \ + asn1_PKMACValue.x \ + asn1_POPOPrivKey.x \ + asn1_POPOSigningKey.x \ + asn1_POPOSigningKeyInput.x \ + asn1_ProofOfPossession.x \ + asn1_SubsequentMessage.x \ + crmf_asn1.hx \ + crmf_asn1-priv.hx + +GEN+= ${GEN_OCSP} +GEN+= ${GEN_PKCS10} +GEN+= ${GEN_CRMF} + +CLEANFILES= ${GEN} ${GEN:S/.x$/.c/:S/.hx$/.h/} ocsp_asn1_files \ + pkcs10_asn1_files crmf_asn1_files ocsp_asn1-template.[ch]* \ + pkcs10_asn1-template.[ch]* crmf_asn1-template.[ch]* sel-gram.[ch]* \ + sel-lex.c + +INCS+= ocsp_asn1.h pkcs10_asn1.h crmf_asn1.h + +sel-gram.c sel-gram.h: sel-gram.y + ${YACC} -p _hx509_sel_yy -d ${.ALLSRC} && mv y.tab.c sel-gram.c && mv y.tab.h sel-gram.h + +${GEN_OCSP}: ocsp.asn1 ocsp.opt + ${ASN1_COMPILE} --option-file=${.ALLSRC:M*.opt} \ + ${.ALLSRC:M*.asn1} ocsp_asn1 + +${GEN_PKCS10}: pkcs10.asn1 pkcs10.opt + ${ASN1_COMPILE} --option-file=${.ALLSRC:M*.opt} \ + ${.ALLSRC:M*.asn1} pkcs10_asn1 + +${GEN_CRMF}: crmf.asn1 + ${ASN1_COMPILE} ${.ALLSRC:M*.asn1} crmf_asn1 + +.SUFFIXES: .h .c .x .hx + +.x.c: + cmp -s ${.IMPSRC} ${.TARGET} 2> /dev/null || cp ${.IMPSRC} ${.TARGET} + +.hx.h: + cmp -s ${.IMPSRC} ${.TARGET} 2> /dev/null || cp ${.IMPSRC} ${.TARGET} + +.include <bsd.lib.mk> + +.SUFFIXES: .h .c .x .hx + +.PATH: ${KRB5DIR}/lib/hx509 ${KRB5DIR}/lib/asn1 ${KRB5DIR}/doc/doxyout/hx509/man/man3 diff --git a/kerberosV/lib/libhx509/shlib_version b/kerberosV/lib/libhx509/shlib_version new file mode 100644 index 00000000000..97c9f92d6b8 --- /dev/null +++ b/kerberosV/lib/libhx509/shlib_version @@ -0,0 +1,2 @@ +major=0 +minor=0 diff --git a/kerberosV/lib/libkadm5clnt/Makefile b/kerberosV/lib/libkadm5clnt/Makefile new file mode 100644 index 00000000000..536e62c0b2e --- /dev/null +++ b/kerberosV/lib/libkadm5clnt/Makefile @@ -0,0 +1,40 @@ +# $OpenBSD: Makefile,v 1.1 2013/06/17 19:11:35 robert Exp $ + +LIB= kadm5clnt +LDFLAGS= -Wl,--no-undefined + +INCS= admin.h \ + kadm5-private.h \ + kadm5-protos.h \ + kadm5-pwcheck.h \ + kadm5_err.h \ + private.h + +INCSDIR=${INCLUDEDIR}/kadm5 + +SRCS= ad.c \ + chpass_c.c \ + client_glue.c \ + common_glue.c \ + create_c.c \ + delete_c.c \ + destroy_c.c \ + flush_c.c \ + free.c \ + get_c.c \ + get_princs_c.c \ + init_c.c \ + kadm5_err.c \ + kadm5_err.h \ + marshall.c \ + modify_c.c \ + privs_c.c \ + randkey_c.c \ + rename_c.c \ + send_recv.c + +CFLAGS+=-I${KRB5DIR}/lib/kadm5 -I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/roken -I. + +.include <bsd.lib.mk> + +.PATH: ${KRB5DIR}/lib/kadm5 diff --git a/kerberosV/lib/libkadm5clnt/shlib_version b/kerberosV/lib/libkadm5clnt/shlib_version new file mode 100644 index 00000000000..97c9f92d6b8 --- /dev/null +++ b/kerberosV/lib/libkadm5clnt/shlib_version @@ -0,0 +1,2 @@ +major=0 +minor=0 diff --git a/kerberosV/lib/libkadm5srv/Makefile b/kerberosV/lib/libkadm5srv/Makefile new file mode 100644 index 00000000000..359a888ee23 --- /dev/null +++ b/kerberosV/lib/libkadm5srv/Makefile @@ -0,0 +1,40 @@ +# $OpenBSD: Makefile,v 1.1 2013/06/17 19:11:35 robert Exp $ + +LIB= kadm5srv +LDFLAGS= -Wl,--no-undefined +MAN= kadm5_pwcheck.3 + +SRCS= acl.c \ + bump_pw_expire.c \ + chpass_s.c \ + common_glue.c \ + context_s.c \ + create_s.c \ + delete_s.c \ + destroy_s.c \ + ent_setup.c \ + error.c \ + flush_s.c \ + free.c \ + get_princs_s.c \ + get_s.c \ + init_s.c \ + kadm5_err.c \ + kadm5_err.h \ + keys.c \ + log.c \ + marshall.c \ + modify_s.c \ + password_quality.c \ + privs_s.c \ + randkey_s.c \ + rename_s.c \ + server_glue.c \ + set_keys.c \ + set_modifier.c + +CFLAGS+=-I${KRB5DIR}/lib/kadm5 -I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/roken -I. + +.include <bsd.lib.mk> + +.PATH: ${KRB5DIR}/lib/kadm5 diff --git a/kerberosV/lib/libkadm5srv/shlib_version b/kerberosV/lib/libkadm5srv/shlib_version new file mode 100644 index 00000000000..97c9f92d6b8 --- /dev/null +++ b/kerberosV/lib/libkadm5srv/shlib_version @@ -0,0 +1,2 @@ +major=0 +minor=0 diff --git a/kerberosV/lib/libkafs5/Makefile b/kerberosV/lib/libkafs5/Makefile new file mode 100644 index 00000000000..91ca17d667d --- /dev/null +++ b/kerberosV/lib/libkafs5/Makefile @@ -0,0 +1,40 @@ +# $OpenBSD: Makefile,v 1.1 2013/06/17 19:11:35 robert Exp $ + +LIB= kafs5 +LDFLAGS= -Wl,--no-undefined +INCS= kafs.h +MAN= kafs5.3 + +MLINKS= kafs5.3 k_afs_cell_of_file.3 \ + kafs5.3 k_hasafs.3 \ + kafs5.3 k_pioctl.3 \ + kafs5.3 k_setpag.3 \ + kafs5.3 k_unlog.3 \ + kafs5.3 kafs.3 \ + kafs5.3 kafs_set_verbose.3 \ + kafs5.3 kafs_settoken.3 \ + kafs5.3 kafs_settoken5.3 \ + kafs5.3 kafs_settoken_rxkad.3 \ + kafs5.3 krb5_afslog.3 \ + kafs5.3 krb5_afslog_uid.3 \ + kafs5.3 krb_afslog.3 \ + kafs5.3 krb_afslog_uid.3 + +SRCS= afssys.c afskrb5.c common.c krb5_err.h +SRCS= afssys.c \ + afskrb5.c \ + common.c + +CFLAGS+= -I${KRB5DIR}/lib/kafs \ + -I${KRB5DIR}/lib/krb5 \ + -I${.OBJDIR}/../libkrb5/ \ + -I${KRB5DIR}/lib/roken + +CLEANFILES= kafs5.3 + +kafs5.3: kafs.3 + sed -e 's/libkafs, -lkafs/libkafs5, -lkafs5/g' ${.ALLSRC} >${.TARGET} + +.include <bsd.lib.mk> + +.PATH: ${KRB5DIR}/lib/kafs diff --git a/kerberosV/lib/libkafs5/shlib_version b/kerberosV/lib/libkafs5/shlib_version new file mode 100644 index 00000000000..97c9f92d6b8 --- /dev/null +++ b/kerberosV/lib/libkafs5/shlib_version @@ -0,0 +1,2 @@ +major=0 +minor=0 diff --git a/kerberosV/lib/libkdc/Makefile b/kerberosV/lib/libkdc/Makefile new file mode 100644 index 00000000000..8b39d049a3d --- /dev/null +++ b/kerberosV/lib/libkdc/Makefile @@ -0,0 +1,33 @@ +#$OpenBSD: Makefile,v 1.1 2013/06/17 19:11:35 robert Exp $ + +LIB= kdc +LDFLAGS= -Wl,--no-undefined + +INCS= kdc.h \ + kdc-protos.h + +KRB5INCS= windc_plugin.h +KRB5INCSDIR= ${INCLUDEDIR}/krb5 +INCSGROUPS= INCS KRB5INCS + +SRCS= \ + default_config.c \ + set_dbinfo.c \ + digest.c \ + kerberos5.c \ + krb5tgs.c \ + pkinit.c \ + log.c \ + misc.c \ + kx509.c \ + process.c \ + windc.c + +CFLAGS+= -I${KRB5DIR}/lib/roken \ + -I${KRB5DIR}/lib/krb5 \ + -I${KRB5DIR}/lib/hdb \ + -I${KRB5DIR}/kdc + +.include <bsd.lib.mk> + +.PATH: ${KRB5DIR}/kdc diff --git a/kerberosV/lib/libkdc/shlib_version b/kerberosV/lib/libkdc/shlib_version new file mode 100644 index 00000000000..97c9f92d6b8 --- /dev/null +++ b/kerberosV/lib/libkdc/shlib_version @@ -0,0 +1,2 @@ +major=0 +minor=0 diff --git a/kerberosV/lib/libkrb5/Makefile b/kerberosV/lib/libkrb5/Makefile new file mode 100644 index 00000000000..49fa07a3a27 --- /dev/null +++ b/kerberosV/lib/libkrb5/Makefile @@ -0,0 +1,627 @@ +# $OpenBSD: Makefile,v 1.1 2013/06/17 19:11:35 robert Exp $ + +LIB= krb5 +LDFLAGS= -Wl,--no-undefined + +INCS= heim_err.h \ + heim_threads.h \ + k524_err.h \ + krb_err.h \ + krb5_err.h \ + krb5-protos.h \ + krb5-private.h \ + krb5-types.h \ + krb5.h \ + krb5_err.h \ + krb5_ccapi.h + +KRB5INCS= locate_plugin.h \ + send_to_kdc_plugin.h \ + ccache_plugin.h +KRB5INCSDIR= ${INCSDIR}/krb5 +INCSGROUPS= INCS KRB5INCS + +MAN= krb5.3 \ + krb524_convert_creds_kdc.3 \ + krb5_425_conv_principal.3 \ + krb5_acl_match_file.3 \ + krb5_address.3 \ + krb5_aname_to_localname.3 \ + krb5_appdefault.3 \ + krb5_auth.3 \ + krb5_auth_context.3 \ + krb5_c_make_checksum.3 \ + krb5_ccache.3 \ + krb5_ccache_intro.3 \ + krb5_check_transited.3 \ + krb5_create_checksum.3 \ + krb5_credential.3 \ + krb5_creds.3 \ + krb5_crypto.3 \ + krb5_crypto_iov.3 \ + krb5_deprecated.3 \ + krb5_digest.3 \ + krb5_eai_to_heim_errno.3 \ + krb5_encrypt.3 \ + krb5_error.3 \ + krb5_fileformats.3 \ + krb5_find_padata.3 \ + krb5_generate_random_block.3 \ + krb5_get_all_client_addrs.3 \ + krb5_get_credentials.3 \ + krb5_get_creds.3 \ + krb5_get_forwarded_creds.3 \ + krb5_get_in_cred.3 \ + krb5_get_init_creds.3 \ + krb5_get_krbhst.3 \ + krb5_getportbyname.3 \ + krb5_init_context.3 \ + krb5_init_creds_intro.3 \ + krb5_introduction.3 \ + krb5_is_thread_safe.3 \ + krb5_keytab.3 \ + krb5_keytab_intro.3 \ + krb5_krbhst_init.3 \ + krb5_mk_req.3 \ + krb5_mk_safe.3 \ + krb5_openlog.3 \ + krb5_pac.3 \ + krb5_parse_name.3 \ + krb5_principal.3 \ + krb5_principal_intro.3 \ + krb5_rcache.3 \ + krb5_rd_error.3 \ + krb5_rd_safe.3 \ + krb5_set_default_realm.3 \ + krb5_set_password.3 \ + krb5_storage.3 \ + krb5_string_to_key.3 \ + krb5_support.3 \ + krb5_ticket.3 \ + krb5_timeofday.3 \ + krb5_v4compat.3 \ + krb5_verify_init_creds.3 \ + krb5_verify_user.3 + +MAN+= krb5.conf.5 +MAN+= kerberos.8 + +MLINKS= krb5.3 krb5_add_et_list.3 \ + krb5.3 krb5_add_extra_addresses.3 \ + krb5.3 krb5_add_ignore_addresses.3 \ + krb5.3 krb5_compare_creds.3 \ + krb5.3 krb5_copy_context.3 \ + krb5.3 krb5_copy_creds.3 \ + krb5.3 krb5_copy_creds_contents.3 \ + krb5.3 krb5_copy_data.3 \ + krb5.3 krb5_copy_host_realm.3 \ + krb5.3 krb5_copy_ticket.3 \ + krb5.3 krb5_creds_get_ticket_flags.3 \ + krb5.3 krb5_data_alloc.3 \ + krb5.3 krb5_data_cmp.3 \ + krb5.3 krb5_data_copy.3 \ + krb5.3 krb5_data_ct_cmp.3 \ + krb5.3 krb5_data_free.3 \ + krb5.3 krb5_data_realloc.3 \ + krb5.3 krb5_data_zero.3 \ + krb5.3 krb5_free_config_files.3 \ + krb5.3 krb5_free_cred_contents.3 \ + krb5.3 krb5_free_creds.3 \ + krb5.3 krb5_free_data.3 \ + krb5.3 krb5_free_ticket.3 \ + krb5.3 krb5_get_default_config_files.3 \ + krb5.3 krb5_get_default_in_tkt_etypes.3 \ + krb5.3 krb5_get_dns_canonicalize_hostname.3 \ + krb5.3 krb5_get_extra_addresses.3 \ + krb5.3 krb5_get_fcache_version.3 \ + krb5.3 krb5_get_ignore_addresses.3 \ + krb5.3 krb5_get_kdc_sec_offset.3 \ + krb5.3 krb5_get_max_time_skew.3 \ + krb5.3 krb5_get_use_admin_kdc.3 \ + krb5.3 krb5_init_ets.3 \ + krb5.3 krb5_kerberos_enctypes.3 \ + krb5.3 krb5_prepend_config_files_default.3 \ + krb5.3 krb5_set_config_files.3 \ + krb5.3 krb5_set_default_in_tkt_etypes.3 \ + krb5.3 krb5_set_dns_canonicalize_hostname.3 \ + krb5.3 krb5_set_extra_addresses.3 \ + krb5.3 krb5_set_fcache_version.3 \ + krb5.3 krb5_set_home_dir_access.3 \ + krb5.3 krb5_set_ignore_addresses.3 \ + krb5.3 krb5_set_kdc_sec_offset.3 \ + krb5.3 krb5_set_max_time_skew.3 \ + krb5.3 krb5_set_real_time.3 \ + krb5.3 krb5_set_use_admin_kdc.3 \ + krb5.3 krb5_ticket_get_authorization_data_type.3 \ + krb5.3 krb5_ticket_get_client.3 \ + krb5.3 krb5_ticket_get_endtime.3 \ + krb5.3 krb5_ticket_get_server.3 \ + krb5_425_conv_principal.3 krb5_425_conv_principal_ext.3 \ + krb5_425_conv_principal.3 krb5_524_conv_principal.3 \ + krb5_address.3 krb5_addr2sockaddr.3 \ + krb5_address.3 krb5_address_compare.3 \ + krb5_address.3 krb5_address_order.3 \ + krb5_address.3 krb5_address_prefixlen_boundary.3 \ + krb5_address.3 krb5_address_search.3 \ + krb5_address.3 krb5_anyaddr.3 \ + krb5_address.3 krb5_append_addresses.3 \ + krb5_address.3 krb5_copy_address.3 \ + krb5_address.3 krb5_copy_addresses.3 \ + krb5_address.3 krb5_free_address.3 \ + krb5_address.3 krb5_free_addresses.3 \ + krb5_address.3 krb5_h_addr2addr.3 \ + krb5_address.3 krb5_h_addr2sockaddr.3 \ + krb5_address.3 krb5_make_addrport.3 \ + krb5_address.3 krb5_max_sockaddr_size.3 \ + krb5_address.3 krb5_parse_address.3 \ + krb5_address.3 krb5_print_address.3 \ + krb5_address.3 krb5_sockaddr2address.3 \ + krb5_address.3 krb5_sockaddr2port.3 \ + krb5_address.3 krb5_sockaddr_uninteresting.3 \ + krb5_appdefault.3 krb5_appdefault_boolean.3 \ + krb5_appdefault.3 krb5_appdefault_string.3 \ + krb5_appdefault.3 krb5_appdefault_time.3 \ + krb5_auth.3 krb5_rd_req_ctx.3 \ + krb5_auth.3 krb5_rd_req_in_ctx_alloc.3 \ + krb5_auth.3 krb5_rd_req_in_set_keytab.3 \ + krb5_auth.3 krb5_rd_req_in_set_pac_check.3 \ + krb5_auth.3 krb5_rd_req_out_ctx_free.3 \ + krb5_auth.3 krb5_rd_req_out_get_server.3 \ + krb5_auth_context.3 krb5_auth_con_free.3 \ + krb5_auth_context.3 krb5_auth_con_genaddrs.3 \ + krb5_auth_context.3 krb5_auth_con_getaddrs.3 \ + krb5_auth_context.3 krb5_auth_con_getflags.3 \ + krb5_auth_context.3 krb5_auth_con_getkey.3 \ + krb5_auth_context.3 krb5_auth_con_getlocalsubkey.3 \ + krb5_auth_context.3 krb5_auth_con_getrcache.3 \ + krb5_auth_context.3 krb5_auth_con_getremotesubkey.3 \ + krb5_auth_context.3 krb5_auth_con_getuserkey.3 \ + krb5_auth_context.3 krb5_auth_con_init.3 \ + krb5_auth_context.3 krb5_auth_con_initivector.3 \ + krb5_auth_context.3 krb5_auth_con_setaddrs.3 \ + krb5_auth_context.3 krb5_auth_con_setaddrs_from_fd.3 \ + krb5_auth_context.3 krb5_auth_con_setflags.3 \ + krb5_auth_context.3 krb5_auth_con_setivector.3 \ + krb5_auth_context.3 krb5_auth_con_setkey.3 \ + krb5_auth_context.3 krb5_auth_con_setlocalsubkey.3 \ + krb5_auth_context.3 krb5_auth_con_setrcache.3 \ + krb5_auth_context.3 krb5_auth_con_setremotesubkey.3 \ + krb5_auth_context.3 krb5_auth_con_setuserkey.3 \ + krb5_auth_context.3 krb5_auth_getauthenticator.3 \ + krb5_auth_context.3 krb5_auth_getcksumtype.3 \ + krb5_auth_context.3 krb5_auth_getkeytype.3 \ + krb5_auth_context.3 krb5_auth_getlocalseqnumber.3 \ + krb5_auth_context.3 krb5_auth_setcksumtype.3 \ + krb5_auth_context.3 krb5_auth_setkeytype.3 \ + krb5_auth_context.3 krb5_auth_setlocalseqnumber.3 \ + krb5_auth_context.3 krb5_auth_setremoteseqnumber.3 \ + krb5_ccache.3 krb5_acc_ops.3 \ + krb5_ccache.3 krb5_cc_cache_end_seq_get.3 \ + krb5_ccache.3 krb5_cc_cache_get_first.3 \ + krb5_ccache.3 krb5_cc_cache_match.3 \ + krb5_ccache.3 krb5_cc_cache_next.3 \ + krb5_ccache.3 krb5_cc_clear_mcred.3 \ + krb5_ccache.3 krb5_cc_close.3 \ + krb5_ccache.3 krb5_cc_copy_cache.3 \ + krb5_ccache.3 krb5_cc_copy_creds.3 \ + krb5_ccache.3 krb5_cc_copy_match_f.3 \ + krb5_ccache.3 krb5_cc_default.3 \ + krb5_ccache.3 krb5_cc_default_name.3 \ + krb5_ccache.3 krb5_cc_destroy.3 \ + krb5_ccache.3 krb5_cc_end_seq_get.3 \ + krb5_ccache.3 krb5_cc_gen_new.3 \ + krb5_ccache.3 krb5_cc_get_config.3 \ + krb5_ccache.3 krb5_cc_get_flags.3 \ + krb5_ccache.3 krb5_cc_get_friendly_name.3 \ + krb5_ccache.3 krb5_cc_get_full_name.3 \ + krb5_ccache.3 krb5_cc_get_kdc_offset.3 \ + krb5_ccache.3 krb5_cc_get_lifetime.3 \ + krb5_ccache.3 krb5_cc_get_name.3 \ + krb5_ccache.3 krb5_cc_get_ops.3 \ + krb5_ccache.3 krb5_cc_get_prefix_ops.3 \ + krb5_ccache.3 krb5_cc_get_principal.3 \ + krb5_ccache.3 krb5_cc_get_type.3 \ + krb5_ccache.3 krb5_cc_get_version.3 \ + krb5_ccache.3 krb5_cc_initialize.3 \ + krb5_ccache.3 krb5_cc_last_change_time.3 \ + krb5_ccache.3 krb5_cc_move.3 \ + krb5_ccache.3 krb5_cc_new_unique.3 \ + krb5_ccache.3 krb5_cc_next_cred.3 \ + krb5_ccache.3 krb5_cc_register.3 \ + krb5_ccache.3 krb5_cc_remove_cred.3 \ + krb5_ccache.3 krb5_cc_resolve.3 \ + krb5_ccache.3 krb5_cc_retrieve_cred.3 \ + krb5_ccache.3 krb5_cc_set_config.3 \ + krb5_ccache.3 krb5_cc_set_default_name.3 \ + krb5_ccache.3 krb5_cc_set_flags.3 \ + krb5_ccache.3 krb5_cc_set_friendly_name.3 \ + krb5_ccache.3 krb5_cc_set_kdc_offset.3 \ + krb5_ccache.3 krb5_cc_start_seq_get.3 \ + krb5_ccache.3 krb5_cc_store_cred.3 \ + krb5_ccache.3 krb5_cc_support_switch.3 \ + krb5_ccache.3 krb5_cc_switch.3 \ + krb5_ccache.3 krb5_cccol_cursor_free.3 \ + krb5_ccache.3 krb5_cccol_cursor_new.3 \ + krb5_ccache.3 krb5_cccol_cursor_next.3 \ + krb5_ccache.3 krb5_cccol_last_change_time.3 \ + krb5_ccache.3 krb5_fcc_ops.3 \ + krb5_ccache.3 krb5_get_validated_creds.3 \ + krb5_ccache.3 krb5_is_config_principal.3 \ + krb5_ccache.3 krb5_mcc_ops.3 \ + krb5_create_checksum.3 krb5_checksum_is_collision_proof.3 \ + krb5_create_checksum.3 krb5_checksum_is_keyed.3 \ + krb5_create_checksum.3 krb5_checksumsize.3 \ + krb5_create_checksum.3 krb5_verify_checksum.3 \ + krb5_credential.3 krb5_fwd_tgt_creds.3 \ + krb5_credential.3 krb5_get_init_creds_keyblock.3 \ + krb5_credential.3 krb5_get_init_creds_keytab.3 \ + krb5_credential.3 krb5_get_init_creds_opt_alloc.3 \ + krb5_credential.3 krb5_get_init_creds_opt_free.3 \ + krb5_credential.3 krb5_get_init_creds_password.3 \ + krb5_credential.3 krb5_init_creds_free.3 \ + krb5_credential.3 krb5_init_creds_get.3 \ + krb5_credential.3 krb5_init_creds_get_error.3 \ + krb5_credential.3 krb5_init_creds_init.3 \ + krb5_credential.3 krb5_init_creds_set_keytab.3 \ + krb5_credential.3 krb5_init_creds_set_password.3 \ + krb5_credential.3 krb5_init_creds_set_service.3 \ + krb5_credential.3 krb5_init_creds_step.3 \ + krb5_crypto.3 krb5_allow_weak_crypto.3 \ + krb5_crypto.3 krb5_cksumtype_to_enctype.3 \ + krb5_crypto.3 krb5_copy_keyblock.3 \ + krb5_crypto.3 krb5_copy_keyblock_contents.3 \ + krb5_crypto.3 krb5_create_checksum_iov.3 \ + krb5_crypto.3 krb5_crypto_destroy.3 \ + krb5_crypto.3 krb5_crypto_fx_cf2.3 \ + krb5_crypto.3 krb5_crypto_getblocksize.3 \ + krb5_crypto.3 krb5_crypto_getconfoundersize.3 \ + krb5_crypto.3 krb5_crypto_getenctype.3 \ + krb5_crypto.3 krb5_crypto_getpadsize.3 \ + krb5_crypto.3 krb5_crypto_init.3 \ + krb5_crypto.3 krb5_decrypt_iov_ivec.3 \ + krb5_crypto.3 krb5_encrypt_iov_ivec.3 \ + krb5_crypto.3 krb5_enctype_disable.3 \ + krb5_crypto.3 krb5_enctype_enable.3 \ + krb5_crypto.3 krb5_enctype_valid.3 \ + krb5_crypto.3 krb5_free_keyblock.3 \ + krb5_crypto.3 krb5_free_keyblock_contents.3 \ + krb5_crypto.3 krb5_generate_subkey_extended.3 \ + krb5_crypto.3 krb5_keyblock_get_enctype.3 \ + krb5_crypto.3 krb5_keyblock_init.3 \ + krb5_crypto.3 krb5_keyblock_zero.3 \ + krb5_crypto.3 krb5_random_to_key.3 \ + krb5_crypto.3 krb5_verify_checksum_iov.3 \ + krb5_deprecated.3 krb5_auth_getremoteseqnumber.3 \ + krb5_deprecated.3 krb5_c_enctype_compare.3 \ + krb5_deprecated.3 krb5_change_password.3 \ + krb5_deprecated.3 krb5_clear_error_string.3 \ + krb5_deprecated.3 krb5_config_parse_string_multi.3 \ + krb5_deprecated.3 krb5_enctypes_compatible_keys.3 \ + krb5_deprecated.3 krb5_free_creds_contents.3 \ + krb5_deprecated.3 krb5_free_data_contents.3 \ + krb5_deprecated.3 krb5_free_error_string.3 \ + krb5_deprecated.3 krb5_free_unparsed_name.3 \ + krb5_deprecated.3 krb5_generate_subkey.3 \ + krb5_deprecated.3 krb5_get_cred_from_kdc.3 \ + krb5_deprecated.3 krb5_get_cred_from_kdc_opt.3 \ + krb5_deprecated.3 krb5_get_in_tkt_with_keytab.3 \ + krb5_deprecated.3 krb5_get_in_tkt_with_password.3 \ + krb5_deprecated.3 krb5_get_in_tkt_with_skey.3 \ + krb5_deprecated.3 krb5_get_init_creds_opt_get_error.3 \ + krb5_deprecated.3 krb5_get_init_creds_opt_init.3 \ + krb5_deprecated.3 krb5_keytab_key_proc.3 \ + krb5_deprecated.3 krb5_keytype_to_enctypes.3 \ + krb5_deprecated.3 krb5_keytype_to_enctypes_default.3 \ + krb5_deprecated.3 krb5_keytype_to_string.3 \ + krb5_deprecated.3 krb5_password_key_proc.3 \ + krb5_deprecated.3 krb5_princ_realm.3 \ + krb5_deprecated.3 krb5_princ_set_realm.3 \ + krb5_deprecated.3 krb5_set_error_string.3 \ + krb5_deprecated.3 krb5_string_to_keytype.3 \ + krb5_deprecated.3 krb5_vset_error_string.3 \ + krb5_digest.3 krb5_digest_probe.3 \ + krb5_encrypt.3 krb5_decrypt.3 \ + krb5_encrypt.3 krb5_decrypt_EncryptedData.3 \ + krb5_encrypt.3 krb5_encrypt_EncryptedData.3 \ + krb5_error.3 krb5_clear_error_message.3 \ + krb5_error.3 krb5_h_errno_to_heim_errno.3 \ + krb5_error.3 krb5_set_error_message.3 \ + krb5_error.3 krb5_vwarn.3 \ + krb5_get_all_client_addrs.3 krb5_get_all_server_addrs.3 \ + krb5_get_krbhst.3 krb5_free_krbhst.3 \ + krb5_get_krbhst.3 krb5_get_krb524hst.3 \ + krb5_get_krbhst.3 krb5_get_krb_admin_hst.3 \ + krb5_get_krbhst.3 krb5_get_krb_changepw_hst.3 \ + krb5_init_context.3 krb5_free_context.3 \ + krb5_keytab.3 krb5_kt_add_entry.3 \ + krb5_keytab.3 krb5_kt_close.3 \ + krb5_keytab.3 krb5_kt_compare.3 \ + krb5_keytab.3 krb5_kt_copy_entry_contents.3 \ + krb5_keytab.3 krb5_kt_default.3 \ + krb5_keytab.3 krb5_kt_default_modify_name.3 \ + krb5_keytab.3 krb5_kt_default_name.3 \ + krb5_keytab.3 krb5_kt_destroy.3 \ + krb5_keytab.3 krb5_kt_end_seq_get.3 \ + krb5_keytab.3 krb5_kt_free_entry.3 \ + krb5_keytab.3 krb5_kt_get_entry.3 \ + krb5_keytab.3 krb5_kt_get_full_name.3 \ + krb5_keytab.3 krb5_kt_get_name.3 \ + krb5_keytab.3 krb5_kt_get_type.3 \ + krb5_keytab.3 krb5_kt_have_content.3 \ + krb5_keytab.3 krb5_kt_next_entry.3 \ + krb5_keytab.3 krb5_kt_read_service_key.3 \ + krb5_keytab.3 krb5_kt_register.3 \ + krb5_keytab.3 krb5_kt_remove_entry.3 \ + krb5_keytab.3 krb5_kt_resolve.3 \ + krb5_keytab.3 krb5_kt_start_seq_get.3 \ + krb5_krbhst_init.3 krb5_krbhst_format_string.3 \ + krb5_krbhst_init.3 krb5_krbhst_free.3 \ + krb5_krbhst_init.3 krb5_krbhst_get_addrinfo.3 \ + krb5_krbhst_init.3 krb5_krbhst_next.3 \ + krb5_krbhst_init.3 krb5_krbhst_next_as_string.3 \ + krb5_krbhst_init.3 krb5_krbhst_reset.3 \ + krb5_openlog.3 krb5_addlog_dest.3 \ + krb5_openlog.3 krb5_addlog_func.3 \ + krb5_openlog.3 krb5_closelog.3 \ + krb5_openlog.3 krb5_initlog.3 \ + krb5_openlog.3 krb5_log.3 \ + krb5_openlog.3 krb5_log_msg.3 \ + krb5_openlog.3 krb5_vlog.3 \ + krb5_openlog.3 krb5_vlog_msg.3 \ + krb5_pac.3 krb5_pac_get_buffer.3 \ + krb5_pac.3 krb5_pac_verify.3 \ + krb5_principal.3 krb5_build_principal.3 \ + krb5_principal.3 krb5_build_principal_ext.3 \ + krb5_principal.3 krb5_build_principal_va.3 \ + krb5_principal.3 krb5_build_principal_va_ext.3 \ + krb5_principal.3 krb5_copy_principal.3 \ + krb5_principal.3 krb5_free_principal.3 \ + krb5_principal.3 krb5_get_default_principal.3 \ + krb5_principal.3 krb5_make_principal.3 \ + krb5_principal.3 krb5_parse_name_flags.3 \ + krb5_principal.3 krb5_parse_nametype.3 \ + krb5_principal.3 krb5_principal_compare.3 \ + krb5_principal.3 krb5_principal_compare_any_realm.3 \ + krb5_principal.3 krb5_principal_get_comp_string.3 \ + krb5_principal.3 krb5_principal_get_num_comp.3 \ + krb5_principal.3 krb5_principal_get_realm.3 \ + krb5_principal.3 krb5_principal_get_type.3 \ + krb5_principal.3 krb5_principal_is_krbtgt.3 \ + krb5_principal.3 krb5_principal_match.3 \ + krb5_principal.3 krb5_principal_set_realm.3 \ + krb5_principal.3 krb5_principal_set_type.3 \ + krb5_principal.3 krb5_realm_compare.3 \ + krb5_principal.3 krb5_sname_to_principal.3 \ + krb5_principal.3 krb5_sock_to_principal.3 \ + krb5_principal.3 krb5_unparse_name.3 \ + krb5_principal.3 krb5_unparse_name_fixed.3 \ + krb5_principal.3 krb5_unparse_name_fixed_flags.3 \ + krb5_principal.3 krb5_unparse_name_fixed_short.3 \ + krb5_principal.3 krb5_unparse_name_flags.3 \ + krb5_principal.3 krb5_unparse_name_short.3 \ + krb5_set_default_realm.3 krb5_free_host_realm.3 \ + krb5_set_default_realm.3 krb5_get_default_realm.3 \ + krb5_set_default_realm.3 krb5_get_default_realms.3 \ + krb5_set_default_realm.3 krb5_get_host_realm.3 \ + krb5_storage.3 krb5_ret_address.3 \ + krb5_storage.3 krb5_ret_addrs.3 \ + krb5_storage.3 krb5_ret_authdata.3 \ + krb5_storage.3 krb5_ret_creds.3 \ + krb5_storage.3 krb5_ret_creds_tag.3 \ + krb5_storage.3 krb5_ret_data.3 \ + krb5_storage.3 krb5_ret_int16.3 \ + krb5_storage.3 krb5_ret_int32.3 \ + krb5_storage.3 krb5_ret_int8.3 \ + krb5_storage.3 krb5_ret_keyblock.3 \ + krb5_storage.3 krb5_ret_principal.3 \ + krb5_storage.3 krb5_ret_string.3 \ + krb5_storage.3 krb5_ret_stringz.3 \ + krb5_storage.3 krb5_ret_times.3 \ + krb5_storage.3 krb5_ret_uint16.3 \ + krb5_storage.3 krb5_ret_uint32.3 \ + krb5_storage.3 krb5_ret_uint8.3 \ + krb5_storage.3 krb5_storage_clear_flags.3 \ + krb5_storage.3 krb5_storage_emem.3 \ + krb5_storage.3 krb5_storage_free.3 \ + krb5_storage.3 krb5_storage_from_data.3 \ + krb5_storage.3 krb5_storage_from_fd.3 \ + krb5_storage.3 krb5_storage_from_mem.3 \ + krb5_storage.3 krb5_storage_from_readonly_mem.3 \ + krb5_storage.3 krb5_storage_get_byteorder.3 \ + krb5_storage.3 krb5_storage_get_eof_code.3 \ + krb5_storage.3 krb5_storage_is_flags.3 \ + krb5_storage.3 krb5_storage_read.3 \ + krb5_storage.3 krb5_storage_seek.3 \ + krb5_storage.3 krb5_storage_set_byteorder.3 \ + krb5_storage.3 krb5_storage_set_eof_code.3 \ + krb5_storage.3 krb5_storage_set_flags.3 \ + krb5_storage.3 krb5_storage_set_max_alloc.3 \ + krb5_storage.3 krb5_storage_to_data.3 \ + krb5_storage.3 krb5_storage_truncate.3 \ + krb5_storage.3 krb5_storage_write.3 \ + krb5_storage.3 krb5_store_address.3 \ + krb5_storage.3 krb5_store_addrs.3 \ + krb5_storage.3 krb5_store_authdata.3 \ + krb5_storage.3 krb5_store_creds.3 \ + krb5_storage.3 krb5_store_creds_tag.3 \ + krb5_storage.3 krb5_store_data.3 \ + krb5_storage.3 krb5_store_int16.3 \ + krb5_storage.3 krb5_store_int32.3 \ + krb5_storage.3 krb5_store_int8.3 \ + krb5_storage.3 krb5_store_keyblock.3 \ + krb5_storage.3 krb5_store_principal.3 \ + krb5_storage.3 krb5_store_string.3 \ + krb5_storage.3 krb5_store_stringz.3 \ + krb5_storage.3 krb5_store_times.3 \ + krb5_storage.3 krb5_store_uint16.3 \ + krb5_storage.3 krb5_store_uint32.3 \ + krb5_storage.3 krb5_store_uint8.3 \ + krb5_support.3 krb5_acl_match_string.3 \ + krb5_support.3 krb5_config_file_free.3 \ + krb5_support.3 krb5_config_free_strings.3 \ + krb5_support.3 krb5_config_get_bool.3 \ + krb5_support.3 krb5_config_get_bool_default.3 \ + krb5_support.3 krb5_config_get_list.3 \ + krb5_support.3 krb5_config_get_string.3 \ + krb5_support.3 krb5_config_get_string_default.3 \ + krb5_support.3 krb5_config_get_strings.3 \ + krb5_support.3 krb5_config_get_time.3 \ + krb5_support.3 krb5_config_get_time_default.3 \ + krb5_support.3 krb5_config_parse_file_multi.3 \ + krb5_support.3 krb5_config_vget_bool.3 \ + krb5_support.3 krb5_config_vget_bool_default.3 \ + krb5_support.3 krb5_config_vget_list.3 \ + krb5_support.3 krb5_config_vget_string.3 \ + krb5_support.3 krb5_config_vget_string_default.3 \ + krb5_support.3 krb5_config_vget_strings.3 \ + krb5_support.3 krb5_config_vget_time.3 \ + krb5_support.3 krb5_config_vget_time_default.3 \ + krb5_support.3 krb5_expand_hostname.3 \ + krb5_support.3 krb5_expand_hostname_realms.3 \ + krb5_support.3 krb5_kuserok.3 \ + krb5_support.3 krb5_plugin_register.3 \ + krb5_ticket.3 krb5_ticket_get_flags.3 \ + krb5_timeofday.3 krb5_us_timeofday.3 \ + krb5_v4compat.3 krb524_convert_creds_kdc_ccache.3 \ + krb5_verify_user.3 krb5_verify_opt_init.3 \ + krb5_verify_user.3 krb5_verify_opt_set_flags.3 \ + krb5_verify_user.3 krb5_verify_opt_set_keytab.3 \ + krb5_verify_user.3 krb5_verify_opt_set_secure.3 \ + krb5_verify_user.3 krb5_verify_opt_set_service.3 \ + krb5_verify_user.3 krb5_verify_user_lrealm.3 \ + krb5_verify_user.3 krb5_verify_user_opt.3 + +SRCS= acache.c \ + acl.c \ + add_et_list.c \ + addr_families.c \ + aname_to_localname.c \ + appdefault.c \ + asn1_glue.c \ + auth_context.c \ + build_ap_req.c \ + build_auth.c \ + cache.c \ + changepw.c \ + codec.c \ + config_file.c \ + constants.c \ + context.c \ + convert_creds.c \ + copy_host_realm.c \ + crc.c \ + creds.c \ + crypto-aes.c \ + crypto-algs.c \ + crypto-arcfour.c \ + crypto-des-common.c \ + crypto-des.c \ + crypto-des3.c \ + crypto-evp.c \ + crypto-null.c \ + crypto-pk.c \ + crypto-rand.c \ + crypto.c \ + data.c \ + deprecated.c \ + digest.c \ + doxygen.c \ + eai_to_heim_errno.c \ + error_string.c \ + expand_hostname.c \ + expand_path.c \ + fcache.c \ + free.c \ + free_host_realm.c \ + generate_seq_number.c \ + generate_subkey.c \ + get_addrs.c \ + get_cred.c \ + get_default_principal.c \ + get_default_realm.c \ + get_for_creds.c \ + get_host_realm.c \ + get_in_tkt.c \ + get_port.c \ + init_creds.c \ + init_creds_pw.c \ + kcm.c \ + keyblock.c \ + keytab.c \ + keytab_any.c \ + keytab_file.c \ + keytab_keyfile.c \ + keytab_memory.c \ + krbhst.c \ + kuserok.c \ + log.c \ + mcache.c \ + misc.c \ + mit_glue.c \ + mk_error.c \ + mk_priv.c \ + mk_rep.c \ + mk_req.c \ + mk_req_ext.c \ + mk_safe.c \ + n-fold.c \ + net_read.c \ + net_write.c \ + pac.c \ + padata.c \ + pcache.c \ + pkinit.c \ + plugin.c \ + principal.c \ + prog_setup.c \ + prompter_posix.c \ + rd_cred.c \ + rd_error.c \ + rd_priv.c \ + rd_rep.c \ + rd_req.c \ + rd_safe.c \ + read_message.c \ + recvauth.c \ + replay.c \ + salt-aes.c \ + salt-arcfour.c \ + salt-des.c \ + salt-des3.c \ + salt.c \ + send_to_kdc.c \ + sendauth.c \ + set_default_realm.c \ + sock_principal.c \ + store-int.c \ + store.c \ + store_emem.c \ + store_fd.c \ + store_mem.c \ + ticket.c \ + time.c \ + transited.c \ + verify_init.c \ + verify_user.c \ + version.c \ + warn.c \ + write_message.c + +SRCS+= heim_err.c \ + heim_err.h \ + k524_err.c \ + k524_err.h \ + krb5_err.c \ + krb5_err.h \ + krb_err.c \ + krb_err.h + +CFLAGS+= -I${KRB5DIR}/lib/krb5 \ + -I${KRB5DIR}/lib/asn1 \ + -I${KRB5DIR}/lib/roken \ + -I${KRB5DIR}/lib/ipc \ + -I${KRB5DIR}/base -I. + +.include <bsd.lib.mk> + +.PATH: ${KRB5DIR}/lib/krb5 ${KRB5DIR}/lib/asn1 ${KRB5DIR}/include ${.CURDIR}/../../include ${KRB5DIR}/doc/doxyout/krb5/man/man3/ diff --git a/kerberosV/lib/libkrb5/shlib_version b/kerberosV/lib/libkrb5/shlib_version new file mode 100644 index 00000000000..0aab0406bf8 --- /dev/null +++ b/kerberosV/lib/libkrb5/shlib_version @@ -0,0 +1,2 @@ +major=19 +minor=0 diff --git a/kerberosV/lib/libroken/Makefile b/kerberosV/lib/libroken/Makefile new file mode 100644 index 00000000000..dd21dc8b23f --- /dev/null +++ b/kerberosV/lib/libroken/Makefile @@ -0,0 +1,84 @@ +# $OpenBSD: Makefile,v 1.1 2013/06/17 19:11:35 robert Exp $ + +LIB= roken +DPADD= ${LIBCRYPT} +VERSION_MAP= ${KRB5DIR}/lib/roken/version-script.map +INCS= roken.h \ + roken-common.h \ + base64.h \ + getarg.h \ + hex.h \ + parse_bytes.h \ + parse_time.h \ + parse_units.h \ + resolve.h \ + rtbl.h \ + xdbm.h + +SRCS= base64.c \ + copyhostent.c \ + ecalloc.c \ + emalloc.c \ + erealloc.c \ + estrdup.c \ + strlwr.c \ + strsep_copy.c \ + strupr.c \ + bswap.c \ + cloexec.c \ + concat.c \ + ct.c \ + doxygen.c \ + dumpdata.c \ + environment.c \ + eread.c \ + esetenv.c \ + ewrite.c \ + freehostent.c \ + get_default_username.c \ + get_window_size.c \ + getaddrinfo_hostspec.c \ + getarg.c \ + getnameinfo_verified.c \ + h_errno.c \ + hex.c \ + hostent_find_fqdn.c \ + issuid.c \ + k_getpwnam.c \ + k_getpwuid.c \ + mini_inetd.c \ + net_read.c \ + net_write.c \ + parse_bytes.c \ + parse_time.c \ + parse_units.c \ + qsort.c \ + rand.c \ + realloc.c \ + resolve.c \ + roken.h \ + roken_gethostby.c \ + rtbl.c \ + setprogname.c \ + signal.c \ + simple_exec.c \ + snprintf.c \ + socket.c \ + strcollect.c \ + strerror_r.c \ + strpool.c \ + timeval.c \ + tm2time.c \ + unvis.c \ + verify.c \ + vis.c \ + warnerr.c \ + write_pid.c \ + xfree.c + +CPPFLAGS+= -DBUILD_ROKEN_LIB +CFLAGS+=-I${KRB5DIR}/lib/roken -I. + +.include <bsd.lib.mk> + +.PATH: ${KRB5DIR}/lib/roken ${KRB5DIR}/include ${.CURDIR}/../../include diff --git a/kerberosV/lib/libroken/shlib_version b/kerberosV/lib/libroken/shlib_version new file mode 100644 index 00000000000..97c9f92d6b8 --- /dev/null +++ b/kerberosV/lib/libroken/shlib_version @@ -0,0 +1,2 @@ +major=0 +minor=0 diff --git a/kerberosV/lib/libsl/Makefile b/kerberosV/lib/libsl/Makefile new file mode 100644 index 00000000000..a85dd487345 --- /dev/null +++ b/kerberosV/lib/libsl/Makefile @@ -0,0 +1,12 @@ +# $OpenBSD: Makefile,v 1.1 2013/06/17 19:11:35 robert Exp $ + +LIB= sl +SRCS= sl.c +CFLAGS+=-I${KRB5DIR}/lib/sl + +# skip installation +install: + +.include <bsd.lib.mk> + +.PATH: ${KRB5DIR}/lib/sl diff --git a/kerberosV/lib/libvers/Makefile b/kerberosV/lib/libvers/Makefile new file mode 100644 index 00000000000..5face4ae810 --- /dev/null +++ b/kerberosV/lib/libvers/Makefile @@ -0,0 +1,12 @@ +# $OpenBSD: Makefile,v 1.1 2013/06/17 19:11:35 robert Exp $ + +LIB= vers +SRCS= print_version.c roken.h +CFLAGS+=-I. -I${KRB5DIR}/lib/roken + +# skip installation +install: + +.include <bsd.lib.mk> + +.PATH: ${KRB5DIR}/lib/vers ${KRB5DIR}/include ${.CURDIR}/../../include diff --git a/kerberosV/lib/libwind/Makefile b/kerberosV/lib/libwind/Makefile new file mode 100644 index 00000000000..1480f7a8f93 --- /dev/null +++ b/kerberosV/lib/libwind/Makefile @@ -0,0 +1,33 @@ +#$OpenBSD: Makefile,v 1.1 2013/06/17 19:11:35 robert Exp $ + +LIB= wind +LDFLAGS= -Wl,--no-undefined +VERSION_MAP= ${KRB5DIR}/lib/wind/version-script.map + +INCS= wind.h \ + wind_err.h + +SRCS= bidi.c \ + bidi_table.c \ + combining.c \ + combining_table.c \ + doxygen.c \ + errorlist.c \ + errorlist_table.c \ + ldap.c \ + map.c \ + map_table.c \ + normalize.c \ + normalize_table.c \ + punycode.c \ + stringprep.c \ + utf8.c + +SRCS+= wind_err.c \ + wind_err.h + +CFLAGS+=-I${KRB5DIR}/lib/roken -I. + +.include <bsd.lib.mk> + +.PATH: ${KRB5DIR}/lib/wind diff --git a/kerberosV/lib/libwind/shlib_version b/kerberosV/lib/libwind/shlib_version new file mode 100644 index 00000000000..97c9f92d6b8 --- /dev/null +++ b/kerberosV/lib/libwind/shlib_version @@ -0,0 +1,2 @@ +major=0 +minor=0 |