mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-22 13:24:32 +02:00
Updated spec file with description, website and documentation link, version bump
This commit is contained in:
parent
893e17d982
commit
e0f9536761
@ -3,6 +3,8 @@
|
|||||||
# Lynis spec file
|
# Lynis spec file
|
||||||
# -----------------
|
# -----------------
|
||||||
#
|
#
|
||||||
|
# This file helps to create your custom RPM package of Lynis.
|
||||||
|
#
|
||||||
# Usage:
|
# Usage:
|
||||||
# - Adjust version number (Version:)
|
# - Adjust version number (Version:)
|
||||||
# - Check if you have the directories in your home directory (or adjust topdir)
|
# - Check if you have the directories in your home directory (or adjust topdir)
|
||||||
@ -12,9 +14,9 @@
|
|||||||
#
|
#
|
||||||
#################################################################################
|
#################################################################################
|
||||||
#
|
#
|
||||||
# (c) 2014 Michael Boelen
|
# Copyright 2015 CISOfy
|
||||||
#
|
#
|
||||||
# Website: http://cisofy.com/
|
# Documentation: https://cisofy.com/documentation/lynis/upgrading/
|
||||||
#
|
#
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
@ -27,30 +29,32 @@
|
|||||||
|
|
||||||
Summary: Security and system auditing tool.
|
Summary: Security and system auditing tool.
|
||||||
Name: lynis
|
Name: lynis
|
||||||
Version: 1.6.2
|
Version: 2.1.1
|
||||||
Release: 1
|
Release: 1
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
Source: lynis-%{version}.tar.gz
|
Source: lynis-%{version}.tar.gz
|
||||||
BuildRoot: /tmp/lynis-root
|
BuildRoot: /tmp/lynis-root
|
||||||
URL: http://cisofy.com/
|
URL: https://cisofy.com/
|
||||||
Vendor: CISOfy / Michael Boelen
|
Vendor: CISOfy
|
||||||
Packager: Michael Boelen <michael@rootkit.nl>
|
Packager: Michael Boelen <michael.boelen@cisofy.com>
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Lynis is a security tool to audit and harden Unix/Linux based systems. It scans a
|
Lynis is an security auditing and hardening tool for Unix derivatives like Linux, BSD
|
||||||
system and provides the user with suggestion and warnings regarding taken security
|
and Solaris. It performs an in-depth security scan on the system to detect software
|
||||||
measures. Examples include:
|
and security issues. Besides information related to security, it will also scan for
|
||||||
- Security enhancements
|
general system information, installed packages, and possible
|
||||||
- Logging and auditing options
|
configuration issues.
|
||||||
- Banner identification
|
|
||||||
- Software availability
|
This software is aimed at assisting with automated auditing, configuration management,
|
||||||
- Missing security patches
|
software patch management, penetration testing, vulnerability management, and malware
|
||||||
|
scanning of Unix-based systems.
|
||||||
|
|
||||||
Lynis is released as a GPLv3 licensed project and free for everyone to use.
|
Lynis is released as a GPLv3 licensed project and free for everyone to use.
|
||||||
|
Commercial support and extensions are available.
|
||||||
|
|
||||||
See http://cisofy.com for a full description and documentation.
|
See https://cisofy.com for a full description and documentation.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf "$RPM_BUILD_ROOT"
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf "$RPM_BUILD_ROOT"
|
||||||
@ -84,11 +88,6 @@ install plugins/* ${RPM_BUILD_ROOT}%{_pluginsdir}
|
|||||||
install -d ${RPM_BUILD_ROOT}%{_dbdir}
|
install -d ${RPM_BUILD_ROOT}%{_dbdir}
|
||||||
install db/* ${RPM_BUILD_ROOT}%{_dbdir}
|
install db/* ${RPM_BUILD_ROOT}%{_dbdir}
|
||||||
|
|
||||||
|
|
||||||
# Patch default paths (not required for 1.1.2+)
|
|
||||||
#sed -i -e 's#INCLUDEDIR="include"#INCLUDEDIR="%{_includedir}"#g' ${RPM_BUILD_ROOT}/usr/bin/lynis
|
|
||||||
#sed -i -e 's#PROFILE="default.prf"#PROFILE="/etc/lynis/default.prf"#g' ${RPM_BUILD_ROOT}/usr/bin/lynis
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf "$RPM_BUILD_ROOT"
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf "$RPM_BUILD_ROOT"
|
||||||
|
|
||||||
@ -111,6 +110,9 @@ install db/* ${RPM_BUILD_ROOT}%{_dbdir}
|
|||||||
#%attr(644, root, root) %{_plugindir}/*
|
#%attr(644, root, root) %{_plugindir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 13 2015 Michael Boelen - 1.1.9-1
|
||||||
|
- Changed website address, version bump
|
||||||
|
|
||||||
* Sun Sep 14 2014 Michael Boelen - 1.1.8-1
|
* Sun Sep 14 2014 Michael Boelen - 1.1.8-1
|
||||||
- Changed permissions with regards of pentest option
|
- Changed permissions with regards of pentest option
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user