rpms/shadow-utils/devel shadow-4.0.16-lOption.patch, 1.2, 1.3 shadow-4.0.17-useradd.patch, 1.3, 1.4 shadow-utils.spec, 1.99, 1.100

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Apr 10 10:14:21 UTC 2007


Author: pvrabec

Update of /cvs/dist/rpms/shadow-utils/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv30134

Modified Files:
	shadow-4.0.16-lOption.patch shadow-4.0.17-useradd.patch 
	shadow-utils.spec 
Log Message:
fix 235641: useradd dumps core when build without WITH_SELINUX


shadow-4.0.16-lOption.patch:
 man/useradd.8 |    3 +++
 src/useradd.c |    9 +++++++--
 2 files changed, 10 insertions(+), 2 deletions(-)

Index: shadow-4.0.16-lOption.patch
===================================================================
RCS file: /cvs/dist/rpms/shadow-utils/devel/shadow-4.0.16-lOption.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- shadow-4.0.16-lOption.patch	3 Nov 2006 15:29:36 -0000	1.2
+++ shadow-4.0.16-lOption.patch	10 Apr 2007 10:14:19 -0000	1.3
@@ -16,7 +16,7 @@
      Gflg = 0,			/* secondary group set for new account */
      kflg = 0,			/* specify a directory to fill new user directory */
      mflg = 0,			/* create user's home directory if it doesn't exist */
-+    lflg = 0;      		/* do not add user to lastlog database file */
++    lflg = 0,      		/* do not add user to lastlog database file */
      Mflg = 0,                   /* do NOT create user's home directory no matter what */
      nflg = 0,                   /* do NOT create a group having the same name as the user */
      oflg = 0,			/* permit non-unique user ID to be specified with -u */

shadow-4.0.17-useradd.patch:
 lib/defines.h       |    3 +
 lib/prototypes.h    |    6 +++
 libmisc/Makefile.am |    1 
 libmisc/copydir.c   |    2 -
 libmisc/system.c    |   37 ++++++++++++++++++++++
 man/useradd.8       |    3 +
 man/useradd.8.xml   |   13 ++++++++
 man/usermod.8       |    4 ++
 man/usermod.8.xml   |   13 ++++++++
 src/useradd.c       |   75 ++++++++++++++++++++++++++++++++++++++++------
 src/userdel.c       |   11 ++++++
 src/usermod.c       |   84 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 12 files changed, 242 insertions(+), 10 deletions(-)

Index: shadow-4.0.17-useradd.patch
===================================================================
RCS file: /cvs/dist/rpms/shadow-utils/devel/shadow-4.0.17-useradd.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- shadow-4.0.17-useradd.patch	28 Feb 2007 16:24:03 -0000	1.3
+++ shadow-4.0.17-useradd.patch	10 Apr 2007 10:14:19 -0000	1.4
@@ -213,7 +213,7 @@
 +#ifdef WITH_SELINUX
 +			getopt_long (argc, argv, "b:c:d:De:f:g:G:k:K:mlMnrop:s:u:Z:",
 +#else
-+			getopt_long (argc, argv, "b:c:d:De:f:g:G:k:K:mlMnrop:s:u",
++			getopt_long (argc, argv, "b:c:d:De:f:g:G:k:K:mlMnrop:s:u:",
 +#endif
  				     long_options, NULL)) != -1) {
  			switch (c) {


Index: shadow-utils.spec
===================================================================
RCS file: /cvs/dist/rpms/shadow-utils/devel/shadow-utils.spec,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -r1.99 -r1.100
--- shadow-utils.spec	26 Mar 2007 15:07:41 -0000	1.99
+++ shadow-utils.spec	10 Apr 2007 10:14:19 -0000	1.100
@@ -5,7 +5,7 @@
 Summary: Utilities for managing accounts and shadow password files
 Name: shadow-utils
 Version: 4.0.18.1
-Release: 12%{?dist}
+Release: 13%{?dist}
 Epoch: 2
 URL: http://shadow.pld.org.pl/
 Source0: ftp://ftp.pld.org.pl/software/shadow/shadow-%{version}.tar.bz2
@@ -223,6 +223,9 @@
 %{_mandir}/*/man8/faillog.8*
 
 %changelog
+* Tue Apr 10 2007 Peter Vrabec <pvrabec at redhat.com> 2:4.0.18.1-13
+- fix useradd dump core when build without WITH_SELINUX (#235641)
+
 * Mon Mar 26 2007 Peter Vrabec <pvrabec at redhat.com> 2:4.0.18.1-12
 - create user's mailbox file by default (#231311)
 




More information about the fedora-cvs-commits mailing list