Commit Graph

41 Commits

Author SHA1 Message Date
Paul Fertser 0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
Rosen Penev 7dbf3f41c5 sysrepo: build under WSL
This check is for host, not cross compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-09-14 12:59:27 -07:00
Lucian Cristian 6048971467 sysrepo: update to 2.0.53
needed after libyang update
also drop python3-sysrepo as now is standalone

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2021-11-12 11:02:56 -08:00
Rosen Penev 2e654b19f3 treewide: back to cmake.mk
Ninja was merged to base and therefore we can now use normal cmake.mk

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-12 21:05:01 -07:00
Rosen Penev cdd1a44315 sysrepo: update to 1.4.122
Switch to AUTORELEASE for simplicity.

Use Ninja for faster compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-22 18:39:29 -07:00
Rosen Penev 1e736d5b03
Merge pull request #14723 from svaaz/master
sysrepo: fix plugind option for verbosity
2021-02-23 15:39:11 -08:00
Ilya Lipnitskiy 5d8d4fbbcb
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00
Srinivasan Raju d931b2d208 sysrepo: fix plugind option for verbosity
sysrepo-plugind -d -v 0 : -v is the correction option for verbosity

Signed-off-by: Srinivasan Raju <srinir@outlook.com>
2021-02-15 10:30:37 +05:30
Jakov Smolic 962537c5f9
sysrepo: Bump to 1.4.104
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
2021-02-02 21:04:23 +01:00
Jakov Smolic 1e5fe18cba
sysrepo: update to 1.4.70
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
2020-08-22 18:26:04 +02:00
Lucian Cristian c825364c1d Netopeer2: update Netopeer2 and dependencies to master
libnetconf2 to 1.1.24
libyang to 1.0.167
sysrepo to 1.4.58

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2020-05-10 00:03:55 +03:00
Lucian Cristian 1953132cea sysrepo: update to 1.4.2
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2020-05-07 00:25:57 +03:00
Jeffery To 1bc2f4f3c6 treewide: Remove Python variants for non-Python packages
This removes Python-related build variants, and adds
PYTHON3_PKG_BUILD:=0 and minor build adjustments (where appropriate),
for non-Python packages. There should be no changes to build output.

This also updates some include paths for python3-package.mk and/or
python3-host.mk to be relative to the package Makefile.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-19 01:56:23 +08:00
Jeffery To 47c385eaf9 sysrepo: Remove Lua bindings, build Python bindings in separate package
This change:

* Removes building of Lua bindings. These bindings were already removed
  upstream[1].

* Fixes building of Python bindings:
  * Fix SWIG_DIR path (note that SWIG_VERSION will need to be updated
    whenever the swig package is upgraded)
  * Fix Python module paths and filenames

* Packages the Python bindings in a new package (python3-sysrepo) and
  builds it by default, instead of depending on a config option.

[1]: https://github.com/sysrepo/sysrepo/pull/1429

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-11-16 03:47:00 +08:00
Rosen Penev c6cf2dadc0 sysrepo: Switch to Python 3
Python 2 will be EOL by the end of the year. Switch to Python 3 as there
is already support for it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-11-04 12:24:07 -08:00
Rosen Penev 98c04e04c4 sysrepo: Update to 0.7.8
Makefile cleanups for consistency between packages.

Placed libsysrepo in Libraries instead of Utilities.

Removed InstallDev as it is implied by CMAKE_INSTALL.

Added .patch at the end of patch files.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-11-04 12:05:27 -08:00
Josef Schlehofer d0e2a3e81a
sysrepo: Use correct SPDX License Identifier
- Add PKG_LICENSE_FILES
- Refresh patches
- Use better URL

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-09-24 21:55:47 +02:00
Rosen Penev 63edc1b4f0
sysrepo: Fix compilation with bindings enabled
By default the buildbot does not build the bindings and thus misses this.

The BUILD_DEPENDS is totally broken. Removing the + sign should fix it.

The SWIG directories are wrong. Fix them.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-04-23 22:00:16 -07:00
Mislav Novakovic 583977b953 sysrepo: update to 0.7.7
Signed-off-by: Mislav Novakovic <mislav.novakovic@sartura.hr>
2018-11-28 14:21:02 +01:00
Mislav Novakovic 52aeedf782 sysrepo: update to 0.7.6
Signed-off-by: Mislav Novakovic <mislav.novakovic@sartura.hr>
2018-11-12 12:46:21 +01:00
Mislav Novakovic 5e6a535df9 sysrepo: update to 0.7.5
Signed-off-by: Mislav Novakovic <mislav.novakovic@sartura.hr>
2018-10-11 13:50:12 +02:00
Rosen Penev 8f0d732115 sysrepo: Switch to codeload tarballs
Simpler and faster to bump version.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-08-04 17:02:18 -07:00
Matija Amidzic ed44e02f53 sysrepo: update to 0.7.4
Signed-off-by: Matija Amidzic <matija.amidzic@sartura.hr>
2018-07-02 13:39:20 +02:00
Yousong Zhou d03e32c513 treewide: fix missing/wrong MIRROR_HASH for sources from github
Some of them forgot to update MIRROR_HASH on version change, others
updated with wrong hash value.  The new values were generated from
tarballs prepared by the newly introduced github-tarball download
methoded and confirmed consistent with those from sources.openwrt.org

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-07-02 10:40:47 +08:00
Matija Amidzic 8feb300d8f sysrepo: add python2 and lua5.1 language bindings
Signed-off-by: Matija Amidzic <matija.amidzic@sartura.hr>
2018-02-20 10:52:07 +01:00
Mislav Novakovic 90f5eeac1f sysrepo: bump to latest version
Sysrepo version 0.7.3 features following improvements:
* possibility to uninstall more modules in one command with sysrepoctl
* several bugfixes

Signed-off-by: Mislav Novakovic <mislav.novakovic@sartura.hr>
2018-02-15 16:55:48 +01:00
Mislav Novakovic 317d897d44 sysrepo: bump to latest version
This patche renames the yang files so sysrepoctl does not create
duplicates.

Signed-off-by: Mislav Novakovic <mislav.novakovic@sartura.hr>
2017-12-21 12:43:10 +01:00
Mislav Novakovic cc9eedb786 sysrepo: bump to latest version
Signed-off-by: Mislav Novakovic <mislav.novakovic@sartura.hr>
2017-10-12 11:28:39 +02:00
Mislav Novakovic 8f2dd7dbb7 sysrepo: update the sysrepo/netopeer2 stack
Patch includes updates to packages:
netopeer2: update to version 0.4.0
sysrepo: update to 0.7.0
libnetconf2: update to 0.9.15
libyang: update to 0.13.46

Signed-off-by: Mislav Novakovic <mislav.novakovic@sartura.hr>
2017-09-18 12:00:38 +02:00
Hannu Nyman b23a5435a6 Merge pull request #4429 from sdwalker/cleanup
packages: cleanup Makefile variables
2017-06-17 09:25:22 +03:00
Antonio Paunovic 5dcfde18be sysrepo: salience
Script priority adjusted.
Custom memory management turned off to save some memory on low-end device.

Signed-off-by: Antonio Paunovic <antonio.paunovic@sartura.hr>
2017-06-08 08:46:43 +00:00
Antonio Paunovic a8dbabeaf9 sysrepo: larger timeouts
Signed-off-by: Antonio Paunovic <antonio.paunovic@sartura.hr>
2017-06-05 11:09:35 +00:00
Stephen Walker b63a809213 packages: cleanup Makefile variables
Standard assignment is immediate expansion without any extraneous spacing, RFC822 compliant email addresses and consistent section assignments

Signed-off-by: Stephen Walker <stephendwalker+github@gmail.com>
2017-06-03 16:38:06 -04:00
Luka Perkov ea7046d634 Merge pull request #4403 from sartura/symlink-soversion-sysrepo
sysrepo: modify copy of .so files
2017-06-01 15:53:35 +02:00
Antonio Paunovic 0a45a4e85b sysrepo: modify copy of .so files
Signed-off-by: Antonio Paunovic <antonio.paunovic@sartura.hr>
2017-05-29 12:07:00 +00:00
Antonio Paunovic f531ca0dd9 sysrepo: bump PKG_RELEASE version
Signed-off-by: Antonio Paunovic <antonio.paunovic@sartura.hr>
2017-05-26 15:37:12 +00:00
Antonio Paunovic 48ab73fafc sysrepo: add patch for diabling autostart
Signed-off-by: Antonio Paunovic <antonio.paunovic@sartura.hr>
2017-05-26 15:01:46 +00:00
Mislav Novakovic 0aa8371086 sysrepo: merge sysrepod and sysrepo-plugind
Signed-off-by: Mislav Novakovic <mislav.novakovic@sartura.hr>
2017-05-24 17:38:27 +02:00
Mislav Novakovic f6aa981a56 sysrepo: modified uci-default script
Signed-off-by: Mislav Novakovic <mislav.novakovic@sartura.hr>
2017-05-24 16:04:55 +02:00
Mislav Novakovic b3f9e7058e sysrepo: add PKG_MIRROR_HASH
Signed-off-by: Mislav Novakovic <mislav.novakovic@sartura.hr>
2017-05-12 16:44:49 +02:00
Mislav Novakovic 7720c87e0c add sysrepo
Signed-off-by: Mislav Novakovic <mislav.novakovic@sartura.hr>
2017-05-11 19:46:58 +02:00