aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2010-01-13 18:02:30 +0000
committerEd Schouten <ed@FreeBSD.org>2010-01-13 18:02:30 +0000
commit057ee500e5205508c25f6394892c5c4ca430c4dd (patch)
tree9be03e0ce09599457dee95f2d222c98a15b061a2
parentbf8959b05da967c9ccd76b32aaf8eb746d30aa7b (diff)
downloadsrc-057ee500e5205508c25f6394892c5c4ca430c4dd.tar.gz
src-057ee500e5205508c25f6394892c5c4ca430c4dd.zip
Let libopie use utmpx instead of utmp.
Notes
Notes: svn path=/head/; revision=202196
-rw-r--r--lib/libopie/Makefile5
-rw-r--r--lib/libopie/config.h6
2 files changed, 5 insertions, 6 deletions
diff --git a/lib/libopie/Makefile b/lib/libopie/Makefile
index 01ee1b1b994e..360dddc474ed 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 b6ad39bbbf03..ca0c3383a8bf 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