Browse Source

package/netopeer2: bump version to 2.1.16

Add a dependency to sytemd if enabled so cmake can find libsystemd
and install the systemd service file.

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Heiko Thiery 3 years ago
parent
commit
ac4186db91
2 changed files with 6 additions and 2 deletions
  1. 1 1
      package/netopeer2/netopeer2.hash
  2. 5 1
      package/netopeer2/netopeer2.mk

+ 1 - 1
package/netopeer2/netopeer2.hash

@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  dedae40419cfddd09c1be7bb536b3a762ec8dcd568c2bfe803c0f6789a5ca834  netopeer2-2.0.35.tar.gz
+sha256  1e4b46f2e4889f5a8203f36f9faed6dff82093dd783bb6e3c4f14b73b7e16871  netopeer2-2.1.16.tar.gz
 sha256  b46f161fbdcf127d3ef22602e15958c3092fe3294f71a2dc8cdf8f6689cba95b  LICENSE

+ 5 - 1
package/netopeer2/netopeer2.mk

@@ -4,13 +4,17 @@
 #
 ################################################################################
 
-NETOPEER2_VERSION = 2.0.35
+NETOPEER2_VERSION = 2.1.16
 NETOPEER2_SITE = $(call github,CESNET,Netopeer2,v$(NETOPEER2_VERSION))
 NETOPEER2_DL_SUBDIR = netopeer2
 NETOPEER2_LICENSE = BSD-3-Clause
 NETOPEER2_LICENSE_FILES = LICENSE
 NETOPEER2_DEPENDENCIES = libnetconf2 libyang sysrepo host-sysrepo
 
+ifeq ($(BR2_INIT_SYSTEMD),y)
+NETOPEER2_DEPENDENCIES += systemd
+endif
+
 NETOPEER2_CONF_OPTS = \
 	-DBUILD_CLI=$(if $(BR2_PACKAGE_NETOPEER2_CLI),ON,OFF) \
 	-DENABLE_TESTS=OFF