opie_cfg.h (29967) | opie_cfg.h (59121) |
---|---|
1/* opie_cfg.h: Various configuration-type pieces of information for OPIE. 2 3%%% portions-copyright-cmetz-96 | 1/* opie_cfg.h: Various configuration-type pieces of information for OPIE. 2 3%%% portions-copyright-cmetz-96 |
4Portions of this software are Copyright 1996-1997 by Craig Metz, All Rights | 4Portions of this software are Copyright 1996-1998 by Craig Metz, All Rights |
5Reserved. The Inner Net License Version 2 applies to these portions of 6the software. 7You should have received a copy of the license with this software. If 8you didn't get a copy, you may request one from <license@inner.net>. 9 10Portions of this software are Copyright 1995 by Randall Atkinson and Dan 11McDonald, All Rights Reserved. All Rights under this copyright are assigned 12to the U.S. Naval Research Laboratory (NRL). The NRL Copyright Notice and 13License Agreement applies to this software. 14 15 History: 16 | 5Reserved. The Inner Net License Version 2 applies to these portions of 6the software. 7You should have received a copy of the license with this software. If 8you didn't get a copy, you may request one from <license@inner.net>. 9 10Portions of this software are Copyright 1995 by Randall Atkinson and Dan 11McDonald, All Rights Reserved. All Rights under this copyright are assigned 12to the U.S. Naval Research Laboratory (NRL). The NRL Copyright Notice and 13License Agreement applies to this software. 14 15 History: 16 |
17 Modified by cmetz for OPIE 2.32. Include <sys/types.h> before 18 <dirent.h> to make *BSD happy. |
|
17 Modified by cmetz for OPIE 2.31. Added 4.4BSD-Lite pathnames.h 18 definitions from ftpd. Added struct spwd definition and 19 HAVE_SHADOW logic for SunOS C2 shadow password support. 20 Moved user locking config to configure script. Removed 21 options.h. 22 Modified by cmetz for OPIE 2.3. Splatted with opie_auto.h. 23 Obseleted many symbols. Changed OPIE_PASS_{MIN,MAX} to 24 OPIE_SECRET_{MIN,MAX}. Fixed SHADOW+UTMP definitions. --- 14 unchanged lines hidden (view full) --- 39 Added configure check for LS_COMMAND. Added setreuid/setgid 40 band-aids. 41 Modified at NRL for OPIE 2.2. Require /etc/shadow for Linux to use 42 shadow passwords. 43 Modified at NRL for OPIE 2.11. Removed version defines. 44 Modified at NRL for OPIE 2.1. Fixed sigprocmask declaration. 45 Gutted for autoconf. Split up for autoconf. 46 Written at NRL for OPIE 2.0. | 19 Modified by cmetz for OPIE 2.31. Added 4.4BSD-Lite pathnames.h 20 definitions from ftpd. Added struct spwd definition and 21 HAVE_SHADOW logic for SunOS C2 shadow password support. 22 Moved user locking config to configure script. Removed 23 options.h. 24 Modified by cmetz for OPIE 2.3. Splatted with opie_auto.h. 25 Obseleted many symbols. Changed OPIE_PASS_{MIN,MAX} to 26 OPIE_SECRET_{MIN,MAX}. Fixed SHADOW+UTMP definitions. --- 14 unchanged lines hidden (view full) --- 41 Added configure check for LS_COMMAND. Added setreuid/setgid 42 band-aids. 43 Modified at NRL for OPIE 2.2. Require /etc/shadow for Linux to use 44 shadow passwords. 45 Modified at NRL for OPIE 2.11. Removed version defines. 46 Modified at NRL for OPIE 2.1. Fixed sigprocmask declaration. 47 Gutted for autoconf. Split up for autoconf. 48 Written at NRL for OPIE 2.0. |
49 50$FreeBSD: head/contrib/opie/opie_cfg.h 59121 2000-04-10 11:18:54Z kris $ |
|
47*/ 48 49#ifndef _OPIE_CFG_H 50#define _OPIE_CFG_H 1 51 | 51*/ 52 53#ifndef _OPIE_CFG_H 54#define _OPIE_CFG_H 1 55 |
52#define VERSION "2.31" 53#define DATE "Thursday, March 20, 1997" | 56#define VERSION "2.32" 57#define DATE "Thursday, January 1, 1998" |
54 55#ifndef unix 56#define unix 1 57#endif /* unix */ 58 59#include "config.h" 60 61/* System characteristics */ 62 63#if HAVE_GETUTXLINE && HAVE_UTMPX_H 64#define DOUTMPX 1 65#else /* HAVE_GETUTXLINE && HAVE_UTMPX_H */ 66#define DOUTMPX 0 67#endif /* HAVE_GETUTXLINE && HAVE_UTMPX_H */ 68 | 58 59#ifndef unix 60#define unix 1 61#endif /* unix */ 62 63#include "config.h" 64 65/* System characteristics */ 66 67#if HAVE_GETUTXLINE && HAVE_UTMPX_H 68#define DOUTMPX 1 69#else /* HAVE_GETUTXLINE && HAVE_UTMPX_H */ 70#define DOUTMPX 0 71#endif /* HAVE_GETUTXLINE && HAVE_UTMPX_H */ 72 |
69/* Adapted from the Autoconf hypertext info pages */ | |
70#include <sys/types.h> | 73#include <sys/types.h> |
74/* Adapted from the Autoconf hypertext info pages */ |
|
71#if HAVE_DIRENT_H 72#include <dirent.h> 73#else /* HAVE_DIRENT_H */ 74#define dirent direct 75#if HAVE_SYS_NDIR_H 76#include <sys/ndir.h> 77#endif /* HAVE_SYS_NDIR_H */ 78#if HAVE_SYS_DIR_H --- 105 unchanged lines hidden --- | 75#if HAVE_DIRENT_H 76#include <dirent.h> 77#else /* HAVE_DIRENT_H */ 78#define dirent direct 79#if HAVE_SYS_NDIR_H 80#include <sys/ndir.h> 81#endif /* HAVE_SYS_NDIR_H */ 82#if HAVE_SYS_DIR_H --- 105 unchanged lines hidden --- |