void-packages/srcpkgs/lynis/template
Johannes Heimansberg 769b61d00b
New package: lynis-3.0.6
Closes: #33710 [via git-merge-pr]
2021-10-25 21:50:23 +02:00

27 lines
844 B
Bash

# Template file for 'lynis'
pkgname=lynis
version=3.0.6
revision=1
short_desc="System and security auditing tool"
maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
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
}