public pre-release of Mondoo v5.0.0

We are publishing this version during this period of the Mondoo
soft-launch. The initial full range of upstream functionality
will be available at the end of the month (09/2021).

Please contact us at https://github.com/mondoolabs/mondoo
                  or https://discord.gg/MRrWXYTmHJ
This commit is contained in:
Dominik Richter 2021-08-12 01:53:59 -07:00
commit fcb8404d7d
6 changed files with 84 additions and 0 deletions

19
.SRCINFO Normal file
View file

@ -0,0 +1,19 @@
pkgbase = mondoo
pkgdesc = Infrastructure search, analytics, and security analysis
pkgver = 5.0.0
pkgrel = 1
url = https://mondoo.io
arch = x86_64
license = custom
source = https://releases.mondoo.io/mondoo/5.0.0/mondoo_5.0.0_linux_amd64.tar.gz
source = LICENSE.html::https://mondoo.io/terms
source = OSS-LICENSES.tar.xz
source = mondoo.service
source = mondoo.sh
sha256sums = cb8cfc25ee93516ace120123fcecf1ba8587973aea9cf5a7ca8542e44a9ec6df
sha256sums = 77e73e231a13c3c072e4c8a4812779d34b9bdf9cc6a495f82fd0efc92f07c1aa
sha256sums = cd99e204a986af5a91f46c43478b28f556a4f50fd9721844d0b600d45ac43cb8
sha256sums = 2febf46353886823e6a61ca15c73e651d71d45579b0a1a17e18905a61387e7e6
sha256sums = 92ceefe40c2963f96d02e36743338599cfa9a062d00a5e38580370099b01066c
pkgname = mondoo

5
.gitignore vendored Normal file
View file

@ -0,0 +1,5 @@
src/
pkg/
LICENSE.html
*.tar.gz
*.tar.zst

BIN
OSS-LICENSES.tar.xz Normal file

Binary file not shown.

42
PKGBUILD Normal file
View file

@ -0,0 +1,42 @@
# Maintainer: Mondoo Inc <hello@mondoo.io>
# Maintainer: Dominik Richter <dom@mondoo.io>
#
# TODO:
# - replace the html license with a proper TXT version
# - use upstream oss-licenses instead of bundling it
pkgname=mondoo
pkgver=5.0.0
pkgrel=1
pkgdesc="Infrastructure search, analytics, and security analysis"
url="https://mondoo.io"
license=('custom')
source=(
"https://releases.mondoo.io/mondoo/${pkgver}/mondoo_${pkgver}_linux_amd64.tar.gz"
'LICENSE.html::https://mondoo.io/terms'
'OSS-LICENSES.tar.xz'
'mondoo.service'
'mondoo.sh'
)
arch=('x86_64')
sha256sums=('cb8cfc25ee93516ace120123fcecf1ba8587973aea9cf5a7ca8542e44a9ec6df'
'77e73e231a13c3c072e4c8a4812779d34b9bdf9cc6a495f82fd0efc92f07c1aa'
'cd99e204a986af5a91f46c43478b28f556a4f50fd9721844d0b600d45ac43cb8'
'2febf46353886823e6a61ca15c73e651d71d45579b0a1a17e18905a61387e7e6'
'92ceefe40c2963f96d02e36743338599cfa9a062d00a5e38580370099b01066c')
package() {
install -dm755 ${pkgdir}/opt/$pkgname/bin \
${pkgdir}/usr/bin
cp ${srcdir}/$pkgname ${pkgdir}/opt/$pkgname/bin/.
install -Dm 755 mondoo.sh ${pkgdir}/usr/bin/mondoo
install -Dm 644 LICENSE.html "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.html
install -Dm 644 OSS-LICENSES.txt "$pkgdir"/usr/share/licenses/$pkgname/OSS-LICENSES.txt
install -Dm 644 mondoo.service "$pkgdir"/usr/lib/systemd/system/mondoo.service
}
#vim: syntax=sh

15
mondoo.service Normal file
View file

@ -0,0 +1,15 @@
[Unit]
Description=Mondoo Service
After=network-online.target
[Service]
Type=simple
WorkingDirectory=/opt/mondoo/bin/
ExecStart=/opt/mondoo/bin/mondoo --config /etc/opt/mondoo/mondoo.yml serve
KillMode=process
Restart=on-failure
RestartSec=90
RestartPreventExitStatus=78
[Install]
WantedBy=multi-user.target

3
mondoo.sh Normal file
View file

@ -0,0 +1,3 @@
#!/bin/sh
/opt/mondoo/bin/mondoo --config /etc/opt/mondoo/mondoo.yml "$@"