Index: configure =================================================================== RCS file: /cvsroot/python/python/dist/src/configure,v retrieving revision 1.467 diff -c -r1.467 configure *** configure 7 Jan 2005 13:08:22 -0000 1.467 --- configure 20 Jan 2005 18:41:01 -0000 *************** *** 4538,4544 **** ! for ac_header in curses.h dlfcn.h fcntl.h grp.h langinfo.h \ libintl.h ncurses.h poll.h pthread.h \ stropts.h termios.h thread.h \ unistd.h utime.h \ --- 4538,4544 ---- ! for ac_header in curses.h dlfcn.h fcntl.h grp.h shadow.h langinfo.h \ libintl.h ncurses.h poll.h pthread.h \ stropts.h termios.h thread.h \ unistd.h utime.h \ *************** *** 13432,13438 **** for ac_func in alarm bind_textdomain_codeset chown clock confstr ctermid \ execv fork fpathconf ftime ftruncate \ gai_strerror getgroups getlogin getloadavg getpeername getpgid getpid \ ! getpriority getpwent getsid getwd \ kill killpg lchown lstat mkfifo mknod mktime \ mremap nice pathconf pause plock poll pthread_init \ putenv readlink realpath \ --- 13432,13438 ---- for ac_func in alarm bind_textdomain_codeset chown clock confstr ctermid \ execv fork fpathconf ftime ftruncate \ gai_strerror getgroups getlogin getloadavg getpeername getpgid getpid \ ! getpriority getpwent getspnam getspent getsid getwd \ kill killpg lchown lstat mkfifo mknod mktime \ mremap nice pathconf pause plock poll pthread_init \ putenv readlink realpath \ Index: configure.in =================================================================== RCS file: /cvsroot/python/python/dist/src/configure.in,v retrieving revision 1.480 diff -c -r1.480 configure.in *** configure.in 7 Jan 2005 13:08:21 -0000 1.480 --- configure.in 20 Jan 2005 18:41:02 -0000 *************** *** 960,966 **** # checks for header files AC_HEADER_STDC ! AC_CHECK_HEADERS(curses.h dlfcn.h fcntl.h grp.h langinfo.h \ libintl.h ncurses.h poll.h pthread.h \ stropts.h termios.h thread.h \ unistd.h utime.h \ --- 960,966 ---- # checks for header files AC_HEADER_STDC ! AC_CHECK_HEADERS(curses.h dlfcn.h fcntl.h grp.h shadow.h langinfo.h \ libintl.h ncurses.h poll.h pthread.h \ stropts.h termios.h thread.h \ unistd.h utime.h \ *************** *** 2076,2082 **** AC_CHECK_FUNCS(alarm bind_textdomain_codeset chown clock confstr ctermid \ execv fork fpathconf ftime ftruncate \ gai_strerror getgroups getlogin getloadavg getpeername getpgid getpid \ ! getpriority getpwent getsid getwd \ kill killpg lchown lstat mkfifo mknod mktime \ mremap nice pathconf pause plock poll pthread_init \ putenv readlink realpath \ --- 2076,2082 ---- AC_CHECK_FUNCS(alarm bind_textdomain_codeset chown clock confstr ctermid \ execv fork fpathconf ftime ftruncate \ gai_strerror getgroups getlogin getloadavg getpeername getpgid getpid \ ! getpriority getpwent getspnam getspent getsid getwd \ kill killpg lchown lstat mkfifo mknod mktime \ mremap nice pathconf pause plock poll pthread_init \ putenv readlink realpath \ Index: pyconfig.h.in =================================================================== RCS file: /cvsroot/python/python/dist/src/pyconfig.h.in,v retrieving revision 1.105 diff -c -r1.105 pyconfig.h.in *** pyconfig.h.in 13 Oct 2004 15:30:55 -0000 1.105 --- pyconfig.h.in 20 Jan 2005 18:41:02 -0000 *************** *** 212,217 **** --- 212,223 ---- /* Define to 1 if you have the `getpwent' function. */ #undef HAVE_GETPWENT + /* Define to 1 if you have the `getspnam' function. */ + #undef HAVE_GETSPNAM + + /* Define to 1 if you have the `getspent' function. */ + #undef HAVE_GETSPENT + /* Define to 1 if you have the `getsid' function. */ #undef HAVE_GETSID *************** *** 224,229 **** --- 230,238 ---- /* Define to 1 if you have the header file. */ #undef HAVE_GRP_H + /* Define to 1 if you have the header file. */ + #undef HAVE_SHADOW_H + /* Define if you have the 'hstrerror' function. */ #undef HAVE_HSTRERROR Index: setup.py =================================================================== RCS file: /cvsroot/python/python/dist/src/setup.py,v retrieving revision 1.211 diff -c -r1.211 setup.py *** setup.py 2 Jan 2005 21:54:07 -0000 1.211 --- setup.py 20 Jan 2005 18:41:02 -0000 *************** *** 388,393 **** --- 388,395 ---- exts.append( Extension('pwd', ['pwdmodule.c']) ) # grp(3) exts.append( Extension('grp', ['grpmodule.c']) ) + # spwd, shadow passwords + exts.append( Extension('spwd', ['spwdmodule.c']) ) # select(2); not on ancient System V exts.append( Extension('select', ['selectmodule.c']) ) Index: Doc/Makefile.deps =================================================================== RCS file: /cvsroot/python/python/dist/src/Doc/Makefile.deps,v retrieving revision 1.122 diff -c -r1.122 Makefile.deps *** Doc/Makefile.deps 19 Jan 2005 05:42:50 -0000 1.122 --- Doc/Makefile.deps 20 Jan 2005 18:41:03 -0000 *************** *** 164,169 **** --- 164,170 ---- lib/libposix.tex \ lib/libposixpath.tex \ lib/libpwd.tex \ + lib/libspwd.tex \ lib/libgrp.tex \ lib/libcrypt.tex \ lib/libdbm.tex \ Index: Doc/lib/lib.tex =================================================================== RCS file: /cvsroot/python/python/dist/src/Doc/lib/lib.tex,v retrieving revision 1.236 diff -c -r1.236 lib.tex *** Doc/lib/lib.tex 19 Jan 2005 05:42:51 -0000 1.236 --- Doc/lib/lib.tex 20 Jan 2005 18:41:03 -0000 *************** *** 193,198 **** --- 193,199 ---- \input{libunix} % UNIX Specific Services \input{libposix} \input{libpwd} + \input{libspwd} \input{libgrp} \input{libcrypt} \input{libdl} Index: Doc/lib/libpwd.tex =================================================================== RCS file: /cvsroot/python/python/dist/src/Doc/lib/libpwd.tex,v retrieving revision 1.14 diff -c -r1.14 libpwd.tex *** Doc/lib/libpwd.tex 1 Mar 2002 10:47:36 -0000 1.14 --- Doc/lib/libpwd.tex 20 Jan 2005 18:41:03 -0000 *************** *** 50,53 **** --- 50,54 ---- \begin{seealso} \seemodule{grp}{An interface to the group database, similar to this.} + \seemodule{spwd}{An interface to the shadow password database, similar to this.} \end{seealso}