All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] openssh: Install internal header/lib files
@ 2022-10-21 13:17 Willy Tu
  2022-10-21 13:19 ` [OE-core] " Willy Tu
  2022-10-21 16:24 ` Michael Opdenacker
  0 siblings, 2 replies; 20+ messages in thread
From: Willy Tu @ 2022-10-21 13:17 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1453 bytes --]

Install API only if opensshinternals is in DISTRO_FEATURES.

Install the OpenSSH header + lib files for other repo to build using it.
For example, https://github.com/google/hiba is dependent on those files
to build and this change is needed to meet that requirement.

https://github.com/openembedded/meta-openembedded/pull/597

Signed-off-by: Willy Tu <wltu@google.com>
---
meta/recipes-connectivity/openssh/openssh_9.0p1.bb | 11 +++++++++++
1 file changed, 11 insertions(+)

diff --git a/meta/recipes-connectivity/openssh/openssh_9.0p1.bb b/meta/recipes-connectivity/openssh/openssh_9.0p1.bb
index b63ea2b137..84da118ca6 100644
--- a/meta/recipes-connectivity/openssh/openssh_9.0p1.bb
+++ b/meta/recipes-connectivity/openssh/openssh_9.0p1.bb
@@ -137,6 +137,17 @@ do_install:append () {
${D}${sysconfdir}/init.d/sshd

install -D -m 0755 ${WORKDIR}/sshd_check_keys ${D}${libexecdir}/${BPN}/sshd_check_keys
+
+ if ${@bb.utils.contains('DISTRO_FEATURES', 'opensshinternals', 'true', 'false', d)}; then
+ install -d ${D}${includedir}/ssh
+ install -d ${D}${includedir}/ssh/openbsd-compat
+ install -m0644 ${S}/*.h ${D}${includedir}/ssh
+ install -m0644 ${S}/openbsd-compat/*.h ${D}${includedir}/ssh/openbsd-compat
+
+ install -d ${D}${libdir}
+ install -m0644 ${S}/libssh.a ${D}${libdir}
+ install -m0644 ${S}/openbsd-compat/libopenbsd-compat.a ${D}${libdir}
+ fi
}

do_install_ptest () {
--
2.38.0.135.g90850a2211-goog

[-- Attachment #2: Type: text/html, Size: 2388 bytes --]

^ permalink raw reply related	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2022-11-08 20:20 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-21 13:17 [PATCH] openssh: Install internal header/lib files Willy Tu
2022-10-21 13:19 ` [OE-core] " Willy Tu
2022-10-21 14:59   ` Ross Burton
2022-10-21 16:22     ` Willy Tu
     [not found]       ` <CABC0sH3LFm48+buev6gFFAAoDT2SLqR-r-rndSjx+eU54H5=1w@mail.gmail.com>
2022-10-24 16:04         ` Willy Tu
     [not found]         ` <17210CE2C7C78501.808@lists.openembedded.org>
2022-10-24 17:07           ` Willy Tu
     [not found]           ` <17211049B04D4148.10479@lists.openembedded.org>
2022-10-31 15:42             ` Willy Tu
     [not found]             ` <172331B40D5EBCA0.9941@lists.openembedded.org>
2022-11-08 16:23               ` Willy Tu
2022-11-08 16:27                 ` Alexander Kanavin
2022-11-08 17:08                   ` Willy Tu
2022-11-08 17:11                     ` Alexander Kanavin
2022-11-08 17:16                       ` Willy Tu
     [not found]                         ` <CABC0sH0DjvXC4Hw7CxM__spomLbN1ntEsV03-CQ=3OgLLDakLg@mail.gmail.com>
2022-11-08 19:21                           ` Alexander Kanavin
     [not found]                           ` <1725B2503015CF3E.24882@lists.openembedded.org>
2022-11-08 19:25                             ` Alexander Kanavin
2022-11-08 19:30                               ` Willy Tu
2022-11-08 19:37                                 ` Alexander Kanavin
2022-11-08 20:20                                   ` Willy Tu
2022-10-21 16:24 ` Michael Opdenacker
2022-10-24 14:27   ` Willy Tu
     [not found]   ` <1721078C03B5AEB6.808@lists.openembedded.org>
2022-10-24 14:38     ` Willy Tu

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.