1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/security/lynis/Makefile
Dmitry Marakasov 9ba5a41fe6 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>
2008-11-17 00:20:32 +00:00

44 lines
1.1 KiB
Makefile

# 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>