rpms/ntp/FC-3 ntp-stable-4.2.0a-20040617-ntpd_guid.patch, NONE, 1.1 ntp.spec, 1.30, 1.31
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Thu Apr 14 11:27:43 UTC 2005
Update of /cvs/dist/rpms/ntp/FC-3
In directory cvs.devel.redhat.com:/tmp/cvs-serv13679
Modified Files:
ntp.spec
Added Files:
ntp-stable-4.2.0a-20040617-ntpd_guid.patch
Log Message:
fixed gid setting when ntpd started with -u flag
ntp-stable-4.2.0a-20040617-ntpd_guid.patch:
ntpd.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE ntp-stable-4.2.0a-20040617-ntpd_guid.patch ---
--- ntp-stable-4.2.0a-20040617/ntpd/ntpd.c.noguid 2005-04-14 13:10:56.280699906 +0200
+++ ntp-stable-4.2.0a-20040617/ntpd/ntpd.c 2005-04-14 13:12:02.450425329 +0200
@@ -889,7 +889,7 @@
} else {
getgroup:
if ((gr = getgrnam(group)) != NULL) {
- sw_gid = pw->pw_gid;
+ sw_gid = gr->gr_gid;
} else {
errno = 0;
msyslog(LOG_ERR, "Cannot find group `%s'", group);
Index: ntp.spec
===================================================================
RCS file: /cvs/dist/rpms/ntp/FC-3/ntp.spec,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- ntp.spec 11 Oct 2004 13:07:22 -0000 1.30
+++ ntp.spec 14 Apr 2005 11:27:41 -0000 1.31
@@ -8,7 +8,7 @@
Summary: Synchronizes system time using the Network Time Protocol (NTP).
Name: ntp
Version: 4.2.0.a.20040617
-Release: 4
+Release: 4.FC3
License: distributable
Group: System Environment/Daemons
Source0: http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-%{tarversion}.tar.gz
@@ -28,6 +28,7 @@
Patch6: ntp-4.2.0-droproot.patch
Patch7: ntp-stable-4.2.0a-20040616-groups.patch
+Patch8: ntp-stable-4.2.0a-20040617-ntpd_guid.patch
#Patch12: ntp-4.2.0-limit.patch
#Patch13: ntp-4.2.0-loopfilter.patch
@@ -66,6 +67,8 @@
%patch3 -p1 -b .usegethost
%patch6 -p1 -b .droproot
%patch7 -p1 -b .groups
+%patch8 -p1 -b .noguid
+
#%patch12 -p1 -b .limit
#%patch13 -p1 -b .loop
%patch15 -p1 -b .authkey
@@ -75,6 +78,7 @@
#autoreconf -fi
%patch99 -p1 -b .autofoo
+
%build
@@ -220,6 +224,9 @@
%changelog
+* Thu Apr 14 2005 Jiri Ryska <jryska at redhat.com> - 4.2.0.a.20040617-4.FC3
+- fixed gid setting when ntpd started with -u flag
+
* Mon Oct 11 2004 Harald Hoyer <harald at redhat.com> - 4.2.0.a.20040617-4
- removed firewall hole punching from the initscript; rely on iptables
ESTABLISHED,RELATED or manual firewall configuration
More information about the fedora-cvs-commits
mailing list