From 9d50fa1c54b86ec2faa06385044d46411fa5d014 Mon Sep 17 00:00:00 2001 From: nectar Date: Thu, 9 Oct 2003 19:48:47 +0000 Subject: Update build infrastructure for Heimdal 0.6. --- kerberos5/include/Makefile | 2 +- kerberos5/include/config.h | 32 ++++++++++++++++++++------------ kerberos5/include/krb5-private.h | 23 +++++++++++++++++++++-- kerberos5/include/version.h | 4 ++-- 4 files changed, 44 insertions(+), 17 deletions(-) (limited to 'kerberos5/include') diff --git a/kerberos5/include/Makefile b/kerberos5/include/Makefile index 781f959..3ec5c9a 100644 --- a/kerberos5/include/Makefile +++ b/kerberos5/include/Makefile @@ -1,4 +1,4 @@ -# $Id$ +# $FreeBSD$ .if exists(${.OBJDIR}/../../include) INCLUDEOBJDIR= ${.OBJDIR}/../include diff --git a/kerberos5/include/config.h b/kerberos5/include/config.h index 5d97366..f7ad39d 100644 --- a/kerberos5/include/config.h +++ b/kerberos5/include/config.h @@ -318,7 +318,9 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } #endif /* Define to 1 if you have the `getpwnam_r' function. */ -/* #undef HAVE_GETPWNAM_R */ +#if __FreeBSD_version >= 500112 +#define HAVE_GETPWNAM_R 1 +#endif /* Define to 1 if you have the `getrlimit' function. */ #define HAVE_GETRLIMIT 1 @@ -346,7 +348,9 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } #define HAVE_GLOB 1 /* Define to 1 if you have the `grantpt' function. */ -/* #undef HAVE_GRANTPT */ +#if __FreeBSD_version >= 500100 +#define HAVE_GRANTPT 1 +#endif /* Define to 1 if you have the header file. */ #define HAVE_GRP_H 1 @@ -412,19 +416,19 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } #define HAVE_ISSETUGID 1 /* Define to 1 if you have the `krb_disable_debug' function. */ -#define HAVE_KRB_DISABLE_DEBUG 1 +/* #undef HAVE_KRB_DISABLE_DEBUG */ /* Define to 1 if you have the `krb_enable_debug' function. */ -#define HAVE_KRB_ENABLE_DEBUG 1 +/* #undef HAVE_KRB_ENABLE_DEBUG */ /* Define to 1 if you have the `krb_get_kdc_time_diff' function. */ -#define HAVE_KRB_GET_KDC_TIME_DIFF 1 +/* #undef HAVE_KRB_GET_KDC_TIME_DIFF */ /* Define to 1 if you have the `krb_get_our_ip_for_realm' function. */ -#define HAVE_KRB_GET_OUR_IP_FOR_REALM 1 +/* #undef HAVE_KRB_GET_OUR_IP_FOR_REALM */ /* Define to 1 if you have the `krb_kdctimeofday' function. */ -#define HAVE_KRB_KDCTIMEOFDAY 1 +/* #undef HAVE_KRB_KDCTIMEOFDAY */ /* Define to 1 if you have the header file. */ #define HAVE_LIBUTIL_H 1 @@ -553,7 +557,9 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } #define HAVE_PTHREAD_H 1 /* Define to 1 if you have the `ptsname' function. */ -/* #undef HAVE_PTSNAME */ +#if __FreeBSD_version >= 500100 +#define HAVE_PTSNAME 1 +#endif /* Define to 1 if you have the header file. */ /* #undef HAVE_PTY_H */ @@ -1008,7 +1014,9 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } #define HAVE_UNISTD_H 1 /* Define to 1 if you have the `unlockpt' function. */ -/* #undef HAVE_UNLOCKPT */ +#if __FreeBSD_version >= 500100 +#define HAVE_UNLOCKPT 1 +#endif /* Define if you have the function `unsetenv'. */ #define HAVE_UNSETENV 1 @@ -1237,13 +1245,13 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } #define PACKAGE_NAME "Heimdal" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "Heimdal 0.5.1" +#define PACKAGE_STRING "Heimdal 0.6 (FreeBSD)" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "heimdal" /* Define to the version of this package. */ -#define PACKAGE_VERSION "0.5.1" +#define PACKAGE_VERSION "0.6" /* Define if getlogin has POSIX flavour (and not BSD). */ /* #undef POSIX_GETLOGIN */ @@ -1273,7 +1281,7 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg } /* #undef TM_IN_SYS_TIME */ /* Version number of package */ -#define VERSION "0.4f" +#define VERSION "0.6" /* Define if signal handlers return void. */ #define VOID_RETSIGTYPE 1 diff --git a/kerberos5/include/krb5-private.h b/kerberos5/include/krb5-private.h index c608b41..9a69f27 100644 --- a/kerberos5/include/krb5-private.h +++ b/kerberos5/include/krb5-private.h @@ -1,10 +1,19 @@ +/* $FreeBSD$ */ /* This is a generated file */ #ifndef __krb5_private_h__ #define __krb5_private_h__ -/* $FreeBSD$ */ - #include + +void +_krb5_aes_cts_encrypt ( + const unsigned char */*in*/, + unsigned char */*out*/, + size_t /*len*/, + const void */*aes_key*/, + unsigned char */*ivec*/, + const int /*enc*/); + void _krb5_crc_init_table (void); @@ -35,6 +44,16 @@ _krb5_get_int ( unsigned long */*value*/, size_t /*size*/); +time_t +_krb5_krb_life_to_time ( + int /*start*/, + int /*life_*/); + +int +_krb5_krb_time_to_life ( + time_t /*start*/, + time_t /*end*/); + void _krb5_n_fold ( const void */*str*/, diff --git a/kerberos5/include/version.h b/kerberos5/include/version.h index a5ec15f..87c55bd 100644 --- a/kerberos5/include/version.h +++ b/kerberos5/include/version.h @@ -1,3 +1,3 @@ /* $FreeBSD$ */ -const char *heimdal_long_version = "@(#)$Version: Heimdal 0.5.1 (FreeBSD) $"; -const char *heimdal_version = "Heimdal 0.5.1"; +const char *heimdal_long_version = "@(#)$Version: Heimdal 0.6 (FreeBSD) $"; +const char *heimdal_version = "Heimdal 0.6"; -- cgit v1.1