- Add LICENSE_FILE
- Add NO_ARCH - Don't install LICENSE with PORTDOCS - Install bash completion where it belongs PR: 207817 Submitted by: amdmi3 Approved by: lme (maintainer)
This commit is contained in:
parent
694cdca38e
commit
128243116e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=410725
2 changed files with 7 additions and 5 deletions
|
@ -2,8 +2,8 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= lynis
|
||||
|
||||
PORTVERSION= 2.1.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= https://cisofy.com/files/
|
||||
|
||||
|
@ -11,13 +11,15 @@ MAINTAINER= lme@FreeBSD.org
|
|||
COMMENT= Security and system auditing tool
|
||||
|
||||
LICENSE= GPLv3
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
USES= cpe
|
||||
CPE_VENDOR= cisofy
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
NO_BUILD= yes
|
||||
NO_ARCH= yes
|
||||
|
||||
PORTDOCS= FAQ LICENSE README
|
||||
PORTDOCS= FAQ README
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/tINCLUDE_TARGETS/ s|".*"|"${DATADIR}/include"|; \
|
||||
|
@ -32,9 +34,9 @@ do-install:
|
|||
${STAGEDIR}${PREFIX}/etc/${PORTNAME}/default.prf.sample
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} "include db plugins" ${STAGEDIR}${DATADIR}/
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/bash_completion.d
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
|
||||
${INSTALL_DATA} ${WRKSRC}/extras/bash_completion.d/${PORTNAME} \
|
||||
${STAGEDIR}${EXAMPLESDIR}/bash_completion.d/
|
||||
${STAGEDIR}${PREFIX}/etc/bash_completion.d/
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
bin/lynis
|
||||
etc/bash_completion.d/lynis
|
||||
@sample %%ETCDIR%%/default.prf.sample
|
||||
man/man8/lynis.8.gz
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bash_completion.d/lynis
|
||||
%%DATADIR%%/db/fileperms.db
|
||||
%%DATADIR%%/db/hints.db
|
||||
%%DATADIR%%/db/integrity.db
|
||||
|
|
Loading…
Reference in a new issue