From 3ad23bc14fedcc56d917aab8b3f25e3a0393631d Mon Sep 17 00:00:00 2001 From: ed Date: Wed, 13 Jan 2010 18:02:30 +0000 Subject: Let libopie use utmpx instead of utmp. --- lib/libopie/Makefile | 5 ++--- lib/libopie/config.h | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'lib') diff --git a/lib/libopie/Makefile b/lib/libopie/Makefile index 01ee1b1..360dddc 100644 --- a/lib/libopie/Makefile +++ b/lib/libopie/Makefile @@ -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 diff --git a/lib/libopie/config.h b/lib/libopie/config.h index b6ad39b..ca0c338 100644 --- a/lib/libopie/config.h +++ b/lib/libopie/config.h @@ -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 header file. */ -/* #undef HAVE_UTMPX_H */ +#define HAVE_UTMPX_H 1 /* Define if you have the crypt library (-lcrypt). */ #define HAVE_LIBCRYPT 1 -- cgit v1.1