X-Git-Url: https://git.distorted.org.uk/~mdw/become/blobdiff_plain/c758e6541ca05409b178dd9629e9337494c49890..2344499e76fcb03d2690e5f8402104241abf1e53:/acconfig.h diff --git a/acconfig.h b/acconfig.h index 621056f..b6fe638 100644 --- a/acconfig.h +++ b/acconfig.h @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: acconfig.h,v 1.7 1998/01/12 16:45:20 mdw Exp $ + * $Id: acconfig.h,v 1.10 2003/10/12 00:14:44 mdw Exp $ * * Default settings for `become' config.h * @@ -29,6 +29,16 @@ /*----- Revision history --------------------------------------------------* * * $Log: acconfig.h,v $ + * Revision 1.10 2003/10/12 00:14:44 mdw + * Major overhaul. Now uses DSA signatures rather than the bogus symmetric + * encrypt-and-hope thing. Integrated with mLib and Catacomb. + * + * Revision 1.9 1999/05/04 16:25:42 mdw + * Fixes for new version of automake. + * + * Revision 1.8 1998/04/23 13:08:42 mdw + * Fix formatting. Add new option to disable networking. + * * Revision 1.7 1998/01/12 16:45:20 mdw * Fix copyright date. * @@ -59,23 +69,26 @@ /*----- Variables set up by the configuration script ----------------------*/ @TOP@ +/* My package name. */ +#define PACKAGE "become" + /* My version number. */ #define VERSION "1.2-pre" /* The `etcdir' contains configuration and state information. */ #define ETCDIR "/etc/become" -/* Define to be the size of an int. */ -#define SIZEOF_INT 4 - -/* Default login style can be `l_preserve', `l_setuser' or `l_login' */ +/* Default login style can be `l_preserve', `l_setuser' or `l_login'. */ #define DEFAULT_LOGIN_STYLE l_preserve /* This is replaced by `/' by `configure' -- leave alone for DOSness. */ #define PATHSEP '\\' +/* Define to turn off networking support. */ +#undef NONETWORK + /* Debugging options. */ -#undef TRACING +#undef NTRACE #ifndef TEST_RIG #undef NDEBUG @@ -89,24 +102,16 @@ @BOTTOM@ -/*----- Some light processing on the configuration varaibles --------------*/ +/*----- Some light processing on the configuration variables --------------*/ /* --- Important filenames based on the @ETCDIR@ --- */ #define file_KEY ETCDIR "/become.key" +#define file_PUBKEY ETCDIR "/become.pubkey" #define file_PID ETCDIR "/become.pid" -#define file_RANDSEED ETCDIR "/become.random" #define file_RULES ETCDIR "/become.conf" #define file_SERVER ETCDIR "/become.server" -/* --- Find a suitable 32-bit type --- */ - -#if SIZEOF_INT < 4 - typedef unsigned long uint_32; -#else - typedef unsigned int uint_32; -#endif - /* --- Debugging macros --- */ #ifdef NDEBUG