rpms/shadow-utils/F-8 shadow-4.0.18.1-bflg.patch, NONE, 1.1 shadow-utils.spec, 1.108, 1.109

Peter Vrabec (pvrabec) fedora-extras-commits at redhat.com
Tue Apr 8 12:55:10 UTC 2008


Author: pvrabec

Update of /cvs/extras/rpms/shadow-utils/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17741

Modified Files:
	shadow-utils.spec 
Added Files:
	shadow-4.0.18.1-bflg.patch 
Log Message:
fix "-b" option


shadow-4.0.18.1-bflg.patch:

--- NEW FILE shadow-4.0.18.1-bflg.patch ---
diff -up shadow-4.0.18.1/src/useradd.c.bflg shadow-4.0.18.1/src/useradd.c
--- shadow-4.0.18.1/src/useradd.c.bflg	2008-04-08 14:50:43.000000000 +0200
+++ shadow-4.0.18.1/src/useradd.c	2008-04-08 14:50:53.000000000 +0200
@@ -1051,9 +1051,6 @@ static void process_flags (int argc, cha
 				     long_options, NULL)) != -1) {
 			switch (c) {
 			case 'b':
-				if (!Dflg)
-					usage ();
-
 				if (!VALID (optarg)
 				    || optarg[0] != '/') {
 					fprintf (stderr,


Index: shadow-utils.spec
===================================================================
RCS file: /cvs/extras/rpms/shadow-utils/F-8/shadow-utils.spec,v
retrieving revision 1.108
retrieving revision 1.109
diff -u -r1.108 -r1.109
--- shadow-utils.spec	19 Feb 2008 13:15:07 -0000	1.108
+++ shadow-utils.spec	8 Apr 2008 12:54:30 -0000	1.109
@@ -5,7 +5,7 @@
 Summary: Utilities for managing accounts and shadow password files
 Name: shadow-utils
 Version: 4.0.18.1
-Release: 21%{?dist}
+Release: 22%{?dist}
 Epoch: 2
 URL: http://shadow.pld.org.pl/
 Source0: ftp://ftp.pld.org.pl/software/shadow/shadow-%{version}.tar.bz2
@@ -31,6 +31,7 @@
 Patch15: shadow-4.0.18.1-groupLoop.patch
 Patch16: shadow-4.0.18.1-mtime.patch
 Patch17: shadow-4.1.0-segfault.patch
+Patch18: shadow-4.0.18.1-bflg.patch
 
 License: BSD
 Group: System Environment/Base
@@ -77,6 +78,7 @@
 %patch15 -p1 -b .groupLoop
 %patch16 -p1 -b .mtime
 %patch17 -p1 -b .segfault
+%patch18 -p1 -b .bflg
 
 rm po/*.gmo
 rm po/stamp-po
@@ -218,6 +220,9 @@
 %{_mandir}/man8/faillog.8*
 
 %changelog
+* Tue Apr 08 2008 Peter Vrabec <pvrabec at redhat.com> 2:4.0.18.1-22
+- fix "-b" option (#441460)
+
 * Tue Feb 19 2008 Peter Vrabec <pvrabec at redhat.com> 2:4.0.18.1-21
 - fix groupmems segmentation fault (#430813)
 




More information about the fedora-extras-commits mailing list