Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Oct 2014 06:30:17 +0000 (UTC)
From:      Lars Engels <lme@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r370832 - head/security/lynis
Message-ID:  <201410140630.s9E6UHxV034028@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lme
Date: Tue Oct 14 06:30:17 2014
New Revision: 370832
URL: https://svnweb.freebsd.org/changeset/ports/370832
QAT: https://qat.redports.org/buildarchive/r370832/

Log:
  - Update to 1.6.2
  - Don't install dev/ directory
  - Use .sample suffix for config file
  - Reset maintainer after 4 maintainer timeouts
  - Take maintainership

Modified:
  head/security/lynis/Makefile
  head/security/lynis/distinfo
  head/security/lynis/pkg-plist

Modified: head/security/lynis/Makefile
==============================================================================
--- head/security/lynis/Makefile	Tue Oct 14 06:20:55 2014	(r370831)
+++ head/security/lynis/Makefile	Tue Oct 14 06:30:17 2014	(r370832)
@@ -2,15 +2,16 @@
 # $FreeBSD$
 
 PORTNAME=	lynis
-PORTVERSION=	1.5.0
+PORTVERSION=	1.6.2
 CATEGORIES=	security
 MASTER_SITES=	http://cisofy.com/files/
 
-MAINTAINER=	loon@noncensored.com
+MAINTAINER=	lme@FreeBSD.org
 COMMENT=	Security and system auditing tool
 
 LICENSE=	GPLv3
 
+WRKSRC=		${WRKDIR}/${PORTNAME}
 NO_BUILD=	yes
 
 PORTDOCS=	FAQ LICENSE README
@@ -23,10 +24,14 @@ post-patch:
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MANPREFIX}/man/man8
-	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/lynis
-	${INSTALL_DATA} ${WRKSRC}/default.prf ${STAGEDIR}${PREFIX}/etc/lynis
+	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME}
+	${INSTALL_DATA} ${WRKSRC}/default.prf \
+		${STAGEDIR}${PREFIX}/etc/${PORTNAME}/default.prf.sample
 	@${MKDIR} ${STAGEDIR}${DATADIR}
-	cd ${WRKSRC} && ${COPYTREE_SHARE} "include db dev plugins" ${STAGEDIR}${DATADIR}/
+	cd ${WRKSRC} && ${COPYTREE_SHARE} "include db plugins" ${STAGEDIR}${DATADIR}/
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/bash_completion.d
+	${INSTALL_DATA} ${WRKSRC}/dev/bash_completion.d/${PORTNAME} \
+		${STAGEDIR}${EXAMPLESDIR}/bash_completion.d/
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 

Modified: head/security/lynis/distinfo
==============================================================================
--- head/security/lynis/distinfo	Tue Oct 14 06:20:55 2014	(r370831)
+++ head/security/lynis/distinfo	Tue Oct 14 06:30:17 2014	(r370832)
@@ -1,2 +1,2 @@
-SHA256 (lynis-1.5.0.tar.gz) = dc5035b49b065bb7d1f6b75b387127c9306526774bb87f9aa8c8e6d2363a51b1
-SIZE (lynis-1.5.0.tar.gz) = 145407
+SHA256 (lynis-1.6.2.tar.gz) = fdaaabd9e2d159af7677b8012a1ac6e0230e357918707732d7ca9d8b1156c135
+SIZE (lynis-1.6.2.tar.gz) = 166513

Modified: head/security/lynis/pkg-plist
==============================================================================
--- head/security/lynis/pkg-plist	Tue Oct 14 06:20:55 2014	(r370831)
+++ head/security/lynis/pkg-plist	Tue Oct 14 06:30:17 2014	(r370832)
@@ -1,28 +1,24 @@
 bin/lynis
-etc/lynis/default.prf
+@sample etc/lynis/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
 %%DATADIR%%/db/malware.db
 %%DATADIR%%/db/malware-susp.db
 %%DATADIR%%/db/sbl.db
-%%DATADIR%%/dev/TODO
-%%DATADIR%%/dev/README
-%%DATADIR%%/dev/build-lynis.sh
-%%DATADIR%%/dev/check-lynis.sh
-%%DATADIR%%/dev/files.dat
-%%DATADIR%%/dev/openbsd/+CONTENTS
 %%DATADIR%%/plugins/custom_plugin.template
 %%DATADIR%%/plugins/README
+@mode 0400
 %%DATADIR%%/include/binaries
 %%DATADIR%%/include/consts
+%%DATADIR%%/include/data_upload
 %%DATADIR%%/include/functions
 %%DATADIR%%/include/osdetection
 %%DATADIR%%/include/parameters
 %%DATADIR%%/include/profiles
 %%DATADIR%%/include/report
-@mode 0400
 %%DATADIR%%/include/tests_accounting
 %%DATADIR%%/include/tests_authentication
 %%DATADIR%%/include/tests_banners
@@ -65,10 +61,3 @@ man/man8/lynis.8.gz
 %%DATADIR%%/include/tests_virtualization
 %%DATADIR%%/include/tests_webservers
 @mode
-@dirrm %%DATADIR%%/include
-@dirrm %%DATADIR%%/dev/openbsd
-@dirrm %%DATADIR%%/dev
-@dirrm %%DATADIR%%/db
-@dirrm %%DATADIR%%/plugins
-@dirrm %%DATADIR%%
-@dirrm etc/lynis



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410140630.s9E6UHxV034028>