Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cJSON debian package #5810

Closed
wants to merge 1 commit into from
Closed

Conversation

sachinholla
Copy link
Contributor

- Why I did it
An upcoming enhancement to mgmt-framework CLI requires opensource cJOSN
library for parsing JSON data. Adding as a deb package makes it easy to
use in other components too.

- How I did it
Added build scripts to download and package cJSON v1.7.11 as a
debian package - libcjson_1.7.11_amd64.deb. Components that need C/C++
JSON parser can use this tool.

- How to verify it
Full build

- Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006

- Description for the changelog

cJSON debian package

- A picture of a cute animal (not mandatory but encouraged)

1) Includes build scripts to download and package cJSON v1.7.11 as a
debian package - libcjson_1.7.11_amd64.deb. Components that need C/C++
JSON parser can use this tool.

2) Mgmt-framework now depends cJSON deb - required for an upcoming
enhancement in CLISH CLI.
@lguohan lguohan requested a review from xumia November 4, 2020 16:37
$(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
# Obtain libcjson
rm -rf ./cJSON-$(LIBCJSON_VERSION)
wget -N "https://github.com/DaveGamble/cJSON/archive/v$(LIBCJSON_VERSION).tar.gz"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xumia, does this align with reproduciable build design?

@sachinholla
Copy link
Contributor Author

retest vs please

@sachinholla
Copy link
Contributor Author

retest vsimage please

@sachinholla
Copy link
Contributor Author

retest vsimage please

@sachinholla
Copy link
Contributor Author

We realized that libcjson is already part of buster distribution - https://packages.debian.org/buster/libcjson1. Hence a private package is not required. Mgmt framework will use the standard libcjson package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants