summaryrefslogtreecommitdiff
path: root/meta-google/recipes-extended/networking
AgeCommit message (Collapse)AuthorFilesLines
2022-04-30treewide: fix GPLv2/LGPLv2.1 obsolete-license warningsPatrick Williams2-2/+2
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I746b04e1e36abaf2ff3852beb8a04535692442c1
2022-01-25treewide: fix up github SRC_URIsPatrick Williams2-2/+2
Per [1], Yocto is going to start requiring both branch names and `protocol=https` in GitHub SRC_URI variables. Ran the upstream tool to automatically fix our URIs. 1. https://git.yoctoproject.org/poky/tree/documentation/migration-guides/migration-3.5.rst#n10 Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5f9619f7ff707050b469ae74c8aa16846568c5e4
2021-10-26meta-google: mstpd: Lower log levelWilliam A. Kennington III1-1/+1
The current log level is too noisy and polluting the journal with lots of unhelpful debugging messages. Drop the level down to 2 in order to only produce error messages. Change-Id: I9d892b80e0d1ba7516614944c4ad74502c6c1aad Signed-off-by: William A. Kennington III <wak@google.com>
2021-08-07meta-google: Cleanup for Yocto override syntax changeWilly Tu1-3/+3
``` convert-overrides.py meta-google git grep "_[a-z0-9_/-]*[ :]" -- meta-google | grep ".bb" git grep -l _gbmc -- meta-google | grep ".bb" \ | xargs sed -i 's/_gbmc/:gbmc/' git grep -l _prod -- meta-google | grep ".bb" \ | xargs sed -i 's/_prod/:prod/' git grep -l _dev -- meta-google | grep ".bb" \ | xargs sed -i 's/_dev/:dev/' git grep -l _hoth -- meta-google | grep ".bb" \ | xargs sed -i 's/_hoth/:hoth/' git grep -l _bandaid -- meta-google | grep ".bb" \ | xargs sed -i 's/_bandaid/:bandaid/' ``` Some small fix includes ``` platforms_gbmc_bringup platforms_gbmc_secure ``` Tested: ``` $ git grep "_[a-z0-9_/-]*[ :]" -- meta-google | grep ".bb" meta-google/recipes-connectivity/avahi/avahi_%.bbappend:do_install:append:gbmc() { meta-google/recipes-core/dropbear/dropbear_%.bbappend:do_install:append:gbmc:dev() { meta-google/recipes-core/dropbear/dropbear_%.bbappend: echo ' chain gbmc_br_pub_input {' >>"$rules" meta-google/recipes-extended/libconfig/conf2struct-native_git.bb: oe_runmake checker meta-google/recipes-extended/libconfig/conf2struct-native_git.bb: oe_runmake install meta-google/recipes-extended/networking/mstpd_git.bb:do_install:append() { meta-google/recipes-extended/networking/sslh_git.bb: oe_runmake distclean meta-google/recipes-extended/networking/sslh_git.bb: oe_runmake sslh-conf.h meta-google/recipes-extended/networking/sslh_git.bb: oe_runmake install meta-google/recipes-google/ipmi/ipmi-fru-sh.bb:do_install:append() { meta-google/recipes-google/ncsi/gbmc-ncsi-config.bb:do_install:append() { meta-google/recipes-google/networking/gbmc-bridge.bb:do_rm_work:prepend() { meta-google/recipes-google/networking/gbmc-bridge.bb: # HACK: Work around broken do_rm_work not properly calling rm with `--` meta-google/recipes-google/networking/gbmc-ip-monitor.bb:do_install:append() { meta-google/recipes-google/networking/gbmc-iperf3.bb:do_install:append:dev() { meta-google/recipes-google/networking/gbmc-iperf3.bb: echo ' chain gbmc_br_pub_input {' >>"$rules" meta-google/recipes-google/networking/gbmc-mac-config.bb:do_install:append() { meta-google/recipes-google/networking/network-sh.bb:do_install:append() { meta-google/recipes-google/ssh/authorized-keys-comp.bb:SUMMARY = "Compiles a set of authorized_keys files into a single file" meta-google/recipes-google/ssh/authorized-keys-comp.bb:do_install:append() { meta-google/recipes-google/systemd/gbmc-systemd-config.bb:do_install:append:dev() { meta-google/recipes-google/test/test-sh.bb:do_install:append() { meta-google/recipes-phosphor/flash/inplace-gbmc-update.bb:do_install:prepend:dev() { meta-google/recipes-phosphor/host/phosphor-host-postd_%.bbappend:do_install:append:gbmc:dev() { meta-google/recipes-phosphor/initrdscripts/obmc-phosphor-initfs.bbappend:do_install:append:gbmc:dev() { meta-google/recipes-phosphor/initrdscripts/obmc-phosphor-initfs.bbappend:do_install:append:gbmc:prod() { meta-google/recipes-phosphor/ipmi/phosphor-ipmi-config.bbappend:do_install:append:gbmc() { meta-google/recipes-phosphor/ipmi/phosphor-ipmi-config.bbappend: overlapping="$(jq '."${GBMCBR_IPMI_CHANNEL}" | .is_valid and .name != "gbmcbr"' $chjson)" ``` Change-Id: I9d610c664bd44e8bd81fb8f7e76249a0b43b9ffd Signed-off-by: Willy Tu <wltu@google.com>
2021-08-07meta-google: sslh: Remove ecosrv from the buildWilliam A. Kennington III1-0/+4
This is not used in the installed output and is breaking the build non-deterministically. Change-Id: I3f7193e9f0aac5e5cdcd45d4c736c3d31bb2858b Signed-off-by: William A. Kennington III <wak@google.com>
2021-08-06meta-google: sslh: Ensure that autogenerated files aren't staleWilliam A. Kennington III1-5/+8
These files sometimes get checked into the repo and we don't want non-determinism around their generation. Ensure they are cleaned up and regenerated for every build since that is very fast. Change-Id: If20c79f8308c117a20983c8cb54c3420d872d64b Signed-off-by: William A. Kennington III <wak@google.com>
2021-08-06sslh: Bump de0ec95..63f9c4aWilliam A. Kennington III1-2/+2
Uptream moved from PCRE to PCRE2 Change-Id: I62434762a7e0485f4fe49ad6f181290cf6d34844 Signed-off-by: William A. Kennington III <wak@google.com>
2021-07-27meta-google: sslh: Bump 517e4ad..de0ec95William A. Kennington III1-1/+1
yrutschle (25): changelog the sslh-select refactoring justify use of select remove some debug messages made echosrv independant from common.o and with its own configuration add UDP support to echosrv when verbose, precise which listen sockets are udp remove caveat about UDP refactor upgraded argtable3 to current last version to fix a parsing issue with command line options do not drop CAP_NET_ADMIN if any of the protocols require transparent proxying typo refactor: purified set_capabilities, told to keep or drop CAP_NET_ADMIN instead of deciding for itself sslh-fork drops all capabilities after connecting to server side refactor t_load to use test.cfg as base changed CAP_NET_ADMIN to CAP_NET_RAW as it's enough clarify variable name clarify function name add recv and sendto addresses sslh-select sets O_NONBLOCK *before* calling connect, which prevents hanging on an unresposive server (fix #258) fail gracefully if libconfig fails to find root element fix for libconfig 1.7.3 (#292) moved UDP support from sslh-fork to sslh-select fix message for fd closure on timeout report errors as E instead of M, and consolidate restarts as simplified roman numerals removed static known_source arrays, UDP connections are now managed dynamically make udp timeout configurable per protocol Change-Id: I49280061e0cdef7b416ecf2e59601519d7979246 Signed-off-by: William A. Kennington III <wak@google.com>
2021-07-27meta-google: sslh: Ensure conf2struct files are not regeneratedWilliam A. Kennington III1-5/+8
We sometimes have a race condition in the git checkout process that causes the source file timestamp to be newer than the generated ones. The generation process is currently broken, but the necessary files are bundled in the source tree. Change-Id: I81fb707d5b16f88032d7022da97563bf6ccc78f5 Signed-off-by: William A. Kennington III <wak@google.com>
2021-05-08sslh: Bump b72baa0..517e4adWilliam A. Kennington III1-1/+1
Mostly bugfixes, but importantly contains a parallel build fix that periodically affects builds. Change-Id: Ib60fb1fbd1427f5e6542c12c1383bdc871af5905 Signed-off-by: William A. Kennington III <wak@google.com>
2021-04-16meta-google: sslh: Bump de8e572..b72baa0William A. Kennington III1-1/+1
Fixes a crash with the latest openbmc Change-Id: Iacceb48d629cd3dd8e6f7f7a49053407438cfbbc Signed-off-by: William A. Kennington III <wak@google.com>
2021-03-08meta-google: mstpd: Fix broken fileWilliam A. Kennington III1-31/+18
/sbin/bridge-stp was incorrectly migrated this repo as a duplicate copy of the recipe. Change-Id: I3efded2aaff614c1cdfd3f7d74b8dfcade378114 Signed-off-by: William A. Kennington III <wak@google.com>
2021-02-17meta-google: recipes-extended: networking: mstpd: Import from gBMCWilly Tu3-0/+72
Initial recipes-extended/networking mstpd code from gBMC. Google-Bug-Id: 179618485 Upstream: 8ac594bdf054082ca6dbe35c4345759fe4c31669 Change-Id: Ia8a39b1f502283c9b0e1273bc28d9b7046a34164 Signed-off-by: Willy Tu <wltu@google.com>
2021-02-16meta-google: recipes-extended: networking: sslh: Import from gBMCWilly Tu1-0/+31
Initial recipes-extended/networking sslh code from gBMC. Google-Bug-Id: 179618485 Upstream: 8ac594bdf054082ca6dbe35c4345759fe4c31669 Change-Id: Iaf34ac877ad922970290bf398a5e86ad22011336 Signed-off-by: Willy Tu <wltu@google.com>