From 3bec76b9db0fb24636ae0f35df5d5cad78def5a1 Mon Sep 17 00:00:00 2001 From: Magnus Holmberg Date: Fri, 16 May 2003 18:45:44 +0000 Subject: Bye, bye, kerberosIV; ok hin@ --- kerberosIV/lib/Makefile | 9 -- kerberosIV/lib/Makefile.inc | 13 --- kerberosIV/lib/acl/Makefile | 22 ---- kerberosIV/lib/acl/shlib_version | 2 - kerberosIV/lib/kadm/Makefile | 29 ------ kerberosIV/lib/kadm/shlib_version | 2 - kerberosIV/lib/kdb/Makefile | 21 ---- kerberosIV/lib/kdb/shlib_version | 2 - kerberosIV/lib/krb/Makefile | 131 ------------------------ kerberosIV/lib/krb/shlib_version | 2 - kerberosIV/lib/roken/Makefile | 58 ----------- kerberosIV/lib/roken/print_version.h | 7 -- kerberosIV/lib/roken/roken.h | 193 ----------------------------------- kerberosIV/lib/sl/Makefile | 16 --- 14 files changed, 507 deletions(-) delete mode 100644 kerberosIV/lib/Makefile delete mode 100644 kerberosIV/lib/Makefile.inc delete mode 100644 kerberosIV/lib/acl/Makefile delete mode 100644 kerberosIV/lib/acl/shlib_version delete mode 100644 kerberosIV/lib/kadm/Makefile delete mode 100644 kerberosIV/lib/kadm/shlib_version delete mode 100644 kerberosIV/lib/kdb/Makefile delete mode 100644 kerberosIV/lib/kdb/shlib_version delete mode 100644 kerberosIV/lib/krb/Makefile delete mode 100644 kerberosIV/lib/krb/shlib_version delete mode 100644 kerberosIV/lib/roken/Makefile delete mode 100644 kerberosIV/lib/roken/print_version.h delete mode 100644 kerberosIV/lib/roken/roken.h delete mode 100644 kerberosIV/lib/sl/Makefile (limited to 'kerberosIV/lib') diff --git a/kerberosIV/lib/Makefile b/kerberosIV/lib/Makefile deleted file mode 100644 index 09d985b0b52..00000000000 --- a/kerberosIV/lib/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -# $OpenBSD: Makefile,v 1.3 2002/06/10 18:03:08 hin Exp $ - -.if !make(install) -SUBDIR = sl -.endif - -SUBDIR += krb kadm kdb acl - -.include \ No newline at end of file diff --git a/kerberosIV/lib/Makefile.inc b/kerberosIV/lib/Makefile.inc deleted file mode 100644 index c042e856f6f..00000000000 --- a/kerberosIV/lib/Makefile.inc +++ /dev/null @@ -1,13 +0,0 @@ -# $OpenBSD: Makefile.inc,v 1.3 2002/04/18 22:12:00 espie Exp $ - -.if defined(INCLUDE_FILES) -includes: - ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \ - ${DESTDIR}/usr/include/kerberosIV - @-for i in ${INCLUDE_FILES}; do \ - echo "installing `basename $$i`..." ;\ - cmp -s $$i ${DESTDIR}/usr/include/kerberosIV/`basename $$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 deleted file mode 100644 index ce517914e90..00000000000 --- a/kerberosIV/lib/acl/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -# $OpenBSD: Makefile,v 1.3 2001/01/09 02:41:17 angelos 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 - -MAN= acl_check.3 -MLINKS= acl_check.3 acl_canonicalize_principal.3 \ - acl_check.3 acl_exact_match.3 \ - acl_check.3 acl_add.3 acl_check.3 acl_delete.3 \ - acl_check.3 acl_initialize.3 - -.include diff --git a/kerberosIV/lib/acl/shlib_version b/kerberosIV/lib/acl/shlib_version deleted file mode 100644 index 9c1551636c5..00000000000 --- a/kerberosIV/lib/acl/shlib_version +++ /dev/null @@ -1,2 +0,0 @@ -major=6 -minor=0 diff --git a/kerberosIV/lib/kadm/Makefile b/kerberosIV/lib/kadm/Makefile deleted file mode 100644 index 89f1744ab62..00000000000 --- a/kerberosIV/lib/kadm/Makefile +++ /dev/null @@ -1,29 +0,0 @@ -# $OpenBSD: Makefile,v 1.2 2001/01/09 02:41:17 angelos 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 diff --git a/kerberosIV/lib/kadm/shlib_version b/kerberosIV/lib/kadm/shlib_version deleted file mode 100644 index d0f0988b418..00000000000 --- a/kerberosIV/lib/kadm/shlib_version +++ /dev/null @@ -1,2 +0,0 @@ -major=8 -minor=0 diff --git a/kerberosIV/lib/kdb/Makefile b/kerberosIV/lib/kdb/Makefile deleted file mode 100644 index bdfa5c5e8f2..00000000000 --- a/kerberosIV/lib/kdb/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# $OpenBSD: Makefile,v 1.2 2001/01/09 02:41:17 angelos 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 diff --git a/kerberosIV/lib/kdb/shlib_version b/kerberosIV/lib/kdb/shlib_version deleted file mode 100644 index 5b844bbf422..00000000000 --- a/kerberosIV/lib/kdb/shlib_version +++ /dev/null @@ -1,2 +0,0 @@ -major=7 -minor=0 diff --git a/kerberosIV/lib/krb/Makefile b/kerberosIV/lib/krb/Makefile deleted file mode 100644 index 509a5e431dc..00000000000 --- a/kerberosIV/lib/krb/Makefile +++ /dev/null @@ -1,131 +0,0 @@ -# $OpenBSD: Makefile,v 1.9 2002/06/09 19:05:40 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 ${KRB5SRC}/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 -MAN+= krb.conf.5 krb.realms.5 krb.extra.5 krb.equiv.5 -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 - -DPADD+= ${LIBCOM_ERR} -LDADD+= ${COM_ERR} -.include diff --git a/kerberosIV/lib/krb/shlib_version b/kerberosIV/lib/krb/shlib_version deleted file mode 100644 index f461c533903..00000000000 --- a/kerberosIV/lib/krb/shlib_version +++ /dev/null @@ -1,2 +0,0 @@ -major=11 -minor=0 diff --git a/kerberosIV/lib/roken/Makefile b/kerberosIV/lib/roken/Makefile deleted file mode 100644 index 6099079b44d..00000000000 --- a/kerberosIV/lib/roken/Makefile +++ /dev/null @@ -1,58 +0,0 @@ -# $OpenBSD: Makefile,v 1.7 2002/06/08 21:49:49 hin Exp $ - -LIB = roken - -NOPIC= -NOPROFILE= - -KRBDEPTH=../.. -.include "../../Makefile.inc" - -.PATH: ${KRBSRC}/lib/roken - -CFLAGS += -I. - -SRCS= base64.c \ - concat.c \ - copyhostent.c \ - emalloc.c \ - eread.c \ - erealloc.c \ - estrdup.c \ - ewrite.c \ - freehostent.c \ - get_default_username.c \ - get_window_size.c \ - getarg.c \ - getipnodebyname.c \ - getnameinfo_verified.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 \ - resolve.c \ - roken_gethostby.c \ - simple_exec.c \ - tm2time.c \ - verify.c \ - strlwr.c \ - strndup.c \ - strnlen.c \ - strupr.c \ - print_version.c \ - socket.c \ - strcollect.c \ - warnerr.c - -# These files have been omitted from kth-krb: -# 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 diff --git a/kerberosIV/lib/roken/print_version.h b/kerberosIV/lib/roken/print_version.h deleted file mode 100644 index f63af704214..00000000000 --- a/kerberosIV/lib/roken/print_version.h +++ /dev/null @@ -1,7 +0,0 @@ -/* $OpenBSD: print_version.h,v 1.5 2001/05/11 14:06:41 hin Exp $ */ - -#include - -#define KRB4_VERSION PACKAGE "-" VERSION - -#define VERSIONLIST { KRB4_VERSION } diff --git a/kerberosIV/lib/roken/roken.h b/kerberosIV/lib/roken/roken.h deleted file mode 100644 index ac281454f5a..00000000000 --- a/kerberosIV/lib/roken/roken.h +++ /dev/null @@ -1,193 +0,0 @@ -/* 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 -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include - - -#define ROKEN_LIB_FUNCTION - -#include - - - - - - - - - - -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 -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 deleted file mode 100644 index 03b2119efe3..00000000000 --- a/kerberosIV/lib/sl/Makefile +++ /dev/null @@ -1,16 +0,0 @@ -# $OpenBSD: Makefile,v 1.2 2001/01/09 02:41:18 angelos Exp $ - -LIB = sl - -KRBDEPTH=../.. -.include "../../Makefile.inc" - -.PATH: ${KRBSRC}/lib/sl - -NOPIC= -NOSHARED= -NOPROFILE= - -SRCS= sl.c - -.include -- cgit v1.2.3