ntpd: Fix libevent dependencies

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>
This commit is contained in:
Kenneth J. Miller 2019-10-21 02:13:54 +02:00 committed by tripolar
parent ad11fb70df
commit ded6468744
1 changed files with 2 additions and 3 deletions

View 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