diff options
author | ed <ed@FreeBSD.org> | 2010-01-13 18:02:30 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2010-01-13 18:02:30 +0000 |
commit | 3ad23bc14fedcc56d917aab8b3f25e3a0393631d (patch) | |
tree | 9be03e0ce09599457dee95f2d222c98a15b061a2 /lib/libopie | |
parent | 4f94c734b60fd5f6bdcddbf88599cbbd9d87d928 (diff) | |
download | FreeBSD-src-3ad23bc14fedcc56d917aab8b3f25e3a0393631d.zip FreeBSD-src-3ad23bc14fedcc56d917aab8b3f25e3a0393631d.tar.gz |
Let libopie use utmpx instead of utmp.
Diffstat (limited to 'lib/libopie')
-rw-r--r-- | lib/libopie/Makefile | 5 | ||||
-rw-r--r-- | lib/libopie/config.h | 6 |
2 files changed, 5 insertions, 6 deletions
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 <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 |