svn commit: r202196 - head/lib/libopie

Ed Schouten ed at FreeBSD.org
Wed Jan 13 18:02:30 UTC 2010


Author: ed
Date: Wed Jan 13 18:02:30 2010
New Revision: 202196
URL: http://svn.freebsd.org/changeset/base/202196

Log:
  Let libopie use utmpx instead of utmp.

Modified:
  head/lib/libopie/Makefile
  head/lib/libopie/config.h

Modified: head/lib/libopie/Makefile
==============================================================================
--- head/lib/libopie/Makefile	Wed Jan 13 17:59:23 2010	(r202195)
+++ head/lib/libopie/Makefile	Wed Jan 13 18:02:30 2010	(r202196)
@@ -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
 

Modified: head/lib/libopie/config.h
==============================================================================
--- head/lib/libopie/config.h	Wed Jan 13 17:59:23 2010	(r202195)
+++ head/lib/libopie/config.h	Wed Jan 13 18:02:30 2010	(r202196)
@@ -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


More information about the svn-src-all mailing list