unbound: Make ECDSA support explicit

Added a dependency to OPENSSL_WITH_EC to prevent any build failures.

Switched URLs to HTTPS.

Added PKG_CPE_ID for proper CVE tracking.

Some Makefile reorganization for consistency between packages.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2019-03-31 13:57:08 -07:00
parent bd5adb68ed
commit f6aeed3187
No known key found for this signature in database
GPG Key ID: 36D31CFA845F0E3B
1 changed files with 10 additions and 8 deletions

View File

@ -9,16 +9,17 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=unbound
PKG_VERSION:=1.9.1
PKG_RELEASE:=1
PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=LICENSE
PKG_MAINTAINER:=Eric Luehrsen <ericluehrsen@gmail.com>
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.unbound.net/downloads
PKG_SOURCE_URL:=https://www.unbound.net/downloads
PKG_HASH:=c3c0bf9b86ccba4ca64f93dd4fe7351308ab54293f297a67de5a8914c1dc59c5
PKG_MAINTAINER:=Eric Luehrsen <ericluehrsen@gmail.com>
PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=LICENSE
PKG_CPE_ID:=cpe:/a:nlnetlabs:unbound
PKG_BUILD_PARALLEL:=1
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
@ -27,8 +28,8 @@ include $(INCLUDE_DIR)/package.mk
define Package/unbound/Default
TITLE:=Validating Recursive DNS Server
URL:=http://www.unbound.net/
DEPENDS:=+libopenssl
URL:=https://www.unbound.net/
DEPENDS:=+libopenssl @OPENSSL_WITH_EC
endef
define Package/unbound
@ -113,6 +114,7 @@ CONFIGURE_ARGS += \
--disable-dsa \
--disable-gost \
--enable-allsymbols \
--enable-ecdsa \
--enable-tfo-client \
--enable-tfo-server \
--with-libexpat="$(STAGING_DIR)/usr" \