diff options
author | Hans Insulander <hin@cvs.openbsd.org> | 2003-05-14 23:48:21 +0000 |
---|---|---|
committer | Hans Insulander <hin@cvs.openbsd.org> | 2003-05-14 23:48:21 +0000 |
commit | 8c3c6c71c2b8d93cf283abe8b468d66ca5a61961 (patch) | |
tree | 2015bd8500c0589454bca32a9d4872c902170e5a /lib | |
parent | c1e46b36af9a1c7488130a5e81b91e46bd23cb42 (diff) |
Preparing to move kerberos libraries to src/lib
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libasn1/Makefile | 8 | ||||
-rw-r--r-- | lib/libasn1/shlib_version | 2 | ||||
-rw-r--r-- | lib/libgssapi/Makefile | 59 | ||||
-rw-r--r-- | lib/libgssapi/shlib_version | 2 | ||||
-rw-r--r-- | lib/libhdb/Makefile | 10 | ||||
-rw-r--r-- | lib/libkadm5clnt/Makefile | 46 | ||||
-rw-r--r-- | lib/libkadm5srv/Makefile | 56 | ||||
-rw-r--r-- | lib/libkafs/Makefile | 7 | ||||
-rw-r--r-- | lib/libkafs/dummy.c | 32 | ||||
-rw-r--r-- | lib/libkafs/shlib_version | 2 |
10 files changed, 224 insertions, 0 deletions
diff --git a/lib/libasn1/Makefile b/lib/libasn1/Makefile new file mode 100644 index 00000000000..6244b1e6deb --- /dev/null +++ b/lib/libasn1/Makefile @@ -0,0 +1,8 @@ +# $OpenBSD: Makefile,v 1.1 2003/05/14 23:48:20 hin Exp $ + +.PATH: ${.CURDIR}/../libkafs +LIB = asn1 +SRCS= dummy.c +MAN= + +.include <bsd.lib.mk> diff --git a/lib/libasn1/shlib_version b/lib/libasn1/shlib_version new file mode 100644 index 00000000000..3f0196ebf4a --- /dev/null +++ b/lib/libasn1/shlib_version @@ -0,0 +1,2 @@ +major=3 +minor=1 diff --git a/lib/libgssapi/Makefile b/lib/libgssapi/Makefile new file mode 100644 index 00000000000..4f088e275f3 --- /dev/null +++ b/lib/libgssapi/Makefile @@ -0,0 +1,59 @@ +# $OpenBSD: Makefile,v 1.1 2003/05/14 23:48:20 hin Exp $ + +KRB5DIR = ${.CURDIR}/../../kerberosV +.include <${.CURDIR}/../libkrb5/Makefile.common.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 \ + compat.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/lib/libgssapi/shlib_version b/lib/libgssapi/shlib_version new file mode 100644 index 00000000000..b52599a164f --- /dev/null +++ b/lib/libgssapi/shlib_version @@ -0,0 +1,2 @@ +major=2 +minor=0 diff --git a/lib/libhdb/Makefile b/lib/libhdb/Makefile new file mode 100644 index 00000000000..8da30ca40ae --- /dev/null +++ b/lib/libhdb/Makefile @@ -0,0 +1,10 @@ +# $OpenBSD: Makefile,v 1.1 2003/05/14 23:48:20 hin Exp $ + +.PATH: ${.CURDIR}/../libkafs +LIB = hdb +SRCS = dummy.c +NOPIC= +NOPROFILE= +NOSHARED= + +.include <bsd.lib.mk> diff --git a/lib/libkadm5clnt/Makefile b/lib/libkadm5clnt/Makefile new file mode 100644 index 00000000000..853ce58f437 --- /dev/null +++ b/lib/libkadm5clnt/Makefile @@ -0,0 +1,46 @@ +# $OpenBSD: Makefile,v 1.1 2003/05/14 23:48:20 hin Exp $ + +KRB5DIR = ${.CURDIR}/../../kerberosV +.include <${.CURDIR}/../libkrb5/Makefile.common.inc> + +LIB= kadm5clnt + +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 \ + client_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. + +CLEANFILES+=kadm5_err.[ch] + +kadm5_err.c kadm5_err.h: ${KRB5SRC}/lib/kadm5/kadm5_err.et + compile_et ${KRB5SRC}/lib/kadm5/kadm5_err.et + +.include <bsd.lib.mk> diff --git a/lib/libkadm5srv/Makefile b/lib/libkadm5srv/Makefile new file mode 100644 index 00000000000..5909f9f5874 --- /dev/null +++ b/lib/libkadm5srv/Makefile @@ -0,0 +1,56 @@ +# $OpenBSD: Makefile,v 1.1 2003/05/14 23:48:20 hin Exp $ + +KRB5DIR = ${.CURDIR}/../../kerberosV +.include <${.CURDIR}/../libkrb5/Makefile.common.inc> + +LIB= kadm5srv + +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. + +CLEANFILES+=kadm5_err.[ch] + +kadm5_err.c kadm5_err.h: ${KRB5SRC}/lib/kadm5/kadm5_err.et + compile_et ${KRB5SRC}/lib/kadm5/kadm5_err.et + +.include <bsd.lib.mk> diff --git a/lib/libkafs/Makefile b/lib/libkafs/Makefile new file mode 100644 index 00000000000..79cf598124b --- /dev/null +++ b/lib/libkafs/Makefile @@ -0,0 +1,7 @@ +# $OpenBSD: Makefile,v 1.1 2003/05/14 23:48:20 hin Exp $ + +LIB = kafs +SRCS= dummy.c +MAN= + +.include <bsd.lib.mk> diff --git a/lib/libkafs/dummy.c b/lib/libkafs/dummy.c new file mode 100644 index 00000000000..379488dc344 --- /dev/null +++ b/lib/libkafs/dummy.c @@ -0,0 +1,32 @@ +/* $Id: dummy.c,v 1.1 2003/05/14 23:48:20 hin Exp $ */ + +/*- + * Copyright (c) 2003 Hans Insulander <hin@openbsd.org>. + * 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. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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. + */ + +/* + * This file has been audited and found to contain no bugs. + */ + diff --git a/lib/libkafs/shlib_version b/lib/libkafs/shlib_version new file mode 100644 index 00000000000..56246d02b24 --- /dev/null +++ b/lib/libkafs/shlib_version @@ -0,0 +1,2 @@ +major=12 +minor=0 |