diff options
Diffstat (limited to 'kerberosIV')
46 files changed, 986 insertions, 0 deletions
diff --git a/kerberosIV/Makefile b/kerberosIV/Makefile new file mode 100644 index 00000000000..4e77521ea51 --- /dev/null +++ b/kerberosIV/Makefile @@ -0,0 +1,17 @@ +# $OpenBSD: Makefile,v 1.28 2000/02/25 16:35:22 hin Exp $ + +SUBDIR = lib usr.bin usr.sbin libexec + +build: + ${MAKE} cleandir + ${MAKE} includes + ${MAKE} depend + ( cd ${.CURDIR}/lib && ${MAKE} && ${MAKE} install ) + ${MAKE} + ${MAKE} install + +prereq: + ( cd ${.CURDIR}/lib/kadm && ${MAKE} prereq ) + ( cd ${.CURDIR}/lib/krb && ${MAKE} prereq ) + +.include <bsd.subdir.mk> diff --git a/kerberosIV/Makefile.inc b/kerberosIV/Makefile.inc new file mode 100644 index 00000000000..406cc68515b --- /dev/null +++ b/kerberosIV/Makefile.inc @@ -0,0 +1,19 @@ +# $OpenBSD: Makefile.inc,v 1.9 2000/02/25 16:35:23 hin Exp $ + +KRBVERSION = "krb4-1.0" + +KRBDIR = ${.CURDIR}/${KRBDEPTH} +KRBSRC = ${.CURDIR}/${KRBDEPTH}/src + +CFLAGS += -DHAVE_CONFIG_H -DBINDIR=\"/usr/bin\" \ + -I${DESTDIR}/usr/include/kerberosIV \ + -I${KRBSRC}/include -I${KRBSRC}/lib/roken \ + -I${KRBDIR}/lib/roken -I${KRBSRC}/lib/sl + +LIBROKEN= -L${KRBDEPTH}/lib/roken -lroken +LIBSL = -L${KRBDEPTH}/lib/sl -lsl + +.PATH: ${KRBSRC}/man + +COMPILE_ET = /usr/bin/compile_et + diff --git a/kerberosIV/README b/kerberosIV/README new file mode 100644 index 00000000000..5330451a7f4 --- /dev/null +++ b/kerberosIV/README @@ -0,0 +1,31 @@ +$OpenBSD: README,v 1.1 2000/02/25 16:35:23 hin Exp $ + +This version is based on krb4-1.0, which is available from +ftp://ftp.pdc.kth.se/pub/krb4/src/ + +A webpage is available at http://www.pdc.kth.se/kth-krb/. + +To upgrade to a newer version: + +1. unpack the distribution and rename it to src +2. mkdir /tmp/krb ; cd /tmp/krb ; /usr/src/kerberosIV/src/configure +3. cd include ; make +4. cp config.h protos.h roken-common.h ktypes.h version.h \ + /usr/src/kerberosIV/src/include +5. cd ../lib/roken ; make roken.h ; make print_version.h +6. cp roken.h print_version.h /usr/src/kerberosIV/lib/roken + +7. merge in OpenBSD specific changes: + src/lib/krb/krb.h Path to krb.equiv + Remove dependecy on ktypes.h + src/lib/krb/defaults.c Path to srvtab + src/lib/kdb/krb_db.h Path to kerberos database changed to + /etc/kerberosIV/principal + src/lib/kdb/kdc.h Path to master key + src/slave/kprop.h Path to srvtab + src/kadmin/kadm_server.h Path to admin acl files + src/lib/kadm/kadm.b <krb_db.h> -> <kerberosIV/krb_db.h> + +8. Update the kafs.h include file with a newer from Arla, this is + needed for the afs client. *yuk* +9. Update any other utilities that may need to be changed. diff --git a/kerberosIV/lib/Makefile b/kerberosIV/lib/Makefile new file mode 100644 index 00000000000..31579b6ba0b --- /dev/null +++ b/kerberosIV/lib/Makefile @@ -0,0 +1,9 @@ +# $OpenBSD: Makefile,v 1.1 2000/02/25 16:35:24 hin Exp $ + +.if !make(install) +SUBDIR = roken sl +.endif + +SUBDIR += krb kadm kafs kdb acl + +.include <bsd.subdir.mk>
\ No newline at end of file diff --git a/kerberosIV/lib/Makefile.inc b/kerberosIV/lib/Makefile.inc new file mode 100644 index 00000000000..764801dd728 --- /dev/null +++ b/kerberosIV/lib/Makefile.inc @@ -0,0 +1,11 @@ +# $OpenBSD: Makefile.inc,v 1.1 2000/02/25 16:35:24 hin Exp $ + +.if defined(INCLUDE_FILES) +includes: + @-for i in ${INCLUDE_FILES}; do \ + echo "installing `basename $$i`..." ;\ + cmp -s $$i ${DESTDIR}/usr/include/kerberosIV/$$i || \ + ${INSTALL} ${INSTALL_COPY} -m 444 $$i ${DESTDIR}/usr/include/kerberosIV/`basename $$i` ;\ + done +.endif + diff --git a/kerberosIV/lib/acl/Makefile b/kerberosIV/lib/acl/Makefile new file mode 100644 index 00000000000..c03475b5776 --- /dev/null +++ b/kerberosIV/lib/acl/Makefile @@ -0,0 +1,16 @@ +# $OpenBSD: Makefile,v 1.1 2000/02/25 16:35:24 hin Exp $ + +LIB = acl + +KRBDEPTH=../.. +.include <../../Makefile.inc> + +INCLUDE_FILES = ${KRBSRC}/lib/acl/acl.h + +.PATH: ${KRBSRC}/lib/acl + +CFLAGS += -I${KRBSRC}/lib/acl + +SRCS= acl_files.c + +.include <bsd.lib.mk>
\ No newline at end of file diff --git a/kerberosIV/lib/acl/shlib_version b/kerberosIV/lib/acl/shlib_version new file mode 100644 index 00000000000..577b1e9956f --- /dev/null +++ b/kerberosIV/lib/acl/shlib_version @@ -0,0 +1,2 @@ +major=5 +minor=0
\ No newline at end of file diff --git a/kerberosIV/lib/kadm/Makefile b/kerberosIV/lib/kadm/Makefile new file mode 100644 index 00000000000..033966cbf93 --- /dev/null +++ b/kerberosIV/lib/kadm/Makefile @@ -0,0 +1,29 @@ +# $OpenBSD: Makefile,v 1.1 2000/02/25 16:35:25 hin Exp $ + +LIB = kadm + +KRBDEPTH=../.. +.include <../../Makefile.inc> + +INCLUDE_FILES = ${KRBSRC}/lib/kadm/kadm.h kadm_err.h + +.PATH: ${KRBSRC}/lib/kadm + +CFLAGS += -I. + +SRCS= kadm_cli_wrap.c \ + kadm_err.c \ + kadm_stream.c \ + kadm_supp.c \ + check_password.c + +beforedepend prereq: kadm_err.h + +includes: kadm_err.h + +kadm_err.c kadm_err.h: + ${COMPILE_ET} ${KRBSRC}/lib/kadm/kadm_err.et + +CLEANFILES += kadm_err.c kadm_err.h + +.include <bsd.lib.mk> diff --git a/kerberosIV/lib/kadm/shlib_version b/kerberosIV/lib/kadm/shlib_version new file mode 100644 index 00000000000..7014b7b3d3f --- /dev/null +++ b/kerberosIV/lib/kadm/shlib_version @@ -0,0 +1,2 @@ +major=6 +minor=0
\ No newline at end of file diff --git a/kerberosIV/lib/kafs/Makefile b/kerberosIV/lib/kafs/Makefile new file mode 100644 index 00000000000..c532354d190 --- /dev/null +++ b/kerberosIV/lib/kafs/Makefile @@ -0,0 +1,21 @@ +# $OpenBSD: Makefile,v 1.1 2000/02/25 16:35:25 hin Exp $ + +LIB = kafs + +KRBDEPTH=../.. +.include <../../Makefile.inc> + +INCLUDE_FILES = ${KRBSRC}/lib/kafs/kafs.h + +CFLAGS += -I${KRBSRC}/lib/kafs + +.PATH: ${KRBSRC}/lib/kafs + +SRCS= afssys.c \ + afskrb.c \ + $(afskrb5_c) \ + common.c \ + kafs_locl.h \ + afssysdefs.h + +.include <bsd.lib.mk> diff --git a/kerberosIV/lib/kafs/shlib_version b/kerberosIV/lib/kafs/shlib_version new file mode 100644 index 00000000000..7014b7b3d3f --- /dev/null +++ b/kerberosIV/lib/kafs/shlib_version @@ -0,0 +1,2 @@ +major=6 +minor=0
\ No newline at end of file diff --git a/kerberosIV/lib/kdb/Makefile b/kerberosIV/lib/kdb/Makefile new file mode 100644 index 00000000000..e8127f4644b --- /dev/null +++ b/kerberosIV/lib/kdb/Makefile @@ -0,0 +1,21 @@ +# $OpenBSD: Makefile,v 1.1 2000/02/25 16:35:25 hin Exp $ + +LIB = kdb + +KRBDEPTH=../.. +.include <../../Makefile.inc> + +INCLUDE_FILES = ${KRBSRC}/lib/kdb/krb_db.h + +.PATH: ${KRBSRC}/lib/kdb + +CFLAGS += -I${KRBSRC}/lib/kdb + +SRCS= krb_cache.c \ + krb_kdb_utils.c \ + copykey.c \ + krb_lib.c \ + krb_dbm.c \ + print_princ.c + +.include <bsd.lib.mk> diff --git a/kerberosIV/lib/kdb/shlib_version b/kerberosIV/lib/kdb/shlib_version new file mode 100644 index 00000000000..7014b7b3d3f --- /dev/null +++ b/kerberosIV/lib/kdb/shlib_version @@ -0,0 +1,2 @@ +major=6 +minor=0
\ No newline at end of file diff --git a/kerberosIV/lib/krb/Makefile b/kerberosIV/lib/krb/Makefile new file mode 100644 index 00000000000..f3d8e693e54 --- /dev/null +++ b/kerberosIV/lib/krb/Makefile @@ -0,0 +1,128 @@ +# $OpenBSD: Makefile,v 1.1 2000/02/25 16:35:25 hin Exp $ + +LIB = krb + +KRBDEPTH=../.. +.include <../../Makefile.inc> + +INCLUDE_FILES = ${KRBSRC}/lib/krb/{krb.h,krb-protos.h,prot.h} krb_err.h + +.PATH: ${KRBSRC}/lib/krb ${KRBSRC}/lib/roken ${KRBSRC}/lib/des + +CFLAGS += -I${KRBSRC}/lib/des -I${KRBSRC}/lib/krb -I${BSDSRCDIR}/lib/libcom_err + +SRCS = \ + check_time.c \ + cr_err_reply.c \ + create_auth_reply.c \ + create_ciph.c \ + create_ticket.c \ + debug_decl.c \ + decomp_ticket.c \ + dest_tkt.c \ + encrypt_ktext.c \ + extra.c \ + get_ad_tkt.c \ + getfile.c \ + get_cred.c \ + get_default_principal.c \ + get_host.c \ + get_in_tkt.c \ + get_krbrlm.c \ + get_svc_in_tkt.c \ + get_tf_fullname.c \ + get_tf_realm.c \ + getaddrs.c \ + getrealm.c \ + getst.c \ + k_getport.c \ + k_getsockinst.c \ + k_localtime.c \ + kdc_reply.c \ + kntoln.c \ + krb_check_auth.c \ + krb_equiv.c \ + krb_err.c \ + krb_err_txt.c \ + krb_get_in_tkt.c \ + kuserok.c \ + lifetime.c \ + logging.c \ + lsb_addr_comp.c \ + mk_auth.c \ + mk_err.c \ + mk_priv.c \ + mk_req.c \ + mk_safe.c \ + month_sname.c \ + name2name.c \ + krb_net_read.c \ + krb_net_write.c \ + one.c \ + parse_name.c \ + rd_err.c \ + rd_priv.c \ + rd_req.c \ + rd_safe.c \ + read_service_key.c \ + realm_parse.c \ + recvauth.c \ + rw.c \ + save_credentials.c \ + send_to_kdc.c \ + sendauth.c \ + stime.c \ + str2key.c \ + tf_util.c \ + time.c \ + tkt_string.c \ + unparse_name.c \ + verify_user.c \ + defaults.c \ + krb_ip_realm.c + + +# These files are not built here: create_death_packet.c, solaris_compat.c + + +# these files reside in ../roken or ../com_err/ +SRCS += \ + base64.c \ + concat.c \ + resolve.c \ + snprintf.c \ + strnlen.c \ + strtok_r.c \ + net_write.c \ + net_read.c + +# These function is not available in OpenBSD's libdes +SRCS += \ + rnd_keys.c + +beforedepend prereq: krb_err.h + +includes: krb_err.h + +krb_err.c krb_err.h: krb_err.et + ${COMPILE_ET} ${KRBSRC}/lib/krb/krb_err.et + +CLEANFILES += krb_err.h krb_err.c + +# XXX This has just been stolen from the old Makefile, may be +# some missing manpages. + +MAN= kerberos.3 krb_realmofhost.3 krb_sendauth.3 krb_set_tkt_string.3 \ + kuserok.3 tf_util.3 +MLINKS+=kerberos.3 krb_mk_req.3 kerberos.3 krb_rd_req.3 kerberos.3 krb_kntoln.3 \ + kerberos.3 krb_set_key.3 kerberos.3 krb_get_cred.3 kerberos.3 krb_mk_priv.3 \ + kerberos.3 krb_rd_priv.3 kerberos.3 krb_mk_safe.3 kerberos.3 krb_rd_safe.3 \ + kerberos.3 krb_mk_err.3 kerberos.3 krb_rd_err.3 kerberos.3 krb_ck_repl.3 +MLINKS+=krb_realmofhost.3 krb_get_phost.3 krb_realmofhost.3 krb_get_krbhst.3 \ + krb_realmofhost.3 krb_get_admhst.3 krb_realmofhost.3 krb_get_lrealm.3 +MLINKS+=krb_sendauth.3 krb_recvauth.3 krb_sendauth.3 krb_net_write.3 \ + krb_sendauth.3 krb_net_read.3 +MLINKS+=tf_util.3 tf_init.3 tf_util.3 tf_get_pname.3 tf_util.3 tf_get_pinst.3 \ + tf_util.3 tf_get_cred.3 tf_util.3 tf_close.3 + +.include <bsd.lib.mk> diff --git a/kerberosIV/lib/krb/shlib_version b/kerberosIV/lib/krb/shlib_version new file mode 100644 index 00000000000..92a06889e56 --- /dev/null +++ b/kerberosIV/lib/krb/shlib_version @@ -0,0 +1,2 @@ +major=8 +minor=0
\ No newline at end of file diff --git a/kerberosIV/lib/roken/Makefile b/kerberosIV/lib/roken/Makefile new file mode 100644 index 00000000000..8631b035c34 --- /dev/null +++ b/kerberosIV/lib/roken/Makefile @@ -0,0 +1,87 @@ +# $OpenBSD: Makefile,v 1.1 2000/02/25 16:35:26 hin Exp $ + +LIB = roken + +NOPIC= +NOPROFILE= + +KRBDEPTH=../.. +.include <../../Makefile.inc> + +.PATH: ${KRBSRC}/lib/roken + +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 \ + inaddr2str.c \ + issuid.c \ + k_getpwnam.c \ + k_getpwuid.c \ + mini_inetd.c \ + net_read.c \ + net_write.c \ + parse_time.c \ + parse_units.c \ + parse_units.h \ + resolve.c \ + roken_gethostby.c \ + signal.c \ + simple_exec.c \ + snprintf.c \ + tm2time.c \ + verify.c \ + warnerr.c \ + xdbm.h \ + chown.c \ + err.c \ + err.h \ + errx.c \ + fchown.c \ + fnmatch.c \ + fnmatch.h \ + getdtablesize.c \ + getopt.c \ + glob.h \ + inet_aton.c \ + initgroups.c \ + iruserok.c \ + lstat.c \ + memmove.c \ + readv.c \ + recvmsg.c \ + sendmsg.c \ + setegid.c \ + seteuid.c \ + strerror.c \ + strftime.c \ + strlwr.c \ + strndup.c \ + strnlen.c \ + strtok_r.c \ + strupr.c \ + verr.c \ + verrx.c \ + vwarn.c \ + vwarnx.c \ + warn.c \ + warnx.c \ + writev.c \ + print_version.c \ + socket.c + +# These files have been omitted from kth-rkb: +# putenv.c, setenv.c, unsetenv.c, daemon.c, flock.c, getegid.c, getgid.c, +# gethostname.c, gettimeofday.c, hstrerror.c, innetgr.c, mkstemp.c, +# strcasecmp.c, strdup.c, strncasecmp.c, strsep.c, swab.c, vsyslog.c, +# getuid.c + +.include <bsd.lib.mk>
\ No newline at end of file diff --git a/kerberosIV/lib/roken/print_version.h b/kerberosIV/lib/roken/print_version.h new file mode 100644 index 00000000000..c01804a2b70 --- /dev/null +++ b/kerberosIV/lib/roken/print_version.h @@ -0,0 +1 @@ +#define VERSIONLIST { "krb4-1.0", } diff --git a/kerberosIV/lib/roken/roken.h b/kerberosIV/lib/roken/roken.h new file mode 100644 index 00000000000..ac281454f5a --- /dev/null +++ b/kerberosIV/lib/roken/roken.h @@ -0,0 +1,193 @@ +/* This is an OS dependent, generated file */ + + +#ifndef __ROKEN_H__ +#define __ROKEN_H__ + +/* -*- C -*- */ +/* + * Copyright (c) 1995, 1996, 1997, 1998, 1999 Kungliga Tekniska Högskolan + * (Royal Institute of Technology, Stockholm, Sweden). + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * 3. Neither the name of the Institute nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + +/* $Id: roken.h,v 1.1 2000/02/25 16:35:26 hin Exp $ */ + +#include <stdio.h> +#include <stdlib.h> +#include <stdarg.h> +#include <string.h> +#include <signal.h> +#include <sys/param.h> +#include <sys/types.h> +#include <unistd.h> +#include <sys/socket.h> +#include <sys/uio.h> +#include <grp.h> +#include <sys/stat.h> +#include <netinet/in.h> +#include <netdb.h> +#include <syslog.h> +#include <fcntl.h> +#include <errno.h> +#include <err.h> +#include <termios.h> +#include <sys/ioctl.h> +#include <sys/time.h> +#include <time.h> + +#include <paths.h> + + +#define ROKEN_LIB_FUNCTION + +#include <roken-common.h> + + + + + + + + + + +int asnprintf (char **ret, size_t max_sz, const char *format, ...) + __attribute__ ((format (printf, 3, 4))); + +int vasnprintf (char **ret, size_t max_sz, const char *format, va_list ap) + __attribute__((format (printf, 3, 0))); + + +char * strndup(const char *old, size_t sz); + +char * strlwr(char *); + +size_t strnlen(const char*, size_t); + + + + + +char * strupr(char *); + + + + + + + + + + + +#include <pwd.h> +struct passwd *k_getpwnam (const char *user); +struct passwd *k_getpwuid (uid_t uid); + +const char *get_default_username (void); + + + + + + + + + + + + + + + + + + + +time_t tm2time (struct tm tm, int local); + +int unix_verify_user(char *user, char *password); + +void inaddr2str(struct in_addr addr, char *s, size_t len); + +void mini_inetd (int port); + +int roken_concat (char *s, size_t len, ...); + +size_t roken_mconcat (char **s, size_t max_len, ...); + +int roken_vconcat (char *s, size_t len, va_list args); + +size_t roken_vmconcat (char **s, size_t max_len, va_list args); + +ssize_t net_write (int fd, const void *buf, size_t nbytes); + +ssize_t net_read (int fd, void *buf, size_t nbytes); + +int issuid(void); + + +int get_window_size(int fd, struct winsize *); + + + +extern const char *__progname; + +extern char **environ; + +struct hostent * +getipnodebyname (const char *name, int af, int flags, int *error_num); + +struct hostent * +getipnodebyaddr (const void *src, size_t len, int af, int *error_num); + +void +freehostent (struct hostent *h); + +struct hostent * +copyhostent (const struct hostent *h); + + +/* + * kludges and such + */ + +int roken_gethostby_setup(const char*, const char*); +struct hostent* roken_gethostbyname(const char*); +struct hostent* roken_gethostbyaddr(const void*, size_t, int); + +#define roken_getservbyname(x,y) getservbyname(x,y) + +#define roken_openlog(a,b,c) openlog(a,b,c) + +void set_progname(char *argv0); + +#endif /* __ROKEN_H__ */ diff --git a/kerberosIV/lib/sl/Makefile b/kerberosIV/lib/sl/Makefile new file mode 100644 index 00000000000..937a4369b40 --- /dev/null +++ b/kerberosIV/lib/sl/Makefile @@ -0,0 +1,16 @@ +# $OpenBSD: Makefile,v 1.1 2000/02/25 16:35:26 hin Exp $ + +LIB = sl + +KRBDEPTH=../.. +.include <../../Makefile.inc> + +.PATH: ${KRBSRC}/lib/sl + +NOPIC= +NOSHARED= +NOPROFILE= + +SRCS= sl.c + +.include <bsd.lib.mk>
\ No newline at end of file diff --git a/kerberosIV/libexec/Makefile b/kerberosIV/libexec/Makefile new file mode 100644 index 00000000000..868821f0e90 --- /dev/null +++ b/kerberosIV/libexec/Makefile @@ -0,0 +1,5 @@ +# $OpenBSD: Makefile,v 1.1 2000/02/25 16:35:26 hin Exp $ + +SUBDIR = kadmind kauthd kerberos kpropd + +.include <bsd.subdir.mk>
\ No newline at end of file diff --git a/kerberosIV/libexec/Makefile.inc b/kerberosIV/libexec/Makefile.inc new file mode 100644 index 00000000000..e1dae90a780 --- /dev/null +++ b/kerberosIV/libexec/Makefile.inc @@ -0,0 +1,5 @@ +# $OpenBSD: Makefile.inc,v 1.1 2000/02/25 16:35:27 hin Exp $ + +BINDIR = /usr/libexec + +CFLAGS += -I${KRBSRC}/lib/krb diff --git a/kerberosIV/libexec/kadmind/Makefile b/kerberosIV/libexec/kadmind/Makefile new file mode 100644 index 00000000000..31cb93a08ae --- /dev/null +++ b/kerberosIV/libexec/kadmind/Makefile @@ -0,0 +1,17 @@ +# $OpenBSD: Makefile,v 1.1 2000/02/25 16:35:27 hin Exp $ + +PROG = kadmind + +KRBDEPTH=../.. +.include <../../Makefile.inc> + +.PATH: ${KRBSRC}/kadmin + +CFLAGS += -I. -I${KRBSRC}/lib/kadm -I${KRBSRC}/lib/acl +LDADD += ${LIBROKEN} -lkrb -lkdb -lkadm -ldes -lacl -lcom_err + +SRCS = kadm_server.c kadm_funcs.c admin_server.c kadm_ser_wrap.c pw_check.c + +MAN = ${PROG}.8 + +.include <bsd.prog.mk> diff --git a/kerberosIV/libexec/kauthd/Makefile b/kerberosIV/libexec/kauthd/Makefile new file mode 100644 index 00000000000..413d7c4777a --- /dev/null +++ b/kerberosIV/libexec/kauthd/Makefile @@ -0,0 +1,18 @@ +# $OpenBSD: Makefile,v 1.1 2000/02/25 16:35:27 hin Exp $ + +PROG = kauthd + +KRBDEPTH=../.. +.include <../../Makefile.inc> + +.PATH: ${KRBSRC}/appl/kauth + +CFLAGS += -I. -I${KRBSRC}/lib/kadm -I${KRBSRC}/lib/acl +LDADD += ${LIBROKEN} -lkrb -lkafs -ldes + +SRCS = kauthd.c marshall.c encdata.c + + +MAN = ${PROG}.8 + +.include <bsd.prog.mk> diff --git a/kerberosIV/libexec/kerberos/Makefile b/kerberosIV/libexec/kerberos/Makefile new file mode 100644 index 00000000000..80a2e195c6c --- /dev/null +++ b/kerberosIV/libexec/kerberos/Makefile @@ -0,0 +1,17 @@ +# $OpenBSD: Makefile,v 1.1 2000/02/25 16:35:28 hin Exp $ + +PROG = kerberos + +KRBDEPTH=../.. +.include <../../Makefile.inc> + +.PATH: ${KRBSRC}/server + +CFLAGS += -I. -I${KRBSRC}/lib/kadm -I${KRBSRC}/lib/acl -I${KRBSRC}/lib/kdb +LDADD += ${LIBROKEN} -lkrb -lkafs -ldes -lkdb + +SRCS = kerberos.c + +MAN = ${PROG}.8 + +.include <bsd.prog.mk> diff --git a/kerberosIV/libexec/kpropd/Makefile b/kerberosIV/libexec/kpropd/Makefile new file mode 100644 index 00000000000..14533a2fd6f --- /dev/null +++ b/kerberosIV/libexec/kpropd/Makefile @@ -0,0 +1,17 @@ +# $OpenBSD: Makefile,v 1.1 2000/02/25 16:35:28 hin Exp $ + +PROG = kpropd + +KRBDEPTH=../.. +.include <../../Makefile.inc> + +.PATH: ${KRBSRC}/slave + +CFLAGS += -I. -I${KRBSRC}/lib/kadm -I${KRBSRC}/lib/acl -I${KRBSRC}/lib/kdb +LDADD += ${LIBROKEN} -lkrb -lkadm -lkdb -ldes + +SRCS = kpropd.c + +MAN = ${PROG}.8 + +.include <bsd.prog.mk> diff --git a/kerberosIV/usr.bin/Makefile b/kerberosIV/usr.bin/Makefile new file mode 100644 index 00000000000..5cafd15d6d6 --- /dev/null +++ b/kerberosIV/usr.bin/Makefile @@ -0,0 +1,7 @@ +# $OpenBSD: Makefile,v 1.1 2000/02/25 16:35:28 hin Exp $ + +SUBDIR = afslog kauth kdestroy kinit klist + +# these are not built: kftp kstring2key + +.include <bsd.subdir.mk>
\ No newline at end of file diff --git a/kerberosIV/usr.bin/Makefile.inc b/kerberosIV/usr.bin/Makefile.inc new file mode 100644 index 00000000000..1e9e2f0ab94 --- /dev/null +++ b/kerberosIV/usr.bin/Makefile.inc @@ -0,0 +1,3 @@ +# $OpenBSD: Makefile.inc,v 1.1 2000/02/25 16:35:29 hin Exp $ + +BINDIR = /usr/bin
\ No newline at end of file diff --git a/kerberosIV/usr.bin/afslog/Makefile b/kerberosIV/usr.bin/afslog/Makefile new file mode 100644 index 00000000000..700327c50c3 --- /dev/null +++ b/kerberosIV/usr.bin/afslog/Makefile @@ -0,0 +1,15 @@ +# $OpenBSD: Makefile,v 1.1 2000/02/25 16:35:29 hin Exp $ + +PROG = afslog + +KRBDEPTH=../.. +.include <../../Makefile.inc> + +.PATH: ${KRBSRC}/appl/afsutil + +CFLAGS += -I. +LDADD += ${LIBROKEN} -lkrb -lkafs -ldes + +SRCS = aklog.c + +.include <bsd.prog.mk> diff --git a/kerberosIV/usr.bin/kauth/Makefile b/kerberosIV/usr.bin/kauth/Makefile new file mode 100644 index 00000000000..aae236f56dd --- /dev/null +++ b/kerberosIV/usr.bin/kauth/Makefile @@ -0,0 +1,15 @@ +# $OpenBSD: Makefile,v 1.1 2000/02/25 16:35:29 hin Exp $ + +PROG = kauth + +KRBDEPTH=../.. +.include <../../Makefile.inc> + +.PATH: ${KRBSRC}/appl/kauth + +CFLAGS += -I. +LDADD += ${LIBROKEN} -lkrb -lkafs -ldes + +SRCS = kauth.c rkinit.c encdata.c marshall.c + +.include <bsd.prog.mk> diff --git a/kerberosIV/usr.bin/kdestroy/Makefile b/kerberosIV/usr.bin/kdestroy/Makefile new file mode 100644 index 00000000000..45a558b8740 --- /dev/null +++ b/kerberosIV/usr.bin/kdestroy/Makefile @@ -0,0 +1,15 @@ +# $OpenBSD: Makefile,v 1.1 2000/02/25 16:35:29 hin Exp $ + +PROG = kdestroy + +KRBDEPTH=../.. +.include <../../Makefile.inc> + +.PATH: ${KRBSRC}/kuser + +CFLAGS += -I. +LDADD += ${LIBROKEN} -lkrb -lkafs + +SRCS = kdestroy.c + +.include <bsd.prog.mk> diff --git a/kerberosIV/usr.bin/kftp/Makefile b/kerberosIV/usr.bin/kftp/Makefile new file mode 100644 index 00000000000..8725a827b12 --- /dev/null +++ b/kerberosIV/usr.bin/kftp/Makefile @@ -0,0 +1,19 @@ +# $OpenBSD: Makefile,v 1.1 2000/02/25 16:35:30 hin Exp $ + +PROG = kftp + +KRBDEPTH=../.. +.include <../../Makefile.inc> + +.PATH: ${KRBSRC}/appl/ftp/common ${KRBSRC}/appl/ftp/ftp + +CFLAGS += -I. -I${KRBSRC}/appl/ftp/common +LDADD += ${LIBROKEN} -lkrb -lkafs -ldes -lreadline -lcurses + +SRCS = sockbuf.c buffer.c common.h cmds.c cmdtab.c extern.h \ + ftp.c ftp_locl.h ftp_var.h main.c pathnames.h ruserpass.c \ + domacro.c globals.c security.c security.h krb4.c kauth.c + +MAN = ftp.1 + +.include <bsd.prog.mk> diff --git a/kerberosIV/usr.bin/kinit/Makefile b/kerberosIV/usr.bin/kinit/Makefile new file mode 100644 index 00000000000..3e64dbcba94 --- /dev/null +++ b/kerberosIV/usr.bin/kinit/Makefile @@ -0,0 +1,15 @@ +# $OpenBSD: Makefile,v 1.1 2000/02/25 16:35:30 hin Exp $ + +PROG = kinit + +KRBDEPTH=../.. +.include <../../Makefile.inc> + +.PATH: ${KRBSRC}/kuser + +CFLAGS += -I. +LDADD += ${LIBROKEN} -lkrb -lkafs -ldes + +SRCS = kinit.c + +.include <bsd.prog.mk> diff --git a/kerberosIV/usr.bin/klist/Makefile b/kerberosIV/usr.bin/klist/Makefile new file mode 100644 index 00000000000..86554b9642f --- /dev/null +++ b/kerberosIV/usr.bin/klist/Makefile @@ -0,0 +1,15 @@ +# $OpenBSD: Makefile,v 1.1 2000/02/25 16:35:30 hin Exp $ + +PROG = klist + +KRBDEPTH=../.. +.include <../../Makefile.inc> + +.PATH: ${KRBSRC}/kuser + +CFLAGS += -I. +LDADD += ${LIBROKEN} -lkrb -lkafs + +SRCS = klist.c + +.include <bsd.prog.mk> diff --git a/kerberosIV/usr.bin/kstring2key/Makefile b/kerberosIV/usr.bin/kstring2key/Makefile new file mode 100644 index 00000000000..3e103340212 --- /dev/null +++ b/kerberosIV/usr.bin/kstring2key/Makefile @@ -0,0 +1,17 @@ +# $OpenBSD: Makefile,v 1.1 2000/02/25 16:35:31 hin Exp $ + +PROG = kstring2key + +KRBDEPTH=../.. +.include <../../Makefile.inc> + +.PATH: ${KRBSRC}/appl/afsutil + +CFLAGS += -I. +LDADD += ${LIBROKEN} -lkrb -lkafs -ldes + +SRCS = kstring2key.c + +NOMAN = + +.include <bsd.prog.mk> diff --git a/kerberosIV/usr.bin/pagsh/Makefile b/kerberosIV/usr.bin/pagsh/Makefile new file mode 100644 index 00000000000..4e6e17558f5 --- /dev/null +++ b/kerberosIV/usr.bin/pagsh/Makefile @@ -0,0 +1,15 @@ +# $OpenBSD: Makefile,v 1.1 2000/02/25 16:35:32 hin Exp $ + +PROG = pagsh + +KRBDEPTH=../.. +.include <../../Makefile.inc> + +.PATH: ${KRBSRC}/appl/afsutil + +CFLAGS += -I. +LDADD += ${LIBROKEN} -lkrb -lkafs + +SRCS = pagsh.c + +.include <bsd.prog.mk> diff --git a/kerberosIV/usr.sbin/Makefile b/kerberosIV/usr.sbin/Makefile new file mode 100644 index 00000000000..8090510bd3a --- /dev/null +++ b/kerberosIV/usr.sbin/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.1 2000/02/25 16:35:32 hin Exp $ + +SUBDIR = kadmin ext_srvtab kdb_destroy kdb_init kdb_util kdb_edit kstash \ + ksrvutil kprop + +.include <bsd.subdir.mk>
\ No newline at end of file diff --git a/kerberosIV/usr.sbin/Makefile.inc b/kerberosIV/usr.sbin/Makefile.inc new file mode 100644 index 00000000000..8181effcbfc --- /dev/null +++ b/kerberosIV/usr.sbin/Makefile.inc @@ -0,0 +1,3 @@ +# $OpenBSD: Makefile.inc,v 1.1 2000/02/25 16:35:32 hin Exp $ + +BINDIR = /usr/sbin
\ No newline at end of file diff --git a/kerberosIV/usr.sbin/ext_srvtab/Makefile b/kerberosIV/usr.sbin/ext_srvtab/Makefile new file mode 100644 index 00000000000..5a5361dad7f --- /dev/null +++ b/kerberosIV/usr.sbin/ext_srvtab/Makefile @@ -0,0 +1,17 @@ +# $OpenBSD: Makefile,v 1.1 2000/02/25 16:35:32 hin Exp $ + +PROG = ext_srvtab + +KRBDEPTH=../.. +.include <../../Makefile.inc> + +.PATH: ${KRBSRC}/admin + +CFLAGS += -I. -I${KRBSRC}/lib/kadm -I${KRBSRC}/lib/kdb +LDADD += ${LIBROKEN} -lkrb -lkafs -ldes -lkdb + +SRCS = ext_srvtab.c + +MAN = ${PROG}.8 + +.include <bsd.prog.mk> diff --git a/kerberosIV/usr.sbin/kadmin/Makefile b/kerberosIV/usr.sbin/kadmin/Makefile new file mode 100644 index 00000000000..8a9bbd0e7e8 --- /dev/null +++ b/kerberosIV/usr.sbin/kadmin/Makefile @@ -0,0 +1,17 @@ +# $OpenBSD: Makefile,v 1.1 2000/02/25 16:35:32 hin Exp $ + +PROG = kadmin + +KRBDEPTH=../.. +.include <../../Makefile.inc> + +.PATH: ${KRBSRC}/kadmin ${KRBSRC}/lib/sl + +CFLAGS += -I. -I${KRBSRC}/lib/kadm -I${KRBSRC}/lib/acl -I${KRBSRC}/lib/krb +LDADD += ${LIBROKEN} -lkrb -lkafs -ldes -lkadm -lcom_err -lreadline -lcurses + +SRCS = kadmin.c random_password.c new_pwd.c sl.c + +MAN = kadmin.8 + +.include <bsd.prog.mk> diff --git a/kerberosIV/usr.sbin/kdb_destroy/Makefile b/kerberosIV/usr.sbin/kdb_destroy/Makefile new file mode 100644 index 00000000000..24644d447dd --- /dev/null +++ b/kerberosIV/usr.sbin/kdb_destroy/Makefile @@ -0,0 +1,17 @@ +# $OpenBSD: Makefile,v 1.1 2000/02/25 16:35:33 hin Exp $ + +PROG = kdb_destroy + +KRBDEPTH=../.. +.include <../../Makefile.inc> + +.PATH: ${KRBSRC}/admin + +CFLAGS += -I. -I${KRBSRC}/lib/kadm -I${KRBSRC}/lib/kdb +LDADD += ${LIBROKEN} -lkrb -lkafs -ldes -lkdb + +SRCS = kdb_destroy.c + +MAN = ${PROG}.8 + +.include <bsd.prog.mk> diff --git a/kerberosIV/usr.sbin/kdb_edit/Makefile b/kerberosIV/usr.sbin/kdb_edit/Makefile new file mode 100644 index 00000000000..609c7c3239b --- /dev/null +++ b/kerberosIV/usr.sbin/kdb_edit/Makefile @@ -0,0 +1,17 @@ +# $OpenBSD: Makefile,v 1.1 2000/02/25 16:35:33 hin Exp $ + +PROG = kdb_edit + +KRBDEPTH=../.. +.include <../../Makefile.inc> + +.PATH: ${KRBSRC}/admin + +CFLAGS += -I. -I${KRBSRC}/lib/kadm -I${KRBSRC}/lib/kdb +LDADD += ${LIBROKEN} -lkrb -lkafs -ldes -lkdb + +SRCS = kdb_edit.c + +MAN = ${PROG}.8 + +.include <bsd.prog.mk> diff --git a/kerberosIV/usr.sbin/kdb_init/Makefile b/kerberosIV/usr.sbin/kdb_init/Makefile new file mode 100644 index 00000000000..69a03452356 --- /dev/null +++ b/kerberosIV/usr.sbin/kdb_init/Makefile @@ -0,0 +1,17 @@ +# $OpenBSD: Makefile,v 1.1 2000/02/25 16:35:34 hin Exp $ + +PROG = kdb_init + +KRBDEPTH=../.. +.include <../../Makefile.inc> + +.PATH: ${KRBSRC}/admin + +CFLAGS += -I. -I${KRBSRC}/lib/kadm -I${KRBSRC}/lib/kdb +LDADD += ${LIBROKEN} -lkrb -lkafs -ldes -lkdb + +SRCS = kdb_init.c + +MAN = ${PROG}.8 + +.include <bsd.prog.mk> diff --git a/kerberosIV/usr.sbin/kdb_util/Makefile b/kerberosIV/usr.sbin/kdb_util/Makefile new file mode 100644 index 00000000000..0d67995594b --- /dev/null +++ b/kerberosIV/usr.sbin/kdb_util/Makefile @@ -0,0 +1,17 @@ +# $OpenBSD: Makefile,v 1.1 2000/02/25 16:35:34 hin Exp $ + +PROG = kdb_util + +KRBDEPTH=../.. +.include <../../Makefile.inc> + +.PATH: ${KRBSRC}/admin + +CFLAGS += -I. -I${KRBSRC}/lib/kadm -I${KRBSRC}/lib/kdb +LDADD += ${LIBROKEN} -lkrb -lkafs -ldes -lkdb + +SRCS = kdb_util.c + +MAN = ${PROG}.8 + +.include <bsd.prog.mk> diff --git a/kerberosIV/usr.sbin/kprop/Makefile b/kerberosIV/usr.sbin/kprop/Makefile new file mode 100644 index 00000000000..4a5133d7019 --- /dev/null +++ b/kerberosIV/usr.sbin/kprop/Makefile @@ -0,0 +1,17 @@ +# $OpenBSD: Makefile,v 1.1 2000/02/25 16:35:34 hin Exp $ + +PROG = kprop + +KRBDEPTH=../.. +.include <../../Makefile.inc> + +.PATH: ${KRBSRC}/slave ${KRBSRC}/lib/sl + +CFLAGS += -I. -I${KRBSRC}/lib/kadm -I${KRBSRC}/lib/krb -I${KRBSRC}/lib/kdb +LDADD += ${LIBROKEN} -lkrb -lkafs -ldes -lkadm -lcom_err -lkdb -lacl + +SRCS = kprop.c + +MAN = ${PROG}.8 + +.include <bsd.prog.mk> diff --git a/kerberosIV/usr.sbin/ksrvutil/Makefile b/kerberosIV/usr.sbin/ksrvutil/Makefile new file mode 100644 index 00000000000..859aed1d63b --- /dev/null +++ b/kerberosIV/usr.sbin/ksrvutil/Makefile @@ -0,0 +1,17 @@ +# $OpenBSD: Makefile,v 1.1 2000/02/25 16:35:35 hin Exp $ + +PROG = ksrvutil + +KRBDEPTH=../.. +.include <../../Makefile.inc> + +.PATH: ${KRBSRC}/kadmin + +CFLAGS += -I. -I${KRBSRC}/lib/kadm -I${KRBSRC}/lib/krb +LDADD += ${LIBROKEN} -lkrb -lkafs -ldes -lkdb -lkadm -lcom_err + +SRCS = ksrvutil.c ksrvutil_get.c + +MAN = ${PROG}.8 + +.include <bsd.prog.mk> diff --git a/kerberosIV/usr.sbin/kstash/Makefile b/kerberosIV/usr.sbin/kstash/Makefile new file mode 100644 index 00000000000..ccc341a4b8e --- /dev/null +++ b/kerberosIV/usr.sbin/kstash/Makefile @@ -0,0 +1,17 @@ +# $OpenBSD: Makefile,v 1.1 2000/02/25 16:35:35 hin Exp $ + +PROG = kstash + +KRBDEPTH=../.. +.include <../../Makefile.inc> + +.PATH: ${KRBSRC}/admin + +CFLAGS += -I. -I${KRBSRC}/lib/kadm -I${KRBSRC}/lib/kdb +LDADD += ${LIBROKEN} -lkrb -lkafs -ldes -lkdb + +SRCS = kstash.c + +MAN = ${PROG}.8 + +.include <bsd.prog.mk> |