diff options
Diffstat (limited to 'kerberosV')
-rw-r--r-- | kerberosV/lib/45/Makefile | 12 | ||||
-rw-r--r-- | kerberosV/lib/45/shlib_version | 2 | ||||
-rw-r--r-- | kerberosV/lib/Makefile | 5 | ||||
-rw-r--r-- | kerberosV/lib/Makefile.inc | 13 | ||||
-rw-r--r-- | kerberosV/lib/asn1/Makefile | 91 | ||||
-rw-r--r-- | kerberosV/lib/asn1/shlib_version | 2 | ||||
-rw-r--r-- | kerberosV/lib/gssapi/Makefile | 58 | ||||
-rw-r--r-- | kerberosV/lib/gssapi/shlib_version | 2 | ||||
-rw-r--r-- | kerberosV/lib/hdb/Makefile | 42 | ||||
-rw-r--r-- | kerberosV/lib/kadm5clnt/Makefile | 43 | ||||
-rw-r--r-- | kerberosV/lib/kadm5srv/Makefile | 54 | ||||
-rw-r--r-- | kerberosV/lib/kafs/Makefile | 17 | ||||
-rw-r--r-- | kerberosV/lib/kafs/shlib_version | 2 | ||||
-rw-r--r-- | kerberosV/lib/krb5/Makefile | 138 | ||||
-rw-r--r-- | kerberosV/lib/krb5/shlib_version | 2 | ||||
-rw-r--r-- | kerberosV/lib/roken/Makefile | 53 |
16 files changed, 536 insertions, 0 deletions
diff --git a/kerberosV/lib/45/Makefile b/kerberosV/lib/45/Makefile new file mode 100644 index 00000000000..67a67545012 --- /dev/null +++ b/kerberosV/lib/45/Makefile @@ -0,0 +1,12 @@ +# $OpenBSD: Makefile,v 1.1 2001/05/25 08:18:51 hin Exp $ + +KRBDEPTH=../.. +.include <${.CURDIR}/../../Makefile.inc> + +LIB= 45 +SRCS= get_ad_tkt.c mk_req.c + +.PATH: ${KRB5SRC}/lib/45 +CFLAGS+=-I${KRB5SRC}/lib/krb5 -I../krb5 -I../asn1 + +.include <bsd.lib.mk>
\ No newline at end of file diff --git a/kerberosV/lib/45/shlib_version b/kerberosV/lib/45/shlib_version new file mode 100644 index 00000000000..2759873cade --- /dev/null +++ b/kerberosV/lib/45/shlib_version @@ -0,0 +1,2 @@ +major=0 +minor=0
\ No newline at end of file diff --git a/kerberosV/lib/Makefile b/kerberosV/lib/Makefile new file mode 100644 index 00000000000..157e5108907 --- /dev/null +++ b/kerberosV/lib/Makefile @@ -0,0 +1,5 @@ +# $OpenBSD: Makefile,v 1.1 2001/05/25 08:18:51 hin Exp $ + +SUBDIR = roken asn1 krb5 hdb kadm5clnt kadm5srv 45 kafs + +.include <bsd.subdir.mk> diff --git a/kerberosV/lib/Makefile.inc b/kerberosV/lib/Makefile.inc new file mode 100644 index 00000000000..e55beff62bc --- /dev/null +++ b/kerberosV/lib/Makefile.inc @@ -0,0 +1,13 @@ +# $OpenBSD: Makefile.inc,v 1.1 2001/05/25 08:18:51 hin Exp $ + +.if defined(INCLUDE_FILES) +INCLUDE_DIR?= ${DESTDIR}/usr/include/kerberosV +includes: $(INCLUDE_FILES) + mkdir -p ${INCLUDE_DIR} + -for i in ${INCLUDE_FILES}; do \ + echo "installing `basename $$i` in ${INCLUDE_DIR}" ;\ + cmp -s $$i ${INCLUDE_DIR}/$$i || \ + ${INSTALL} ${INSTALL_COPY} -m 444 $$i ${INCLUDE_DIR}/`basename $$i` ;\ + done +.endif + diff --git a/kerberosV/lib/asn1/Makefile b/kerberosV/lib/asn1/Makefile new file mode 100644 index 00000000000..cc8aa0b0e24 --- /dev/null +++ b/kerberosV/lib/asn1/Makefile @@ -0,0 +1,91 @@ +# $OpenBSD: Makefile,v 1.1 2001/05/25 08:18:52 hin Exp $ + +LIB= asn1 + +KRBDEPTH=../.. +.include <${.CURDIR}/../../Makefile.inc> + +INCLUDE_FILES= asn1.h asn1_err.h ${KRB5SRC}/lib/asn1/{der.h,asn1-common.h} + +includes: asn1.h asn1_err.h + +.PATH: ${KRB5SRC}/lib/asn1 + +gen_files= \ + asn1.h \ + asn1_APOptions.c \ + asn1_AP_REP.c \ + asn1_AP_REQ.c \ + asn1_AS_REP.c \ + asn1_AS_REQ.c \ + asn1_Authenticator.c \ + asn1_AuthorizationData.c \ + asn1_CKSUMTYPE.c \ + asn1_Checksum.c \ + asn1_ETYPE_INFO.c \ + asn1_ETYPE_INFO_ENTRY.c \ + asn1_EncAPRepPart.c \ + asn1_EncASRepPart.c \ + asn1_EncKDCRepPart.c \ + asn1_EncKrbCredPart.c \ + asn1_EncKrbPrivPart.c \ + asn1_EncTGSRepPart.c \ + asn1_EncTicketPart.c \ + asn1_EncryptedData.c \ + asn1_EncryptionKey.c \ + asn1_HostAddress.c \ + asn1_HostAddresses.c \ + asn1_KDCOptions.c \ + asn1_KDC_REP.c \ + asn1_KDC_REQ.c \ + asn1_KDC_REQ_BODY.c \ + asn1_KRB_CRED.c \ + asn1_KRB_ERROR.c \ + asn1_KRB_PRIV.c \ + asn1_KRB_SAFE.c \ + asn1_KRB_SAFE_BODY.c \ + asn1_KerberosTime.c \ + asn1_KrbCredInfo.c \ + asn1_LastReq.c \ + asn1_MESSAGE_TYPE.c \ + asn1_METHOD_DATA.c \ + asn1_NAME_TYPE.c \ + asn1_PADATA_TYPE.c \ + asn1_PA_DATA.c \ + asn1_PA_ENC_TS_ENC.c \ + asn1_Principal.c \ + asn1_PrincipalName.c \ + asn1_Realm.c \ + asn1_TGS_REP.c \ + asn1_TGS_REQ.c \ + asn1_Ticket.c \ + asn1_TicketFlags.c \ + asn1_TransitedEncoding.c \ + asn1_UNSIGNED.c + +CLEANFILES= ${gen_files} *.x asn1_files asn1_err.[ch] + +BUILT_SOURCES= \ + ${gen_files} \ + asn1_err.h \ + asn1_err.c + +SRCS= der_get.c \ + der_put.c \ + der_free.c \ + der_length.c \ + der_copy.c \ + ${BUILT_SOURCES} + +CFLAGS+= -I${KRB5SRC}/lib/asn1 -I. + +asn1_err.h asn1_err.c: ${KRB5SRC}/lib/asn1/asn1_err.et + compile_et ${KRB5SRC}/lib/asn1/asn1_err.et + +${gen_files} asn1.h: asn1_files + +asn1_files: ${KRB5SRC}/lib/asn1/k5.asn1 + asn1_compile ${KRB5SRC}/lib/asn1/k5.asn1 + for f in *.x; do mv $$f `echo $$f | sed s,.x$$,.c,g`; done + +.include <bsd.lib.mk> diff --git a/kerberosV/lib/asn1/shlib_version b/kerberosV/lib/asn1/shlib_version new file mode 100644 index 00000000000..2759873cade --- /dev/null +++ b/kerberosV/lib/asn1/shlib_version @@ -0,0 +1,2 @@ +major=0 +minor=0
\ No newline at end of file diff --git a/kerberosV/lib/gssapi/Makefile b/kerberosV/lib/gssapi/Makefile new file mode 100644 index 00000000000..7e417c997fa --- /dev/null +++ b/kerberosV/lib/gssapi/Makefile @@ -0,0 +1,58 @@ +# $OpenBSD: Makefile,v 1.1 2001/05/25 08:18:53 hin Exp $ + +KRBDEPTH=../.. +.include <${.CURDIR}/../../Makefile.inc> + +LIB= gssapi + +INCLUDE_FILES= ${KRB5SRC}/lib/gssapi/gssapi.h + +#beforedepend: krb5_err.h heim_err.h + +#CLEANFILES+= krb5_err.[ch] heim_err.[ch] + +SRCS= 8003.c \ + accept_sec_context.c \ + acquire_cred.c \ + add_oid_set_member.c \ + canonicalize_name.c \ + compare_name.c \ + context_time.c \ + create_emtpy_oid_set.c \ + decapsulate.c \ + delete_sec_context.c \ + display_name.c \ + display_status.c \ + duplicate_name.c \ + encapsulate.c \ + export_sec_context.c \ + export_name.c \ + external.c \ + get_mic.c \ + gssapi.h \ + gssapi_locl.h \ + import_name.c \ + import_sec_context.c \ + indicate_mechs.c \ + init.c \ + init_sec_context.c \ + inquire_context.c \ + inquire_cred.c \ + release_buffer.c \ + release_cred.c \ + release_name.c \ + release_oid_set.c \ + test_oid_set_member.c \ + unwrap.c \ + v1.c \ + verify_mic.c \ + wrap.c \ + address_to_krb5addr.c + + +.PATH: ${KRB5SRC}/lib/gssapi +CFLAGS+=-I${KRB5SRC}/lib/krb5 -I${KRB5SRC}/lib/ \ + -I${KRB5SRC}/lib/asn1 -I../asn1 -I. \ + -DSHA1_CTX=SHA_CTX + +.include <bsd.lib.mk>
\ No newline at end of file diff --git a/kerberosV/lib/gssapi/shlib_version b/kerberosV/lib/gssapi/shlib_version new file mode 100644 index 00000000000..2759873cade --- /dev/null +++ b/kerberosV/lib/gssapi/shlib_version @@ -0,0 +1,2 @@ +major=0 +minor=0
\ No newline at end of file diff --git a/kerberosV/lib/hdb/Makefile b/kerberosV/lib/hdb/Makefile new file mode 100644 index 00000000000..db74ac0ad95 --- /dev/null +++ b/kerberosV/lib/hdb/Makefile @@ -0,0 +1,42 @@ +# $OpenBSD: Makefile,v 1.1 2001/05/25 08:18:53 hin Exp $ + +KRBDEPTH=../.. +.include <${.CURDIR}/../../Makefile.inc> + +INCLUDE_FILES= ${KRB5SRC}/lib/hdb/{hdb.h,hdb-protos.h,hdb-private.h} \ + hdb_err.h hdb_asn1.h + +includes: hdb_err.h hdb_asn1.h + +LIB= hdb +NOPIC= +NOPROFILE= + +ASN1_SRC = asn1_Key.c asn1_Event.c asn1_HDBFlags.c asn1_hdb_entry.c \ + asn1_Salt.c hdb_asn1.h + +SRCS= ${ASN1_SRC} \ + keytab.c \ + hdb.c \ + common.c \ + db.c \ + mkey.c \ + ndbm.c \ + print.c \ + hdb_err.c \ + hdb_err.h + +${ASN1_SRC}: ${KRB5SRC}/lib/hdb/hdb.asn1 + asn1_compile ${KRB5SRC}/lib/hdb/hdb.asn1 hdb_asn1 + for f in *.x; do mv $$f `echo $$f | sed s,.x$$,.c,g`; done + +CLEANFILES+= ${ASN1_SRC} ${ASN1_SRC:.c=.x} hdb_err.[ch] \ + hdb_asn1.[ch] ans1_files asn1.h asn1_files + +CFLAGS+=-I${KRB5SRC}/lib/hdb -I${KRB5SRC}/lib/asn1 -I../asn1 -I. -I../krb5 +.PATH: ${KRB5SRC}/lib/hdb + +hdb_err.c hdb_err.h: ${KRB5SRC}/lib/hdb/hdb_err.et + compile_et ${KRB5SRC}/lib/hdb/hdb_err.et + +.include <bsd.lib.mk> diff --git a/kerberosV/lib/kadm5clnt/Makefile b/kerberosV/lib/kadm5clnt/Makefile new file mode 100644 index 00000000000..893600452e0 --- /dev/null +++ b/kerberosV/lib/kadm5clnt/Makefile @@ -0,0 +1,43 @@ +# $OpenBSD: Makefile,v 1.1 2001/05/25 08:18:54 hin Exp $ + +LIB= kadm5clnt + +KRBDEPTH=../.. +.include <${.CURDIR}/../../Makefile.inc> + +INCLUDE_FILES= ${KRB5SRC}/lib/kadm5/{admin.h,private.h} kadm5_err.h + +includes: kadm5_err.h + +SRCS= admin.h \ + chpass_c.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_locl.h \ + marshall.c \ + modify_c.c \ + private.h \ + privs_c.c \ + randkey_c.c \ + rename_c.c \ + send_recv.c \ + kadm5_err.c \ + kadm5_err.h + +.PATH: ${KRB5SRC}/lib/kadm5 + +CFLAGS+=-I${KRB5SRC}/lib/krb5 -I${KRB5SRC}/lib/asn1 -I../asn1 -I../krb5 \ + -I${KRB5SRC}/lib/hdb -I../hdb -I. + +kadm5_err.c kadm5_err.h: ${KRB5SRC}/lib/kadm5/kadm5_err.et + compile_et ${KRB5SRC}/lib/kadm5/kadm5_err.et + +.include <bsd.lib.mk>
\ No newline at end of file diff --git a/kerberosV/lib/kadm5srv/Makefile b/kerberosV/lib/kadm5srv/Makefile new file mode 100644 index 00000000000..c76e67df442 --- /dev/null +++ b/kerberosV/lib/kadm5srv/Makefile @@ -0,0 +1,54 @@ +# $OpenBSD: Makefile,v 1.1 2001/05/25 08:18:54 hin Exp $ + +LIB= kadm5srv + +KRBDEPTH=../.. +.include <${.CURDIR}/../../Makefile.inc> + +INCLUDE_DIR= ${DESTDIR}/usr/include/kerberosV/kadm5 +INCLUDE_FILES= ${KRB5SRC}/lib/kadm5/{admin.h,private.h} kadm5_err.h + +includes: kadm5_err.h + +SRCS= acl.c \ + admin.h \ + 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_locl.h \ + keys.c \ + log.c \ + marshall.c \ + modify_s.c \ + private.h \ + privs_s.c \ + randkey_s.c \ + rename_s.c \ + server_glue.c \ + set_keys.c \ + set_modifier.c \ + password_quality.c \ + kadm5_err.c \ + kadm5_err.h + +.PATH: ${KRB5SRC}/lib/kadm5 + +CFLAGS+=-I${KRB5SRC}/lib/krb5 -I${KRB5SRC}/lib/asn1 -I../asn1 -I../krb5 \ + -I${KRB5SRC}/lib/hdb -I../hdb -I. + +kadm5_err.c kadm5_err.h: ${KRB5SRC}/lib/kadm5/kadm5_err.et + compile_et ${KRB5SRC}/lib/kadm5/kadm5_err.et + +.include <bsd.lib.mk>
\ No newline at end of file diff --git a/kerberosV/lib/kafs/Makefile b/kerberosV/lib/kafs/Makefile new file mode 100644 index 00000000000..5ab35becf15 --- /dev/null +++ b/kerberosV/lib/kafs/Makefile @@ -0,0 +1,17 @@ +# $OpenBSD: Makefile,v 1.1 2001/05/25 08:18:54 hin Exp $ + +LIB= kafs5 + +KRBDEPTH=../.. +.include <${.CURDIR}/../../Makefile.inc> + +INCLUDE_FILES= ${KRB5SRC}/lib/kafs/kafs.h + +SRCS= afssys.c afskrb.c afskrb5.c common.c $(AIX_SRC) kafs_locl.h afssysdefs.h + +.PATH: ${KRB5SRC}/lib/kafs + +CFLAGS+=-I${KRB5SRC}/lib/krb5 -I${KRB5SRC}/lib/asn1 -I../asn1 -I../krb5 \ + -I${KRB5SRC}/lib/hdb -I../hdb -I. ${LIBROKEN} + +.include <bsd.lib.mk>
\ No newline at end of file diff --git a/kerberosV/lib/kafs/shlib_version b/kerberosV/lib/kafs/shlib_version new file mode 100644 index 00000000000..9e909c2dc86 --- /dev/null +++ b/kerberosV/lib/kafs/shlib_version @@ -0,0 +1,2 @@ +major=6 +minor=1
\ No newline at end of file diff --git a/kerberosV/lib/krb5/Makefile b/kerberosV/lib/krb5/Makefile new file mode 100644 index 00000000000..220a989d49a --- /dev/null +++ b/kerberosV/lib/krb5/Makefile @@ -0,0 +1,138 @@ +# $OpenBSD: Makefile,v 1.1 2001/05/25 08:18:55 hin Exp $ + +KRBDEPTH=../.. +.include <${.CURDIR}/../../Makefile.inc> + +LIB= krb5 + +INCLUDE_FILES= ${KRB5SRC}/lib/krb5/{krb5.h,krb5-protos.h,krb5-private.h} \ + ${KRB5DIR}/include/krb5-types.h krb5_err.h heim_err.h + +includes: krb5_err.h heim_err.h + +MAN= krb5.conf.5 \ + krb5_425_conv_principal.3 \ + krb5_appdefault.3 \ + krb5_build_principal.3 \ + krb5_config.3 \ + krb5_free_principal.3 \ + krb5_openlog.3 \ + krb5_parse_name.3 \ + krb5_sname_to_principal.3 \ + krb5_unparse_name.3 \ + krb5_warn.3 \ + krb5_auth_context.3 \ + krb5_context.3 \ + krb5_init_context.3 +# This not built yet +# verify_krb5_conf.8 + +MLINKS+=krb5_init_context.3 krb5_free_context.3 + +SRCS= add_et_list.c \ + addr_families.c \ + address.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 \ + convert_creds.c \ + constants.c \ + context.c \ + copy_host_realm.c \ + crc.c \ + creds.c \ + crypto.c \ + data.c \ + expand_hostname.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_in_tkt_pw.c \ + get_in_tkt_with_keytab.c \ + get_in_tkt_with_skey.c \ + get_port.c \ + init_creds.c \ + init_creds_pw.c \ + keyblock.c \ + keytab.c \ + keytab_file.c \ + keytab_memory.c \ + keytab_krb4.c \ + keytab_keyfile.c \ + krbhst.c \ + kuserok.c \ + log.c \ + mcache.c \ + mk_error.c \ + mk_priv.c \ + mk_rep.c \ + mk_req.c \ + mk_req_ext.c \ + mk_safe.c \ + net_read.c \ + net_write.c \ + n-fold.c \ + padata.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 \ + send_to_kdc.c \ + sendauth.c \ + set_default_realm.c \ + sock_principal.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 \ + krb5_err.c \ + heim_err.c + +CLEANFILES+= krb5_err.[ch] heim_err.[ch] + +.PATH: ${KRB5SRC}/lib/krb5 +CFLAGS+=-I${KRB5SRC}/lib/krb5 -I${KRB5SRC}/lib/ \ + -I${KRB5SRC}/lib/asn1 -I../asn1 -I. \ + -DSHA1_CTX=SHA_CTX + +LDADD+= -lc -L../asn1 -lasn1_pic ${LIBROKEN_PIC} -lcrypto + +krb5_err.c krb5_err.h: ${KRB5SRC}/lib/krb5/krb5_err.et + compile_et ${KRB5SRC}/lib/krb5/krb5_err.et + +heim_err.c heim_err.h: ${KRB5SRC}/lib/krb5/heim_err.et + compile_et ${KRB5SRC}/lib/krb5/heim_err.et + +.include <bsd.lib.mk>
\ No newline at end of file diff --git a/kerberosV/lib/krb5/shlib_version b/kerberosV/lib/krb5/shlib_version new file mode 100644 index 00000000000..2759873cade --- /dev/null +++ b/kerberosV/lib/krb5/shlib_version @@ -0,0 +1,2 @@ +major=0 +minor=0
\ No newline at end of file diff --git a/kerberosV/lib/roken/Makefile b/kerberosV/lib/roken/Makefile new file mode 100644 index 00000000000..aebccd50756 --- /dev/null +++ b/kerberosV/lib/roken/Makefile @@ -0,0 +1,53 @@ +# $OpenBSD: Makefile,v 1.1 2001/05/25 08:18:55 hin Exp $ + +LIB = roken + +NOPROFILE= + +KRBDEPTH=../.. +.include <${.CURDIR}/../../Makefile.inc> + +.PATH: ${KRB5SRC}/lib/roken +test: + echo ${KRB4SRC} +CFLAGS += -I. + +SRCS= base64.c \ + concat.c \ + emalloc.c \ + eread.c \ + erealloc.c \ + estrdup.c \ + ewrite.c \ + get_default_username.c \ + get_window_size.c \ + getarg.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 \ + resolve.c \ + roken_gethostby.c \ + rtbl.c \ + simple_exec.c \ + tm2time.c \ + verify.c \ + strlwr.c \ + strndup.c \ + strnlen.c \ + strsep_copy.c \ + strupr.c \ + print_version.c \ + socket.c \ + warnerr.c \ + write_pid.c + +install: + + +.include <bsd.lib.mk> |