diff --git a/srcpkgs/lynis/template b/srcpkgs/lynis/template new file mode 100644 index 0000000000..17940cdf51 --- /dev/null +++ b/srcpkgs/lynis/template @@ -0,0 +1,27 @@ +# Template file for 'lynis' +pkgname=lynis +version=3.0.6 +revision=1 +short_desc="System and security auditing tool" +maintainer="Johannes Heimansberg " +license="GPL-3.0-only" +homepage="https://cisofy.com/lynis/" +distfiles="https://github.com/CISOfy/lynis/archive/refs/tags/${version}.tar.gz" +checksum=584ed6f6fa9dedeea1b473d888a4fe92fa9716400284fe41c92aed09cf10ec3e + +do_install() { + vmkdir etc/lynis + vinstall default.prf 0644 etc/lynis + vmkdir usr/share/lynis + vcopy include usr/share/lynis/ + vcopy plugins usr/share/lynis/ + vcopy db usr/share/lynis/ + vbin lynis + vman lynis.8 + vmkdir usr/share/doc/lynis + vinstall CHANGELOG.md 0644 usr/share/doc/lynis + vinstall FAQ 0644 usr/share/doc/lynis + vinstall INSTALL 0644 usr/share/doc/lynis + vinstall README 0644 usr/share/doc/lynis + vcompletion extras/bash_completion.d/lynis bash +}