packages: ntp/ntp.conf, ntp/ntp.spec - allow ntpq -p to work by default fro...

glen glen at pld-linux.org
Mon Jan 25 09:32:07 CET 2010


Author: glen                         Date: Mon Jan 25 08:32:07 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- allow ntpq -p to work by default from localhost

---- Files affected:
packages/ntp:
   ntp.conf (1.9 -> 1.10) , ntp.spec (1.120 -> 1.121) 

---- Diffs:

================================================================
Index: packages/ntp/ntp.conf
diff -u packages/ntp/ntp.conf:1.9 packages/ntp/ntp.conf:1.10
--- packages/ntp/ntp.conf:1.9	Mon Jan 25 09:30:52 2010
+++ packages/ntp/ntp.conf	Mon Jan 25 09:32:01 2010
@@ -6,6 +6,9 @@
 #
 restrict default kod nomodify notrap nopeer noquery
 
+# localhost access
+restrict 127.0.0.1
+
 # restrict	default		ignore
 # restrict	ntp.nasa.gov	noquery noserve
 # restrict	clock.isc.org	noquery noserve

================================================================
Index: packages/ntp/ntp.spec
diff -u packages/ntp/ntp.spec:1.120 packages/ntp/ntp.spec:1.121
--- packages/ntp/ntp.spec:1.120	Fri Jan 22 20:42:51 2010
+++ packages/ntp/ntp.spec	Mon Jan 25 09:32:01 2010
@@ -1,13 +1,11 @@
 # $Revision$, $Date$
-# TODO
-# - ntpd default config is too restrictive (ntpq -p should work locally)
 %include	/usr/lib/rpm/macros.perl
 Summary:	Network Time Protocol utilities
 Summary(pl.UTF-8):	Narzędzia do synchronizacji czasu (Network Time Protocol)
 Summary(pt_BR.UTF-8):	Network Time Protocol versão 4
 Name:		ntp
 Version:	4.2.4p8
-Release:	3.5
+Release:	3.6
 License:	distributable
 Group:		Daemons
 Source0:	http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/%{name}-%{version}.tar.gz
@@ -370,6 +368,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.121  2010/01/25 08:32:01  glen
+- allow ntpq -p to work by default from localhost
+
 Revision 1.120  2010/01/22 19:42:51  glen
 - user/group creation to daemon too, useradd/userdel deps
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ntp/ntp.conf?r1=1.9&r2=1.10&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ntp/ntp.spec?r1=1.120&r2=1.121&f=u



More information about the pld-cvs-commit mailing list