From 4a79bf5f7ba695786c7cfacc68191fca808ec726 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20M=C3=BCnch?= Date: Fri, 14 Oct 2022 18:23:02 +0000 Subject: [PATCH] cnquery & cnspec 7.0.0-alpha1 --- .SRCINFO | 12 ++++++++++++ PKGBUILD | 29 +++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..cb31cb62186d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,12 @@ +pkgbase = cnspec + pkgdesc = Cloud-Native Security and Policy Framework + pkgver = 7.0.0_alpha1 + pkgrel = 1 + url = https://mondoo.com + arch = x86_64 + license = MPL 2.0 + depends = cnquery + source = https://releases.mondoo.com/cnspec/7.0.0-alpha1/cnspec_7.0.0-alpha1_linux_amd64.tar.gz + sha256sums = aed27f4c7b335572ed0bf9671d3800ac4a366280ea8ba9867f4356a15b880e49 + +pkgname = cnspec diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a4d5efe65f85 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Mondoo Inc +# Maintainer: Dominik Richter +# Maintainer: Patrick Münch +# +pkgname=cnspec +orignalVersion="7.0.0-alpha1" +pkgver="${orignalVersion/-/_}" +pkgrel=1 +pkgdesc="Cloud-Native Security and Policy Framework " +url="https://mondoo.com" +license=('MPL 2.0') +source=( + "https://releases.mondoo.com/cnspec/${orignalVersion}/cnspec_${orignalVersion}_linux_amd64.tar.gz" + ) +arch=('x86_64') +depends=('cnquery') + +sha256sums=('aed27f4c7b335572ed0bf9671d3800ac4a366280ea8ba9867f4356a15b880e49' + ) + + +package() { + install -dm755 ${pkgdir}/usr/bin + cp ${srcdir}/$pkgname ${pkgdir}/usr/bin/. + + +} + +#vim: syntax=sh \ No newline at end of file