All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denis@denix.org>
To: Ravi Gunasekaran <r-gunasekaran@ti.com>
Cc: Andrew Davis <afd@ti.com>,
	meta-arago@lists.yoctoproject.org, reatmon@ti.com,
	g-gupta@ti.com, praneeth@ti.com
Subject: Re: [master/kirkstone][PATCH v4 2/8] meta-arago-extras: sysrepo: Add libssh recipe needed for sysrepo
Date: Wed, 28 Jun 2023 13:57:03 -0400	[thread overview]
Message-ID: <20230628175701.GW1518@denix.org> (raw)
In-Reply-To: <94160937-cc84-0de4-1e5f-5a4bbed2f376@ti.com>

On Wed, Jun 28, 2023 at 09:47:36AM +0530, Ravi Gunasekaran wrote:
> 
> 
> On 6/27/23 8:26 PM, Andrew Davis wrote:
> > On 6/27/23 9:42 AM, Ravi Gunasekaran wrote:
> >> libnetconf2 is needed to build sysrepo. And libnetconf2 depends on
> >> libssh. So add receipe for libssh.
> >>
> > 
> > What is wrong with the version of libssh already in meta-oe?
> 
> The recommended version of libssh for libnetconf2 is 0.9. [1]
> While the version of libssh in meta-oe is 0.8
> 
> [1] - https://github.com/CESNET/libnetconf2

Kirkstone or master?



> >> The recipe is taken as-is from the commit 09f73e7 ("update for honister")
> >> from the public repo [1].
> >>
> >> [1] - https://github.com/sartura/meta-sysrepo
> >>
> >> Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
> >> ---
> >>
> >> Changes since v3:
> >> ----------------
> >> No change
> >>
> >> Changes since v2:
> >> ---------------
> >> Newly introduced in this series
> >>
> >>   .../recipes-sysrepo/libssh/libssh_0.9.5.bb    | 35 +++++++++++++++++++
> >>   1 file changed, 35 insertions(+)
> >>   create mode 100644 meta-arago-extras/recipes-sysrepo/libssh/libssh_0.9.5.bb
> >>
> >> diff --git a/meta-arago-extras/recipes-sysrepo/libssh/libssh_0.9.5.bb b/meta-arago-extras/recipes-sysrepo/libssh/libssh_0.9.5.bb
> >> new file mode 100644
> >> index 00000000..43a6827e
> >> --- /dev/null
> >> +++ b/meta-arago-extras/recipes-sysrepo/libssh/libssh_0.9.5.bb
> >> @@ -0,0 +1,35 @@
> >> +SUMMARY = "Multiplatform C library implementing the SSHv2 and SSHv1 protocol"
> >> +HOMEPAGE = "http://www.libssh.org"
> >> +SECTION = "libs"
> >> +LICENSE = "LGPLv2.1"
> >> +LIC_FILES_CHKSUM = "file://COPYING;md5=dabb4958b830e5df11d2b0ed8ea255a0"
> >> +
> >> +DEPENDS = "zlib openssl"
> >> +
> >> +SRC_URI = "git://git.libssh.org/projects/libssh.git;branch=stable-0.9"
> >> +SRCREV = "0cceefd49d4d397eb21bd36e314ac87739da51ff"
> >> +
> >> +S = "${WORKDIR}/git"
> >> +
> >> +inherit cmake
> >> +
> >> +PACKAGECONFIG ??=""
> >> +PACKAGECONFIG[gssapi] = "-DWITH_GSSAPI=1, -DWITH_GSSAPI=0, krb5, "
> >> +
> >> +ARM_INSTRUCTION_SET:armv5 = "arm"
> >> +
> >> +EXTRA_OECMAKE = " \
> >> +    -DWITH_GCRYPT=0 \
> >> +    -DWITH_PCAP=1 \
> >> +    -DWITH_SFTP=1 \
> >> +    -DWITH_ZLIB=1 \
> >> +    -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \
> >> +    "
> >> +
> >> +do_configure:prepend () {
> >> +    # Disable building of examples
> >> +    sed -i -e '/add_subdirectory(examples)/s/^/#DONOTWANT/' ${S}/CMakeLists.txt \
> >> +        || bbfatal "Failed to disable examples"
> >> +}
> >> +
> >> +TOOLCHAIN = "gcc"


  reply	other threads:[~2023-06-28 17:57 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-27 14:42 [master/kirkstone][PATCH v4 0/8] Add meta-sysrepo recipes Ravi Gunasekaran
2023-06-27 14:42 ` [master/kirkstone][PATCH v4 1/8] meta-arago-extras: sysrepo: Update checksum for nw-configurator Ravi Gunasekaran
2023-06-28 17:07   ` Denys Dmytriyenko
2023-06-29  4:09     ` Ravi Gunasekaran
2023-06-27 14:42 ` [master/kirkstone][PATCH v4 2/8] meta-arago-extras: sysrepo: Add libssh recipe needed for sysrepo Ravi Gunasekaran
2023-06-27 14:56   ` Andrew Davis
2023-06-28  4:17     ` Ravi Gunasekaran
2023-06-28 17:57       ` Denys Dmytriyenko [this message]
2023-06-27 14:42 ` [master/kirkstone][PATCH v4 3/8] meta-arago-extras: sysrepo: Add libyang " Ravi Gunasekaran
2023-06-27 14:42 ` [master/kirkstone][PATCH v4 4/8] meta-arago-extras: sysrepo: Add libnetconf recipe neede " Ravi Gunasekaran
2023-06-27 14:42 ` [master/kirkstone][PATCH v4 5/8] meta-arago-extras: sysrepo: Add libredblack needed " Ravi Gunasekaran
2023-06-27 15:02   ` Andrew Davis
2023-06-28  4:22     ` Ravi Gunasekaran
2023-06-28 15:52       ` Ryan Eatmon
2023-06-28 17:56         ` Denys Dmytriyenko
     [not found]         ` <176CE44BB5C95250.25798@lists.yoctoproject.org>
2023-06-28 22:47           ` [meta-arago] " Denys Dmytriyenko
2023-06-29  4:06             ` Ravi Gunasekaran
2023-06-27 14:42 ` [master/kirkstone][PATCH v4 6/8] meta-arago-extras: sysrepo: Add sysrepo and sysrepo plugins Ravi Gunasekaran
2023-06-27 14:42 ` [master/kirkstone][PATCH v4 7/8] meta-arago-extras: sysrepo: Add netopeer2 recipe Ravi Gunasekaran
2023-06-27 14:42 ` [master/kirkstone][PATCH v4 8/8] tisdk-default-image: Add package group for netopeer/sysrepo Ravi Gunasekaran

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230628175701.GW1518@denix.org \
    --to=denis@denix.org \
    --cc=afd@ti.com \
    --cc=g-gupta@ti.com \
    --cc=meta-arago@lists.yoctoproject.org \
    --cc=praneeth@ti.com \
    --cc=r-gunasekaran@ti.com \
    --cc=reatmon@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.