From f0df83b4b5eb6b34d33b37e10b7d9ecc675c1983 Mon Sep 17 00:00:00 2001 From: Lucian Cristian Date: Fri, 12 Nov 2021 05:14:30 +0200 Subject: [PATCH] libyang: update to 2.0.112 needed by frr 8+ Signed-off-by: Lucian Cristian --- libs/libyang/Makefile | 32 +++----------------------------- 1 file changed, 3 insertions(+), 29 deletions(-) diff --git a/libs/libyang/Makefile b/libs/libyang/Makefile index 8f99b46b52..22988ab4e4 100644 --- a/libs/libyang/Makefile +++ b/libs/libyang/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libyang -PKG_VERSION:=1.0.225 +PKG_VERSION:=2.0.112 PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/CESNET/libyang/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=1b736443d2c69b5d7a71ac412655e6edab0647b18f35f7bf504b0a24e06cb046 +PKG_HASH:=184dd67c66c1ad968a2ee4d0950fb6b103834917b04b17af9c7bca80967636ee PKG_MAINTAINER:=Jakov Smolic PKG_LICENSE:=BSD-3-Clause @@ -30,15 +30,7 @@ define Package/libyang CATEGORY:=Libraries TITLE:=YANG data modeling language library URL:=https://github.com/CESNET/libyang - DEPENDS:=+libpcre +libpthread -endef - -define Package/libyang-cpp - SECTION:=libs - CATEGORY:=Libraries - TITLE:=YANG data modeling C++ language library - URL:=https://github.com/CESNET/libyang - DEPENDS:=+libyang +libstdcpp + DEPENDS:=+libpcre2 +libpthread endef define Package/yanglint @@ -54,26 +46,9 @@ define Package/libyang/description The library is used e.g. in libnetconf2, Netopeer2 or sysrepo projects. endef -CMAKE_OPTIONS += \ - -DENABLE_LYD_PRIV:BOOL=ON \ - -DCMAKE_BUILD_TYPE:String="Release" \ - -DGEN_LANGUAGE_BINDINGS=ON \ - -DGEN_PYTHON_BINDINGS=OFF - define Package/libyang/install $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libyang.so* $(1)/usr/lib/ - - $(INSTALL_DIR) $(1)/usr/lib/libyang1 - $(INSTALL_DIR) $(1)/usr/lib/libyang1/extensions - $(INSTALL_DIR) $(1)/usr/lib/libyang1/user_types - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libyang1/extensions/* $(1)/usr/lib/libyang1/extensions - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libyang1/user_types/* $(1)/usr/lib/libyang1/user_types -endef - -define Package/libyang-cpp/install - $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libyang-cpp.so* $(1)/usr/lib/ endef define Package/yanglint/install @@ -82,5 +57,4 @@ define Package/yanglint/install endef $(eval $(call BuildPackage,libyang)) -$(eval $(call BuildPackage,libyang-cpp)) $(eval $(call BuildPackage,yanglint)) -- 2.30.2