wmi-1.3.16 from opsview.com
This commit is contained in:
Executable
+55
@@ -0,0 +1,55 @@
|
||||
#!/usr/bin/perl
|
||||
# Generate make dependency rules for asn1 files
|
||||
# Jelmer Vernooij <jelmer@samba.org> 2005
|
||||
# GPL
|
||||
|
||||
use File::Basename;
|
||||
|
||||
my $file = shift;
|
||||
my $prefix = shift;
|
||||
my $options = join(' ', @ARGV);
|
||||
my $x_file;
|
||||
my @x_files = ();
|
||||
my $c_file;
|
||||
my @c_files = ();
|
||||
if (not defined ($prefix)) { $prefix = "asn1"; }
|
||||
|
||||
$dirname = dirname($file);
|
||||
$basename = basename($file);
|
||||
if (not defined $options) {
|
||||
$options = "";
|
||||
}
|
||||
|
||||
my $header = "$dirname/$prefix.h";
|
||||
|
||||
print "$header: $file bin/asn1_compile\n";
|
||||
print "\t\@echo \"Compiling ASN1 file $file\"\n";
|
||||
print "\t\@startdir=`pwd` && cd $dirname && " . ' $$startdir/bin/asn1_compile ' . "$options $basename $prefix\n\n";
|
||||
|
||||
open(IN,$file) or die("Can't open $file: $!");
|
||||
foreach(<IN>) {
|
||||
if (/^([A-Za-z0-9_-]+)[ \t]*::= /) {
|
||||
my $output = $1;
|
||||
$output =~ s/-/_/g;
|
||||
$c_file = "$dirname/asn1_$output.c";
|
||||
$x_file = "$dirname/asn1_$output.x";
|
||||
print "$x_file: $header\n";
|
||||
print "$c_file: $dirname/asn1_$output.x\n";
|
||||
print "\t\@cp $x_file $c_file\n\n";
|
||||
push @x_files, $x_file;
|
||||
push @c_files, $c_file;
|
||||
}
|
||||
}
|
||||
close(IN);
|
||||
print "clean:: \n";
|
||||
print "\t\@echo \"Deleting ASN1 output files generated from $file\"";
|
||||
print "\n\t\@rm -f $header";
|
||||
foreach $c_file (@c_files) {
|
||||
print "\n\t\@rm -f $c_file";
|
||||
}
|
||||
foreach $x_file (@x_files) {
|
||||
print "\n\t\@rm -f $x_file";
|
||||
}
|
||||
print "\n\t\@rm -f $dirname/$prefix\_files";
|
||||
print "\n\t\@rm -f $dirname/$prefix\.h";
|
||||
print "\n\n";
|
||||
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
this is a replacement config.h for building the heimdal parts of the
|
||||
Samba source tree
|
||||
*/
|
||||
|
||||
#ifndef HAVE_HEIMDAL_CONFIG_H
|
||||
#define HAVE_HEIMDAL_CONFIG_H
|
||||
|
||||
#define RCSID(msg)
|
||||
#define KRB5
|
||||
|
||||
#include "include/config.h"
|
||||
#include "lib/replace/replace.h"
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,280 @@
|
||||
m4_define([upcase],`echo $1 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`)dnl
|
||||
|
||||
dnl love_FIND_FUNC(func, includes, arguments)
|
||||
dnl kind of like AC_CHECK_FUNC, but with headerfiles
|
||||
AC_DEFUN([love_FIND_FUNC], [
|
||||
|
||||
AC_MSG_CHECKING([for $1])
|
||||
AC_CACHE_VAL(ac_cv_love_func_$1,
|
||||
[
|
||||
AC_LINK_IFELSE([AC_LANG_PROGRAM([[$2]],[[$1($3)]])],
|
||||
[eval "ac_cv_love_func_$1=yes"],[eval "ac_cv_love_func_$1=no"])])
|
||||
|
||||
eval "ac_res=\$ac_cv_love_func_$1"
|
||||
|
||||
if false; then
|
||||
AC_CHECK_FUNCS($1)
|
||||
fi
|
||||
# $1
|
||||
eval "ac_tr_func=HAVE_[]upcase($1)"
|
||||
|
||||
case "$ac_res" in
|
||||
yes)
|
||||
AC_DEFINE_UNQUOTED($ac_tr_func)
|
||||
AC_MSG_RESULT([yes])
|
||||
;;
|
||||
no)
|
||||
AC_MSG_RESULT([no])
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
])
|
||||
|
||||
|
||||
|
||||
AC_CHECK_HEADERS([ \
|
||||
crypt.h \
|
||||
curses.h \
|
||||
err.h \
|
||||
errno.h \
|
||||
inttypes.h \
|
||||
netdb.h \
|
||||
signal.h \
|
||||
sys/bswap.h \
|
||||
sys/file.h \
|
||||
sys/stropts.h \
|
||||
sys/timeb.h \
|
||||
sys/times.h \
|
||||
sys/uio.h \
|
||||
sys/un.h \
|
||||
sys/utsname.h \
|
||||
term.h \
|
||||
termcap.h \
|
||||
time.h \
|
||||
timezone.h \
|
||||
ttyname.h \
|
||||
netinet/in.h \
|
||||
netinet/in6.h \
|
||||
netinet6/in6.h
|
||||
])
|
||||
|
||||
AC_CHECK_FUNCS([ \
|
||||
atexit \
|
||||
cgetent \
|
||||
getprogname \
|
||||
inet_ntop \
|
||||
inet_aton \
|
||||
inet_pton \
|
||||
gethostname \
|
||||
getnameinfo \
|
||||
iruserok \
|
||||
putenv \
|
||||
rcmd \
|
||||
readv \
|
||||
sendmsg \
|
||||
setitimer \
|
||||
socket \
|
||||
strlwr \
|
||||
strncasecmp \
|
||||
strptime \
|
||||
strsep \
|
||||
strsep_copy \
|
||||
strtok_r \
|
||||
strupr \
|
||||
swab \
|
||||
umask \
|
||||
uname \
|
||||
unsetenv \
|
||||
closefrom \
|
||||
hstrerror \
|
||||
err \
|
||||
errx \
|
||||
warnx \
|
||||
flock \
|
||||
getaddrinfo \
|
||||
freeaddrinfo \
|
||||
getipnodebyname \
|
||||
getipnodebyaddr \
|
||||
freehostent \
|
||||
writev
|
||||
])
|
||||
|
||||
love_FIND_FUNC(bswap16, [#ifdef HAVE_SYS_BSWAP_H
|
||||
#include <sys/bswap.h>
|
||||
#endif], 0)
|
||||
|
||||
love_FIND_FUNC(bswap32, [#ifdef HAVE_SYS_BSWAP_H
|
||||
#include <sys/bswap.h>
|
||||
#endif], 0)
|
||||
|
||||
|
||||
dnl AC_HAVE_TYPE(TYPE,INCLUDES)
|
||||
AC_DEFUN([AC_HAVE_TYPE], [
|
||||
AC_REQUIRE([AC_HEADER_STDC])
|
||||
cv=`echo "$1" | sed 'y%./+- %__p__%'`
|
||||
AC_MSG_CHECKING(for $1)
|
||||
AC_CACHE_VAL([ac_cv_type_$cv],
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
||||
AC_INCLUDES_DEFAULT
|
||||
$2]],
|
||||
[[$1 foo;]])],
|
||||
[eval "ac_cv_type_$cv=yes"],
|
||||
[eval "ac_cv_type_$cv=no"]))dnl
|
||||
ac_foo=`eval echo \\$ac_cv_type_$cv`
|
||||
AC_MSG_RESULT($ac_foo)
|
||||
if test "$ac_foo" = yes; then
|
||||
ac_tr_hdr=HAVE_`echo $1 | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
|
||||
if false; then
|
||||
AC_CHECK_TYPES($1)
|
||||
fi
|
||||
AC_DEFINE_UNQUOTED($ac_tr_hdr, 1, [Define if you have type `$1'])
|
||||
fi
|
||||
])
|
||||
|
||||
AC_HAVE_TYPE([sa_family_t],[#include <sys/socket.h>])
|
||||
AC_HAVE_TYPE([struct sockaddr], [#include <sys/socket.h>])
|
||||
AC_HAVE_TYPE([struct sockaddr_storage], [#include <sys/socket.h>])
|
||||
AC_HAVE_TYPE([struct addrinfo], [#include <netdb.h>])
|
||||
AC_HAVE_TYPE([struct ifaddrs], [#include <ifaddrs.h>])
|
||||
AC_HAVE_TYPE([socklen_t],[#include <sys/socket.h>])
|
||||
|
||||
|
||||
AC_DEFUN([AC_KRB_STRUCT_WINSIZE], [
|
||||
AC_MSG_CHECKING(for struct winsize)
|
||||
AC_CACHE_VAL(ac_cv_struct_winsize, [
|
||||
ac_cv_struct_winsize=no
|
||||
for i in sys/termios.h sys/ioctl.h; do
|
||||
AC_EGREP_HEADER(
|
||||
struct[[ ]]*winsize,dnl
|
||||
$i, ac_cv_struct_winsize=yes; break)dnl
|
||||
done
|
||||
])
|
||||
if test "$ac_cv_struct_winsize" = "yes"; then
|
||||
AC_DEFINE(HAVE_STRUCT_WINSIZE, 1, [define if struct winsize is declared in sys/termios.h])
|
||||
fi
|
||||
AC_MSG_RESULT($ac_cv_struct_winsize)
|
||||
AC_EGREP_HEADER(ws_xpixel, termios.h,
|
||||
AC_DEFINE(HAVE_WS_XPIXEL, 1, [define if struct winsize has ws_xpixel]))
|
||||
AC_EGREP_HEADER(ws_ypixel, termios.h,
|
||||
AC_DEFINE(HAVE_WS_YPIXEL, 1, [define if struct winsize has ws_ypixel]))
|
||||
])
|
||||
|
||||
AC_KRB_STRUCT_WINSIZE
|
||||
|
||||
AC_TYPE_SIGNAL
|
||||
if test "$ac_cv_type_signal" = "void" ; then
|
||||
AC_DEFINE(VOID_RETSIGTYPE, 1, [Define if signal handlers return void.])
|
||||
fi
|
||||
AC_SUBST(VOID_RETSIGTYPE)
|
||||
|
||||
|
||||
m4_include(heimdal/cf/check-var.m4)
|
||||
|
||||
rk_CHECK_VAR(h_errno,
|
||||
[#ifdef HAVE_SYS_TYPES_H
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
#ifdef HAVE_NETDB_H
|
||||
#include <netdb.h>
|
||||
#endif])
|
||||
|
||||
m4_include(heimdal/cf/find-func.m4)
|
||||
m4_include(heimdal/cf/find-func-no-libs.m4)
|
||||
m4_include(heimdal/cf/find-func-no-libs2.m4)
|
||||
m4_include(heimdal/cf/resolv.m4)
|
||||
|
||||
smb_save_LIBS=$LIBS
|
||||
RESOLV_LIBS=""
|
||||
LIBS=""
|
||||
|
||||
dnl This fills in the global LIBS...
|
||||
rk_RESOLV
|
||||
|
||||
dnl AC_CHECK_LIB_EXT(resolv, RESOLV_LIBS, res_search)
|
||||
SMB_ENABLE(RESOLV,YES)
|
||||
|
||||
if test x"$LIBS" != "x"; then
|
||||
RESOLV_LIBS=$LIBS
|
||||
fi
|
||||
|
||||
LIBS=$smb_save_LIBS
|
||||
|
||||
SMB_EXT_LIB(RESOLV,[${RESOLV_LIBS}],[${RESOLV_CFLAGS}],[${RESOLV_CPPFLAGS}],[${RESOLV_LDFLAGS}])
|
||||
|
||||
|
||||
# these are disabled unless heimdal is found below
|
||||
SMB_ENABLE(KERBEROS_LIB, NO)
|
||||
SMB_ENABLE(asn1_compile, NO)
|
||||
SMB_ENABLE(compile_et, NO)
|
||||
|
||||
AC_PROG_LEX
|
||||
AC_PROG_YACC
|
||||
|
||||
# Portions of heimdal kerberos are unpacked into source/heimdal
|
||||
# of the samba source tree.
|
||||
|
||||
# if we ever get to using a host kerberos, we might add conditionals here
|
||||
AC_DEFINE(HAVE_KRB5,1,[Whether kerberos is available])
|
||||
HAVE_KRB5=YES
|
||||
SMB_ENABLE(KERBEROS_LIB, YES)
|
||||
SMB_ENABLE(asn1_compile, YES)
|
||||
SMB_ENABLE(compile_et, YES)
|
||||
|
||||
# only add getaddrinfo and related functions if needed
|
||||
SMB_ENABLE(HEIMDAL_ROKEN_ADDRINFO, NO)
|
||||
if test t$ac_cv_func_getaddrinfo != tyes; then
|
||||
SMB_ENABLE(HEIMDAL_ROKEN_ADDRINFO, YES)
|
||||
fi
|
||||
|
||||
# only add inet_aton if needed
|
||||
SMB_ENABLE(HEIMDAL_ROKEN_INET_ATON, NO)
|
||||
if test t$ac_cv_func_inet_aton != tyes; then
|
||||
SMB_ENABLE(HEIMDAL_ROKEN_INET_ATON, YES)
|
||||
fi
|
||||
|
||||
if test x"$ac_cv_func_inet_pton" = x"no"; then
|
||||
AC_CHECK_LIB_EXT(nsl_s, NSL_LIBS, inet_pton)
|
||||
AC_CHECK_LIB_EXT(nsl, NSL_LIBS, inet_pton)
|
||||
SMB_ENABLE(NSL,YES)
|
||||
if test x"$ac_cv_lib_ext_nsl_s_inet_pton" != x"yes" &&
|
||||
test x"$ac_cv_lib_ext_nsl_inet_pton" != x"yes"; then
|
||||
AC_MSG_ERROR([no inet_pton() function available!])
|
||||
fi
|
||||
fi
|
||||
|
||||
SMB_EXT_LIB(NSL,[${NSL_LIBS}],[],[],[])
|
||||
|
||||
# only add getprogname if needed
|
||||
SMB_ENABLE(HEIMDAL_ROKEN_GETPROGNAME, NO)
|
||||
SMB_ENABLE(HEIMDAL_ROKEN_GETPROGNAME_H, NO)
|
||||
if test t$ac_cv_func_getprogname != tyes; then
|
||||
SMB_ENABLE(HEIMDAL_ROKEN_GETPROGNAME, YES)
|
||||
SMB_ENABLE(HEIMDAL_ROKEN_GETPROGNAME_H, YES)
|
||||
fi
|
||||
|
||||
# only add gai_strerror if needed
|
||||
SMB_ENABLE(HEIMDAL_ROKEN_GAI_STRERROR, NO)
|
||||
AC_CHECK_FUNC(gai_strerror)
|
||||
|
||||
if test t$ac_cv_func_gai_strerror != tyes; then
|
||||
AC_CHECK_LIB_EXT(nsl, GAI_LIBS, gai_strerror)
|
||||
AC_CHECK_LIB_EXT(socket, GAI_LIBS, gai_strerror)
|
||||
AC_CHECK_LIB_EXT(xnet, GAI_LIBS, gai_strerror)
|
||||
|
||||
dnl We can't just call AC_CHECK_FUNCS(gai_strerror) here, because the value
|
||||
dnl has been cached.
|
||||
if test x"$ac_cv_lib_ext_nsl_gai_strerror" = x"yes" ||
|
||||
test x"$ac_cv_lib_ext_socket_gai_strerror" = x"yes" ||
|
||||
test x"$ac_cv_lib_ext_xnet_gai_strerror" = x"yes"; then
|
||||
AC_DEFINE(HAVE_GAI_STRERROR,1,[Whether the system has gai_strerror()])
|
||||
SMB_ENABLE(GAI, YES)
|
||||
else
|
||||
SMB_ENABLE(HEIMDAL_ROKEN_GAI_STRERROR, YES)
|
||||
fi
|
||||
|
||||
else
|
||||
AC_DEFINE(HAVE_GAI_STRERROR,1,[Whether gai_strerror() is available])
|
||||
fi
|
||||
|
||||
SMB_EXT_LIB(GAI,[${GAI_LIBS}],[${GAI_CFLAGS}],[${GAI_CPPFLAGS}],[${GAI_LDFLAGS}])
|
||||
@@ -0,0 +1,597 @@
|
||||
#######################
|
||||
# Start SUBSYSTEM HEIMDAL_KDC
|
||||
[SUBSYSTEM::HEIMDAL_KDC]
|
||||
CFLAGS = -Iheimdal_build -Iheimdal/kdc
|
||||
OBJ_FILES = \
|
||||
../heimdal/kdc/default_config.o \
|
||||
../heimdal/kdc/kerberos5.o \
|
||||
../heimdal/kdc/krb5tgs.o \
|
||||
../heimdal/kdc/pkinit.o \
|
||||
../heimdal/kdc/log.o \
|
||||
../heimdal/kdc/misc.o \
|
||||
../heimdal/kdc/524.o \
|
||||
../heimdal/kdc/kerberos4.o \
|
||||
../heimdal/kdc/kaserver.o \
|
||||
../heimdal/kdc/digest.o \
|
||||
../heimdal/kdc/process.o \
|
||||
../heimdal/lib/asn1/asn1_DigestREQ.o \
|
||||
../heimdal/lib/asn1/asn1_DigestRequest.o \
|
||||
../heimdal/lib/asn1/asn1_DigestInit.o \
|
||||
../heimdal/lib/asn1/asn1_DigestReqInner.o \
|
||||
../heimdal/lib/asn1/asn1_DigestREP.o \
|
||||
../heimdal/lib/asn1/asn1_DigestRepInner.o \
|
||||
../heimdal/lib/asn1/asn1_DigestResponse.o \
|
||||
../heimdal/lib/asn1/asn1_DigestInitReply.o \
|
||||
../heimdal/lib/asn1/asn1_DigestError.o \
|
||||
../heimdal/lib/asn1/asn1_KRB5SignedPath.o
|
||||
PRIVATE_DEPENDENCIES = HEIMDAL_ROKEN HEIMDAL_KRB5 HEIMDAL_HDB HEIMDAL_ASN1 HEIMDAL_DES
|
||||
# End SUBSYSTEM HEIMDAL_KDC
|
||||
#######################
|
||||
|
||||
[SUBSYSTEM::HEIMDAL_HDB_KEYS]
|
||||
CFLAGS = -Iheimdal_build -Iheimdal/lib/hdb
|
||||
OBJ_FILES = \
|
||||
../heimdal/lib/hdb/keys.o \
|
||||
../heimdal/lib/hdb/asn1_Key.o \
|
||||
../heimdal/lib/hdb/asn1_Salt.o
|
||||
PRIVATE_DEPENDENCIES = HEIMDAL_ROKEN HEIMDAL_DES HEIMDAL_KRB5
|
||||
|
||||
#######################
|
||||
# Start SUBSYSTEM HEIMDAL_HDB
|
||||
[SUBSYSTEM::HEIMDAL_HDB]
|
||||
CFLAGS = -Iheimdal_build -Iheimdal/lib/hdb
|
||||
OBJ_FILES = \
|
||||
../heimdal/lib/hdb/db.o \
|
||||
../heimdal/lib/hdb/hdb.o \
|
||||
../heimdal/lib/hdb/ext.o \
|
||||
../heimdal/lib/hdb/keytab.o \
|
||||
../heimdal/lib/hdb/mkey.o \
|
||||
../heimdal/lib/hdb/ndbm.o \
|
||||
../heimdal/lib/hdb/asn1_Event.o \
|
||||
../heimdal/lib/hdb/asn1_GENERATION.o \
|
||||
../heimdal/lib/hdb/asn1_HDBFlags.o \
|
||||
../heimdal/lib/hdb/asn1_HDB_Ext_Aliases.o \
|
||||
../heimdal/lib/hdb/asn1_HDB_Ext_Constrained_delegation_acl.o \
|
||||
../heimdal/lib/hdb/asn1_HDB_Ext_Lan_Manager_OWF.o \
|
||||
../heimdal/lib/hdb/asn1_HDB_Ext_PKINIT_acl.o \
|
||||
../heimdal/lib/hdb/asn1_HDB_Ext_PKINIT_hash.o \
|
||||
../heimdal/lib/hdb/asn1_HDB_Ext_Password.o \
|
||||
../heimdal/lib/hdb/asn1_HDB_extension.o \
|
||||
../heimdal/lib/hdb/asn1_HDB_extensions.o \
|
||||
../heimdal/lib/hdb/asn1_hdb_entry.o \
|
||||
../heimdal/lib/hdb/hdb_err.o
|
||||
PRIVATE_DEPENDENCIES = HDB_LDB HEIMDAL_HDB_KEYS HEIMDAL_ROKEN
|
||||
# End SUBSYSTEM HEIMDAL_HDB
|
||||
#######################
|
||||
|
||||
#######################
|
||||
# Start SUBSYSTEM HEIMDAL_GSSAPI
|
||||
[SUBSYSTEM::HEIMDAL_GSSAPI]
|
||||
CFLAGS = -Iheimdal_build -Iheimdal/lib/gssapi/spnego -Iheimdal/lib/gssapi -Iheimdal/lib/gssapi/krb5 -I heimdal/lib/gssapi/mech
|
||||
OBJ_FILES = \
|
||||
../heimdal/lib/gssapi/mech/gss_krb5.o \
|
||||
../heimdal/lib/gssapi/mech/gss_mech_switch.o \
|
||||
../heimdal/lib/gssapi/mech/gss_process_context_token.o \
|
||||
../heimdal/lib/gssapi/mech/gss_buffer_set.o \
|
||||
../heimdal/lib/gssapi/mech/gss_add_cred.o \
|
||||
../heimdal/lib/gssapi/mech/gss_add_oid_set_member.o \
|
||||
../heimdal/lib/gssapi/mech/gss_compare_name.o \
|
||||
../heimdal/lib/gssapi/mech/gss_release_oid_set.o \
|
||||
../heimdal/lib/gssapi/mech/gss_create_empty_oid_set.o \
|
||||
../heimdal/lib/gssapi/mech/gss_decapsulate_token.o \
|
||||
../heimdal/lib/gssapi/mech/gss_inquire_cred_by_oid.o \
|
||||
../heimdal/lib/gssapi/mech/gss_canonicalize_name.o \
|
||||
../heimdal/lib/gssapi/mech/gss_inquire_sec_context_by_oid.o \
|
||||
../heimdal/lib/gssapi/mech/gss_inquire_names_for_mech.o \
|
||||
../heimdal/lib/gssapi/mech/gss_inquire_mechs_for_name.o \
|
||||
../heimdal/lib/gssapi/mech/gss_wrap_size_limit.o \
|
||||
../heimdal/lib/gssapi/mech/gss_names.o \
|
||||
../heimdal/lib/gssapi/mech/gss_verify.o \
|
||||
../heimdal/lib/gssapi/mech/gss_display_name.o \
|
||||
../heimdal/lib/gssapi/mech/gss_duplicate_oid.o \
|
||||
../heimdal/lib/gssapi/mech/gss_display_status.o \
|
||||
../heimdal/lib/gssapi/mech/gss_release_buffer.o \
|
||||
../heimdal/lib/gssapi/mech/gss_release_oid.o \
|
||||
../heimdal/lib/gssapi/mech/gss_test_oid_set_member.o \
|
||||
../heimdal/lib/gssapi/mech/gss_release_cred.o \
|
||||
../heimdal/lib/gssapi/mech/gss_set_sec_context_option.o \
|
||||
../heimdal/lib/gssapi/mech/gss_export_name.o \
|
||||
../heimdal/lib/gssapi/mech/gss_seal.o \
|
||||
../heimdal/lib/gssapi/mech/gss_acquire_cred.o \
|
||||
../heimdal/lib/gssapi/mech/gss_unseal.o \
|
||||
../heimdal/lib/gssapi/mech/gss_verify_mic.o \
|
||||
../heimdal/lib/gssapi/mech/gss_accept_sec_context.o \
|
||||
../heimdal/lib/gssapi/mech/gss_inquire_cred_by_mech.o \
|
||||
../heimdal/lib/gssapi/mech/gss_indicate_mechs.o \
|
||||
../heimdal/lib/gssapi/mech/gss_delete_sec_context.o \
|
||||
../heimdal/lib/gssapi/mech/gss_sign.o \
|
||||
../heimdal/lib/gssapi/mech/gss_utils.o \
|
||||
../heimdal/lib/gssapi/mech/gss_init_sec_context.o \
|
||||
../heimdal/lib/gssapi/mech/gss_oid_equal.o \
|
||||
../heimdal/lib/gssapi/mech/gss_context_time.o \
|
||||
../heimdal/lib/gssapi/mech/gss_encapsulate_token.o \
|
||||
../heimdal/lib/gssapi/mech/gss_get_mic.o \
|
||||
../heimdal/lib/gssapi/mech/gss_import_sec_context.o \
|
||||
../heimdal/lib/gssapi/mech/gss_inquire_cred.o \
|
||||
../heimdal/lib/gssapi/mech/gss_wrap.o \
|
||||
../heimdal/lib/gssapi/mech/gss_import_name.o \
|
||||
../heimdal/lib/gssapi/mech/gss_duplicate_name.o \
|
||||
../heimdal/lib/gssapi/mech/gss_unwrap.o \
|
||||
../heimdal/lib/gssapi/mech/gss_export_sec_context.o \
|
||||
../heimdal/lib/gssapi/mech/gss_inquire_context.o \
|
||||
../heimdal/lib/gssapi/mech/gss_release_name.o \
|
||||
../heimdal/lib/gssapi/mech/gss_set_cred_option.o \
|
||||
../heimdal/lib/gssapi/mech/asn1_GSSAPIContextToken.o \
|
||||
../heimdal/lib/gssapi/spnego/init_sec_context.o \
|
||||
../heimdal/lib/gssapi/spnego/external.o \
|
||||
../heimdal/lib/gssapi/spnego/compat.o \
|
||||
../heimdal/lib/gssapi/spnego/context_stubs.o \
|
||||
../heimdal/lib/gssapi/spnego/cred_stubs.o \
|
||||
../heimdal/lib/gssapi/spnego/accept_sec_context.o \
|
||||
../heimdal/lib/gssapi/spnego/asn1_ContextFlags.o \
|
||||
../heimdal/lib/gssapi/spnego/asn1_MechType.o \
|
||||
../heimdal/lib/gssapi/spnego/asn1_MechTypeList.o \
|
||||
../heimdal/lib/gssapi/spnego/asn1_NegHints.o \
|
||||
../heimdal/lib/gssapi/spnego/asn1_NegTokenInit.o \
|
||||
../heimdal/lib/gssapi/spnego/asn1_NegTokenResp.o \
|
||||
../heimdal/lib/gssapi/krb5/copy_ccache.o \
|
||||
../heimdal/lib/gssapi/krb5/delete_sec_context.o \
|
||||
../heimdal/lib/gssapi/krb5/init_sec_context.o \
|
||||
../heimdal/lib/gssapi/krb5/context_time.o \
|
||||
../heimdal/lib/gssapi/krb5/init.o \
|
||||
../heimdal/lib/gssapi/krb5/address_to_krb5addr.o \
|
||||
../heimdal/lib/gssapi/krb5/get_mic.o \
|
||||
../heimdal/lib/gssapi/krb5/inquire_context.o \
|
||||
../heimdal/lib/gssapi/krb5/add_cred.o \
|
||||
../heimdal/lib/gssapi/krb5/inquire_cred.o \
|
||||
../heimdal/lib/gssapi/krb5/inquire_cred_by_oid.o \
|
||||
../heimdal/lib/gssapi/krb5/inquire_cred_by_mech.o \
|
||||
../heimdal/lib/gssapi/krb5/inquire_mechs_for_name.o \
|
||||
../heimdal/lib/gssapi/krb5/inquire_names_for_mech.o \
|
||||
../heimdal/lib/gssapi/krb5/indicate_mechs.o \
|
||||
../heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.o \
|
||||
../heimdal/lib/gssapi/krb5/export_sec_context.o \
|
||||
../heimdal/lib/gssapi/krb5/import_sec_context.o \
|
||||
../heimdal/lib/gssapi/krb5/duplicate_name.o \
|
||||
../heimdal/lib/gssapi/krb5/import_name.o \
|
||||
../heimdal/lib/gssapi/krb5/compare_name.o \
|
||||
../heimdal/lib/gssapi/krb5/export_name.o \
|
||||
../heimdal/lib/gssapi/krb5/canonicalize_name.o \
|
||||
../heimdal/lib/gssapi/krb5/unwrap.o \
|
||||
../heimdal/lib/gssapi/krb5/wrap.o \
|
||||
../heimdal/lib/gssapi/krb5/release_name.o \
|
||||
../heimdal/lib/gssapi/krb5/cfx.o \
|
||||
../heimdal/lib/gssapi/krb5/add_oid_set_member.o \
|
||||
../heimdal/lib/gssapi/krb5/release_oid_set.o \
|
||||
../heimdal/lib/gssapi/krb5/create_emtpy_oid_set.o \
|
||||
../heimdal/lib/gssapi/krb5/8003.o \
|
||||
../heimdal/lib/gssapi/krb5/arcfour.o \
|
||||
../heimdal/lib/gssapi/krb5/encapsulate.o \
|
||||
../heimdal/lib/gssapi/krb5/display_name.o \
|
||||
../heimdal/lib/gssapi/krb5/sequence.o \
|
||||
../heimdal/lib/gssapi/krb5/display_status.o \
|
||||
../heimdal/lib/gssapi/krb5/release_buffer.o \
|
||||
../heimdal/lib/gssapi/krb5/test_oid_set_member.o \
|
||||
../heimdal/lib/gssapi/krb5/external.o \
|
||||
../heimdal/lib/gssapi/krb5/compat.o \
|
||||
../heimdal/lib/gssapi/krb5/acquire_cred.o \
|
||||
../heimdal/lib/gssapi/krb5/release_cred.o \
|
||||
../heimdal/lib/gssapi/krb5/set_cred_option.o \
|
||||
../heimdal/lib/gssapi/krb5/decapsulate.o \
|
||||
../heimdal/lib/gssapi/krb5/verify_mic.o \
|
||||
../heimdal/lib/gssapi/krb5/accept_sec_context.o \
|
||||
../heimdal/lib/gssapi/krb5/set_sec_context_option.o \
|
||||
../heimdal/lib/gssapi/krb5/process_context_token.o
|
||||
PRIVATE_DEPENDENCIES = HEIMDAL_KRB5 HEIMDAL_ROKEN HEIMDAL_DES HEIMDAL_ASN1 HEIMDAL_GLUE
|
||||
# End SUBSYSTEM HEIMDAL_GSSAPI
|
||||
#######################
|
||||
|
||||
#######################
|
||||
# Start SUBSYSTEM HEIMDAL_KRB5
|
||||
[SUBSYSTEM::HEIMDAL_KRB5]
|
||||
CFLAGS = -Iheimdal_build -Iheimdal/lib/krb5
|
||||
PRIVATE_DEPENDENCIES = HEIMDAL_ROKEN HEIMDAL_DES HEIMDAL_ASN1 HEIMDAL_GLUE
|
||||
OBJ_FILES = \
|
||||
../heimdal/lib/krb5/acache.o \
|
||||
../heimdal/lib/krb5/add_et_list.o \
|
||||
../heimdal/lib/krb5/addr_families.o \
|
||||
../heimdal/lib/krb5/appdefault.o \
|
||||
../heimdal/lib/krb5/asn1_glue.o \
|
||||
../heimdal/lib/krb5/auth_context.o \
|
||||
../heimdal/lib/krb5/build_ap_req.o \
|
||||
../heimdal/lib/krb5/build_auth.o \
|
||||
../heimdal/lib/krb5/cache.o \
|
||||
../heimdal/lib/krb5/changepw.o \
|
||||
../heimdal/lib/krb5/codec.o \
|
||||
../heimdal/lib/krb5/config_file.o \
|
||||
../heimdal/lib/krb5/config_file_netinfo.o \
|
||||
../heimdal/lib/krb5/constants.o \
|
||||
../heimdal/lib/krb5/context.o \
|
||||
../heimdal/lib/krb5/copy_host_realm.o \
|
||||
../heimdal/lib/krb5/crc.o \
|
||||
../heimdal/lib/krb5/creds.o \
|
||||
../heimdal/lib/krb5/crypto.o \
|
||||
../heimdal/lib/krb5/data.o \
|
||||
../heimdal/lib/krb5/eai_to_heim_errno.o \
|
||||
../heimdal/lib/krb5/error_string.o \
|
||||
../heimdal/lib/krb5/expand_hostname.o \
|
||||
../heimdal/lib/krb5/fcache.o \
|
||||
../heimdal/lib/krb5/free.o \
|
||||
../heimdal/lib/krb5/free_host_realm.o \
|
||||
../heimdal/lib/krb5/generate_seq_number.o \
|
||||
../heimdal/lib/krb5/generate_subkey.o \
|
||||
../heimdal/lib/krb5/get_cred.o \
|
||||
../heimdal/lib/krb5/get_default_principal.o \
|
||||
../heimdal/lib/krb5/get_default_realm.o \
|
||||
../heimdal/lib/krb5/get_for_creds.o \
|
||||
../heimdal/lib/krb5/get_host_realm.o \
|
||||
../heimdal/lib/krb5/get_in_tkt.o \
|
||||
../heimdal/lib/krb5/get_in_tkt_with_keytab.o \
|
||||
../heimdal/lib/krb5/get_port.o \
|
||||
../heimdal/lib/krb5/init_creds.o \
|
||||
../heimdal/lib/krb5/init_creds_pw.o \
|
||||
../heimdal/lib/krb5/kcm.o \
|
||||
../heimdal/lib/krb5/keyblock.o \
|
||||
../heimdal/lib/krb5/keytab.o \
|
||||
../heimdal/lib/krb5/keytab_any.o \
|
||||
../heimdal/lib/krb5/keytab_file.o \
|
||||
../heimdal/lib/krb5/keytab_memory.o \
|
||||
../heimdal/lib/krb5/keytab_keyfile.o \
|
||||
../heimdal/lib/krb5/keytab_krb4.o \
|
||||
../heimdal/lib/krb5/krbhst.o \
|
||||
../heimdal/lib/krb5/log.o \
|
||||
../heimdal/lib/krb5/mcache.o \
|
||||
../heimdal/lib/krb5/misc.o \
|
||||
../heimdal/lib/krb5/mk_error.o \
|
||||
../heimdal/lib/krb5/mk_priv.o \
|
||||
../heimdal/lib/krb5/mk_rep.o \
|
||||
../heimdal/lib/krb5/mk_req.o \
|
||||
../heimdal/lib/krb5/mk_req_ext.o \
|
||||
../heimdal/lib/krb5/mit_glue.o \
|
||||
../heimdal/lib/krb5/n-fold.o \
|
||||
../heimdal/lib/krb5/padata.o \
|
||||
../heimdal/lib/krb5/pkinit.o \
|
||||
../heimdal/lib/krb5/plugin.o \
|
||||
../heimdal/lib/krb5/principal.o \
|
||||
../heimdal/lib/krb5/rd_cred.o \
|
||||
../heimdal/lib/krb5/rd_error.o \
|
||||
../heimdal/lib/krb5/rd_priv.o \
|
||||
../heimdal/lib/krb5/rd_rep.o \
|
||||
../heimdal/lib/krb5/rd_req.o \
|
||||
../heimdal/lib/krb5/replay.o \
|
||||
../heimdal/lib/krb5/send_to_kdc.o \
|
||||
../heimdal/lib/krb5/set_default_realm.o \
|
||||
../heimdal/lib/krb5/store.o \
|
||||
../heimdal/lib/krb5/store_emem.o \
|
||||
../heimdal/lib/krb5/store_fd.o \
|
||||
../heimdal/lib/krb5/store_mem.o \
|
||||
../heimdal/lib/krb5/ticket.o \
|
||||
../heimdal/lib/krb5/time.o \
|
||||
../heimdal/lib/krb5/transited.o \
|
||||
../heimdal/lib/krb5/v4_glue.o \
|
||||
../heimdal/lib/krb5/version.o \
|
||||
../heimdal/lib/krb5/warn.o \
|
||||
../heimdal/lib/krb5/krb5_err.o \
|
||||
../heimdal/lib/krb5/heim_err.o \
|
||||
../heimdal/lib/krb5/k524_err.o
|
||||
# End SUBSYSTEM HEIMDAL_KRB5
|
||||
#######################
|
||||
|
||||
#######################
|
||||
# Start SUBSYSTEM HEIMDAL_ASN1
|
||||
[SUBSYSTEM::HEIMDAL_ASN1]
|
||||
CFLAGS = -Iheimdal_build -Iheimdal/lib/asn1
|
||||
OBJ_FILES = \
|
||||
../heimdal/lib/asn1/der_get.o \
|
||||
../heimdal/lib/asn1/der_put.o \
|
||||
../heimdal/lib/asn1/der_free.o \
|
||||
../heimdal/lib/asn1/der_format.o \
|
||||
../heimdal/lib/asn1/der_length.o \
|
||||
../heimdal/lib/asn1/der_copy.o \
|
||||
../heimdal/lib/asn1/der_cmp.o \
|
||||
../heimdal/lib/asn1/extra.o \
|
||||
../heimdal/lib/asn1/timegm.o \
|
||||
../heimdal/lib/asn1/asn1_AD_IF_RELEVANT.o \
|
||||
../heimdal/lib/asn1/asn1_APOptions.o \
|
||||
../heimdal/lib/asn1/asn1_AP_REP.o \
|
||||
../heimdal/lib/asn1/asn1_AP_REQ.o \
|
||||
../heimdal/lib/asn1/asn1_AS_REP.o \
|
||||
../heimdal/lib/asn1/asn1_AS_REQ.o \
|
||||
../heimdal/lib/asn1/asn1_Authenticator.o \
|
||||
../heimdal/lib/asn1/asn1_AuthorizationData.o \
|
||||
../heimdal/lib/asn1/asn1_AuthorizationDataElement.o \
|
||||
../heimdal/lib/asn1/asn1_CKSUMTYPE.o \
|
||||
../heimdal/lib/asn1/asn1_ChangePasswdDataMS.o \
|
||||
../heimdal/lib/asn1/asn1_Checksum.o \
|
||||
../heimdal/lib/asn1/asn1_ENCTYPE.o \
|
||||
../heimdal/lib/asn1/asn1_ETYPE_INFO.o \
|
||||
../heimdal/lib/asn1/asn1_ETYPE_INFO2.o \
|
||||
../heimdal/lib/asn1/asn1_ETYPE_INFO2_ENTRY.o \
|
||||
../heimdal/lib/asn1/asn1_ETYPE_INFO_ENTRY.o \
|
||||
../heimdal/lib/asn1/asn1_EncAPRepPart.o \
|
||||
../heimdal/lib/asn1/asn1_EncASRepPart.o \
|
||||
../heimdal/lib/asn1/asn1_EncKDCRepPart.o \
|
||||
../heimdal/lib/asn1/asn1_EncKrbCredPart.o \
|
||||
../heimdal/lib/asn1/asn1_EncKrbPrivPart.o \
|
||||
../heimdal/lib/asn1/asn1_EncTGSRepPart.o \
|
||||
../heimdal/lib/asn1/asn1_EncTicketPart.o \
|
||||
../heimdal/lib/asn1/asn1_EncryptedData.o \
|
||||
../heimdal/lib/asn1/asn1_EncryptionKey.o \
|
||||
../heimdal/lib/asn1/asn1_EtypeList.o \
|
||||
../heimdal/lib/asn1/asn1_HostAddress.o \
|
||||
../heimdal/lib/asn1/asn1_HostAddresses.o \
|
||||
../heimdal/lib/asn1/asn1_KDCOptions.o \
|
||||
../heimdal/lib/asn1/asn1_KDC_REP.o \
|
||||
../heimdal/lib/asn1/asn1_KDC_REQ.o \
|
||||
../heimdal/lib/asn1/asn1_KDC_REQ_BODY.o \
|
||||
../heimdal/lib/asn1/asn1_KRB_CRED.o \
|
||||
../heimdal/lib/asn1/asn1_KRB_ERROR.o \
|
||||
../heimdal/lib/asn1/asn1_KRB_PRIV.o \
|
||||
../heimdal/lib/asn1/asn1_KerberosString.o \
|
||||
../heimdal/lib/asn1/asn1_KerberosTime.o \
|
||||
../heimdal/lib/asn1/asn1_KrbCredInfo.o \
|
||||
../heimdal/lib/asn1/asn1_LR_TYPE.o \
|
||||
../heimdal/lib/asn1/asn1_LastReq.o \
|
||||
../heimdal/lib/asn1/asn1_MESSAGE_TYPE.o \
|
||||
../heimdal/lib/asn1/asn1_METHOD_DATA.o \
|
||||
../heimdal/lib/asn1/asn1_NAME_TYPE.o \
|
||||
../heimdal/lib/asn1/asn1_PADATA_TYPE.o \
|
||||
../heimdal/lib/asn1/asn1_PA_DATA.o \
|
||||
../heimdal/lib/asn1/asn1_PA_ENC_TS_ENC.o \
|
||||
../heimdal/lib/asn1/asn1_PA_PAC_REQUEST.o \
|
||||
../heimdal/lib/asn1/asn1_PA_S4U2Self.o \
|
||||
../heimdal/lib/asn1/asn1_Principal.o \
|
||||
../heimdal/lib/asn1/asn1_PrincipalName.o \
|
||||
../heimdal/lib/asn1/asn1_Realm.o \
|
||||
../heimdal/lib/asn1/asn1_TGS_REP.o \
|
||||
../heimdal/lib/asn1/asn1_TGS_REQ.o \
|
||||
../heimdal/lib/asn1/asn1_Ticket.o \
|
||||
../heimdal/lib/asn1/asn1_TicketFlags.o \
|
||||
../heimdal/lib/asn1/asn1_TransitedEncoding.o \
|
||||
../heimdal/lib/asn1/asn1_KRB5SignedPathData.o \
|
||||
../heimdal/lib/asn1/asn1_KRB5SignedPathPrincipals.o \
|
||||
../heimdal/lib/asn1/asn1_err.o \
|
||||
../heimdal/lib/asn1/asn1_krb5int32.o \
|
||||
../heimdal/lib/asn1/asn1_krb5uint32.o
|
||||
PRIVATE_DEPENDENCIES = HEIMDAL_ROKEN HEIMDAL_COM_ERR
|
||||
# End SUBSYSTEM HEIMDAL_KRB5
|
||||
#######################
|
||||
|
||||
#######################
|
||||
# Start SUBSYSTEM HEIMDAL_DES
|
||||
[SUBSYSTEM::HEIMDAL_DES]
|
||||
CFLAGS = -Iheimdal_build -Iheimdal/lib/des
|
||||
PRIVATE_DEPENDENCIES = HEIMDAL_ROKEN
|
||||
OBJ_FILES = \
|
||||
../heimdal/lib/des/aes.o \
|
||||
../heimdal/lib/des/des.o \
|
||||
../heimdal/lib/des/md2.o \
|
||||
../heimdal/lib/des/md4.o \
|
||||
../heimdal/lib/des/md5.o \
|
||||
../heimdal/lib/des/rc2.o \
|
||||
../heimdal/lib/des/rc4.o \
|
||||
../heimdal/lib/des/rijndael-alg-fst.o \
|
||||
../heimdal/lib/des/rnd_keys.o \
|
||||
../heimdal/lib/des/sha.o \
|
||||
../heimdal/lib/des/sha256.o \
|
||||
../heimdal/lib/des/ui.o \
|
||||
../heimdal/lib/des/evp.o \
|
||||
../heimdal/lib/des/pkcs5.o \
|
||||
../heimdal/lib/des/rand.o \
|
||||
../heimdal/lib/des/rand-unix.o \
|
||||
../heimdal/lib/des/hmac.o
|
||||
# End SUBSYSTEM HEIMDAL_DES
|
||||
#######################
|
||||
|
||||
#######################
|
||||
# Start SUBSYSTEM HEIMDAL_ROKEN_GAI_STRERROR
|
||||
[SUBSYSTEM::HEIMDAL_ROKEN_GAI_STRERROR]
|
||||
CFLAGS = -Iheimdal_build -Iheimdal/lib/roken -Ilib/socket_wrapper
|
||||
OBJ_FILES = ../heimdal/lib/roken/gai_strerror.o
|
||||
|
||||
[SUBSYSTEM::HEIMDAL_ROKEN_INET_ATON]
|
||||
CFLAGS = -Iheimdal_build -Iheimdal/lib/roken -Ilib/socket_wrapper
|
||||
OBJ_FILES = ../heimdal/lib/roken/inet_aton.o
|
||||
|
||||
[SUBSYSTEM::HEIMDAL_ROKEN_GETPROGNAME]
|
||||
CFLAGS = -Iheimdal_build -Iheimdal/lib/roken -Ilib/socket_wrapper
|
||||
OBJ_FILES = ../heimdal/lib/roken/getprogname.o
|
||||
|
||||
[SUBSYSTEM::HEIMDAL_ROKEN_GETPROGNAME_H]
|
||||
CFLAGS = -Iheimdal_build -Iheimdal/lib/roken -Ilib/socket_wrapper
|
||||
OBJ_FILES = ../heimdal/lib/roken/getprogname.ho
|
||||
|
||||
#######################
|
||||
# Start SUBSYSTEM HEIMDAL_ROKEN_ADDRINFO
|
||||
[SUBSYSTEM::HEIMDAL_ROKEN_ADDRINFO]
|
||||
CFLAGS = -Iheimdal_build -Iheimdal/lib/roken
|
||||
OBJ_FILES = \
|
||||
../heimdal/lib/roken/getaddrinfo.o \
|
||||
../heimdal/lib/roken/freeaddrinfo.o \
|
||||
../heimdal/lib/roken/getipnodebyaddr.o \
|
||||
../heimdal/lib/roken/getipnodebyname.o \
|
||||
../heimdal/lib/roken/freehostent.o \
|
||||
../heimdal/lib/roken/copyhostent.o \
|
||||
../heimdal/lib/roken/hostent_find_fqdn.o
|
||||
PRIVATE_DEPENDENCIES = EXT_SOCKET
|
||||
|
||||
#######################
|
||||
# Start SUBSYSTEM HEIMDAL_ROKEN
|
||||
[SUBSYSTEM::HEIMDAL_ROKEN]
|
||||
CFLAGS = -Iheimdal_build -Iheimdal/lib/roken -Ilib/socket_wrapper
|
||||
OBJ_FILES = \
|
||||
../heimdal/lib/roken/base64.o \
|
||||
../heimdal/lib/roken/hex.o \
|
||||
../heimdal/lib/roken/bswap.o \
|
||||
../heimdal/lib/roken/get_window_size.o \
|
||||
../heimdal/lib/roken/h_errno.o \
|
||||
../heimdal/lib/roken/issuid.o \
|
||||
../heimdal/lib/roken/net_read.o \
|
||||
../heimdal/lib/roken/net_write.o \
|
||||
../heimdal/lib/roken/socket.o \
|
||||
../heimdal/lib/roken/parse_time.o \
|
||||
../heimdal/lib/roken/parse_units.o \
|
||||
../heimdal/lib/roken/resolve.o \
|
||||
../heimdal/lib/roken/roken_gethostby.o \
|
||||
../heimdal/lib/roken/signal.o \
|
||||
../heimdal/lib/roken/vis.o \
|
||||
../heimdal/lib/roken/strlwr.o \
|
||||
../heimdal/lib/roken/strsep_copy.o \
|
||||
../heimdal/lib/roken/strsep.o \
|
||||
../heimdal/lib/roken/strupr.o \
|
||||
../heimdal/lib/roken/strpool.o \
|
||||
../heimdal/lib/roken/estrdup.o \
|
||||
replace.o
|
||||
PUBLIC_DEPENDENCIES = \
|
||||
HEIMDAL_ROKEN_ADDRINFO \
|
||||
HEIMDAL_ROKEN_GAI_STRERROR \
|
||||
HEIMDAL_ROKEN_INET_ATON \
|
||||
HEIMDAL_ROKEN_GETPROGNAME \
|
||||
GAI \
|
||||
NSL \
|
||||
RESOLV \
|
||||
EXT_SOCKET
|
||||
# End SUBSYSTEM HEIMDAL_ROKEN
|
||||
#######################
|
||||
|
||||
#######################
|
||||
# Start SUBSYSTEM HEIMDAL_GLUE
|
||||
[SUBSYSTEM::HEIMDAL_GLUE]
|
||||
CFLAGS = -Iheimdal_build -Iheimdal/lib/krb5 -Iheimdal/lib/asn1 -Iheimdal/lib/com_err
|
||||
OBJ_FILES = glue.o
|
||||
PUBLIC_DEPENDENCIES = LIBNETIF
|
||||
# End SUBSYSTEM HEIMDAL_GLUE
|
||||
#######################
|
||||
|
||||
#######################
|
||||
# Start SUBSYSTEM HEIMDAL_COM_ERR
|
||||
[SUBSYSTEM::HEIMDAL_COM_ERR]
|
||||
CFLAGS = -Iheimdal_build -Iheimdal/lib/com_err
|
||||
OBJ_FILES = \
|
||||
../heimdal/lib/com_err/com_err.o \
|
||||
../heimdal/lib/com_err/error.o
|
||||
PRIVATE_DEPENDENCIES = HEIMDAL_ROKEN
|
||||
# End SUBSYSTEM HEIMDAL_COM_ERR
|
||||
#######################
|
||||
|
||||
#######################
|
||||
# Start SUBSYSTEM HEIMDAL_ASN1_COMPILE_LEX
|
||||
[SUBSYSTEM::HEIMDAL_ASN1_COMPILE_LEX]
|
||||
CFLAGS = -Iheimdal_build -Iheimdal/lib/asn1 -Iheimdal/lib/roken -Ilib/socket_wrapper
|
||||
OBJ_FILES = ../heimdal/lib/asn1/lex.ho
|
||||
# End SUBSYSTEM HEIMDAL_ASN1_COMPILE_LEX
|
||||
#######################
|
||||
|
||||
#######################
|
||||
# Start BINARY asn1_compile
|
||||
[BINARY::asn1_compile]
|
||||
CFLAGS = -Iheimdal_build -Iheimdal/lib/roken
|
||||
USE_HOSTCC = YES
|
||||
OBJ_FILES = \
|
||||
../heimdal/lib/asn1/main.ho \
|
||||
../heimdal/lib/asn1/gen.ho \
|
||||
../heimdal/lib/asn1/gen_copy.ho \
|
||||
../heimdal/lib/asn1/gen_decode.ho \
|
||||
../heimdal/lib/asn1/gen_encode.ho \
|
||||
../heimdal/lib/asn1/gen_free.ho \
|
||||
../heimdal/lib/asn1/gen_glue.ho \
|
||||
../heimdal/lib/asn1/gen_length.ho \
|
||||
../heimdal/lib/asn1/gen_seq.ho \
|
||||
../heimdal/lib/asn1/hash.ho \
|
||||
../heimdal/lib/asn1/parse.ho \
|
||||
../heimdal/lib/roken/emalloc.ho \
|
||||
../heimdal/lib/roken/getarg.ho \
|
||||
../heimdal/lib/roken/setprogname.ho \
|
||||
../heimdal/lib/roken/strupr.ho \
|
||||
../heimdal/lib/roken/get_window_size.ho \
|
||||
../heimdal/lib/roken/estrdup.ho \
|
||||
../heimdal/lib/roken/ecalloc.ho \
|
||||
../heimdal/lib/asn1/symbol.ho \
|
||||
../heimdal/lib/vers/print_version.ho \
|
||||
replace.ho
|
||||
PRIVATE_DEPENDENCIES = HEIMDAL_ASN1_COMPILE_LEX HEIMDAL_ROKEN_GETPROGNAME_H
|
||||
# End BINARY asn1_compile
|
||||
#######################
|
||||
|
||||
#######################
|
||||
# Start SUBSYSTEM HEIMDAL_COM_ERR_COMPILE_LEX
|
||||
[SUBSYSTEM::HEIMDAL_COM_ERR_COMPILE_LEX]
|
||||
CFLAGS = -Iheimdal_build -Iheimdal/lib/com_err -Iheimdal/lib/roken -Ilib/socket_wrapper
|
||||
OBJ_FILES = ../heimdal/lib/com_err/lex.ho
|
||||
# End SUBSYSTEM HEIMDAL_COM_ERR_COMPILE_LEX
|
||||
#######################
|
||||
|
||||
#######################
|
||||
# Start BINARY compile_et
|
||||
[BINARY::compile_et]
|
||||
CFLAGS = -Iheimdal_build -Iheimdal/lib/roken
|
||||
USE_HOSTCC = YES
|
||||
OBJ_FILES = ../heimdal/lib/vers/print_version.ho \
|
||||
../heimdal/lib/com_err/parse.ho \
|
||||
../heimdal/lib/com_err/compile_et.ho \
|
||||
../heimdal/lib/roken/getarg.ho \
|
||||
../heimdal/lib/roken/get_window_size.ho \
|
||||
../heimdal/lib/roken/strupr.ho \
|
||||
../heimdal/lib/roken/setprogname.ho \
|
||||
replace.ho
|
||||
PRIVATE_DEPENDENCIES = HEIMDAL_COM_ERR_COMPILE_LEX HEIMDAL_ROKEN_GETPROGNAME_H
|
||||
# End BINARY compile_et
|
||||
#######################
|
||||
|
||||
include perl_path_wrapper.sh asn1_deps.pl heimdal/lib/hdb/hdb.asn1 hdb_asn1|
|
||||
include perl_path_wrapper.sh asn1_deps.pl heimdal/lib/gssapi/spnego/spnego.asn1 spnego_asn1|
|
||||
include perl_path_wrapper.sh asn1_deps.pl heimdal/lib/gssapi/mech/gssapi.asn1 gssapi_asn1|
|
||||
include perl_path_wrapper.sh asn1_deps.pl heimdal/lib/asn1/k5.asn1 krb5_asn1 --encode-rfc1510-bit-string --sequence=KRB5SignedPathPrincipals --sequence=AuthorizationData|
|
||||
include perl_path_wrapper.sh asn1_deps.pl heimdal/lib/asn1/digest.asn1 digest_asn1|
|
||||
|
||||
include perl_path_wrapper.sh et_deps.pl heimdal/lib/asn1/asn1_err.et heimdal/lib/asn1|
|
||||
include perl_path_wrapper.sh et_deps.pl heimdal/lib/hdb/hdb_err.et heimdal/lib/hdb|
|
||||
include perl_path_wrapper.sh et_deps.pl heimdal/lib/krb5/heim_err.et heimdal/lib/krb5|
|
||||
include perl_path_wrapper.sh et_deps.pl heimdal/lib/krb5/k524_err.et heimdal/lib/krb5|
|
||||
include perl_path_wrapper.sh et_deps.pl heimdal/lib/krb5/krb5_err.et heimdal/lib/krb5|
|
||||
include perl_path_wrapper.sh et_deps.pl heimdal/lib/gssapi/krb5/gkrb5_err.et heimdal/lib/gssapi|
|
||||
|
||||
.SUFFIXES: .hin
|
||||
.hin.h:
|
||||
@cp $< $@
|
||||
|
||||
heimdal/lib/roken/vis.h: heimdal/lib/roken/vis.hin
|
||||
heimdal/lib/roken/err.h: heimdal/lib/roken/err.hin
|
||||
|
||||
include perl_path_wrapper.sh hcrypto-deps.pl heimdal/lib/des/*.h|
|
||||
|
||||
heimdal/lib/des/hcrypto:
|
||||
@rm -f $@; ln -s ./../des $@
|
||||
|
||||
clean::
|
||||
@-rm -f heimdal/lib/roken/vis.h heimdal/lib/roken/err.h
|
||||
@-rm -f heimdal/lib/asn1/asn1_err.{c,h}
|
||||
@-rm -f heimdal/lib/hdb/hdb_err.{c,h}
|
||||
@-rm -f heimdal/lib/krb5/heim_err.{c,h}
|
||||
@-rm -f heimdal/lib/krb5/k524_err.{c,h}
|
||||
@-rm -f heimdal/lib/krb5/krb5_err.{c,h}
|
||||
@-rm -f bin/compile_et bin/asn1_compile
|
||||
@-rm -f heimdal/lib/krb5/des/hcrypto
|
||||
|
||||
#######################
|
||||
# Start SUBSYSTEM HEIMDAL
|
||||
[LIBRARY::HEIMDAL]
|
||||
VERSION = 0.0.1
|
||||
SO_VERSION = 0
|
||||
CFLAGS = -Iheimdal_build
|
||||
OBJ_FILES = ../heimdal/lib/vers/print_version.o
|
||||
PUBLIC_DEPENDENCIES = \
|
||||
HEIMDAL_GSSAPI HEIMDAL_KRB5
|
||||
# End SUBSYSTEM HEIMDAL
|
||||
#######################
|
||||
|
||||
#######################
|
||||
# Start SUBSYSTEM KERBEROS_LIB
|
||||
[SUBSYSTEM::KERBEROS_LIB]
|
||||
#PUBLIC_DEPENDENCIES = EXT_KRB5
|
||||
PUBLIC_DEPENDENCIES = HEIMDAL
|
||||
# End SUBSYSTEM KERBEROS_LIB
|
||||
#######################
|
||||
|
||||
dist:: heimdal/lib/asn1/lex.c heimdal/lib/com_err/lex.c \
|
||||
heimdal/lib/asn1/parse.c heimdal/lib/com_err/parse.c
|
||||
@@ -0,0 +1,16 @@
|
||||
#ifndef __crypto_headers_h__
|
||||
#define __crypto_headers_h__
|
||||
#include <krb5-types.h>
|
||||
#include <des.h>
|
||||
#include <md4.h>
|
||||
#include <md5.h>
|
||||
#include <sha.h>
|
||||
#include <rc4.h>
|
||||
#include <rc2.h>
|
||||
#include <aes.h>
|
||||
#include <ui.h>
|
||||
#include <evp.h>
|
||||
#include <rand.h>
|
||||
#include <engine.h>
|
||||
#include <pkcs12.h>
|
||||
#endif /* __crypto_headers_h__ */
|
||||
@@ -0,0 +1,8 @@
|
||||
#ifndef _ERR_H
|
||||
#define _ERR_H 1
|
||||
|
||||
void err(int eval, const char *format, ...);
|
||||
void errx(int eval, const char *format, ...);
|
||||
void warnx(const char *format, ...);
|
||||
|
||||
#endif /* err.h */
|
||||
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/perl
|
||||
|
||||
use File::Basename;
|
||||
|
||||
my $file = shift;
|
||||
my $dirname = shift;
|
||||
my $basename = basename($file);
|
||||
|
||||
my $header = "$dirname/$basename"; $header =~ s/\.et$/.h/;
|
||||
my $source = "$dirname/$basename"; $source =~ s/\.et$/.c/;
|
||||
print "$header $source: $file bin/compile_et\n";
|
||||
print "\t\@echo \"Compiling error table $file\"\n";
|
||||
print "\t\@startdir=`pwd` && cd $dirname && " . '$$startdir/bin/compile_et $$startdir/' . "$file\n\n";
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
Unix SMB/CIFS implementation.
|
||||
|
||||
provide glue functions between heimdal and samba
|
||||
|
||||
Copyright (C) Andrew Tridgell 2005
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "system/network.h"
|
||||
#include "system/kerberos.h"
|
||||
#include "lib/socket/netif.h"
|
||||
|
||||
/*
|
||||
get the list of IP addresses for configured interfaces
|
||||
*/
|
||||
krb5_error_code KRB5_LIB_FUNCTION krb5_get_all_client_addrs(krb5_context context, krb5_addresses *res)
|
||||
{
|
||||
int i;
|
||||
res->len = iface_count();
|
||||
res->val = malloc_array_p(HostAddress, res->len);
|
||||
if (res->val == NULL) {
|
||||
return ENOMEM;
|
||||
}
|
||||
for (i=0;i<res->len;i++) {
|
||||
const char *ip = iface_n_ip(i);
|
||||
res->val[i].addr_type = AF_INET;
|
||||
res->val[i].address.length = 4;
|
||||
res->val[i].address.data = malloc(4);
|
||||
if (res->val[i].address.data == NULL) {
|
||||
return ENOMEM;
|
||||
}
|
||||
((struct in_addr *)res->val[i].address.data)->s_addr = inet_addr(ip);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/perl
|
||||
use strict;
|
||||
|
||||
foreach (@ARGV) {
|
||||
my $old = $_;
|
||||
my $new = $old; $new =~ s/des/des\/hcrypto/g;
|
||||
my $dir = $old;
|
||||
print "$new: heimdal/lib/des/hcrypto\n";
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
/* krb5-types.h -- this file was generated for i686-pc-linux-gnu by
|
||||
$Id: bits.c,v 1.23 2005/01/05 15:22:02 lha Exp $ */
|
||||
|
||||
#ifndef __krb5_types_h__
|
||||
#define __krb5_types_h__
|
||||
|
||||
#include "replace.h"
|
||||
|
||||
#ifdef HAVE_SYS_SOCKET_H
|
||||
#include <sys/socket.h>
|
||||
#endif
|
||||
|
||||
|
||||
typedef socklen_t krb5_socklen_t;
|
||||
typedef ssize_t krb5_ssize_t;
|
||||
|
||||
#ifdef VOID_RETSIGTYPE
|
||||
#define SIGRETURN(x) return
|
||||
#else
|
||||
#define SIGRETURN(x) return (RETSIGTYPE)(x)
|
||||
#endif
|
||||
|
||||
#endif /* __krb5_types_h__ */
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
|
||||
SELF=$0
|
||||
DIR=`dirname $SELF`
|
||||
|
||||
$PERL $DIR/$@
|
||||
@@ -0,0 +1 @@
|
||||
#define PACKAGE_BUGREPORT ""
|
||||
@@ -0,0 +1,87 @@
|
||||
/*
|
||||
Unix SMB/CIFS implementation.
|
||||
|
||||
some replacement functions for parts of roken that don't fit easily into
|
||||
our build system
|
||||
|
||||
Copyright (C) Andrew Tridgell 2005
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include "err.h"
|
||||
#include "roken.h"
|
||||
|
||||
#ifndef HAVE_ERR
|
||||
void err(int eval, const char *format, ...)
|
||||
{
|
||||
va_list ap;
|
||||
va_start(ap, format);
|
||||
vfprintf(stderr, format, ap);
|
||||
perror("");
|
||||
va_end(ap);
|
||||
exit(eval);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_ERRX
|
||||
void errx(int eval, const char *format, ...)
|
||||
{
|
||||
va_list ap;
|
||||
va_start(ap, format);
|
||||
vfprintf(stderr, format, ap);
|
||||
va_end(ap);
|
||||
exit(eval);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_WARNX
|
||||
void warnx(const char *format, ...)
|
||||
{
|
||||
va_list ap;
|
||||
va_start(ap, format);
|
||||
vfprintf(stderr, format, ap);
|
||||
va_end(ap);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_FLOCK
|
||||
int flock(int fd, int op)
|
||||
{
|
||||
struct flock lock;
|
||||
lock.l_whence = 0;
|
||||
lock.l_start = 0;
|
||||
lock.l_len = 0;
|
||||
lock.l_pid = 0;
|
||||
|
||||
switch (op & (LOCK_UN|LOCK_SH|LOCK_EX)) {
|
||||
case LOCK_UN:
|
||||
lock.l_type = F_UNLCK;
|
||||
return fcntl(fd, F_SETLK, &lock);
|
||||
case LOCK_SH:
|
||||
lock.l_type = F_RDLCK;
|
||||
return fcntl(fd, (op&LOCK_NB)?F_SETLK:F_SETLKW, &lock);
|
||||
case LOCK_EX:
|
||||
lock.l_type = F_WRLCK;
|
||||
return fcntl(fd, (op&LOCK_NB)?F_SETLK:F_SETLKW, &lock);
|
||||
}
|
||||
errno = EINVAL;
|
||||
return -1;
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
a wrapper to override some of the defines that the heimdal roken system looks at
|
||||
*/
|
||||
#ifndef _ROKEN_H_
|
||||
#define _ROKEN_H_
|
||||
|
||||
/* path to sysconf - should we force this to samba LIBDIR ? */
|
||||
#define SYSCONFDIR "/etc"
|
||||
|
||||
/* HDB module dir - set to Samba LIBDIR/hdb ? */
|
||||
#define HDBDIR "/usr/heimdal/lib"
|
||||
#define LIBDIR "/usr/heimdal/lib"
|
||||
|
||||
/* Maximum values on all known systems */
|
||||
#define MaxHostNameLen (64+4)
|
||||
#define MaxPathLen (1024+4)
|
||||
|
||||
#define VERSIONLIST {"Lorikeet-Heimdal, Modified for Samba4 0.8pre"}
|
||||
|
||||
#define VERSION "Samba"
|
||||
|
||||
#define ROKEN_LIB_FUNCTION
|
||||
|
||||
#define GETHOSTBYADDR_PROTO_COMPATIBLE
|
||||
#define GETSERVBYNAME_PROTO_COMPATIBLE
|
||||
#define OPENLOG_PROTO_COMPATIBLE
|
||||
#define GETSOCKNAME_PROTO_COMPATIBLE
|
||||
|
||||
/* even if we do have dlopen, we don't want heimdal using it */
|
||||
#undef HAVE_DLOPEN
|
||||
|
||||
/* we need to tell roken about the functions that Samba replaces in lib/replace */
|
||||
#ifndef HAVE_SETEUID
|
||||
#define HAVE_SETEUID 1
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_STRNDUP
|
||||
#define HAVE_STRNDUP
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_VSYSLOG
|
||||
#define HAVE_VSYSLOG
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_SOCKLEN_T
|
||||
#define HAVE_SOCKLEN_T
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_SSIZE_T
|
||||
#define HAVE_SSIZE_T
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_TIMEGM
|
||||
#define HAVE_TIMEGM
|
||||
#endif
|
||||
|
||||
#undef SOCKET_WRAPPER_REPLACE
|
||||
|
||||
#include "heimdal/lib/roken/roken.h.in"
|
||||
#endif
|
||||
Reference in New Issue
Block a user