ntpd: Fix libevent dependencies
authorKenneth J. Miller <ken@miller.ec>
Mon, 21 Oct 2019 00:13:54 +0000 (02:13 +0200)
committertripolar <tripolar@users.noreply.github.com>
Tue, 22 Oct 2019 17:44:48 +0000 (19:44 +0200)
Add required libevent2-pthreads dependency for all ntpd
subpackages.

Remove keygen-specific libevent2-core support as it is
automatically selected by the libevent2-pthreads dependency.

nptd: Bump PKG_RELEASE

Fixes: openwrt/packages#10307
Signed-off-by: Kenneth J. Miller <ken@miller.ec>
net/ntpd/Makefile

index d1f7d5d7bda488a29f22f26410a926e89c423751..a82e270108712b0dcb96244b9a7ffd2780e5300e 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ntp
 PKG_VERSION:=4.2.8p13
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/
@@ -33,7 +33,7 @@ define Package/ntpd/Default
   TITLE:=ISC ntp
   MAINTAINER:=Peter Wagner <tripolar@gmx.at>
   URL:=http://www.ntp.org/
-  DEPENDS:=+libopenssl +libpthread +libcap
+  DEPENDS:=+libopenssl +libpthread +libcap +libevent2-pthreads
 endef
 
 define Package/ntpd/Default/description
@@ -80,7 +80,6 @@ endef
 define Package/ntp-keygen
 $(call Package/ntpd/Default)
   TITLE+=keygen
-  DEPENDS+= +libevent2-core
 endef
 
 define Package/ntp-keygen/description