source:
clfs-sysroot/patches/shadow-4.1.4.2-sysroot_hacks-1.patch@
ddaaf19
Last change on this file since ddaaf19 was ff4d8eb6, checked in by , 15 years ago | |
---|---|
|
|
File size: 68.6 KB |
-
shadow-4.1.4.2
Submitted By: Joe Ciccone <jciccone@gmail.com> Date: 2006-11-24 Initial Package Version: 4.0.18.1 Rediffed Against 4.1.2.2 by Joe Ciccone on 2009-01-03 Rediffed Against 4.1.4.1 by Joe Ciccone on 2009-07-11 Rediffed Against 4.1.4.2 by Joe Ciccone on 2009-07-26 Origin: Joe Ciccone Upstream Status: None Description: Changes the hardcoded /etc to the value of the --sysconfdir parameter passed to configure. Allows the utilities to be run as a user other then root and properly modify the passwd and group files for the target system. This patch also disables the calls that flushes the nscd cache. There is no point in flushing the hosts cache db when it wasn't modified. diff -Naur shadow-4.1.4.2.orig/aclocal.m4 shadow-4.1.4.2/aclocal.m4
old new 1 # generated automatically by aclocal 1.10. 2-*- Autoconf -*-1 # generated automatically by aclocal 1.10.1 -*- Autoconf -*- 2 2 3 3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 4 4 # 2005, 2006, 2007, 2008 Free Software Foundation, Inc. … … 13 13 14 14 m4_ifndef([AC_AUTOCONF_VERSION], 15 15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 16 m4_if( m4_defn([AC_AUTOCONF_VERSION]), [2.63],,16 m4_if(AC_AUTOCONF_VERSION, [2.63],, 17 17 [m4_warning([this file was generated for autoconf 2.63. 18 18 You have another version of autoconf. It may work, but is not guaranteed to. 19 19 If you have problems, you may need to regenerate the build system entirely. … … 4122 4122 dynamic_linker='GNU/Linux ld.so' 4123 4123 ;; 4124 4124 4125 netbsdelf*-gnu)4126 version_type=linux4127 need_lib_prefix=no4128 need_version=no4129 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'4130 soname_spec='${libname}${release}${shared_ext}$major'4131 shlibpath_var=LD_LIBRARY_PATH4132 shlibpath_overrides_runpath=no4133 hardcode_into_libs=yes4134 dynamic_linker='NetBSD ld.elf_so'4135 ;;4136 4137 4125 netbsd*) 4138 4126 version_type=sunos 4139 4127 need_lib_prefix=no … … 4725 4713 lt_cv_deplibs_check_method=pass_all 4726 4714 ;; 4727 4715 4728 netbsd* | netbsdelf*-gnu)4716 netbsd*) 4729 4717 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 4730 4718 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' 4731 4719 else … … 5406 5394 ;; 5407 5395 esac 5408 5396 ;; 5409 netbsd* | netbsdelf*-gnu)5397 netbsd*) 5410 5398 ;; 5411 5399 *qnx* | *nto*) 5412 5400 # QNX uses GNU C++, but need to define -shared option too, otherwise … … 5831 5819 cygwin* | mingw* | cegcc*) 5832 5820 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' 5833 5821 ;; 5834 linux* | k*bsd*-gnu)5835 _LT_TAGVAR(link_all_deplibs, $1)=no5836 ;;5837 5822 *) 5838 5823 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 5839 5824 ;; … … 5898 5883 openbsd*) 5899 5884 with_gnu_ld=no 5900 5885 ;; 5901 linux* | k*bsd*-gnu)5902 _LT_TAGVAR(link_all_deplibs, $1)=no5903 ;;5904 5886 esac 5905 5887 5906 5888 _LT_TAGVAR(ld_shlibs, $1)=yes … … 6083 6065 fi 6084 6066 ;; 6085 6067 6086 netbsd* | netbsdelf*-gnu)6068 netbsd*) 6087 6069 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 6088 6070 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 6089 6071 wlarc= … … 6258 6240 if test "$aix_use_runtimelinking" = yes; then 6259 6241 shared_flag="$shared_flag "'${wl}-G' 6260 6242 fi 6261 _LT_TAGVAR(link_all_deplibs, $1)=no6262 6243 else 6263 6244 # not using gcc 6264 6245 if test "$host_cpu" = ia64; then … … 6497 6478 _LT_TAGVAR(link_all_deplibs, $1)=yes 6498 6479 ;; 6499 6480 6500 netbsd* | netbsdelf*-gnu)6481 netbsd*) 6501 6482 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 6502 6483 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 6503 6484 else … … 10181 10162 AC_SUBST($1)dnl 10182 10163 ]) 10183 10164 10184 # Copyright (C) 2002, 2003, 2005, 2006, 2007 , 2008Free Software Foundation, Inc.10165 # Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc. 10185 10166 # 10186 10167 # This file is free software; the Free Software Foundation 10187 10168 # gives unlimited permission to copy and/or distribute it, … … 10196 10177 [am__api_version='1.10' 10197 10178 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to 10198 10179 dnl require some minimum version. Point them to the right macro. 10199 m4_if([$1], [1.10. 2], [],10180 m4_if([$1], [1.10.1], [], 10200 10181 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl 10201 10182 ]) 10202 10183 … … 10210 10191 # AM_SET_CURRENT_AUTOMAKE_VERSION 10211 10192 # ------------------------------- 10212 10193 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. 10213 # This function is AC_REQUIREd by A M_INIT_AUTOMAKE.10194 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. 10214 10195 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], 10215 [AM_AUTOMAKE_VERSION([1.10. 2])dnl10196 [AM_AUTOMAKE_VERSION([1.10.1])dnl 10216 10197 m4_ifndef([AC_AUTOCONF_VERSION], 10217 10198 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 10218 _AM_AUTOCONF_VERSION( m4_defn([AC_AUTOCONF_VERSION]))])10199 _AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)]) 10219 10200 10220 10201 # AM_AUX_DIR_EXPAND -*- Autoconf -*- 10221 10202 … … 10465 10446 10466 10447 # Generate code to set up dependency tracking. -*- Autoconf -*- 10467 10448 10468 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 , 200810449 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 10469 10450 # Free Software Foundation, Inc. 10470 10451 # 10471 10452 # This file is free software; the Free Software Foundation 10472 10453 # gives unlimited permission to copy and/or distribute it, 10473 10454 # with or without modifications, as long as this notice is preserved. 10474 10455 10475 #serial 410456 #serial 3 10476 10457 10477 10458 # _AM_OUTPUT_DEPENDENCY_COMMANDS 10478 10459 # ------------------------------ 10479 10460 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], 10480 [# Autoconf 2.62 quotes --file arguments for eval, but not when files 10481 # are listed without --file. Let's play safe and only enable the eval 10482 # if we detect the quoting. 10483 case $CONFIG_FILES in 10484 *\'*) eval set x "$CONFIG_FILES" ;; 10485 *) set x $CONFIG_FILES ;; 10486 esac 10487 shift 10488 for mf 10489 do 10461 [for mf in $CONFIG_FILES; do 10490 10462 # Strip MF so we end up with the name of the file. 10491 10463 mf=`echo "$mf" | sed -e 's/:.*$//'` 10492 10464 # Check whether this is an Automake generated Makefile or not. … … 10847 10819 10848 10820 # Helper functions for option handling. -*- Autoconf -*- 10849 10821 10850 # Copyright (C) 2001, 2002, 2003, 2005 , 2008Free Software Foundation, Inc.10822 # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. 10851 10823 # 10852 10824 # This file is free software; the Free Software Foundation 10853 10825 # gives unlimited permission to copy and/or distribute it, 10854 10826 # with or without modifications, as long as this notice is preserved. 10855 10827 10856 # serial 410828 # serial 3 10857 10829 10858 10830 # _AM_MANGLE_OPTION(NAME) 10859 10831 # ----------------------- … … 10870 10842 # ---------------------------------- 10871 10843 # OPTIONS is a space-separated list of Automake options. 10872 10844 AC_DEFUN([_AM_SET_OPTIONS], 10873 [ m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])10845 [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) 10874 10846 10875 10847 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) 10876 10848 # ------------------------------------------- -
shadow-4.1.4.2
diff -Naur shadow-4.1.4.2.orig/configure shadow-4.1.4.2/configure
old new 6786 6786 lt_cv_deplibs_check_method=pass_all 6787 6787 ;; 6788 6788 6789 netbsd* | netbsdelf*-gnu)6789 netbsd*) 6790 6790 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6791 6791 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6792 6792 else … … 9444 9444 openbsd*) 9445 9445 with_gnu_ld=no 9446 9446 ;; 9447 linux* | k*bsd*-gnu)9448 link_all_deplibs=no9449 ;;9450 9447 esac 9451 9448 9452 9449 ld_shlibs=yes … … 9629 9626 fi 9630 9627 ;; 9631 9628 9632 netbsd* | netbsdelf*-gnu)9629 netbsd*) 9633 9630 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9634 9631 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9635 9632 wlarc= … … 9804 9801 if test "$aix_use_runtimelinking" = yes; then 9805 9802 shared_flag="$shared_flag "'${wl}-G' 9806 9803 fi 9807 link_all_deplibs=no9808 9804 else 9809 9805 # not using gcc 9810 9806 if test "$host_cpu" = ia64; then … … 10219 10215 link_all_deplibs=yes 10220 10216 ;; 10221 10217 10222 netbsd* | netbsdelf*-gnu)10218 netbsd*) 10223 10219 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10224 10220 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10225 10221 else … … 11196 11192 dynamic_linker='GNU/Linux ld.so' 11197 11193 ;; 11198 11194 11199 netbsdelf*-gnu)11200 version_type=linux11201 need_lib_prefix=no11202 need_version=no11203 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'11204 soname_spec='${libname}${release}${shared_ext}$major'11205 shlibpath_var=LD_LIBRARY_PATH11206 shlibpath_overrides_runpath=no11207 hardcode_into_libs=yes11208 dynamic_linker='NetBSD ld.elf_so'11209 ;;11210 11211 11195 netbsd*) 11212 11196 version_type=sunos 11213 11197 need_lib_prefix=no … … 12141 12125 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12142 12126 lt_status=$lt_dlunknown 12143 12127 cat > conftest.$ac_ext <<_LT_EOF 12144 #line 121 44"configure"12128 #line 12128 "configure" 12145 12129 #include "confdefs.h" 12146 12130 12147 12131 #if HAVE_DLFCN_H … … 12237 12221 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12238 12222 lt_status=$lt_dlunknown 12239 12223 cat > conftest.$ac_ext <<_LT_EOF 12240 #line 122 40"configure"12224 #line 12224 "configure" 12241 12225 #include "confdefs.h" 12242 12226 12243 12227 #if HAVE_DLFCN_H … … 24905 24889 24906 24890 24907 24891 case $ac_file$ac_mode in 24908 "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files 24909 # are listed without --file. Let's play safe and only enable the eval 24910 # if we detect the quoting. 24911 case $CONFIG_FILES in 24912 *\'*) eval set x "$CONFIG_FILES" ;; 24913 *) set x $CONFIG_FILES ;; 24914 esac 24915 shift 24916 for mf 24917 do 24892 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 24918 24893 # Strip MF so we end up with the name of the file. 24919 24894 mf=`echo "$mf" | sed -e 's/:.*$//'` 24920 24895 # Check whether this is an Automake generated Makefile or not. -
contrib/Makefile.in
diff -Naur shadow-4.1.4.2.orig/contrib/Makefile.in shadow-4.1.4.2/contrib/Makefile.in
old new 1 # Makefile.in generated by automake 1.10. 2from Makefile.am.1 # Makefile.in generated by automake 1.10.1 from Makefile.am. 2 2 # @configure_input@ 3 3 4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, … … 200 200 @for dep in $?; do \ 201 201 case '$(am__configure_deps)' in \ 202 202 *$$dep*) \ 203 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh )\204 && { if test -f $@; then exit 0; else break; fi; }; \203 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 204 && exit 0; \ 205 205 exit 1;; \ 206 206 esac; \ 207 207 done; \ -
doc/Makefile.in
diff -Naur shadow-4.1.4.2.orig/doc/Makefile.in shadow-4.1.4.2/doc/Makefile.in
old new 1 # Makefile.in generated by automake 1.10. 2from Makefile.am.1 # Makefile.in generated by automake 1.10.1 from Makefile.am. 2 2 # @configure_input@ 3 3 4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, … … 199 199 @for dep in $?; do \ 200 200 case '$(am__configure_deps)' in \ 201 201 *$$dep*) \ 202 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh )\203 && { if test -f $@; then exit 0; else break; fi; }; \202 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 203 && exit 0; \ 204 204 exit 1;; \ 205 205 esac; \ 206 206 done; \ -
etc/Makefile.in
diff -Naur shadow-4.1.4.2.orig/etc/Makefile.in shadow-4.1.4.2/etc/Makefile.in
old new 1 # Makefile.in generated by automake 1.10. 2from Makefile.am.1 # Makefile.in generated by automake 1.10.1 from Makefile.am. 2 2 # @configure_input@ 3 3 4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, … … 238 238 @for dep in $?; do \ 239 239 case '$(am__configure_deps)' in \ 240 240 *$$dep*) \ 241 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh )\242 && { if test -f $@; then exit 0; else break; fi; }; \241 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 242 && exit 0; \ 243 243 exit 1;; \ 244 244 esac; \ 245 245 done; \ … … 396 396 unique=`for i in $$list; do \ 397 397 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 398 398 done | \ 399 $(AWK) '{ files[$$0] = 1; nonem pty = 1; } \399 $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ 400 400 END { if (nonempty) { for (i in files) print i; }; }'`; \ 401 401 mkid -fID $$unique 402 402 tags: TAGS -
etc/pam.d/Makefile.in
diff -Naur shadow-4.1.4.2.orig/etc/pam.d/Makefile.in shadow-4.1.4.2/etc/pam.d/Makefile.in
old new 1 # Makefile.in generated by automake 1.10. 2from Makefile.am.1 # Makefile.in generated by automake 1.10.1 from Makefile.am. 2 2 # @configure_input@ 3 3 4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, … … 230 230 @for dep in $?; do \ 231 231 case '$(am__configure_deps)' in \ 232 232 *$$dep*) \ 233 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh )\234 && { if test -f $@; then exit 0; else break; fi; }; \233 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 234 && exit 0; \ 235 235 exit 1;; \ 236 236 esac; \ 237 237 done; \ -
lib/commonio.c
diff -Naur shadow-4.1.4.2.orig/lib/commonio.c shadow-4.1.4.2/lib/commonio.c
old new 215 215 return NULL; 216 216 } 217 217 218 #ifdef HAVE_FCHOWN219 if (fchown (fileno (fp), sb->st_uid, sb->st_gid) != 0) {220 goto fail;221 }222 #else223 if (chown (name, sb->st_mode) != 0) {224 goto fail;225 }226 #endif227 228 218 #ifdef HAVE_FCHMOD 229 219 if (fchmod (fileno (fp), sb->st_mode & 0664) != 0) { 230 220 goto fail; … … 408 398 /* Tell nscd when lock count goes to zero, 409 399 if any of the files were changed. */ 410 400 if (nscd_need_reload) { 411 nscd_flush_cache ("passwd");412 nscd_flush_cache ("group");401 // nscd_flush_cache ("passwd"); 402 // nscd_flush_cache ("group"); 413 403 nscd_need_reload = false; 414 404 } 415 405 #ifdef HAVE_LCKPWDF … … 872 862 * Default permissions for new [g]shadow files. 873 863 * (passwd and group always exist...) 874 864 */ 875 sb.st_mode = 0 400;865 sb.st_mode = 0600; 876 866 sb.st_uid = 0; 877 867 sb.st_gid = 0; 878 868 } -
lib/defines.h
diff -Naur shadow-4.1.4.2.orig/lib/defines.h shadow-4.1.4.2/lib/defines.h
old new 299 299 (strncpy((A), (B), sizeof(A) - 1), (A)[sizeof(A) - 1] = '\0') 300 300 301 301 #ifndef PASSWD_FILE 302 #define PASSWD_FILE "/etc/passwd"302 #define PASSWD_FILE SYSCONFDIR"/passwd" 303 303 #endif 304 304 305 305 #ifndef GROUP_FILE 306 #define GROUP_FILE "/etc/group"306 #define GROUP_FILE SYSCONFDIR"/group" 307 307 #endif 308 308 309 309 #ifndef SHADOW_FILE 310 #define SHADOW_FILE "/etc/shadow"310 #define SHADOW_FILE SYSCONFDIR"/shadow" 311 311 #endif 312 312 313 313 #ifdef SHADOWGRP 314 314 #ifndef SGROUP_FILE 315 #define SGROUP_FILE "/etc/gshadow"315 #define SGROUP_FILE SYSCONFDIR"/gshadow" 316 316 #endif 317 317 #endif 318 318 -
shadow-4.1.4.2
diff -Naur shadow-4.1.4.2.orig/lib/getdef.c shadow-4.1.4.2/lib/getdef.c
old new 128 128 }; 129 129 130 130 #ifndef LOGINDEFS 131 #define LOGINDEFS "/etc/login.defs"131 #define LOGINDEFS SYSCONFDIR"/login.defs" 132 132 #endif 133 133 134 134 static char def_fname[] = LOGINDEFS; /* login config defs file */ -
lib/gshadow_.h
diff -Naur shadow-4.1.4.2.orig/lib/gshadow_.h shadow-4.1.4.2/lib/gshadow_.h
old new 71 71 int putsgent (); 72 72 #endif 73 73 74 #define GSHADOW "/etc/gshadow"74 #define GSHADOW SYSCONFDIR"/gshadow" 75 75 #endif /* ifndef _H_GSHADOW */ -
lib/Makefile.am
diff -Naur shadow-4.1.4.2.orig/lib/Makefile.am shadow-4.1.4.2/lib/Makefile.am
old new 2 2 AUTOMAKE_OPTIONS = 1.0 foreign 3 3 4 4 DEFS = 5 AM_CPPFLAGS = -DSYSCONFDIR=\"$(sysconfdir)\" 5 6 6 7 noinst_LTLIBRARIES = libshadow.la 7 8 -
lib/Makefile.in
diff -Naur shadow-4.1.4.2.orig/lib/Makefile.in shadow-4.1.4.2/lib/Makefile.in
old new 1 # Makefile.in generated by automake 1.10. 2from Makefile.am.1 # Makefile.in generated by automake 1.10.1 from Makefile.am. 2 2 # @configure_input@ 3 3 4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, … … 214 214 top_builddir = @top_builddir@ 215 215 top_srcdir = @top_srcdir@ 216 216 AUTOMAKE_OPTIONS = 1.0 foreign 217 AM_CPPFLAGS = -DSYSCONFDIR=\"$(sysconfdir)\" 217 218 noinst_LTLIBRARIES = libshadow.la 218 219 libshadow_la_LDFLAGS = -version-info 0:0:0 219 220 libshadow_la_SOURCES = \ … … 275 276 @for dep in $?; do \ 276 277 case '$(am__configure_deps)' in \ 277 278 *$$dep*) \ 278 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh )\279 && { if test -f $@; then exit 0; else break; fi; }; \279 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 280 && exit 0; \ 280 281 exit 1;; \ 281 282 esac; \ 282 283 done; \ … … 377 378 unique=`for i in $$list; do \ 378 379 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 379 380 done | \ 380 $(AWK) '{ files[$$0] = 1; nonem pty = 1; } \381 $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ 381 382 END { if (nonempty) { for (i in files) print i; }; }'`; \ 382 383 mkid -fID $$unique 383 384 tags: TAGS -
shadow-4.1.4.2
diff -Naur shadow-4.1.4.2.orig/lib/port.h shadow-4.1.4.2/lib/port.h
old new 52 52 * PORT_DAY - Day of the week to a bit value (0 = Sunday). 53 53 */ 54 54 55 #define PORTS "/etc/porttime"55 #define PORTS SYSCONFDIR"/porttime" 56 56 #define PORT_IDS 64 57 57 #define PORT_TTY 64 58 58 #define PORT_TIMES 24 -
libmisc/limits.c
diff -Naur shadow-4.1.4.2.orig/libmisc/limits.c shadow-4.1.4.2/libmisc/limits.c
old new 54 54 #endif 55 55 #ifdef LIMITS 56 56 #ifndef LIMITS_FILE 57 #define LIMITS_FILE "/etc/limits"57 #define LIMITS_FILE SYSCONFDIR"/limits" 58 58 #endif 59 59 #define LOGIN_ERROR_RLIMIT 1 60 60 #define LOGIN_ERROR_LOGIN 2 -
libmisc/Makefile.am
diff -Naur shadow-4.1.4.2.orig/libmisc/Makefile.am shadow-4.1.4.2/libmisc/Makefile.am
old new 1 1 2 2 EXTRA_DIST = .indent.pro xgetXXbyYY.c 3 3 4 AM_CPPFLAGS = -DSYSCONFDIR=\"$(sysconfdir)\" 5 4 6 INCLUDES = -I$(top_srcdir)/lib 5 7 6 8 noinst_LIBRARIES = libmisc.a -
libmisc/Makefile.in
diff -Naur shadow-4.1.4.2.orig/libmisc/Makefile.in shadow-4.1.4.2/libmisc/Makefile.in
old new 1 # Makefile.in generated by automake 1.10. 2from Makefile.am.1 # Makefile.in generated by automake 1.10.1 from Makefile.am. 2 2 # @configure_input@ 3 3 4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, … … 233 233 top_builddir = @top_builddir@ 234 234 top_srcdir = @top_srcdir@ 235 235 EXTRA_DIST = .indent.pro xgetXXbyYY.c 236 AM_CPPFLAGS = -DSYSCONFDIR=\"$(sysconfdir)\" 236 237 INCLUDES = -I$(top_srcdir)/lib 237 238 noinst_LIBRARIES = libmisc.a 238 239 libmisc_a_SOURCES = \ … … 305 306 @for dep in $?; do \ 306 307 case '$(am__configure_deps)' in \ 307 308 *$$dep*) \ 308 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh )\309 && { if test -f $@; then exit 0; else break; fi; }; \309 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 310 && exit 0; \ 310 311 exit 1;; \ 311 312 esac; \ 312 313 done; \ … … 438 439 unique=`for i in $$list; do \ 439 440 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 440 441 done | \ 441 $(AWK) '{ files[$$0] = 1; nonem pty = 1; } \442 $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ 442 443 END { if (nonempty) { for (i in files) print i; }; }'`; \ 443 444 mkid -fID $$unique 444 445 tags: TAGS -
shadow-4.1.4.2
diff -Naur shadow-4.1.4.2.orig/Makefile.in shadow-4.1.4.2/Makefile.in
old new 1 # Makefile.in generated by automake 1.10. 2from Makefile.am.1 # Makefile.in generated by automake 1.10.1 from Makefile.am. 2 2 # @configure_input@ 3 3 4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, … … 283 283 -rm -rf .libs _libs 284 284 285 285 distclean-libtool: 286 -rm -f libtool config.lt286 -rm -f libtool 287 287 288 288 # This directory's subdirectories are mostly independent; you can cd 289 289 # into them and run `make' without going through this Makefile. … … 360 360 unique=`for i in $$list; do \ 361 361 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 362 362 done | \ 363 $(AWK) '{ files[$$0] = 1; nonem pty = 1; } \363 $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ 364 364 END { if (nonempty) { for (i in files) print i; }; }'`; \ 365 365 mkid -fID $$unique 366 366 tags: TAGS -
man/cs/Makefile.in
diff -Naur shadow-4.1.4.2.orig/man/cs/Makefile.in shadow-4.1.4.2/man/cs/Makefile.in
old new 1 # Makefile.in generated by automake 1.10. 2from Makefile.am.1 # Makefile.in generated by automake 1.10.1 from Makefile.am. 2 2 # @configure_input@ 3 3 4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, … … 223 223 @for dep in $?; do \ 224 224 case '$(am__configure_deps)' in \ 225 225 *$$dep*) \ 226 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh )\227 && { if test -f $@; then exit 0; else break; fi; }; \226 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 227 && exit 0; \ 228 228 exit 1;; \ 229 229 esac; \ 230 230 done; \ … … 265 265 esac; \ 266 266 done; \ 267 267 for i in $$list; do \ 268 if test -f $ $i; then file=$$i; \269 else file=$ (srcdir)/$$i; fi; \268 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 269 else file=$$i; fi; \ 270 270 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 271 271 case "$$ext" in \ 272 272 1*) ;; \ … … 310 310 esac; \ 311 311 done; \ 312 312 for i in $$list; do \ 313 if test -f $ $i; then file=$$i; \314 else file=$ (srcdir)/$$i; fi; \313 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 314 else file=$$i; fi; \ 315 315 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 316 316 case "$$ext" in \ 317 317 5*) ;; \ … … 355 355 esac; \ 356 356 done; \ 357 357 for i in $$list; do \ 358 if test -f $ $i; then file=$$i; \359 else file=$ (srcdir)/$$i; fi; \358 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 359 else file=$$i; fi; \ 360 360 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 361 361 case "$$ext" in \ 362 362 8*) ;; \ -
man/de/Makefile.in
diff -Naur shadow-4.1.4.2.orig/man/de/Makefile.in shadow-4.1.4.2/man/de/Makefile.in
old new 1 # Makefile.in generated by automake 1.10. 2from Makefile.am.1 # Makefile.in generated by automake 1.10.1 from Makefile.am. 2 2 # @configure_input@ 3 3 4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, … … 223 223 @for dep in $?; do \ 224 224 case '$(am__configure_deps)' in \ 225 225 *$$dep*) \ 226 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh )\227 && { if test -f $@; then exit 0; else break; fi; }; \226 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 227 && exit 0; \ 228 228 exit 1;; \ 229 229 esac; \ 230 230 done; \ … … 265 265 esac; \ 266 266 done; \ 267 267 for i in $$list; do \ 268 if test -f $ $i; then file=$$i; \269 else file=$ (srcdir)/$$i; fi; \268 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 269 else file=$$i; fi; \ 270 270 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 271 271 case "$$ext" in \ 272 272 1*) ;; \ … … 310 310 esac; \ 311 311 done; \ 312 312 for i in $$list; do \ 313 if test -f $ $i; then file=$$i; \314 else file=$ (srcdir)/$$i; fi; \313 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 314 else file=$$i; fi; \ 315 315 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 316 316 case "$$ext" in \ 317 317 5*) ;; \ … … 355 355 esac; \ 356 356 done; \ 357 357 for i in $$list; do \ 358 if test -f $ $i; then file=$$i; \359 else file=$ (srcdir)/$$i; fi; \358 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 359 else file=$$i; fi; \ 360 360 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 361 361 case "$$ext" in \ 362 362 8*) ;; \ -
man/es/Makefile.in
diff -Naur shadow-4.1.4.2.orig/man/es/Makefile.in shadow-4.1.4.2/man/es/Makefile.in
old new 1 # Makefile.in generated by automake 1.10. 2from Makefile.am.1 # Makefile.in generated by automake 1.10.1 from Makefile.am. 2 2 # @configure_input@ 3 3 4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, … … 206 206 @for dep in $?; do \ 207 207 case '$(am__configure_deps)' in \ 208 208 *$$dep*) \ 209 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh )\210 && { if test -f $@; then exit 0; else break; fi; }; \209 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 210 && exit 0; \ 211 211 exit 1;; \ 212 212 esac; \ 213 213 done; \ -
man/fi/Makefile.in
diff -Naur shadow-4.1.4.2.orig/man/fi/Makefile.in shadow-4.1.4.2/man/fi/Makefile.in
old new 1 # Makefile.in generated by automake 1.10. 2from Makefile.am.1 # Makefile.in generated by automake 1.10.1 from Makefile.am. 2 2 # @configure_input@ 3 3 4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, … … 206 206 @for dep in $?; do \ 207 207 case '$(am__configure_deps)' in \ 208 208 *$$dep*) \ 209 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh )\210 && { if test -f $@; then exit 0; else break; fi; }; \209 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 210 && exit 0; \ 211 211 exit 1;; \ 212 212 esac; \ 213 213 done; \ … … 248 248 esac; \ 249 249 done; \ 250 250 for i in $$list; do \ 251 if test -f $ $i; then file=$$i; \252 else file=$ (srcdir)/$$i; fi; \251 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 252 else file=$$i; fi; \ 253 253 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 254 254 case "$$ext" in \ 255 255 1*) ;; \ -
man/fr/Makefile.in
diff -Naur shadow-4.1.4.2.orig/man/fr/Makefile.in shadow-4.1.4.2/man/fr/Makefile.in
old new 1 # Makefile.in generated by automake 1.10. 2from Makefile.am.1 # Makefile.in generated by automake 1.10.1 from Makefile.am. 2 2 # @configure_input@ 3 3 4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, … … 229 229 @for dep in $?; do \ 230 230 case '$(am__configure_deps)' in \ 231 231 *$$dep*) \ 232 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh )\233 && { if test -f $@; then exit 0; else break; fi; }; \232 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 233 && exit 0; \ 234 234 exit 1;; \ 235 235 esac; \ 236 236 done; \ … … 271 271 esac; \ 272 272 done; \ 273 273 for i in $$list; do \ 274 if test -f $ $i; then file=$$i; \275 else file=$ (srcdir)/$$i; fi; \274 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 275 else file=$$i; fi; \ 276 276 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 277 277 case "$$ext" in \ 278 278 1*) ;; \ … … 316 316 esac; \ 317 317 done; \ 318 318 for i in $$list; do \ 319 if test -f $ $i; then file=$$i; \320 else file=$ (srcdir)/$$i; fi; \319 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 320 else file=$$i; fi; \ 321 321 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 322 322 case "$$ext" in \ 323 323 3*) ;; \ … … 361 361 esac; \ 362 362 done; \ 363 363 for i in $$list; do \ 364 if test -f $ $i; then file=$$i; \365 else file=$ (srcdir)/$$i; fi; \364 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 365 else file=$$i; fi; \ 366 366 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 367 367 case "$$ext" in \ 368 368 5*) ;; \ … … 406 406 esac; \ 407 407 done; \ 408 408 for i in $$list; do \ 409 if test -f $ $i; then file=$$i; \410 else file=$ (srcdir)/$$i; fi; \409 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 410 else file=$$i; fi; \ 411 411 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 412 412 case "$$ext" in \ 413 413 8*) ;; \ -
man/hu/Makefile.in
diff -Naur shadow-4.1.4.2.orig/man/hu/Makefile.in shadow-4.1.4.2/man/hu/Makefile.in
old new 1 # Makefile.in generated by automake 1.10. 2from Makefile.am.1 # Makefile.in generated by automake 1.10.1 from Makefile.am. 2 2 # @configure_input@ 3 3 4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, … … 213 213 @for dep in $?; do \ 214 214 case '$(am__configure_deps)' in \ 215 215 *$$dep*) \ 216 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh )\217 && { if test -f $@; then exit 0; else break; fi; }; \216 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 217 && exit 0; \ 218 218 exit 1;; \ 219 219 esac; \ 220 220 done; \ … … 255 255 esac; \ 256 256 done; \ 257 257 for i in $$list; do \ 258 if test -f $ $i; then file=$$i; \259 else file=$ (srcdir)/$$i; fi; \258 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 259 else file=$$i; fi; \ 260 260 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 261 261 case "$$ext" in \ 262 262 1*) ;; \ … … 300 300 esac; \ 301 301 done; \ 302 302 for i in $$list; do \ 303 if test -f $ $i; then file=$$i; \304 else file=$ (srcdir)/$$i; fi; \303 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 304 else file=$$i; fi; \ 305 305 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 306 306 case "$$ext" in \ 307 307 5*) ;; \ … … 345 345 esac; \ 346 346 done; \ 347 347 for i in $$list; do \ 348 if test -f $ $i; then file=$$i; \349 else file=$ (srcdir)/$$i; fi; \348 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 349 else file=$$i; fi; \ 350 350 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 351 351 case "$$ext" in \ 352 352 8*) ;; \ -
man/id/Makefile.in
diff -Naur shadow-4.1.4.2.orig/man/id/Makefile.in shadow-4.1.4.2/man/id/Makefile.in
old new 1 # Makefile.in generated by automake 1.10. 2from Makefile.am.1 # Makefile.in generated by automake 1.10.1 from Makefile.am. 2 2 # @configure_input@ 3 3 4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, … … 204 204 @for dep in $?; do \ 205 205 case '$(am__configure_deps)' in \ 206 206 *$$dep*) \ 207 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh )\208 && { if test -f $@; then exit 0; else break; fi; }; \207 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 208 && exit 0; \ 209 209 exit 1;; \ 210 210 esac; \ 211 211 done; \ … … 246 246 esac; \ 247 247 done; \ 248 248 for i in $$list; do \ 249 if test -f $ $i; then file=$$i; \250 else file=$ (srcdir)/$$i; fi; \249 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 250 else file=$$i; fi; \ 251 251 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 252 252 case "$$ext" in \ 253 253 1*) ;; \ … … 291 291 esac; \ 292 292 done; \ 293 293 for i in $$list; do \ 294 if test -f $ $i; then file=$$i; \295 else file=$ (srcdir)/$$i; fi; \294 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 295 else file=$$i; fi; \ 296 296 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 297 297 case "$$ext" in \ 298 298 8*) ;; \ -
man/it/Makefile.in
diff -Naur shadow-4.1.4.2.orig/man/it/Makefile.in shadow-4.1.4.2/man/it/Makefile.in
old new 1 # Makefile.in generated by automake 1.10. 2from Makefile.am.1 # Makefile.in generated by automake 1.10.1 from Makefile.am. 2 2 # @configure_input@ 3 3 4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, … … 227 227 @for dep in $?; do \ 228 228 case '$(am__configure_deps)' in \ 229 229 *$$dep*) \ 230 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh )\231 && { if test -f $@; then exit 0; else break; fi; }; \230 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 231 && exit 0; \ 232 232 exit 1;; \ 233 233 esac; \ 234 234 done; \ … … 269 269 esac; \ 270 270 done; \ 271 271 for i in $$list; do \ 272 if test -f $ $i; then file=$$i; \273 else file=$ (srcdir)/$$i; fi; \272 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 273 else file=$$i; fi; \ 274 274 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 275 275 case "$$ext" in \ 276 276 1*) ;; \ … … 314 314 esac; \ 315 315 done; \ 316 316 for i in $$list; do \ 317 if test -f $ $i; then file=$$i; \318 else file=$ (srcdir)/$$i; fi; \317 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 318 else file=$$i; fi; \ 319 319 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 320 320 case "$$ext" in \ 321 321 3*) ;; \ … … 359 359 esac; \ 360 360 done; \ 361 361 for i in $$list; do \ 362 if test -f $ $i; then file=$$i; \363 else file=$ (srcdir)/$$i; fi; \362 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 363 else file=$$i; fi; \ 364 364 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 365 365 case "$$ext" in \ 366 366 5*) ;; \ … … 404 404 esac; \ 405 405 done; \ 406 406 for i in $$list; do \ 407 if test -f $ $i; then file=$$i; \408 else file=$ (srcdir)/$$i; fi; \407 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 408 else file=$$i; fi; \ 409 409 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 410 410 case "$$ext" in \ 411 411 8*) ;; \ -
man/ja/Makefile.in
diff -Naur shadow-4.1.4.2.orig/man/ja/Makefile.in shadow-4.1.4.2/man/ja/Makefile.in
old new 1 # Makefile.in generated by automake 1.10. 2from Makefile.am.1 # Makefile.in generated by automake 1.10.1 from Makefile.am. 2 2 # @configure_input@ 3 3 4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, … … 219 219 @for dep in $?; do \ 220 220 case '$(am__configure_deps)' in \ 221 221 *$$dep*) \ 222 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh )\223 && { if test -f $@; then exit 0; else break; fi; }; \222 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 223 && exit 0; \ 224 224 exit 1;; \ 225 225 esac; \ 226 226 done; \ … … 261 261 esac; \ 262 262 done; \ 263 263 for i in $$list; do \ 264 if test -f $ $i; then file=$$i; \265 else file=$ (srcdir)/$$i; fi; \264 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 265 else file=$$i; fi; \ 266 266 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 267 267 case "$$ext" in \ 268 268 1*) ;; \ … … 306 306 esac; \ 307 307 done; \ 308 308 for i in $$list; do \ 309 if test -f $ $i; then file=$$i; \310 else file=$ (srcdir)/$$i; fi; \309 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 310 else file=$$i; fi; \ 311 311 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 312 312 case "$$ext" in \ 313 313 5*) ;; \ … … 351 351 esac; \ 352 352 done; \ 353 353 for i in $$list; do \ 354 if test -f $ $i; then file=$$i; \355 else file=$ (srcdir)/$$i; fi; \354 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 355 else file=$$i; fi; \ 356 356 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 357 357 case "$$ext" in \ 358 358 8*) ;; \ -
man/ko/Makefile.in
diff -Naur shadow-4.1.4.2.orig/man/ko/Makefile.in shadow-4.1.4.2/man/ko/Makefile.in
old new 1 # Makefile.in generated by automake 1.10. 2from Makefile.am.1 # Makefile.in generated by automake 1.10.1 from Makefile.am. 2 2 # @configure_input@ 3 3 4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, … … 213 213 @for dep in $?; do \ 214 214 case '$(am__configure_deps)' in \ 215 215 *$$dep*) \ 216 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh )\217 && { if test -f $@; then exit 0; else break; fi; }; \216 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 217 && exit 0; \ 218 218 exit 1;; \ 219 219 esac; \ 220 220 done; \ … … 255 255 esac; \ 256 256 done; \ 257 257 for i in $$list; do \ 258 if test -f $ $i; then file=$$i; \259 else file=$ (srcdir)/$$i; fi; \258 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 259 else file=$$i; fi; \ 260 260 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 261 261 case "$$ext" in \ 262 262 1*) ;; \ … … 300 300 esac; \ 301 301 done; \ 302 302 for i in $$list; do \ 303 if test -f $ $i; then file=$$i; \304 else file=$ (srcdir)/$$i; fi; \303 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 304 else file=$$i; fi; \ 305 305 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 306 306 case "$$ext" in \ 307 307 5*) ;; \ … … 345 345 esac; \ 346 346 done; \ 347 347 for i in $$list; do \ 348 if test -f $ $i; then file=$$i; \349 else file=$ (srcdir)/$$i; fi; \348 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 349 else file=$$i; fi; \ 350 350 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 351 351 case "$$ext" in \ 352 352 8*) ;; \ -
man/Makefile.in
diff -Naur shadow-4.1.4.2.orig/man/Makefile.in shadow-4.1.4.2/man/Makefile.in
old new 1 # Makefile.in generated by automake 1.10. 2from Makefile.am.1 # Makefile.in generated by automake 1.10.1 from Makefile.am. 2 2 # @configure_input@ 3 3 4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, … … 353 353 @for dep in $?; do \ 354 354 case '$(am__configure_deps)' in \ 355 355 *$$dep*) \ 356 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh )\357 && { if test -f $@; then exit 0; else break; fi; }; \356 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 357 && exit 0; \ 358 358 exit 1;; \ 359 359 esac; \ 360 360 done; \ … … 397 397 esac; \ 398 398 done; \ 399 399 for i in $$list; do \ 400 if test -f $ $i; then file=$$i; \401 else file=$ (srcdir)/$$i; fi; \400 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 401 else file=$$i; fi; \ 402 402 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 403 403 case "$$ext" in \ 404 404 1*) ;; \ … … 442 442 esac; \ 443 443 done; \ 444 444 for i in $$list; do \ 445 if test -f $ $i; then file=$$i; \446 else file=$ (srcdir)/$$i; fi; \445 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 446 else file=$$i; fi; \ 447 447 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 448 448 case "$$ext" in \ 449 449 3*) ;; \ … … 487 487 esac; \ 488 488 done; \ 489 489 for i in $$list; do \ 490 if test -f $ $i; then file=$$i; \491 else file=$ (srcdir)/$$i; fi; \490 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 491 else file=$$i; fi; \ 492 492 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 493 493 case "$$ext" in \ 494 494 5*) ;; \ … … 532 532 esac; \ 533 533 done; \ 534 534 for i in $$list; do \ 535 if test -f $ $i; then file=$$i; \536 else file=$ (srcdir)/$$i; fi; \535 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 536 else file=$$i; fi; \ 537 537 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 538 538 case "$$ext" in \ 539 539 8*) ;; \ … … 642 642 unique=`for i in $$list; do \ 643 643 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 644 644 done | \ 645 $(AWK) '{ files[$$0] = 1; nonem pty = 1; } \645 $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ 646 646 END { if (nonempty) { for (i in files) print i; }; }'`; \ 647 647 mkid -fID $$unique 648 648 tags: TAGS -
man/pl/Makefile.in
diff -Naur shadow-4.1.4.2.orig/man/pl/Makefile.in shadow-4.1.4.2/man/pl/Makefile.in
old new 1 # Makefile.in generated by automake 1.10. 2from Makefile.am.1 # Makefile.in generated by automake 1.10.1 from Makefile.am. 2 2 # @configure_input@ 3 3 4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, … … 230 230 @for dep in $?; do \ 231 231 case '$(am__configure_deps)' in \ 232 232 *$$dep*) \ 233 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh )\234 && { if test -f $@; then exit 0; else break; fi; }; \233 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 234 && exit 0; \ 235 235 exit 1;; \ 236 236 esac; \ 237 237 done; \ … … 272 272 esac; \ 273 273 done; \ 274 274 for i in $$list; do \ 275 if test -f $ $i; then file=$$i; \276 else file=$ (srcdir)/$$i; fi; \275 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 276 else file=$$i; fi; \ 277 277 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 278 278 case "$$ext" in \ 279 279 1*) ;; \ … … 317 317 esac; \ 318 318 done; \ 319 319 for i in $$list; do \ 320 if test -f $ $i; then file=$$i; \321 else file=$ (srcdir)/$$i; fi; \320 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 321 else file=$$i; fi; \ 322 322 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 323 323 case "$$ext" in \ 324 324 5*) ;; \ … … 362 362 esac; \ 363 363 done; \ 364 364 for i in $$list; do \ 365 if test -f $ $i; then file=$$i; \366 else file=$ (srcdir)/$$i; fi; \365 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 366 else file=$$i; fi; \ 367 367 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 368 368 case "$$ext" in \ 369 369 8*) ;; \ -
man/pt_BR/Makefile.in
diff -Naur shadow-4.1.4.2.orig/man/pt_BR/Makefile.in shadow-4.1.4.2/man/pt_BR/Makefile.in
old new 1 # Makefile.in generated by automake 1.10. 2from Makefile.am.1 # Makefile.in generated by automake 1.10.1 from Makefile.am. 2 2 # @configure_input@ 3 3 4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, … … 209 209 @for dep in $?; do \ 210 210 case '$(am__configure_deps)' in \ 211 211 *$$dep*) \ 212 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh )\213 && { if test -f $@; then exit 0; else break; fi; }; \212 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 213 && exit 0; \ 214 214 exit 1;; \ 215 215 esac; \ 216 216 done; \ … … 251 251 esac; \ 252 252 done; \ 253 253 for i in $$list; do \ 254 if test -f $ $i; then file=$$i; \255 else file=$ (srcdir)/$$i; fi; \254 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 255 else file=$$i; fi; \ 256 256 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 257 257 case "$$ext" in \ 258 258 1*) ;; \ … … 296 296 esac; \ 297 297 done; \ 298 298 for i in $$list; do \ 299 if test -f $ $i; then file=$$i; \300 else file=$ (srcdir)/$$i; fi; \299 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 300 else file=$$i; fi; \ 301 301 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 302 302 case "$$ext" in \ 303 303 5*) ;; \ … … 341 341 esac; \ 342 342 done; \ 343 343 for i in $$list; do \ 344 if test -f $ $i; then file=$$i; \345 else file=$ (srcdir)/$$i; fi; \344 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 345 else file=$$i; fi; \ 346 346 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 347 347 case "$$ext" in \ 348 348 8*) ;; \ -
man/ru/Makefile.in
diff -Naur shadow-4.1.4.2.orig/man/ru/Makefile.in shadow-4.1.4.2/man/ru/Makefile.in
old new 1 # Makefile.in generated by automake 1.10. 2from Makefile.am.1 # Makefile.in generated by automake 1.10.1 from Makefile.am. 2 2 # @configure_input@ 3 3 4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, … … 230 230 @for dep in $?; do \ 231 231 case '$(am__configure_deps)' in \ 232 232 *$$dep*) \ 233 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh )\234 && { if test -f $@; then exit 0; else break; fi; }; \233 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 234 && exit 0; \ 235 235 exit 1;; \ 236 236 esac; \ 237 237 done; \ … … 272 272 esac; \ 273 273 done; \ 274 274 for i in $$list; do \ 275 if test -f $ $i; then file=$$i; \276 else file=$ (srcdir)/$$i; fi; \275 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 276 else file=$$i; fi; \ 277 277 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 278 278 case "$$ext" in \ 279 279 1*) ;; \ … … 317 317 esac; \ 318 318 done; \ 319 319 for i in $$list; do \ 320 if test -f $ $i; then file=$$i; \321 else file=$ (srcdir)/$$i; fi; \320 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 321 else file=$$i; fi; \ 322 322 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 323 323 case "$$ext" in \ 324 324 3*) ;; \ … … 362 362 esac; \ 363 363 done; \ 364 364 for i in $$list; do \ 365 if test -f $ $i; then file=$$i; \366 else file=$ (srcdir)/$$i; fi; \365 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 366 else file=$$i; fi; \ 367 367 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 368 368 case "$$ext" in \ 369 369 5*) ;; \ … … 407 407 esac; \ 408 408 done; \ 409 409 for i in $$list; do \ 410 if test -f $ $i; then file=$$i; \411 else file=$ (srcdir)/$$i; fi; \410 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 411 else file=$$i; fi; \ 412 412 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 413 413 case "$$ext" in \ 414 414 8*) ;; \ -
man/sv/Makefile.in
diff -Naur shadow-4.1.4.2.orig/man/sv/Makefile.in shadow-4.1.4.2/man/sv/Makefile.in
old new 1 # Makefile.in generated by automake 1.10. 2from Makefile.am.1 # Makefile.in generated by automake 1.10.1 from Makefile.am. 2 2 # @configure_input@ 3 3 4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, … … 228 228 @for dep in $?; do \ 229 229 case '$(am__configure_deps)' in \ 230 230 *$$dep*) \ 231 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh )\232 && { if test -f $@; then exit 0; else break; fi; }; \231 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 232 && exit 0; \ 233 233 exit 1;; \ 234 234 esac; \ 235 235 done; \ … … 270 270 esac; \ 271 271 done; \ 272 272 for i in $$list; do \ 273 if test -f $ $i; then file=$$i; \274 else file=$ (srcdir)/$$i; fi; \273 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 274 else file=$$i; fi; \ 275 275 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 276 276 case "$$ext" in \ 277 277 1*) ;; \ … … 315 315 esac; \ 316 316 done; \ 317 317 for i in $$list; do \ 318 if test -f $ $i; then file=$$i; \319 else file=$ (srcdir)/$$i; fi; \318 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 319 else file=$$i; fi; \ 320 320 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 321 321 case "$$ext" in \ 322 322 3*) ;; \ … … 360 360 esac; \ 361 361 done; \ 362 362 for i in $$list; do \ 363 if test -f $ $i; then file=$$i; \364 else file=$ (srcdir)/$$i; fi; \363 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 364 else file=$$i; fi; \ 365 365 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 366 366 case "$$ext" in \ 367 367 5*) ;; \ … … 405 405 esac; \ 406 406 done; \ 407 407 for i in $$list; do \ 408 if test -f $ $i; then file=$$i; \409 else file=$ (srcdir)/$$i; fi; \408 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 409 else file=$$i; fi; \ 410 410 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 411 411 case "$$ext" in \ 412 412 8*) ;; \ -
man/tr/Makefile.in
diff -Naur shadow-4.1.4.2.orig/man/tr/Makefile.in shadow-4.1.4.2/man/tr/Makefile.in
old new 1 # Makefile.in generated by automake 1.10. 2from Makefile.am.1 # Makefile.in generated by automake 1.10.1 from Makefile.am. 2 2 # @configure_input@ 3 3 4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, … … 216 216 @for dep in $?; do \ 217 217 case '$(am__configure_deps)' in \ 218 218 *$$dep*) \ 219 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh )\220 && { if test -f $@; then exit 0; else break; fi; }; \219 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 220 && exit 0; \ 221 221 exit 1;; \ 222 222 esac; \ 223 223 done; \ … … 258 258 esac; \ 259 259 done; \ 260 260 for i in $$list; do \ 261 if test -f $ $i; then file=$$i; \262 else file=$ (srcdir)/$$i; fi; \261 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 262 else file=$$i; fi; \ 263 263 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 264 264 case "$$ext" in \ 265 265 1*) ;; \ … … 303 303 esac; \ 304 304 done; \ 305 305 for i in $$list; do \ 306 if test -f $ $i; then file=$$i; \307 else file=$ (srcdir)/$$i; fi; \306 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 307 else file=$$i; fi; \ 308 308 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 309 309 case "$$ext" in \ 310 310 5*) ;; \ … … 348 348 esac; \ 349 349 done; \ 350 350 for i in $$list; do \ 351 if test -f $ $i; then file=$$i; \352 else file=$ (srcdir)/$$i; fi; \351 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 352 else file=$$i; fi; \ 353 353 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 354 354 case "$$ext" in \ 355 355 8*) ;; \ -
man/zh_CN/Makefile.in
diff -Naur shadow-4.1.4.2.orig/man/zh_CN/Makefile.in shadow-4.1.4.2/man/zh_CN/Makefile.in
old new 1 # Makefile.in generated by automake 1.10. 2from Makefile.am.1 # Makefile.in generated by automake 1.10.1 from Makefile.am. 2 2 # @configure_input@ 3 3 4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, … … 217 217 @for dep in $?; do \ 218 218 case '$(am__configure_deps)' in \ 219 219 *$$dep*) \ 220 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh )\221 && { if test -f $@; then exit 0; else break; fi; }; \220 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 221 && exit 0; \ 222 222 exit 1;; \ 223 223 esac; \ 224 224 done; \ … … 259 259 esac; \ 260 260 done; \ 261 261 for i in $$list; do \ 262 if test -f $ $i; then file=$$i; \263 else file=$ (srcdir)/$$i; fi; \262 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 263 else file=$$i; fi; \ 264 264 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 265 265 case "$$ext" in \ 266 266 1*) ;; \ … … 304 304 esac; \ 305 305 done; \ 306 306 for i in $$list; do \ 307 if test -f $ $i; then file=$$i; \308 else file=$ (srcdir)/$$i; fi; \307 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 308 else file=$$i; fi; \ 309 309 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 310 310 case "$$ext" in \ 311 311 5*) ;; \ … … 349 349 esac; \ 350 350 done; \ 351 351 for i in $$list; do \ 352 if test -f $ $i; then file=$$i; \353 else file=$ (srcdir)/$$i; fi; \352 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 353 else file=$$i; fi; \ 354 354 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 355 355 case "$$ext" in \ 356 356 8*) ;; \ -
man/zh_TW/Makefile.in
diff -Naur shadow-4.1.4.2.orig/man/zh_TW/Makefile.in shadow-4.1.4.2/man/zh_TW/Makefile.in
old new 1 # Makefile.in generated by automake 1.10. 2from Makefile.am.1 # Makefile.in generated by automake 1.10.1 from Makefile.am. 2 2 # @configure_input@ 3 3 4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, … … 217 217 @for dep in $?; do \ 218 218 case '$(am__configure_deps)' in \ 219 219 *$$dep*) \ 220 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh )\221 && { if test -f $@; then exit 0; else break; fi; }; \220 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 221 && exit 0; \ 222 222 exit 1;; \ 223 223 esac; \ 224 224 done; \ … … 259 259 esac; \ 260 260 done; \ 261 261 for i in $$list; do \ 262 if test -f $ $i; then file=$$i; \263 else file=$ (srcdir)/$$i; fi; \262 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 263 else file=$$i; fi; \ 264 264 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 265 265 case "$$ext" in \ 266 266 1*) ;; \ … … 304 304 esac; \ 305 305 done; \ 306 306 for i in $$list; do \ 307 if test -f $ $i; then file=$$i; \308 else file=$ (srcdir)/$$i; fi; \307 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 308 else file=$$i; fi; \ 309 309 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 310 310 case "$$ext" in \ 311 311 5*) ;; \ … … 349 349 esac; \ 350 350 done; \ 351 351 for i in $$list; do \ 352 if test -f $ $i; then file=$$i; \353 else file=$ (srcdir)/$$i; fi; \352 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 353 else file=$$i; fi; \ 354 354 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 355 355 case "$$ext" in \ 356 356 8*) ;; \ -
shadow-4.1.4.2
diff -Naur shadow-4.1.4.2.orig/src/chage.c shadow-4.1.4.2/src/chage.c
old new 808 808 809 809 ruid = getuid (); 810 810 rgid = getgid (); 811 amroot = (ruid == 0);811 amroot = 1; /* (ruid == 0); */ 812 812 #ifdef WITH_SELINUX 813 813 if (amroot && (is_selinux_enabled () > 0)) { 814 814 amroot = (selinux_check_passwd_access (PASSWD__ROOTOK) == 0); -
shadow-4.1.4.2
diff -Naur shadow-4.1.4.2.orig/src/chfn.c shadow-4.1.4.2/src/chfn.c
old new 719 719 720 720 SYSLOG ((LOG_INFO, "changed user '%s' information", user)); 721 721 722 nscd_flush_cache ("passwd");722 // nscd_flush_cache ("passwd"); 723 723 724 724 closelog (); 725 725 exit (E_SUCCESS); -
src/chgpasswd.c
diff -Naur shadow-4.1.4.2.orig/src/chgpasswd.c shadow-4.1.4.2/src/chgpasswd.c
old new 537 537 538 538 close_files (); 539 539 540 nscd_flush_cache ("group");540 // nscd_flush_cache ("group"); 541 541 542 542 return (0); 543 543 } -
src/chpasswd.c
diff -Naur shadow-4.1.4.2.orig/src/chpasswd.c shadow-4.1.4.2/src/chpasswd.c
old new 578 578 close_files (); 579 579 #endif 580 580 581 nscd_flush_cache ("passwd");581 // nscd_flush_cache ("passwd"); 582 582 583 583 return (0); 584 584 } -
shadow-4.1.4.2
diff -Naur shadow-4.1.4.2.orig/src/chsh.c shadow-4.1.4.2/src/chsh.c
old new 56 56 #include "exitcodes.h" 57 57 58 58 #ifndef SHELLS_FILE 59 #define SHELLS_FILE "/etc/shells"59 #define SHELLS_FILE SYSCONFDIR"/shells" 60 60 #endif 61 61 /* 62 62 * Global variables … … 443 443 /* 444 444 * This command behaves different for root and non-root users. 445 445 */ 446 amroot = (getuid () == 0);446 amroot = 1; //(getuid () == 0); 447 447 448 448 /* 449 449 * Get the program name. The program name is used as a prefix to … … 543 543 544 544 SYSLOG ((LOG_INFO, "changed user '%s' shell to '%s'", user, loginsh)); 545 545 546 nscd_flush_cache ("passwd");546 // nscd_flush_cache ("passwd"); 547 547 548 548 closelog (); 549 549 exit (E_SUCCESS); -
src/gpasswd.c
diff -Naur shadow-4.1.4.2.orig/src/gpasswd.c shadow-4.1.4.2/src/gpasswd.c
old new 86 86 /* The UID of the caller */ 87 87 static uid_t bywho; 88 88 /* Indicate if gpasswd was called by root */ 89 #define amroot (0 == bywho)89 #define amroot 1 /* (0 == bywho) */ 90 90 91 91 /* The number of retries for th user to provide and repeat a new password */ 92 92 #ifndef RETRIES … … 1173 1173 * output, etc. 1174 1174 */ 1175 1175 output: 1176 /* 1176 1177 if (setuid (0) != 0) { 1177 1178 fputs (_("Cannot change ID to root.\n"), stderr); 1178 1179 SYSLOG ((LOG_ERR, "can't setuid(0)")); 1179 1180 closelog (); 1180 1181 exit (E_NOPERM); 1181 1182 } 1183 */ 1182 1184 pwd_init (); 1183 1185 1184 1186 open_files (); … … 1191 1193 1192 1194 close_files (); 1193 1195 1194 nscd_flush_cache ("group");1196 // nscd_flush_cache ("group"); 1195 1197 1196 1198 exit (E_SUCCESS); 1197 1199 } -
src/groupadd.c
diff -Naur shadow-4.1.4.2.orig/src/groupadd.c shadow-4.1.4.2/src/groupadd.c
old new 604 604 grp_update (); 605 605 close_files (); 606 606 607 nscd_flush_cache ("group");607 // nscd_flush_cache ("group"); 608 608 609 609 exit (E_SUCCESS); 610 610 /*@notreached@*/ -
src/groupdel.c
diff -Naur shadow-4.1.4.2.orig/src/groupdel.c shadow-4.1.4.2/src/groupdel.c
old new 426 426 427 427 close_files (); 428 428 429 nscd_flush_cache ("group");429 // nscd_flush_cache ("group"); 430 430 431 431 return E_SUCCESS; 432 432 } -
src/groupmod.c
diff -Naur shadow-4.1.4.2.orig/src/groupmod.c shadow-4.1.4.2/src/groupmod.c
old new 815 815 816 816 close_files (); 817 817 818 nscd_flush_cache ("group");818 // nscd_flush_cache ("group"); 819 819 820 820 return E_SUCCESS; 821 821 } -
shadow-4.1.4.2
diff -Naur shadow-4.1.4.2.orig/src/grpck.c shadow-4.1.4.2/src/grpck.c
old new 836 836 /* Commit the change in the database if needed */ 837 837 close_files (changed); 838 838 839 nscd_flush_cache ("group");839 // nscd_flush_cache ("group"); 840 840 841 841 /* 842 842 * Tell the user what we did and exit. -
src/grpconv.c
diff -Naur shadow-4.1.4.2.orig/src/grpconv.c shadow-4.1.4.2/src/grpconv.c
old new 217 217 } 218 218 gr_locked = false; 219 219 220 nscd_flush_cache ("group");220 // nscd_flush_cache ("group"); 221 221 222 222 return 0; 223 223 } -
src/grpunconv.c
diff -Naur shadow-4.1.4.2.orig/src/grpunconv.c shadow-4.1.4.2/src/grpunconv.c
old new 186 186 /* continue */ 187 187 } 188 188 189 nscd_flush_cache ("group");189 // nscd_flush_cache ("group"); 190 190 191 191 return 0; 192 192 } -
src/login_nopam.c
diff -Naur shadow-4.1.4.2.orig/src/login_nopam.c shadow-4.1.4.2/src/login_nopam.c
old new 59 59 60 60 /* Path name of the access control file. */ 61 61 #ifndef TABLE 62 #define TABLE "/etc/login.access"62 #define TABLE SYSCONFDIR"/login.access" 63 63 #endif 64 64 65 65 /* Delimiters for fields and for lists of users, ttys or hosts. */ -
src/logoutd.c
diff -Naur shadow-4.1.4.2.orig/src/logoutd.c shadow-4.1.4.2/src/logoutd.c
old new 50 50 #endif 51 51 52 52 #ifndef HUP_MESG_FILE 53 #define HUP_MESG_FILE "/etc/logoutd.mesg"53 #define HUP_MESG_FILE SYSCONFDIR"/logoutd.mesg" 54 54 #endif 55 55 56 56 /* local function prototypes */ -
src/Makefile.am
diff -Naur shadow-4.1.4.2.orig/src/Makefile.am shadow-4.1.4.2/src/Makefile.am
old new 3 3 .indent.pro 4 4 5 5 ubindir = ${prefix}/bin 6 usbindir = ${prefix}/ sbin6 usbindir = ${prefix}/bin 7 7 suidperms = 4755 8 8 9 9 INCLUDES = \ … … 56 56 LDADD = $(INTLLIBS) \ 57 57 $(top_builddir)/libmisc/libmisc.a \ 58 58 $(top_builddir)/lib/libshadow.la 59 AM_CPPFLAGS = -D LOCALEDIR=\"$(datadir)/locale\"59 AM_CPPFLAGS = -DSYSCONFDIR=\"$(sysconfdir)\" -DLOCALEDIR=\"$(datadir)/locale\" -DSG=\"`echo sg | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`\" -DVIGR=\"`echo vigr | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`\" 60 60 61 61 if ACCT_TOOLS_SETUID 62 62 LIBPAM_SUID = $(LIBPAM) … … 106 106 107 107 install-am: all-am 108 108 $(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 109 ln -sf newgrp $(DESTDIR)$(ubindir)/sg110 ln -sf vipw $(DESTDIR)$(usbindir)/vigr109 ln -sf `echo newgrp | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'` $(DESTDIR)$(ubindir)/`echo sg | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'` 110 ln -sf `echo vipw | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'` $(DESTDIR)$(usbindir)/`echo vigr | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'` 111 111 for i in $(suidbins); do \ 112 chmod -f $(suidperms) $(DESTDIR)$(bindir)/$$i; \112 chmod -f 4755 $(DESTDIR)$(bindir)/`echo $$i | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ 113 113 done 114 114 for i in $(suidubins); do \ 115 chmod -f $(suidperms) $(DESTDIR)$(ubindir)/$$i; \115 chmod -f 4755 $(DESTDIR)$(ubindir)/`echo $$i | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ 116 116 done -
src/Makefile.in
diff -Naur shadow-4.1.4.2.orig/src/Makefile.in shadow-4.1.4.2/src/Makefile.in
old new 1 # Makefile.in generated by automake 1.10. 2from Makefile.am.1 # Makefile.in generated by automake 1.10.1 from Makefile.am. 2 2 # @configure_input@ 3 3 4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, … … 382 382 .indent.pro 383 383 384 384 ubindir = ${prefix}/bin 385 usbindir = ${prefix}/ sbin385 usbindir = ${prefix}/bin 386 386 suidperms = 4755 387 387 INCLUDES = \ 388 388 -I${top_srcdir}/lib \ … … 394 394 $(top_builddir)/libmisc/libmisc.a \ 395 395 $(top_builddir)/lib/libshadow.la 396 396 397 AM_CPPFLAGS = -D LOCALEDIR=\"$(datadir)/locale\"397 AM_CPPFLAGS = -DSYSCONFDIR=\"$(sysconfdir)\" -DLOCALEDIR=\"$(datadir)/locale\" -DSG=\"`echo sg | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`\" -DVIGR=\"`echo vigr | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`\" 398 398 @ACCT_TOOLS_SETUID_FALSE@LIBPAM_SUID = 399 399 @ACCT_TOOLS_SETUID_TRUE@LIBPAM_SUID = $(LIBPAM) 400 400 @USE_PAM_FALSE@LIBCRYPT_NOPAM = $(LIBCRYPT) … … 442 442 @for dep in $?; do \ 443 443 case '$(am__configure_deps)' in \ 444 444 *$$dep*) \ 445 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh )\446 && { if test -f $@; then exit 0; else break; fi; }; \445 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 446 && exit 0; \ 447 447 exit 1;; \ 448 448 esac; \ 449 449 done; \ … … 760 760 unique=`for i in $$list; do \ 761 761 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 762 762 done | \ 763 $(AWK) '{ files[$$0] = 1; nonem pty = 1; } \763 $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ 764 764 END { if (nonempty) { for (i in files) print i; }; }'`; \ 765 765 mkid -fID $$unique 766 766 tags: TAGS … … 941 941 942 942 install-am: all-am 943 943 $(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 944 ln -sf newgrp $(DESTDIR)$(ubindir)/sg945 ln -sf vipw $(DESTDIR)$(usbindir)/vigr944 ln -sf `echo newgrp | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'` $(DESTDIR)$(ubindir)/`echo sg | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'` 945 ln -sf `echo vipw | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'` $(DESTDIR)$(usbindir)/`echo vigr | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'` 946 946 for i in $(suidbins); do \ 947 chmod -f $(suidperms) $(DESTDIR)$(bindir)/$$i; \947 chmod -f 4755 $(DESTDIR)$(bindir)/`echo $$i | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ 948 948 done 949 949 for i in $(suidubins); do \ 950 chmod -f $(suidperms) $(DESTDIR)$(ubindir)/$$i; \950 chmod -f 4755 $(DESTDIR)$(ubindir)/`echo $$i | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ 951 951 done 952 952 # Tell versions [3.59,3.63) of GNU make to not export all variables. 953 953 # Otherwise a system limit (for SysV at least) may be exceeded. -
shadow-4.1.4.2
diff -Naur shadow-4.1.4.2.orig/src/newgrp.c shadow-4.1.4.2/src/newgrp.c
old new 296 296 if ((pid_t)-1 == child) { 297 297 /* error in fork() */ 298 298 fprintf (stderr, _("%s: failure forking: %s\n"), 299 is_newgrp ? "newgrp" : "sg", strerror (errno));299 is_newgrp ? "newgrp" : SG, strerror (errno)); 300 300 #ifdef WITH_AUDIT 301 301 if (group) { 302 302 snprintf (audit_buf, sizeof(audit_buf), … … 417 417 */ 418 418 Prog = Basename (argv[0]); 419 419 is_newgrp = (strcmp (Prog, "newgrp") == 0); 420 OPENLOG (is_newgrp ? "newgrp" : "sg");420 OPENLOG (is_newgrp ? "newgrp" : SG); 421 421 gid = getgid (); 422 422 argc--; 423 423 argv++; -
src/newusers.c
diff -Naur shadow-4.1.4.2.orig/src/newusers.c shadow-4.1.4.2/src/newusers.c
old new 1041 1041 1042 1042 close_files (); 1043 1043 1044 nscd_flush_cache ("passwd");1045 nscd_flush_cache ("group");1044 // nscd_flush_cache ("passwd"); 1045 // nscd_flush_cache ("group"); 1046 1046 1047 1047 #ifdef USE_PAM 1048 1048 unsigned int i; -
shadow-4.1.4.2
diff -Naur shadow-4.1.4.2.orig/src/passwd.c shadow-4.1.4.2/src/passwd.c
old new 775 775 * The program behaves differently when executed by root than when 776 776 * executed by a normal user. 777 777 */ 778 amroot = (getuid () == 0);778 amroot = 1; //(getuid () == 0); 779 779 780 780 /* 781 781 * Get the program name. The program name is used as a prefix to … … 1088 1088 exit (E_SUCCESS); 1089 1089 } 1090 1090 #endif /* USE_PAM */ 1091 /* 1091 1092 if (setuid (0) != 0) { 1092 1093 fputs (_("Cannot change ID to root.\n"), stderr); 1093 1094 SYSLOG ((LOG_ERR, "can't setuid(0)")); 1094 1095 closelog (); 1095 1096 exit (E_NOPERM); 1096 1097 } 1098 */ 1097 1099 if (spw_file_present ()) { 1098 1100 update_shadow (); 1099 1101 } else { 1100 1102 update_noshadow (); 1101 1103 } 1102 1104 1103 nscd_flush_cache ("passwd");1104 nscd_flush_cache ("group");1105 //nscd_flush_cache ("passwd"); 1106 //nscd_flush_cache ("group"); 1105 1107 1106 1108 SYSLOG ((LOG_INFO, "password for '%s' changed by '%s'", name, myname)); 1107 1109 closelog (); -
shadow-4.1.4.2
diff -Naur shadow-4.1.4.2.orig/src/pwck.c shadow-4.1.4.2/src/pwck.c
old new 704 704 705 705 close_files (changed); 706 706 707 nscd_flush_cache ("passwd");707 // nscd_flush_cache ("passwd"); 708 708 709 709 /* 710 710 * Tell the user what we did and exit. -
shadow-4.1.4.2
diff -Naur shadow-4.1.4.2.orig/src/pwconv.c shadow-4.1.4.2/src/pwconv.c
old new 269 269 } 270 270 } 271 271 272 nscd_flush_cache ("passwd");272 // nscd_flush_cache ("passwd"); 273 273 274 274 return E_SUCCESS; 275 275 } -
src/pwunconv.c
diff -Naur shadow-4.1.4.2.orig/src/pwunconv.c shadow-4.1.4.2/src/pwunconv.c
old new 194 194 /* continue */ 195 195 } 196 196 197 nscd_flush_cache ("passwd");197 // nscd_flush_cache ("passwd"); 198 198 199 199 return 0; 200 200 } -
shadow-4.1.4.2
diff -Naur shadow-4.1.4.2.orig/src/suauth.c shadow-4.1.4.2/src/suauth.c
old new 40 40 #include "prototypes.h" 41 41 42 42 #ifndef SUAUTHFILE 43 #define SUAUTHFILE "/etc/suauth"43 #define SUAUTHFILE SYSCONFDIR"/suauth" 44 44 #endif 45 45 46 46 #define NOACTION 0 -
src/useradd.c
diff -Naur shadow-4.1.4.2.orig/src/useradd.c shadow-4.1.4.2/src/useradd.c
old new 67 67 #include "shadowio.h" 68 68 69 69 #ifndef SKEL_DIR 70 #define SKEL_DIR "/etc/skel"70 #define SKEL_DIR SYSCONFDIR"/skel" 71 71 #endif 72 72 #ifndef USER_DEFAULTS_FILE 73 #define USER_DEFAULTS_FILE "/etc/default/useradd"74 #define NEW_USER_FILE "/etc/default/nuaddXXXXXX"73 #define USER_DEFAULTS_FILE SYSCONFDIR"/default/useradd" 74 #define NEW_USER_FILE SYSCONFDIR"/default/nuaddXXXXXX" 75 75 #endif 76 76 /* 77 77 * Needed for MkLinux DR1/2/2.1 - J. … … 2027 2027 selinux_update_mapping (); 2028 2028 #endif 2029 2029 2030 nscd_flush_cache ("passwd");2031 nscd_flush_cache ("group");2030 // nscd_flush_cache ("passwd"); 2031 // nscd_flush_cache ("group"); 2032 2032 2033 2033 return E_SUCCESS; 2034 2034 } -
src/userdel.c
diff -Naur shadow-4.1.4.2.orig/src/userdel.c shadow-4.1.4.2/src/userdel.c
old new 993 993 user_cancel (user_name); 994 994 close_files (); 995 995 996 nscd_flush_cache ("passwd");997 nscd_flush_cache ("group");996 // nscd_flush_cache ("passwd"); 997 // nscd_flush_cache ("group"); 998 998 999 999 return ((0 != errors) ? E_HOMEDIR : E_SUCCESS); 1000 1000 } -
src/usermod.c
diff -Naur shadow-4.1.4.2.orig/src/usermod.c shadow-4.1.4.2/src/usermod.c
old new 1781 1781 } 1782 1782 close_files (); 1783 1783 1784 nscd_flush_cache ("passwd");1785 nscd_flush_cache ("group");1784 // nscd_flush_cache ("passwd"); 1785 // nscd_flush_cache ("group"); 1786 1786 1787 1787 #ifdef WITH_SELINUX 1788 1788 if (Zflg) { -
shadow-4.1.4.2
diff -Naur shadow-4.1.4.2.orig/src/vipw.c shadow-4.1.4.2/src/vipw.c
old new 328 328 (void) textdomain (PACKAGE); 329 329 330 330 progname = ((a = strrchr (*argv, '/')) ? a + 1 : *argv); 331 do_vipw = (strcmp (progname, "vigr") != 0);331 do_vipw = (strcmp (progname, VIGR) != 0); 332 332 333 333 OPENLOG (do_vipw ? "vipw" : "vigr"); 334 334 … … 408 408 #endif 409 409 } 410 410 411 nscd_flush_cache ("passwd");412 nscd_flush_cache ("group");411 // nscd_flush_cache ("passwd"); 412 // nscd_flush_cache ("group"); 413 413 414 414 return E_SUCCESS; 415 415 }
Note:
See TracBrowser
for help on using the repository browser.