Let libopie use utmpx instead of utmp.

This commit is contained in:
Ed Schouten 2010-01-13 18:02:30 +00:00
parent bf8959b05d
commit 057ee500e5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=202196
2 changed files with 5 additions and 6 deletions

View File

@ -8,15 +8,14 @@ SHLIB_MAJOR= 6
KEYFILE?= \"/etc/opiekeys\"
.PATH: ${DIST_DIR} ${OPIE_DIST}/libmissing
.PATH: ${DIST_DIR}
LIB= opie
SRCS= atob8.c btoa8.c btoh.c challenge.c getsequence.c hash.c hashlen.c \
keycrunch.c lock.c lookup.c newseed.c parsechallenge.c passcheck.c \
passwd.c randomchallenge.c readpass.c unlock.c verify.c version.c \
btoe.c accessfile.c generator.c insecure.c getutmpentry.c \
readrec.c writerec.c open.c \
getutline.c pututline.c endutent.c setutent.c # from libmissing
readrec.c writerec.c open.c
SRCS+= opieextra.c
INCS= ${OPIE_DIST}/opie.h

View File

@ -216,7 +216,7 @@
#define HAVE_GETUSERSHELL 1
/* Define if you have the getutxline function. */
/* #undef HAVE_GETUTXLINE */
#define HAVE_GETUTXLINE 1
/* Define if you have the getwd function. */
/* #undef HAVE_GETWD */
@ -231,7 +231,7 @@
/* #undef HAVE_ON_EXIT */
/* Define if you have the pututxline function. */
/* #undef HAVE_PUTUTXLINE */
#define HAVE_PUTUTXLINE 1
/* Define if you have the rindex function. */
/* #undef HAVE_RINDEX */
@ -366,7 +366,7 @@
#define HAVE_UNISTD_H 1
/* Define if you have the <utmpx.h> header file. */
/* #undef HAVE_UTMPX_H */
#define HAVE_UTMPX_H 1
/* Define if you have the crypt library (-lcrypt). */
#define HAVE_LIBCRYPT 1