Lynis is an auditing tool for Unix (specialists). It scans the
system and available software, to detect security issues. Beside security related information it will also scan for general system information, installed packages and configuration mistakes. This software aims in assisting automated auditing, software patch management, vulnerability and malware scanning of Unix based systems. It can be run without prior installation, so inclusion on read only storage is no problem (USB stick, cd/dvd). WWW: http://www.rootkit.nl/projects/lynis.html Author: Michael Boelen PR: 128909 Submitted by: Cory McIntire <loon at noncensored dot com>
This commit is contained in:
parent
13b6426a5d
commit
9ba5a41fe6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=222955
@ -262,6 +262,7 @@
|
||||
SUBDIR += logcheck
|
||||
SUBDIR += lsh
|
||||
SUBDIR += lxnb
|
||||
SUBDIR += lynis
|
||||
SUBDIR += mac-robber
|
||||
SUBDIR += maia
|
||||
SUBDIR += makepasswd
|
||||
|
43
security/lynis/Makefile
Normal file
43
security/lynis/Makefile
Normal file
@ -0,0 +1,43 @@
|
||||
# New ports collection makefile for: Lynis
|
||||
# Date created: 15 November 2008
|
||||
# Whom: Cory McIntire (loon@noncensored.com)
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= lynis
|
||||
PORTVERSION= 1.2.1
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= http://www.rootkit.nl/files/ \
|
||||
http://downloads.rootkit.nl/
|
||||
|
||||
MAINTAINER= loon@noncensored.com
|
||||
COMMENT= Security and system auditing tool
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
PORTDOCS= *
|
||||
MAN8= lynis.8
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/tINCLUDE_TARGETS/ s|".*"|"${DATADIR}/include"|; \
|
||||
/tPLUGIN_TARGETS/ s|".*"|"${DATADIR}/plugins"|; \
|
||||
/tDB_TARGETS/ s|".*"|"${DATADIR}/db"|' ${WRKSRC}/${PORTNAME}
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
|
||||
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${MANPREFIX}/man/man8
|
||||
${MKDIR} ${PREFIX}/etc/lynis
|
||||
${INSTALL_DATA} ${WRKSRC}/default.prf ${PREFIX}/etc/lynis
|
||||
${MKDIR} ${DATADIR}
|
||||
.for dir in include db dev plugins
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} ${dir} ${DATADIR}/
|
||||
.endfor
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
.for f in CHANGELOG INSTALL FAQ LICENSE TODO README
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
3
security/lynis/distinfo
Normal file
3
security/lynis/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (lynis-1.2.1.tar.gz) = 4f8db3c524c1014db5842ca2dbd575aa
|
||||
SHA256 (lynis-1.2.1.tar.gz) = 24e256770dbc5a50c2088eda6da9ba21c2136db6233e36af38c033cea4aa347f
|
||||
SIZE (lynis-1.2.1.tar.gz) = 72632
|
12
security/lynis/pkg-descr
Normal file
12
security/lynis/pkg-descr
Normal file
@ -0,0 +1,12 @@
|
||||
Lynis is an auditing tool for Unix (specialists). It scans the
|
||||
system and available software, to detect security issues. Beside
|
||||
security related information it will also scan for general system
|
||||
information, installed packages and configuration mistakes.
|
||||
|
||||
This software aims in assisting automated auditing, software patch
|
||||
management, vulnerability and malware scanning of Unix based systems.
|
||||
It can be run without prior installation, so inclusion on read only
|
||||
storage is no problem (USB stick, cd/dvd).
|
||||
|
||||
WWW: http://www.rootkit.nl/projects/lynis.html
|
||||
Author: Michael Boelen
|
55
security/lynis/pkg-plist
Normal file
55
security/lynis/pkg-plist
Normal file
@ -0,0 +1,55 @@
|
||||
bin/lynis
|
||||
etc/lynis/default.prf
|
||||
%%DATADIR%%/db/fileperms.db
|
||||
%%DATADIR%%/db/integrity.db
|
||||
%%DATADIR%%/db/malware.db
|
||||
%%DATADIR%%/db/sbl.db
|
||||
%%DATADIR%%/dev/README
|
||||
%%DATADIR%%/dev/build-lynis.sh
|
||||
%%DATADIR%%/dev/files.dat
|
||||
%%DATADIR%%/dev/openbsd/+CONTENTS
|
||||
%%DATADIR%%/include/consts
|
||||
%%DATADIR%%/include/functions
|
||||
%%DATADIR%%/include/osdetection
|
||||
%%DATADIR%%/include/parameters
|
||||
%%DATADIR%%/include/profiles
|
||||
%%DATADIR%%/include/tests_accounting
|
||||
%%DATADIR%%/include/tests_authentication
|
||||
%%DATADIR%%/include/tests_banners
|
||||
%%DATADIR%%/include/tests_boot_services
|
||||
%%DATADIR%%/include/tests_crypto
|
||||
%%DATADIR%%/include/tests_databases
|
||||
%%DATADIR%%/include/tests_file_integrity
|
||||
%%DATADIR%%/include/tests_file_permissions
|
||||
%%DATADIR%%/include/tests_filesystems
|
||||
%%DATADIR%%/include/tests_firewalls
|
||||
%%DATADIR%%/include/tests_hardening
|
||||
%%DATADIR%%/include/tests_homedirs
|
||||
%%DATADIR%%/include/tests_kernel
|
||||
%%DATADIR%%/include/tests_ldap
|
||||
%%DATADIR%%/include/tests_logging
|
||||
%%DATADIR%%/include/tests_mac_frameworks
|
||||
%%DATADIR%%/include/tests_mail_messaging
|
||||
%%DATADIR%%/include/tests_malware
|
||||
%%DATADIR%%/include/tests_memory_processes
|
||||
%%DATADIR%%/include/tests_nameserver
|
||||
%%DATADIR%%/include/tests_networking
|
||||
%%DATADIR%%/include/tests_php
|
||||
%%DATADIR%%/include/tests_ports_packages
|
||||
%%DATADIR%%/include/tests_printers_spools
|
||||
%%DATADIR%%/include/tests_scheduling
|
||||
%%DATADIR%%/include/tests_shells
|
||||
%%DATADIR%%/include/tests_storage
|
||||
%%DATADIR%%/include/tests_time
|
||||
%%DATADIR%%/include/tests_virtualization
|
||||
%%DATADIR%%/include/tests_webservers
|
||||
%%DATADIR%%/plugins/README
|
||||
%%DATADIR%%/plugins/security_rootkit
|
||||
%%DATADIR%%/plugins/security_webvuln
|
||||
@dirrm %%DATADIR%%/plugins
|
||||
@dirrm %%DATADIR%%/include
|
||||
@dirrm %%DATADIR%%/dev/openbsd
|
||||
@dirrm %%DATADIR%%/dev
|
||||
@dirrm %%DATADIR%%/db
|
||||
@dirrm %%DATADIR%%
|
||||
@dirrm etc/lynis
|
Loading…
Reference in New Issue
Block a user