meta-openembedded/meta-networking
Gyorgy Sarvari 924b1b1cb1
civetweb: fix pathes in cmake file
1. The do_install:append() deleted the TMPDIR from the cmake file,
however that left two absolute pathes in the file: /usr/lib/libssl.so
and /usr/lib/libcrypto.so. In case another project is trying to link
to civetweb-server with cmake, it fails with the following error:

ninja: error: '/usr/lib/libssl.so', needed by 'examples/prometheus/prometheus_example', missing and no known rule to make it

Instead of only deleting the TMPDIR, change it to ${CMAKE_SYSROOT} -
a variable set by cmake.bbclass. This allows other projects to find
the required interfacing libraries successfully.

2. When linking to civetweb-server from another project using cmake,
the cmake file verifies if the /usr/bin/civetweb binary exists. When using
the class-target package, this file is not included in the sysroot during
build-time, so this check fails with the following error:

 CMake Error at ${RECIPE_SYSROOT}/usr/lib/cmake/civetweb/civetweb-targets.cmake:97 (message):
   The imported target "civetweb::server" references the file

      "${RECIPE_SYSROOT}/usr/bin/civetweb"

   but this file does not exist.  Possible reasons include:

To avoid this error, this check is deleted for class-target.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-25 09:28:58 -08:00
..
classes waf-samba: replace oldincludedir 2024-04-12 08:57:34 -07:00
conf openvpn: add ptest support 2024-11-19 22:26:45 -08:00
dynamic-layers/meta-python firewalld: upgrade 1.3.2 -> 2.2.1 2024-10-07 14:15:09 -07:00
files ntp: Add missing 'ntp' static group id 2024-02-17 10:26:58 -08:00
licenses meta-networking/licenses/netperf: remove unused license 2023-04-28 06:59:50 -07:00
recipes-connectivity civetweb: fix pathes in cmake file 2025-01-25 09:28:58 -08:00
recipes-core udpcast: add recipe 2024-06-10 23:08:41 -07:00
recipes-daemons ncftp: update for autoconf changes in core 2025-01-24 18:27:39 -08:00
recipes-devtools python3-scapy: Upgrade to 2.6.0 release 2024-09-29 14:00:32 -07:00
recipes-extended dlm: Disable fcf-protection on riscv32 2024-09-17 07:50:22 -07:00
recipes-filter ebtables: Remove the dependecy on bash 2024-11-19 16:59:05 -08:00
recipes-irc weechat: upgrade 4.0.4 -> 4.5.0 2024-12-20 19:47:57 -08:00
recipes-kernel/wireguard wireguard-tools: fix do_fetch error 2024-10-18 09:25:45 -07:00
recipes-protocols vsomeip: Skip building, needs porting to boost >= 1.87 2025-01-13 10:10:21 -08:00
recipes-support ntp: set CONFIG_SITE in do_compile 2025-01-24 18:27:39 -08:00
COPYING.MIT meta-networking: add layer 2012-08-27 14:16:45 +02:00
MAINTAINERS MAINTANERS: drop netkit 2023-11-15 09:51:45 -08:00
README.md README: drop netkit maintainer 2023-11-15 09:51:45 -08:00
SECURITY.md meta: Add SECURITY.md file to all layers 2024-11-23 09:00:14 -08:00

meta-networking

This layer is intended to be a central point for networking-related packages and configuration. It should be useful directly on top of oe-core and compliments meta-openembedded. It should be primarily useful to the following groups:

  - Anyone building a small networking device (eg. a home router /
    bridge / switch).

  - Anyone wanting to add network services to their device (eg.
    anything that might benefit from a small ftp/tftp server)

Dependencies

This layer depends on:

URI: git://git.openembedded.org/openembedded-core branch: master

For some recipes, the meta-oe layer is required:

URI: git://git.openembedded.org/meta-openembedded subdirectory: meta-oe branch: master

URI: git://git.openembedded.org/meta-openembedded subdirectory: meta-python branch: master

Maintenance

Layer maintainers: Khem Raj raj.khem@gmail.com

Please see the MAINTAINERS file for information on contacting the maintainers of this layer, as well as instructions for submitting patches.