Преглед на файлове

chrony: update to 2.2

Support for authentication with command key was replaced with
communication over Unix domain socket.

Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
Miroslav Lichvar преди 9 години
родител
ревизия
116daf94e6
променени са 4 файла, в които са добавени 5 реда и са изтрити 12 реда
  1. 3
    4
      net/chrony/Makefile
  2. 0
    5
      net/chrony/files/chrony.conf
  3. 2
    2
      net/chrony/files/chrony.hotplug
  4. 0
    1
      net/chrony/files/chrony.keys

+ 3
- 4
net/chrony/Makefile Целия файл

@@ -8,12 +8,12 @@
8 8
 include $(TOPDIR)/rules.mk
9 9
 
10 10
 PKG_NAME:=chrony
11
-PKG_VERSION:=2.1.1
11
+PKG_VERSION:=2.2
12 12
 PKG_RELEASE:=1
13 13
 
14 14
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 15
 PKG_SOURCE_URL:=http://download.tuxfamily.org/chrony/
16
-PKG_MD5SUM:=15e470a51ab6e09e65bc0a2fbc5299af
16
+PKG_MD5SUM:=17bc77d3d2ce942675f9600b60452717
17 17
 
18 18
 PKG_MAINTAINER:=Miroslav Lichvar <mlichvar0@gmail.com>
19 19
 PKG_LICENSE:=GPL-2.0
@@ -41,7 +41,6 @@ endef
41 41
 
42 42
 define Package/chrony/conffiles
43 43
 /etc/chrony/chrony.conf
44
-/etc/chrony/chrony.keys
45 44
 /etc/config/chrony
46 45
 endef
47 46
 
@@ -51,6 +50,7 @@ CONFIGURE_ARGS+= \
51 50
 	--host-system=Linux \
52 51
 	--sysconfdir=/etc/chrony \
53 52
 	--prefix=/usr \
53
+	--chronysockdir=/var/run/chrony \
54 54
 	--disable-readline \
55 55
 	--disable-rtc \
56 56
 	--disable-asyncdns \
@@ -71,7 +71,6 @@ define Package/chrony/install
71 71
 	$(INSTALL_BIN) ./files/chronyd.init $(1)/etc/init.d/chronyd
72 72
 	$(INSTALL_CONF) ./files/chrony.config $(1)/etc/config/chrony
73 73
 	$(INSTALL_CONF) ./files/chrony.conf $(1)/etc/chrony/chrony.conf
74
-	$(INSTALL_CONF) ./files/chrony.keys $(1)/etc/chrony/chrony.keys
75 74
 endef
76 75
 
77 76
 $(eval $(call BuildPackage,chrony))

+ 0
- 5
net/chrony/files/chrony.conf Целия файл

@@ -5,8 +5,3 @@ logchange 0.5
5 5
 
6 6
 # Don't log client accesses
7 7
 noclientlog
8
-
9
-# Password config for chronyc
10
-keyfile /etc/chrony/chrony.keys
11
-commandkey 1
12
-generatecommandkey

+ 2
- 2
net/chrony/files/chrony.hotplug Целия файл

@@ -2,5 +2,5 @@ COMMAND=/usr/bin/chronyc
2 2
 
3 3
 [ -x $COMMAND ] || exit 0
4 4
 
5
-[ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] && $COMMAND -a online
6
-[ "$ACTION" = "ifdown" -a "$INTERFACE" = "wan" ] && $COMMAND -a offline
5
+[ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] && $COMMAND online
6
+[ "$ACTION" = "ifdown" -a "$INTERFACE" = "wan" ] && $COMMAND offline

+ 0
- 1
net/chrony/files/chrony.keys Целия файл

@@ -1 +0,0 @@
1
-# Keys for NTP authentication and chronyc commands