packages: ntp/ntp.conf, ntp/ntp.spec - utilize "pool" option for efficient ...

psz psz at pld-linux.org
Sat Jun 26 18:09:47 CEST 2010


Author: psz                          Date: Sat Jun 26 16:09:47 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- utilize "pool" option for efficient pool.ntp.org usage
- we should not hint any real server to prevent abuse
- added missing BR
- add "limited" for "kod" to work

---- Files affected:
packages/ntp:
   ntp.conf (1.12 -> 1.13) , ntp.spec (1.139 -> 1.140) 

---- Diffs:

================================================================
Index: packages/ntp/ntp.conf
diff -u packages/ntp/ntp.conf:1.12 packages/ntp/ntp.conf:1.13
--- packages/ntp/ntp.conf:1.12	Fri Jan 29 08:41:57 2010
+++ packages/ntp/ntp.conf	Sat Jun 26 18:09:42 2010
@@ -3,8 +3,8 @@
 
 # Permit time synchronization with our time source, but do not
 # permit the source to query or modify the service on this system.
-restrict default kod nomodify notrap nopeer noquery
-restrict -6 default kod nomodify notrap nopeer noquery
+restrict default kod limited nomodify notrap nopeer noquery
+restrict -6 default kod limited nomodify notrap nopeer noquery
 
 # Permit all access over the loopback interface.  This could
 # be tightened as well, but to do so would effect some of
@@ -16,8 +16,8 @@
 #restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap
 
 # restrict	default		ignore
-# restrict	ntp.nasa.gov	noquery noserve
-# restrict	clock.isc.org	noquery noserve
+# restrict	ntp.example.com	noquery noserve
+# restrict	ntp.example.net	noquery noserve
 # restrict	127.0.0.1
 # restrict	127.127.1.0
 
@@ -61,14 +61,5 @@
 #requestkey	65535
 #controlkey	65535
 
-# some sane servers
-server 1.pool.ntp.org
-server 2.pool.ntp.org
-server 3.pool.ntp.org
-
-# some other sane servers
-#server 150.254.183.15 # vega
-#server 213.222.193.35 # certum
-#server 193.0.71.133 # icm
-#server 153.19.250.123 # task
-#server 198.123.30.132 # nasa
+# NTP pool project. See: http://www.pool.ntp.org/
+pool pool.ntp.org

================================================================
Index: packages/ntp/ntp.spec
diff -u packages/ntp/ntp.spec:1.139 packages/ntp/ntp.spec:1.140
--- packages/ntp/ntp.spec:1.139	Thu Jun  3 03:06:13 2010
+++ packages/ntp/ntp.spec	Sat Jun 26 18:09:42 2010
@@ -12,7 +12,7 @@
 Summary(pt_BR.UTF-8):	Network Time Protocol versão 4
 Name:		ntp
 Version:	4.2.6p1
-Release:	0.4
+Release:	0.5
 License:	distributable
 Group:		Networking/Daemons
 Source0:	http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/%{name}-%{version}.tar.gz
@@ -52,6 +52,7 @@
 BuildRequires:	automake
 %{?with_avahi:BuildRequires:	avahi-compat-libdns_sd-devel}
 BuildRequires:	libcap-devel
+BuildRequires:	libnl-devel
 BuildRequires:	libtool
 BuildRequires:	net-snmp-devel
 BuildRequires:	openssl-devel >= 0.9.7d
@@ -429,6 +430,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.140  2010/06/26 16:09:42  psz
+- utilize "pool" option for efficient pool.ntp.org usage
+- we should not hint any real server to prevent abuse
+- added missing BR
+- add "limited" for "kod" to work
+
 Revision 1.139  2010/06/03 01:06:13  sparky
 - BR: net-snmp-devel
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ntp/ntp.conf?r1=1.12&r2=1.13&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ntp/ntp.spec?r1=1.139&r2=1.140&f=u



More information about the pld-cvs-commit mailing list