]> git.pld-linux.org Git - packages/ntp.git/commitdiff
- utilize "pool" option for efficient pool.ntp.org usage
authorpsz <psz@pld-linux.org>
Sat, 26 Jun 2010 16:09:42 +0000 (16:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- we should not hint any real server to prevent abuse
- added missing BR
- add "limited" for "kod" to work

Changed files:
    ntp.conf -> 1.13
    ntp.spec -> 1.140

ntp.conf
ntp.spec

index e6dcf264e6854bd89a1e1aa44914c6ae9cb24e6d..6bc0b53c0b65111324c5aecf9d7a06d84526e4ef 100644 (file)
--- a/ntp.conf
+++ b/ntp.conf
@@ -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 -6 ::1
 #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 @@ disable auth
 #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 2b4538e594d01ec365b363e37849888ae167fe93..bb73c80cbacf1e37bbe027769901b10d8642d937 100644 (file)
--- a/ntp.spec
+++ b/ntp.spec
@@ -11,7 +11,7 @@ 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.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
@@ -51,6 +51,7 @@ BuildRequires:        autoconf
 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
This page took 0.370971 seconds and 4 git commands to generate.