Project homepage Mailing List  Warmcat.com  API Docs  Github Mirror 
    npro  
 Modern all-safe Rust Network Protocol library supporting h1, h2, h3, ws, wt sans-IO and with socket IO + tls
git clone https://npro.rs/repo/npro
 
root / scripts / sai-virt.service
Author[]Andy Green <andy@warmcat.com> 2020-12-07 07:56 UTC
Committer[]Andy Green <andy@warmcat.com> 2020-12-07 10:39 UTC
Tree229849bc193b0ff16dfcb26edb79ce273f780d28   Raw Patch
 
netbsd: rpath
netbsd: rpath
diff --git a/.sai.json b/.sai.json index eaefd4d..1b388c7 100644 --- a/.sai.json +++ b/.sai.json @@ -11,10 +11,15 @@ "linux-fedora-32/x86_64-amd/gcc": { "build": "mkdir build destdir;cd build;export CCACHE_DISABLE=1;cmake .. ${cmake};make -j;cpack -G RPM" }, - "netbsd-OSX-catalina/x86_64-intel-i3/llvm": { + "netbsd-OSX-bigsur/x86_64-intel-i3/llvm": { "build": "mkdir build destdir; cd build; export SAI_CPACK=\"-G ZIP\";export MACOSX_DEPLOYMENT_TARGET=10.14 ; cmake .. -DCMAKE_MAKE_PROGRAM=/usr/bin/make -DLWS_OPENSSL_INCLUDE_DIRS=/usr/local/opt/openssl@1.1/include -DLWS_OPENSSL_LIBRARIES=\"/usr/local/opt/openssl/lib/libssl.dylib;/usr/local/opt/openssl/lib/libcrypto.dylib\" ${cmake} && make -j && make -j DESTDIR=../destdir install && ctest -j4 --output-on-failure ${cpack}", "default": false }, + "netbsd/aarch64BE-bcm2837-a53/gcc": { + "build": "mkdir build destdir;cd build;export CCACHE_DISABLE=1;cmake .. ${cmake};make -j4", + "default": false + }, + "windows-10/x86_64-amd/msvc": { "build": "mkdir build && cd build && set SAI_CPACK=\"-G ZIP\" && cmake .. -DSAI_LWS_INC_PATH=\"C:\\Program Files (x86)\\libwebsockets\\include\" -DSAI_LWS_LIB_PATH=\"C:\\Program Files (x86)\\libwebsockets\\lib\\websockets_static.lib\" -DSAI_EXT_PTHREAD_INCLUDE_DIR=\"C:\\Program Files (x86)\\pthreads\\include\" -DSAI_EXT_PTHREAD_LIBRARIES=\"C:\\Program Files (x86)\\pthreads\\lib\\x64\\libpthreadGC2.a\" -DLWS_OPENSSL_INCLUDE_DIRS=\"C:\\Program Files\\OpenSSL\\include\" -DSAI_GIT2_INC_PATH=\"C:\\Program Files (x86)\\libgit2\\include\" -DSAI_GIT2_LIB_PATH=\"C:\\Program Files (x86)\\libgit2\\lib\\git2.lib\" -DLWS_OPENSSL_LIBRARIES=\"C:\\Program Files\\OpenSSL\\lib\\libcrypto.lib;C:\\Program Files\\OpenSSL\\lib\\libssl.lib\" ${cmake} && cmake --build . --config DEBUG && set CTEST_OUTPUT_ON_FAILURE=1 && ctest . -C DEBUG -j4 --output-on-failure ${cpack}", "default": false @@ -29,7 +34,7 @@ }, "builder-only": { "cmake": "-DSAI_SERVER=0 ", - "platforms": "windows-10/x86_64-amd/msvc, netbsd-OSX-catalina/x86_64-intel-i3/llvm", + "platforms": "windows-10/x86_64-amd/msvc, netbsd-OSX-bigsur/x86_64-intel-i3/llvm,netbsd/aarch64BE-bcm2837-a53/gcc", "cpack": "&& cpack -C DEBUG $SAI_CPACK", "artifacts": "build/sai-*.deb, build/sai-*.rpm, build/sai-*.7z" } diff --git a/CMakeLists.txt b/CMakeLists.txt index 55aad93..d16a2c8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,11 @@ list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) include(CheckCSourceCompiles) include(LwsCheckRequirements) -set(CMAKE_SKIP_RPATH 1) +if (CMAKE_HOST_SYSTEM_NAME MATCHES "NetBSD") + set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) +else() + set(CMAKE_SKIP_RPATH 1) +endif() find_package(Git) if(GIT_EXECUTABLE) diff --git a/READMEs/README-build-bsds.md b/READMEs/README-build-bsds.md new file mode 100644 index 0000000..8bfb465 --- /dev/null +++ b/READMEs/README-build-bsds.md @@ -0,0 +1,127 @@ +# Building Sai on BSDs + +This is what I found as an experieced linux user when setting +up lws + sai on NetBSD for arch64 Big Endian (`aarch64_be`) from +a minimal image. + +https://mail-index.netbsd.org/port-arm/2020/12/03/msg007117.html + +## Packaging + +NetBSD has a system 'pkgsrc' that is equivlent to package source +and binary builds. Normally, you can install binary packages from +a central repository for your arch, as you would expect. This +looks like `pkg_add mypackage`. + +https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/ + +But arch64BE is too new to have the package repo populated yet... +the base install comes with basic build tools like cvs, gcc and make, +everything else has to be built from the source package, which +is a day of build time on an RPi3. However it's doable and there +and enough pieces there. + +Pkgsrc is not a simple build wrapper, it understands recursive package +deps and can sub-build those automatically. So building large projects +is not a matter of having to chase everything down and build by hand, +it knows how to do it for you for toplevel projects with many deps. + +## Bootstrapping pkgsrc + +### 1) Prepare pkgsrc + +As root, follow the advice here for quickstart/bootstrap + +https://www.pkgsrc.org/ + +``` +cvs -danoncvs@anoncvs.netbsd.org:/cvsroot checkout pkgsrc +cd pkgsrc/bootstrap +./bootstrap +``` + +### 2) Build pkgsrc packges from source + +Then, where x/y is the package category and name + +``` +# cd pkgsrc/x/y +# make install clean +``` + +for these packages + +``` +# devel/git +# devel/cmake +# devel/libgit2 +# shells/bash +# security/mozilla-rootcerts +# sysutils/daemond +``` + +The base install has a very simplified vi, you may also want +to build `editors/vim` + +### 3) symlink to executables + +Some packages are referred to by well-known paths +like `/bin/bash` + +``` +# ln -s /usr/pkg/bin/bash /bin/bash +# ln -s /usr/pkg/bin/cmke /bin/cmake +``` + +### 4) Set up CA bundle abd openssl cnf + +The base OS doesn't have a trusted C bundle for openssl, +additionlly install the rootcert bundle: + +``` +# mozilla-rootcerts install +``` + +The openssl it comes with expects a config file in order to +create certs, as needed by lws configuration. Create +`/etc/openssl/openssl.cnf` with this: + +``` +[req] +default_bits=2048 +encrypt_key=no +default_md=sha256 +distinguished_name=req_subj +[req_subj] +commonName="Fully Qualified Domain Name (FQDN)" +emailAddress="Administrative Email Address" +countryName="Country Name (2 letter code)" +countryName_default=US +stateOrProvinceName="State Name (full name)" +stateOrProvinceName_default=Ohio +localityName="Locality Name (e.g., city)" +localityName_default=Columbus +organizationName="Organization Name (e.g., company)" +organizationName_default=Widgets Inc +organizationalUnitName="Organizational Unit Name (e.g., section)" +organizationalUnitName_default=Some Unit +``` + +After that there are enough pieces to fetch from git and +build lws and sai-builder as you would expect. + +### 5) Build lws + sai + +lws requires the additional cmake flag `-DLWS_WITHOUT_DAEMONIZE=0` + +There is no sudo, I dealt with make install by having a root +and user console session open in parallel on the same build +dir. + +### 6) Set up init + +Copy `./scripts/etc-rc.d-sai_builder-NetBSD` to `/etc/rc.d/sai_builder` + +Edit `/etc/rc.conf` and add `sai_builder=YES` at the bottom to start +it at boot, then `/etc/rc.d/sai_builder start` + diff --git a/READMEs/README-systemd-nspawn.md b/READMEs/README-systemd-nspawn.md index e6b120a..d379926 100644 --- a/READMEs/README-systemd-nspawn.md +++ b/READMEs/README-systemd-nspawn.md @@ -109,6 +109,7 @@ root@myhost:~# useradd -u883 -gnogroup sai -d/home/sai -m -r ``` For redhat type systems, use `-gnobody` instead +For BSDs, `useradd -u883 -g32766 -d/home/sai -m sai` ### Specific to Debian Buster / Sid diff --git a/assets/arch-aarch64BE-bcm2837-a53.svg b/assets/arch-aarch64BE-bcm2837-a53.svg new file mode 100644 index 0000000..d7eadcc --- /dev/null +++ b/assets/arch-aarch64BE-bcm2837-a53.svg @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<svg width="3.8163mm" height="3.8163mm" version="1.1" viewBox="0 0 3.8163 3.8163" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> + <metadata> + <rdf:RDF> + <cc:Work rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/> + <dc:title/> + </cc:Work> + </rdf:RDF> + </metadata> + <g transform="translate(50.896 -72.33)"> + <circle cx="102.05" cy="148.92" r="1.9082" fill="#e6e6e6" opacity=".42096"/> + <path d="m102.2 150.16s-0.02-0.01-0.02-0.02c0 0-0.08-0.155-0.163-0.338l-0.156-0.328h0.07 0.07s0.07 0.138 0.157 0.302c0.09 0.181 0.155 0.302 0.157 0.31 0 0.03-0.01 0.05-0.04 0.06-0.02 0.01-0.05 0.01-0.07 0zm0.439-0.822c-0.06 0-0.09-0.01-0.123-0.03-0.01 0-0.02-0.01-0.02-0.02-0.01-0.02-0.02-0.07-0.02-0.118v-0.04h0.03s0.03 0.06 0.04 0.07c0.05 0.07 0.123 0.1 0.184 0.07 0.03-0.01 0.05-0.05 0.05-0.08 0-0.06-0.03-0.112-0.121-0.158-0.08-0.05-0.123-0.08-0.146-0.128-0.01-0.03-0.02-0.04-0.02-0.08 0-0.03 0-0.05 0.02-0.08 0.02-0.05 0.07-0.08 0.13-0.1h0.07c0.05 0 0.07 0 0.125 0.01 0.03 0 0.04 0 0.04 0.02s0.01 0.06 0.01 0.09c0 0.05 0 0.05-0.02 0.05-0.01 0-0.02 0-0.03-0.03-0.02-0.06-0.07-0.1-0.109-0.102-0.03 0-0.07 0-0.09 0.03-0.02 0.02-0.03 0.03-0.03 0.06-1e-3 0.02 0 0.03 0 0.04 0 0.02 0.03 0.04 0.05 0.06 0 0 0.04 0.02 0.06 0.04 0.06 0.03 0.09 0.05 0.113 0.08 0.04 0.05 0.06 0.101 0.06 0.161-0.01 0.09-0.08 0.157-0.187 0.174h-0.09zm-1.556-0.01c-0.02-0.03-0.07-0.09-0.195-0.249-0.172-0.213-0.178-0.22-0.198-0.241-0.01-0.02-0.02-0.02-0.02-0.01v0.358c0 0.05 0 0.07 0.02 0.08 0.01 0.01 0.03 0.02 0.07 0.03h0.02v0.02h-0.124c-0.136 0-0.127 0-0.127-0.02 0-0.01 0-0.02 0.02-0.02 0.03 0 0.05-0.02 0.06-0.03v-0.04-0.251-0.234c0-0.02-0.03-0.03-0.07-0.03h-0.02v-0.03h0.07 0.111 0.05c0 0.01 0.02 0.05 0.05 0.08 0.03 0.04 0.214 0.259 0.27 0.322l0.02 0.02v-0.115c0-0.15 0-0.222-0.02-0.245 0-0.01-0.03-0.02-0.05-0.03h-0.02s-0.01-0.01 0-0.02v-0.01h0.07 0.123 0.06v0.02h-0.02c-0.03 0-0.04 0.02-0.05 0.03-0.01 0.03-0.02 0.116-0.02 0.379v0.205s-0.03 0.02-0.04 0.02h-0.01v-0.01zm0.255 0c-0.08-0.01-0.137-0.06-0.16-0.142v-0.112c0.02-0.08 0.07-0.135 0.144-0.158 0.03 0 0.08-0.01 0.111 0 0.02 0 0.05 0.02 0.07 0.03 0.03 0.02 0.04 0.06 0.04 0.1v0.03h-0.116c-0.128 0-0.12 0-0.12 0.02 0 0.04 0.02 0.08 0.04 0.104 0.05 0.05 0.15 0.05 0.183 0 0-0.01 0.02-0.01 0.03 0v0.03c-0.02 0.03-0.06 0.07-0.09 0.08s-0.08 0.02-0.112 0.01zm0.07-0.293c0.01 0 0.02-0.01 0.02-0.02 0-0.02 0-0.04-0.03-0.05h-0.05c-0.03 0.02-0.06 0.06-0.04 0.08h0.101zm0.266 0.293c-0.02 0-0.04-0.01-0.05-0.02l-0.02-0.02c-0.01-0.03-0.01-0.04-0.01-0.175v-0.132h-0.03c-0.03 0-0.03 0-0.03-0.02l0.02-0.02c0.05-0.02 0.09-0.06 0.125-0.1 0.01-0.02 0.02-0.02 0.03-0.01v0.1h0.05 0.05v0.04h-0.05-0.05v0.08c0 0.1 0 0.15 0.01 0.168 0.02 0.04 0.05 0.05 0.09 0.03h0.02v0.01l-0.01 0.02-0.08 0.04h-0.08zm1.448 0h-0.122-0.09v-0.03h0.03c0.04 0 0.05-0.02 0.05-0.05v-0.478c0-0.03-0.01-0.05-0.05-0.05h-0.02v-0.03s0.06 0 0.176-0.01c0.163 0 0.247 0 0.323 0.03 0.09 0.03 0.155 0.09 0.187 0.183 0.01 0.03 0.02 0.06 0.02 0.108 0 0.116-0.05 0.212-0.138 0.271-0.05 0.03-0.103 0.05-0.178 0.06h-0.186zm0.163-0.05c0.09-0.02 0.154-0.09 0.175-0.212v-0.141c-0.02-0.13-0.102-0.201-0.238-0.213h-0.05c-0.02 0-0.03 0-0.03 0.02v0.466c0 0.04 0.02 0.05 0.04 0.07 0.02 0.01 0.07 0.02 0.109 0zm-1.408 0.04v-0.03h0.03c0.03 0 0.04-0.01 0.05-0.03v-0.248-0.254c0-0.02 0-0.03-0.02-0.04h-0.03-0.02v-0.03s0.06 0 0.165-0.01c0.19 0 0.267 0 0.317 0.05 0.03 0.03 0.05 0.08 0.04 0.123 0 0.05-0.04 0.09-0.1 0.105-0.03 0.01-0.03 0.01 0 0.02 0.07 0.02 0.116 0.06 0.127 0.127 0.01 0.06 0 0.118-0.05 0.158-0.03 0.03-0.07 0.05-0.134 0.06h-0.211-0.179zm0.341-0.05c0.03 0 0.05-0.02 0.06-0.06 0.01-0.02 0.02-0.05 0.01-0.09 0-0.06-0.02-0.1-0.07-0.119-0.03-0.01-0.05-0.02-0.09-0.02s-0.04 0-0.04 0.107c0 0.117 0 0.132 0.02 0.154 0.01 0.01 0.02 0.02 0.04 0.02h0.05zm-0.04-0.325c0.05-0.01 0.08-0.05 0.08-0.112 0-0.03 0-0.05-0.01-0.07 0-0.02-0.03-0.04-0.05-0.05-0.02 0-0.05-0.01-0.07-0.01-0.04 0-0.03 0-0.03 0.126v0.109h0.01 0.07zm1.462-0.127c-0.02 0-0.04-0.03-0.05-0.04 0-0.02-0.01-0.05 0-0.07 0-0.02 0.03-0.04 0.05-0.05 0.04-0.02 0.09 0 0.111 0.04 0.01 0.02 0.01 0.05 0 0.07-0.02 0.05-0.07 0.07-0.116 0.05zm0.06-0.01c0.03-0.01 0.05-0.04 0.05-0.07s-0.02-0.06-0.05-0.07-0.06 0-0.08 0.02c-0.06 0.06 0 0.149 0.08 0.121zm-0.06-0.07v-0.05h0.02c0.03 0 0.05 0.01 0.05 0.03 0 0 0 0.01-0.01 0.02l0.02 0.04-0.02-0.02c-0.01-0.02-0.01-0.02-0.02-0.02v0.04-0.05zm0.05-0.01v-0.03h-0.02-0.01v0.04h0.01 0.02zm-2.396-0.436c-0.15-0.317-0.204-0.435-0.204-0.442 0-0.02 0.02-0.03 0.04-0.02 0 0 0.127 0.233 0.436 0.831l0.03 0.07h-0.1zm0.359 0.148c-0.06 0-0.147-0.02-0.154-0.03 0 0-0.331-0.588-0.329-0.589 0 0 0.02 0 0.04 0.01 0.231 0.09 0.46 0.102 0.736 0.05 0.106-0.02 0.201-0.04 0.373-0.09 0.197-0.06 0.296-0.08 0.41-0.102 0.137-0.02 0.278-0.03 0.395 0 0.1 0.02 0.203 0.05 0.283 0.08h-0.03c-0.06-0.01-0.113-0.02-0.183-0.02s-0.106 0-0.178 0.01c-0.06 0.01-0.132 0.03-0.206 0.05-0.1 0.03-0.162 0.06-0.292 0.122-0.07 0.03-0.1 0.05-0.08 0.04 0.132-0.04 0.282-0.06 0.39-0.07h0.214c0.07 0.01 0.151 0.03 0.215 0.05 0.03 0.01 0.116 0.05 0.115 0.05h-0.03c-0.07-0.01-0.102-0.02-0.187-0.02h-0.118c-0.124 0.02-0.243 0.05-0.39 0.113-0.07 0.03-0.113 0.05-0.274 0.129-0.209 0.103-0.288 0.137-0.392 0.166-0.09 0.03-0.148 0.03-0.237 0.03h-0.08z" stroke-width=".002713"/> + <g transform="translate(608.84 195.67)"> + <circle cx="-657.83" cy="-121.43" r="1.9082" fill="#f9f9f9" opacity=".42096"/> + <g transform="matrix(.039208 0 0 .039208 -610.38 -123.58)" stroke-width=".26458"> + <path d="m-1209.3 92.523c0.1-0.1339 0.55-0.2434 1.03-0.2434 1.35 0 4.93-0.735 7.22-1.483 10.57-3.447 19.13-11.773 22.79-22.148 3.26-9.23 2.64-19.317-1.71-28.038-1.42-2.8336-3.53-5.8831-5.67-8.2053-1.05-1.134-1.87-2.1052-1.81-2.1582 0.18-0.1808 8.75-3.621 8.8-3.5367 0 0.046 0.6 0.7389 1.27 1.5392 4.03 4.8426 6.99 11.204 8.32 17.869 0.67 3.3181 0.66 10.952 0 14.278-2.45 12.28-9.96 22.371-20.72 27.841-5.73 2.9178-10.25 4.0809-17.09 4.4056-1.53 0.073-2.52 0.024-2.43-0.1212zm-0.94-0.6189c0-0.055 0.91-0.3032 2.03-0.5511 5.63-1.2538 10.89-4.1158 15.27-8.3169 9.98-9.5586 12.87-23.955 7.38-36.692-1.76-4.0904-4.97-8.4775-8.25-11.285-0.72-0.6165-1.32-1.1861-1.33-1.2658 0-0.1647 6.65-2.8977 7.07-2.8977 0.47 0 3.72 3.7198 5.21 5.9531 4.2 6.3199 6.06 12.474 6.03 19.976 0 4.3381-0.57 7.628-1.95 11.559-4.16 11.771-14.71 20.836-26.7 22.931-2.69 0.4718-4.76 0.7269-4.76 0.5887zm-0.92-1.0943c3.19-0.8562 8.2-3.4078 10.84-5.5266 13.59-10.897 14.88-31.131 2.8-43.628-1.1-1.1402-2.82-2.6774-3.81-3.416l-1.81-1.3428 3.52-1.4126c1.93-0.7769 3.72-1.3487 3.97-1.2705 0.89 0.2851 5.92 5.8655 7.33 8.136 7.83 12.64 6.21 28.627-3.97 39.232-4.73 4.9263-10.32 8.0389-16.8 9.357-3.8 0.7726-5.13 0.6893-2.07-0.1291zm-22.63-7.357c-2.01-0.4577-3.4-1.2401-4.68-2.6299-1.98-2.1485-2.72-4.281-2.72-7.8579 0-6.7889 3.64-13.464 9.96-18.324 0.9-0.69 1.7-1.2547 1.77-1.2547 0.19 0 2.63 3.1893 2.51 3.2737-3.62 2.5588-6.37 5.4557-7.79 8.2066-0.56 1.089-0.96 2.0418-0.88 2.1172 0.1 0.076 0.67-0.055 1.31-0.2889 0.65-0.2344 2.03-0.4342 3.06-0.444 5.69-0.053 9.55 5.4541 7.82 11.164-1.34 4.3823-5.91 7.0507-10.36 6.0386zm4.68-4.817c1.17-0.8908 1.67-2.069 1.67-3.9034 0-3.3803-3.42-5.2874-7.19-4.0039-1.92 0.6543-2.33 1.1935-2.33 3.049 0 2.6049 0.99 4.3408 3.04 5.3184 1.48 0.7041 3.54 0.5064 4.81-0.4601zm20.46-0.1098v-4.7575l-12.3-0.142-0.1-0.9782c-0.1-0.9287 0.3-1.4393 7.39-10.12 7.46-9.1316 7.47-9.1422 8.48-9.1422h1.02v16.404h3.2l-0.1 1.9182-0.1 1.9183-3.04 0.158v9.4986h-4.5zm0-12.846v-4.1103l-0.75 0.8692c-0.4 0.4781-1.73 2.1193-2.95 3.6472-1.21 1.528-2.39 2.9864-2.6 3.2412-0.38 0.4373-0.21 0.463 2.95 0.463h3.35zm-37.84-14.858c0-0.5379 1.35-4.1035 2.19-5.7705 2.19-4.3782 6.92-9.7233 10.92-12.341 5.59-3.6663 11.19-5.3386 17.85-5.3386 6.43 0 12.07 1.6244 17.33 4.993 0.8 0.5107 1.46 1.0244 1.46 1.1416s-1.56 0.844-3.45 1.615l-3.45 1.4019-2.32-1.081c-10.11-4.6947-21.19-3.7316-30.21 2.6244-3.8 2.6808-7.48 7.076-9.5 11.35-0.45 0.9459-0.82 1.578-0.82 1.4049zm8.47-0.016c0-0.109-0.18-1.8057-0.4-3.7703-0.48-4.4942-0.48-5.0091 0-5.1925 0.38-0.1445 7.29 5.0393 7.29 5.4666 0 0.5903-0.99 0.4697-1.98-0.2413l-1.09-0.7815-1.47 0.7882-1.46 0.7884 0.12 1.3338c0.1 0.9609 0 1.3991-0.24 1.5666-0.45 0.287-0.76 0.304-0.76 0.042zm2.65-5.3406c0-0.1752-1.76-1.6047-1.97-1.6047-0.2 0-0.19 1.2969 0 2.0337 0.15 0.5619 0.18 0.5661 1.06 0.1494 0.49-0.2359 0.9-0.4962 0.9-0.5784zm31.53 3.7195c-0.29-0.1778-0.19-0.5524 0.45-1.8227l0.81-1.5991-2.01-0.9512c-1.1-0.5231-2.03-0.9512-2.07-0.9512 0 0-0.39 0.7231-0.79 1.6068-0.52 1.1629-0.83 1.565-1.11 1.4552-0.22-0.083-0.45-0.1515-0.51-0.1515-0.29 0 0-0.7721 1.59-4.0924 0.94-1.9693 1.8-3.5787 1.92-3.5765 0.12 0 0.38 0.1077 0.58 0.2345 0.3 0.1887 0.24 0.5058-0.33 1.7477-0.38 0.8345-0.69 1.5609-0.69 1.6143 0 0.1415 3.74 2.0049 3.83 1.9065 0-0.046 0.4-0.738 0.8-1.5383 0.89-1.7957 0.77-1.6851 1.41-1.3449 0.51 0.2746 0.47 0.4266-1.23 3.9843-0.98 2.0344-1.89 3.6995-2.04 3.7005-0.14 0-0.42-0.099-0.61-0.222zm-26.75-2.7692c0-0.4594 0.22-2.5008 0.46-4.5365 0.37-3.0323 0.52-3.7166 0.89-3.7858 0.29-0.056 1.37 1.037 3.24 3.2979 1.54 1.8603 2.8 3.4659 2.8 3.568s-0.21 0.2361-0.47 0.2979c-0.29 0.071-0.8-0.2656-1.39-0.9174l-0.92-1.0298-1.59 0.4841c-0.92 0.282-1.6 0.6457-1.63 0.8708-0.25 1.8917-0.4 2.3225-0.89 2.4492-0.44 0.1156-0.52 0.01-0.5-0.6984zm3.65-4.0476c0-0.039-0.3-0.5768-0.79-1.1957l-0.9-1.1252-0.16 0.7823c-0.1 0.4302-0.19 1.0986-0.2 1.4851 0 0.6896 0 0.6974 0.96 0.4134 0.54-0.1592 1.03-0.3211 1.09-0.3599zm13.38 3.112c-1.37-0.6262-2.4-1.8621-2.62-3.1531-0.35-2.0662 1.4-4.585 3.45-4.9698 1.69-0.3175 4.61 0.9351 4.61 1.9795 0 0.7953-0.3 0.8229-1.23 0.1143-1.13-0.8632-2.88-1.0949-3.98-0.5262-1.7 0.8753-2.1 3.4698-0.76 4.8148 0.76 0.7551 2.44 1.2366 3.55 1.0147 0.85-0.1688 0.98-0.01 0.67 0.8046-0.22 0.5856-2.32 0.5407-3.69-0.079zm-8.85-4.6437v-4.1194h1.72c1.88 0 2.61 0.4243 2.93 1.7182 0.21 0.8014-0.3 2.148-0.88 2.3716-0.35 0.1343-0.31 0.2717 0.24 0.8789 0.66 0.727 2.08 2.8406 2.08 3.0954 0 0.076-0.3 0.138-0.66 0.138-0.49 0-0.84-0.2899-1.36-1.1245-1-1.6191-1.7-2.315-2.33-2.3156-0.5 0-0.55 0.1556-0.55 1.6537 0 1.5139 0 1.6612-0.59 1.7386l-0.6 0.085zm3.12-0.9973c0.18-0.1747 0.32-0.5676 0.32-0.8732 0-0.7627-0.49-1.1906-1.38-1.1906-0.64 0-0.74 0.1029-0.74 0.7721 0 0.4247-0.1 0.9605-0.16 1.1906-0.12 0.3312 0 0.4186 0.74 0.4186 0.5 0 1.05-0.1429 1.22-0.3175z" fill="#42aa3b"/> + <path d="m-1208.3 91.458c0.58-0.154 1.83-0.5265 2.77-0.8279 9.62-3.0615 17.75-11.046 20.89-20.516 4.13-12.4 1.02-25.2-8.34-34.328l-2.17-2.1226 7.16-2.8985 1.7 1.852c4.58 4.9967 7.8 11.479 8.93 17.96 0.54 3.0851 0.54 9.2099 0 12.107-2.27 12.208-10.55 22.422-21.68 26.723-2.73 1.0526-6.49 2.0077-8.63 2.1892-1.54 0.1304-1.6 0.1185-0.63-0.1373zm-3.43-0.4908c14.35-3.7642 23.62-16.838 22.33-31.512-0.63-7.1832-3.72-13.569-9.05-18.678-1.24-1.1867-2.74-2.4824-3.34-2.8794-0.6-0.3971-1.09-0.8123-1.09-0.9227s1.54-0.8202 3.43-1.5772l3.43-1.3764 0.78 0.5527c1.6 1.1446 5.51 5.6113 6.97 7.9725 5.28 8.5308 6.24 19.316 2.57 28.725-3.96 10.131-13.23 17.747-24.09 19.808-3.07 0.5807-4.31 0.5082-1.94-0.113zm-23.16-7.8444c-2.67-0.9697-4.49-2.7924-5.6-5.6213-0.77-1.9529-0.83-6.6757-0.13-9.2988 1.37-5.0699 5.01-10.233 9.67-13.706l1.42-1.0639 1.16 1.4137c0.63 0.7776 1.15 1.5253 1.15 1.6613s-0.45 0.544-0.99 0.9065c-1.63 1.0813-3.67 3.0358-4.99 4.7823-1.2 1.5796-2.93 4.8535-2.7 5.0866 0.1 0.062 0.73-0.1225 1.49-0.4101 1.68-0.6387 4.24-0.6844 5.94-0.1061 1.61 0.5512 3.49 2.2381 4.35 3.9164 1 1.9465 1.15 5.2316 0.34 7.3779-0.69 1.8494-2.5 3.7955-4.36 4.69-1.71 0.826-5 1.007-6.75 0.3712zm5.33-4.1283c1.52-0.8543 2.2-2.1031 2.2-4.0627 0-1.9147-0.72-3.1953-2.32-4.0957-1.76-0.9866-4.66-0.7295-6.57 0.581-1.29 0.8909-1.19 4.2077 0.19 6.0815 1.53 2.0693 4.33 2.7149 6.5 1.4959zm21.06-0.5392-0.1-4.8286-12.6-0.142 0.1-0.9453c0.1-0.7932 1.28-2.4064 7.49-10.038 6.95-8.5193 7.47-9.0932 8.27-9.1041l0.86-0.012v16.404h3.18v3.7042h-3.18v9.7896h-3.95zm0.1-12.898c0-2.3284 0-4.2334-0.12-4.2334-0.13 0-6.23 7.5327-6.59 8.136-0.15 0.2579 0.56 0.3307 3.26 0.3307h3.45zm-38.09-14.831c0-0.8626 2.36-6.1524 3.71-8.3319 1.95-3.1525 6.47-7.7534 9.62-9.7936 10.48-6.783 23.84-7.0277 34.24-0.6269 1.19 0.7321 2.17 1.4204 2.17 1.5297 0 0.1092-1.56 0.8332-3.45 1.609l-3.45 1.4104-2.31-1.0606c-5.98-2.7488-11.63-3.5668-17.76-2.5722-9.34 1.5152-17.6 7.6369-21.75 16.116-0.56 1.1565-1.02 1.9304-1.02 1.7198zm8.11-4.1232c-0.43-4.1587-0.42-4.8586 0.1-4.8586 0.11 0 1.78 1.2406 3.7 2.7569 2.98 2.3455 3.43 2.7961 3.03 3.0192-0.37 0.2045-0.7 0.08-1.51-0.5632l-1.04-0.8258-1.48 0.8085-1.48 0.8086v1.3798c0 0.9739-0.12 1.4483-0.42 1.6131-0.36 0.2035-0.47-0.3275-0.86-4.1385zm2.33-0.542c0.51-0.2453 0.93-0.5131 0.92-0.5953 0-0.2012-2.39-1.9408-2.49-1.8268-0.18 0.195 0.2 2.868 0.41 2.868 0.12 0 0.64-0.2007 1.16-0.4459zm32.44 3.1108c-0.32-0.1988-0.26-0.5017 0.32-1.8487l0.7-1.6108-1.84-0.9256c-1.01-0.5091-1.96-0.9257-2.11-0.9257s-0.57 0.6641-0.93 1.4757c-0.49 1.1112-0.77 1.4504-1.12 1.3733-0.26-0.056-0.43-0.2738-0.39-0.4834 0.14-0.6229 3.3-7.1284 3.47-7.124 0.1 0 0.32 0.1048 0.51 0.2278 0.28 0.1777 0.18 0.5615-0.47 1.8606l-0.83 1.6368 2 0.9247c1.1 0.5087 2.09 0.868 2.21 0.7986 0.11-0.069 0.48-0.7293 0.83-1.4665 0.59-1.2536 1.11-1.6521 1.44-1.1068 0.13 0.1971-3.14 7.4472-3.35 7.4355 0 0-0.24-0.1111-0.44-0.2415zm-26.93-2.9697c0.1-0.4872 0.29-2.2551 0.45-3.9286 0.29-3.0206 0.58-4.2333 1-4.2333 0.12 0 0.88 0.8037 1.69 1.7859 0.8 0.9823 2.09 2.53 2.85 3.4393 1.14 1.3613 1.3 1.6829 0.94 1.8214-0.29 0.1127-0.77-0.1632-1.46-0.8381l-1.03-1.0062-1.57 0.4738-1.56 0.4738-0.23 1.354c-0.18 1.0075-0.36 1.3783-0.73 1.449-0.43 0.082-0.48-0.027-0.35-0.791zm3.41-3.6374c0.38-0.1366 0.31-0.3379-0.52-1.4104-1.1-1.428-1.37-1.2966-1.38 0.6613 0 1.2436 0 1.2592 0.72 1.0851 0.4-0.097 0.93-0.2484 1.18-0.336zm14.25 3.1085c-2.76-0.8088-4-3.5985-2.7-6.0496 1.26-2.3755 4.6-2.8487 7.02-0.9962 0.35 0.2682 0.44 0.5495 0.31 0.961l-0.19 0.5819-0.78-0.6611c-0.43-0.3637-1.23-0.795-1.78-0.9587-2.82-0.8454-5.23 2.7634-3.34 5.008 0.81 0.9646 2.21 1.4695 3.57 1.287 0.95-0.1264 1-0.098 0.81 0.4323-0.25 0.6613-1.46 0.8255-2.92 0.3954zm-9.54-4.8549v-4.101h1.55c2.11 0 2.95 0.6345 2.95 2.2271 0 0.7811-0.16 1.2734-0.51 1.5929-0.5 0.4544-0.5 0.4843 0.36 1.6947 0.48 0.6777 1.08 1.5596 1.33 1.9598 0.46 0.7226 0.46 0.7276-0.19 0.7276-0.51 0-0.86-0.3393-1.63-1.5866-0.97-1.5717-1.59-2.1176-2.39-2.1176-0.33 0-0.41 0.3476-0.41 1.8521 0 1.6757-0.1 1.8521-0.53 1.8521-0.51 0-0.53-0.1764-0.53-4.1011zm2.87-0.8192c0.88-0.6177 0.71-1.9617-0.3-2.2942-1.15-0.3826-1.51-0.097-1.51 1.2089 0 0.6352 0.1 1.2343 0.18 1.3313 0.3 0.3008 1 0.1952 1.63-0.246z" fill="#143b8e"/> + <path d="m-1234.8 83.122c-2.67-0.9697-4.49-2.7924-5.6-5.6213-0.77-1.9529-0.83-6.6757-0.13-9.2988 1.37-5.0699 5.01-10.233 9.67-13.706l1.42-1.0639 1.16 1.4137c0.63 0.7776 1.15 1.5253 1.15 1.6613s-0.45 0.544-0.99 0.9065c-1.63 1.0813-3.67 3.0358-4.99 4.7823-1.2 1.5796-2.93 4.8535-2.7 5.0866 0.1 0.062 0.73-0.1225 1.49-0.4101 1.68-0.6387 4.24-0.6844 5.94-0.1061 1.61 0.5512 3.49 2.2381 4.35 3.9164 1 1.9465 1.15 5.2316 0.34 7.3779-0.69 1.8494-2.5 3.7955-4.36 4.69-1.71 0.826-5 1.007-6.75 0.3712zm5.33-4.1283c1.52-0.8543 2.2-2.1031 2.2-4.0627 0-1.9147-0.72-3.1953-2.32-4.0957-1.76-0.9866-4.66-0.7295-6.57 0.581-1.29 0.8909-1.19 4.2077 0.19 6.0815 1.53 2.0693 4.33 2.7149 6.5 1.4959zm21.06-0.5392-0.1-4.8286-12.6-0.142 0.1-0.9453c0.1-0.7932 1.28-2.4064 7.49-10.038 6.95-8.5193 7.47-9.0932 8.27-9.1041l0.86-0.012v16.404h3.18v3.7042h-3.18v9.7896h-3.95zm0.1-12.898c0-2.3284 0-4.2334-0.12-4.2334-0.13 0-6.23 7.5327-6.59 8.136-0.15 0.2579 0.56 0.3307 3.26 0.3307h3.45zm-29.98-18.954c-0.43-4.1587-0.42-4.8586 0.1-4.8586 0.11 0 1.78 1.2406 3.7 2.7569 2.98 2.3455 3.43 2.7961 3.03 3.0192-0.37 0.2045-0.7 0.08-1.51-0.5632l-1.04-0.8258-1.48 0.8085-1.48 0.8086v1.3798c0 0.9739-0.12 1.4483-0.42 1.6131-0.36 0.2035-0.47-0.3275-0.86-4.1385zm2.33-0.542c0.51-0.2453 0.93-0.5131 0.92-0.5953 0-0.2012-2.39-1.9408-2.49-1.8268-0.18 0.195 0.2 2.868 0.41 2.868 0.12 0 0.64-0.2007 1.16-0.4459zm32.44 3.1108c-0.32-0.1988-0.26-0.5017 0.32-1.8487l0.7-1.6108-1.84-0.9256c-1.01-0.5091-1.96-0.9257-2.11-0.9257s-0.57 0.6641-0.93 1.4757c-0.49 1.1112-0.77 1.4504-1.12 1.3733-0.26-0.056-0.43-0.2738-0.39-0.4834 0.14-0.6229 3.3-7.1284 3.47-7.124 0.1 0 0.32 0.1048 0.51 0.2278 0.28 0.1777 0.18 0.5615-0.47 1.8606l-0.83 1.6368 2 0.9247c1.1 0.5087 2.09 0.868 2.21 0.7986 0.11-0.069 0.48-0.7293 0.83-1.4665 0.59-1.2536 1.11-1.6521 1.44-1.1068 0.13 0.1971-3.14 7.4472-3.35 7.4355 0 0-0.24-0.1111-0.44-0.2415zm-26.93-2.9697c0.1-0.4872 0.29-2.2551 0.45-3.9286 0.29-3.0206 0.58-4.2333 1-4.2333 0.12 0 0.88 0.8037 1.69 1.7859 0.8 0.9823 2.09 2.53 2.85 3.4393 1.14 1.3613 1.3 1.6829 0.94 1.8214-0.29 0.1127-0.77-0.1632-1.46-0.8381l-1.03-1.0062-1.57 0.4738-1.56 0.4738-0.23 1.354c-0.18 1.0075-0.36 1.3783-0.73 1.449-0.43 0.082-0.48-0.027-0.35-0.791zm3.41-3.6374c0.38-0.1366 0.31-0.3379-0.52-1.4104-1.1-1.428-1.37-1.2966-1.38 0.6613 0 1.2436 0 1.2592 0.72 1.0851 0.4-0.097 0.93-0.2484 1.18-0.336zm14.25 3.1085c-2.76-0.8088-4-3.5985-2.7-6.0496 1.26-2.3755 4.6-2.8487 7.02-0.9962 0.35 0.2682 0.44 0.5495 0.31 0.961l-0.19 0.5819-0.78-0.6611c-0.43-0.3637-1.23-0.795-1.78-0.9587-2.82-0.8454-5.23 2.7634-3.34 5.008 0.81 0.9646 2.21 1.4695 3.57 1.287 0.95-0.1264 1-0.098 0.81 0.4323-0.25 0.6613-1.46 0.8255-2.92 0.3954zm-9.54-4.8549v-4.101h1.55c2.11 0 2.95 0.6345 2.95 2.2271 0 0.7811-0.16 1.2734-0.51 1.5929-0.5 0.4544-0.5 0.4843 0.36 1.6947 0.48 0.6777 1.08 1.5596 1.33 1.9598 0.46 0.7226 0.46 0.7276-0.19 0.7276-0.51 0-0.86-0.3393-1.63-1.5866-0.97-1.5717-1.59-2.1176-2.39-2.1176-0.33 0-0.41 0.3476-0.41 1.8521 0 1.6757-0.1 1.8521-0.53 1.8521-0.51 0-0.53-0.1764-0.53-4.1011zm2.87-0.8192c0.88-0.6177 0.71-1.9617-0.3-2.2942-1.15-0.3826-1.51-0.097-1.51 1.2089 0 0.6352 0.1 1.2343 0.18 1.3313 0.3 0.3008 1 0.1952 1.63-0.246z" fill="#242021"/> + </g> + </g> + <circle cx="-48.028" cy="73.373" r=".61812" fill="#fff" stop-color="#000000" stroke-linecap="round" style="paint-order:markers fill stroke"/> + <text x="-48.5705" y="73.6449" fill="#000000" font-family="'A-OTF Shin Go Pro'" font-size=".68737px" letter-spacing="0px" stroke-width=".025777" word-spacing="0px" style="line-height:1.25;text-decoration-color:#000000;text-decoration-line:none" xml:space="preserve"><tspan x="-48.5705" y="73.6449" stroke-width=".025777">BE</tspan></text> + </g> +</svg> diff --git a/assets/netbsd.svg b/assets/netbsd.svg new file mode 100644 index 0000000..9ce59a1 --- /dev/null +++ b/assets/netbsd.svg @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<svg width="3.8163mm" height="3.8163mm" version="1.1" viewBox="0 0 3.8163 3.8163" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> + <metadata> + <rdf:RDF> + <cc:Work rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/> + <dc:title/> + </cc:Work> + </rdf:RDF> + </metadata> + <g transform="translate(-100.15 -147.02)"> + <circle cx="102.05" cy="148.92" r="1.9082" fill="#e6e6e6" opacity=".42096"/> + <path d="m102.2 150.16s-0.02-0.01-0.02-0.02c0 0-0.08-0.155-0.163-0.338l-0.156-0.328h0.07 0.07s0.07 0.138 0.157 0.302c0.09 0.181 0.155 0.302 0.157 0.31 0 0.03-0.01 0.05-0.04 0.06-0.02 0.01-0.05 0.01-0.07 0zm0.439-0.822c-0.06 0-0.09-0.01-0.123-0.03-0.01 0-0.02-0.01-0.02-0.02-0.01-0.02-0.02-0.07-0.02-0.118v-0.04h0.03s0.03 0.06 0.04 0.07c0.05 0.07 0.123 0.1 0.184 0.07 0.03-0.01 0.05-0.05 0.05-0.08 0-0.06-0.03-0.112-0.121-0.158-0.08-0.05-0.123-0.08-0.146-0.128-0.01-0.03-0.02-0.04-0.02-0.08 0-0.03 0-0.05 0.02-0.08 0.02-0.05 0.07-0.08 0.13-0.1h0.07c0.05 0 0.07 0 0.125 0.01 0.03 0 0.04 0 0.04 0.02s0.01 0.06 0.01 0.09c0 0.05 0 0.05-0.02 0.05-0.01 0-0.02 0-0.03-0.03-0.02-0.06-0.07-0.1-0.109-0.102-0.03 0-0.07 0-0.09 0.03-0.02 0.02-0.03 0.03-0.03 0.06-1e-3 0.02 0 0.03 0 0.04 0 0.02 0.03 0.04 0.05 0.06 0 0 0.04 0.02 0.06 0.04 0.06 0.03 0.09 0.05 0.113 0.08 0.04 0.05 0.06 0.101 0.06 0.161-0.01 0.09-0.08 0.157-0.187 0.174h-0.09zm-1.556-0.01c-0.02-0.03-0.07-0.09-0.195-0.249-0.172-0.213-0.178-0.22-0.198-0.241-0.01-0.02-0.02-0.02-0.02-0.01v0.358c0 0.05 0 0.07 0.02 0.08 0.01 0.01 0.03 0.02 0.07 0.03h0.02v0.02h-0.124c-0.136 0-0.127 0-0.127-0.02 0-0.01 0-0.02 0.02-0.02 0.03 0 0.05-0.02 0.06-0.03v-0.04-0.251-0.234c0-0.02-0.03-0.03-0.07-0.03h-0.02v-0.03h0.07 0.111 0.05c0 0.01 0.02 0.05 0.05 0.08 0.03 0.04 0.214 0.259 0.27 0.322l0.02 0.02v-0.115c0-0.15 0-0.222-0.02-0.245 0-0.01-0.03-0.02-0.05-0.03h-0.02s-0.01-0.01 0-0.02v-0.01h0.07 0.123 0.06v0.02h-0.02c-0.03 0-0.04 0.02-0.05 0.03-0.01 0.03-0.02 0.116-0.02 0.379v0.205s-0.03 0.02-0.04 0.02h-0.01v-0.01zm0.255 0c-0.08-0.01-0.137-0.06-0.16-0.142v-0.112c0.02-0.08 0.07-0.135 0.144-0.158 0.03 0 0.08-0.01 0.111 0 0.02 0 0.05 0.02 0.07 0.03 0.03 0.02 0.04 0.06 0.04 0.1v0.03h-0.116c-0.128 0-0.12 0-0.12 0.02 0 0.04 0.02 0.08 0.04 0.104 0.05 0.05 0.15 0.05 0.183 0 0-0.01 0.02-0.01 0.03 0v0.03c-0.02 0.03-0.06 0.07-0.09 0.08s-0.08 0.02-0.112 0.01zm0.07-0.293c0.01 0 0.02-0.01 0.02-0.02 0-0.02 0-0.04-0.03-0.05h-0.05c-0.03 0.02-0.06 0.06-0.04 0.08h0.101zm0.266 0.293c-0.02 0-0.04-0.01-0.05-0.02l-0.02-0.02c-0.01-0.03-0.01-0.04-0.01-0.175v-0.132h-0.03c-0.03 0-0.03 0-0.03-0.02l0.02-0.02c0.05-0.02 0.09-0.06 0.125-0.1 0.01-0.02 0.02-0.02 0.03-0.01v0.1h0.05 0.05v0.04h-0.05-0.05v0.08c0 0.1 0 0.15 0.01 0.168 0.02 0.04 0.05 0.05 0.09 0.03h0.02v0.01l-0.01 0.02-0.08 0.04h-0.08zm1.448 0h-0.122-0.09v-0.03h0.03c0.04 0 0.05-0.02 0.05-0.05v-0.478c0-0.03-0.01-0.05-0.05-0.05h-0.02v-0.03s0.06 0 0.176-0.01c0.163 0 0.247 0 0.323 0.03 0.09 0.03 0.155 0.09 0.187 0.183 0.01 0.03 0.02 0.06 0.02 0.108 0 0.116-0.05 0.212-0.138 0.271-0.05 0.03-0.103 0.05-0.178 0.06h-0.186zm0.163-0.05c0.09-0.02 0.154-0.09 0.175-0.212v-0.141c-0.02-0.13-0.102-0.201-0.238-0.213h-0.05c-0.02 0-0.03 0-0.03 0.02v0.466c0 0.04 0.02 0.05 0.04 0.07 0.02 0.01 0.07 0.02 0.109 0zm-1.408 0.04v-0.03h0.03c0.03 0 0.04-0.01 0.05-0.03v-0.248-0.254c0-0.02 0-0.03-0.02-0.04h-0.03-0.02v-0.03s0.06 0 0.165-0.01c0.19 0 0.267 0 0.317 0.05 0.03 0.03 0.05 0.08 0.04 0.123 0 0.05-0.04 0.09-0.1 0.105-0.03 0.01-0.03 0.01 0 0.02 0.07 0.02 0.116 0.06 0.127 0.127 0.01 0.06 0 0.118-0.05 0.158-0.03 0.03-0.07 0.05-0.134 0.06h-0.211-0.179zm0.341-0.05c0.03 0 0.05-0.02 0.06-0.06 0.01-0.02 0.02-0.05 0.01-0.09 0-0.06-0.02-0.1-0.07-0.119-0.03-0.01-0.05-0.02-0.09-0.02s-0.04 0-0.04 0.107c0 0.117 0 0.132 0.02 0.154 0.01 0.01 0.02 0.02 0.04 0.02h0.05zm-0.04-0.325c0.05-0.01 0.08-0.05 0.08-0.112 0-0.03 0-0.05-0.01-0.07 0-0.02-0.03-0.04-0.05-0.05-0.02 0-0.05-0.01-0.07-0.01-0.04 0-0.03 0-0.03 0.126v0.109h0.01 0.07zm1.462-0.127c-0.02 0-0.04-0.03-0.05-0.04 0-0.02-0.01-0.05 0-0.07 0-0.02 0.03-0.04 0.05-0.05 0.04-0.02 0.09 0 0.111 0.04 0.01 0.02 0.01 0.05 0 0.07-0.02 0.05-0.07 0.07-0.116 0.05zm0.06-0.01c0.03-0.01 0.05-0.04 0.05-0.07s-0.02-0.06-0.05-0.07-0.06 0-0.08 0.02c-0.06 0.06 0 0.149 0.08 0.121zm-0.06-0.07v-0.05h0.02c0.03 0 0.05 0.01 0.05 0.03 0 0 0 0.01-0.01 0.02l0.02 0.04-0.02-0.02c-0.01-0.02-0.01-0.02-0.02-0.02v0.04-0.05zm0.05-0.01v-0.03h-0.02-0.01v0.04h0.01 0.02zm-2.396-0.436c-0.15-0.317-0.204-0.435-0.204-0.442 0-0.02 0.02-0.03 0.04-0.02 0 0 0.127 0.233 0.436 0.831l0.03 0.07h-0.1zm0.359 0.148c-0.06 0-0.147-0.02-0.154-0.03 0 0-0.331-0.588-0.329-0.589 0 0 0.02 0 0.04 0.01 0.231 0.09 0.46 0.102 0.736 0.05 0.106-0.02 0.201-0.04 0.373-0.09 0.197-0.06 0.296-0.08 0.41-0.102 0.137-0.02 0.278-0.03 0.395 0 0.1 0.02 0.203 0.05 0.283 0.08h-0.03c-0.06-0.01-0.113-0.02-0.183-0.02s-0.106 0-0.178 0.01c-0.06 0.01-0.132 0.03-0.206 0.05-0.1 0.03-0.162 0.06-0.292 0.122-0.07 0.03-0.1 0.05-0.08 0.04 0.132-0.04 0.282-0.06 0.39-0.07h0.214c0.07 0.01 0.151 0.03 0.215 0.05 0.03 0.01 0.116 0.05 0.115 0.05h-0.03c-0.07-0.01-0.102-0.02-0.187-0.02h-0.118c-0.124 0.02-0.243 0.05-0.39 0.113-0.07 0.03-0.113 0.05-0.274 0.129-0.209 0.103-0.288 0.137-0.392 0.166-0.09 0.03-0.148 0.03-0.237 0.03h-0.08z" stroke-width=".002713"/> + </g> +</svg> diff --git a/src/builder/b-sai.c b/src/builder/b-sai.c index 67e8144..8143123 100644 --- a/src/builder/b-sai.c +++ b/src/builder/b-sai.c @@ -322,6 +322,14 @@ int main(int argc, const char **argv) if ((p = lws_cmdline_option(argc, argv, "-d"))) logs = atoi(p); +#if defined(__NetBSD__) + if (lws_cmdline_option(argc, argv, "-D")) { + if (lws_daemonize("/var/run/sai_builder.pid")) + return 1; + lws_set_log_level(logs, lwsl_emit_syslog); + } else +#endif + lws_set_log_level(logs, NULL); #if defined(WIN32)
Page fetched 0s ago, creation time: 4ms (vhost etag hits: 0%, cache hits: 0%)