View | Details | Raw Unified | Return to bug 134035 | Differences between
and this patch

Collapse All | Expand All

(-)lynis.new/Makefile (-5 / +4 lines)
Lines 2-12 Link Here
2
# Date created:        15 November 2008
2
# Date created:        15 November 2008
3
# Whom:                Cory McIntire (loon@noncensored.com)
3
# Whom:                Cory McIntire (loon@noncensored.com)
4
#
4
#
5
# $FreeBSD: ports/security/lynis/Makefile,v 1.1 2008/11/17 00:20:32 amdmi3 Exp $
5
# $FreeBSD: ports/security/lynis/Makefile,v 1.2 2009/04/13 10:52:57 dhn Exp $
6
#
6
#
7
7
8
PORTNAME=	lynis
8
PORTNAME=	lynis
9
PORTVERSION=	1.2.1
9
PORTVERSION=	1.2.6
10
CATEGORIES=	security
10
CATEGORIES=	security
11
MASTER_SITES=	http://www.rootkit.nl/files/ \
11
MASTER_SITES=	http://www.rootkit.nl/files/ \
12
		http://downloads.rootkit.nl/
12
		http://downloads.rootkit.nl/
Lines 21-27 Link Here
21
21
22
post-patch:
22
post-patch:
23
	@${REINPLACE_CMD} -e '/tINCLUDE_TARGETS/ s|".*"|"${DATADIR}/include"|; \
23
	@${REINPLACE_CMD} -e '/tINCLUDE_TARGETS/ s|".*"|"${DATADIR}/include"|; \
24
		/tPLUGIN_TARGETS/ s|".*"|"${DATADIR}/plugins"|; \
25
		/tDB_TARGETS/ s|".*"|"${DATADIR}/db"|' ${WRKSRC}/${PORTNAME}
24
		/tDB_TARGETS/ s|".*"|"${DATADIR}/db"|' ${WRKSRC}/${PORTNAME}
26
25
27
do-install:
26
do-install:
Lines 30-41 Link Here
30
	${MKDIR} ${PREFIX}/etc/lynis
29
	${MKDIR} ${PREFIX}/etc/lynis
31
	${INSTALL_DATA} ${WRKSRC}/default.prf ${PREFIX}/etc/lynis
30
	${INSTALL_DATA} ${WRKSRC}/default.prf ${PREFIX}/etc/lynis
32
	${MKDIR} ${DATADIR}
31
	${MKDIR} ${DATADIR}
33
.for dir in include db dev plugins
32
.for dir in include db dev
34
	cd ${WRKSRC} && ${COPYTREE_SHARE} ${dir} ${DATADIR}/
33
	cd ${WRKSRC} && ${COPYTREE_SHARE} ${dir} ${DATADIR}/
35
.endfor
34
.endfor
36
.if !defined(NOPORTDOCS)
35
.if !defined(NOPORTDOCS)
37
	${MKDIR} ${DOCSDIR}
36
	${MKDIR} ${DOCSDIR}
38
.for f in CHANGELOG INSTALL FAQ LICENSE TODO README
37
.for f in CHANGELOG INSTALL FAQ LICENSE README
39
	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
38
	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
40
.endfor
39
.endfor
41
.endif
40
.endif
(-)lynis.new/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (lynis-1.2.1.tar.gz) = 4f8db3c524c1014db5842ca2dbd575aa
1
MD5 (lynis-1.2.6.tar.gz) = 46921fc56873a53074f4cf6775ce9007
2
SHA256 (lynis-1.2.1.tar.gz) = 24e256770dbc5a50c2088eda6da9ba21c2136db6233e36af38c033cea4aa347f
2
SHA256 (lynis-1.2.6.tar.gz) = af94dfcc8909152ca95b233d89bbea2d65c0563b10addf2e84893f8312e82303
3
SIZE (lynis-1.2.1.tar.gz) = 72632
3
SIZE (lynis-1.2.6.tar.gz) = 100254
(-)lynis.new/pkg-plist (-5 / +10 lines)
Lines 5-18 Link Here
5
%%DATADIR%%/db/malware.db
5
%%DATADIR%%/db/malware.db
6
%%DATADIR%%/db/sbl.db
6
%%DATADIR%%/db/sbl.db
7
%%DATADIR%%/dev/README
7
%%DATADIR%%/dev/README
8
%%DATADIR%%/dev/TODO
8
%%DATADIR%%/dev/build-lynis.sh
9
%%DATADIR%%/dev/build-lynis.sh
9
%%DATADIR%%/dev/files.dat
10
%%DATADIR%%/dev/files.dat
10
%%DATADIR%%/dev/openbsd/+CONTENTS
11
%%DATADIR%%/dev/openbsd/+CONTENTS
12
%%DATADIR%%/include/binaries
11
%%DATADIR%%/include/consts
13
%%DATADIR%%/include/consts
12
%%DATADIR%%/include/functions
14
%%DATADIR%%/include/functions
13
%%DATADIR%%/include/osdetection
15
%%DATADIR%%/include/osdetection
14
%%DATADIR%%/include/parameters
16
%%DATADIR%%/include/parameters
15
%%DATADIR%%/include/profiles
17
%%DATADIR%%/include/profiles
18
%%DATADIR%%/include/report
16
%%DATADIR%%/include/tests_accounting
19
%%DATADIR%%/include/tests_accounting
17
%%DATADIR%%/include/tests_authentication
20
%%DATADIR%%/include/tests_authentication
18
%%DATADIR%%/include/tests_banners
21
%%DATADIR%%/include/tests_banners
Lines 23-30 Link Here
23
%%DATADIR%%/include/tests_file_permissions
26
%%DATADIR%%/include/tests_file_permissions
24
%%DATADIR%%/include/tests_filesystems
27
%%DATADIR%%/include/tests_filesystems
25
%%DATADIR%%/include/tests_firewalls
28
%%DATADIR%%/include/tests_firewalls
29
%%DATADIR%%/include/tests_hardening_tools
26
%%DATADIR%%/include/tests_hardening
30
%%DATADIR%%/include/tests_hardening
27
%%DATADIR%%/include/tests_homedirs
31
%%DATADIR%%/include/tests_homedirs
32
%%DATADIR%%/include/tests_insecure_services
28
%%DATADIR%%/include/tests_kernel
33
%%DATADIR%%/include/tests_kernel
29
%%DATADIR%%/include/tests_ldap
34
%%DATADIR%%/include/tests_ldap
30
%%DATADIR%%/include/tests_logging
35
%%DATADIR%%/include/tests_logging
Lines 32-52 Link Here
32
%%DATADIR%%/include/tests_mail_messaging
37
%%DATADIR%%/include/tests_mail_messaging
33
%%DATADIR%%/include/tests_malware
38
%%DATADIR%%/include/tests_malware
34
%%DATADIR%%/include/tests_memory_processes
39
%%DATADIR%%/include/tests_memory_processes
35
%%DATADIR%%/include/tests_nameserver
40
%%DATADIR%%/include/tests_nameservices
36
%%DATADIR%%/include/tests_networking
41
%%DATADIR%%/include/tests_networking
37
%%DATADIR%%/include/tests_php
42
%%DATADIR%%/include/tests_php
38
%%DATADIR%%/include/tests_ports_packages
43
%%DATADIR%%/include/tests_ports_packages
39
%%DATADIR%%/include/tests_printers_spools
44
%%DATADIR%%/include/tests_printers_spools
40
%%DATADIR%%/include/tests_scheduling
45
%%DATADIR%%/include/tests_scheduling
41
%%DATADIR%%/include/tests_shells
46
%%DATADIR%%/include/tests_shells
47
%%DATADIR%%/include/tests_snmp
48
%%DATADIR%%/include/tests_solaris
49
%%DATADIR%%/include/tests_ssh
42
%%DATADIR%%/include/tests_storage
50
%%DATADIR%%/include/tests_storage
51
%%DATADIR%%/include/tests_storage_nfs
43
%%DATADIR%%/include/tests_time
52
%%DATADIR%%/include/tests_time
44
%%DATADIR%%/include/tests_virtualization
53
%%DATADIR%%/include/tests_virtualization
45
%%DATADIR%%/include/tests_webservers
54
%%DATADIR%%/include/tests_webservers
46
%%DATADIR%%/plugins/README
47
%%DATADIR%%/plugins/security_rootkit
48
%%DATADIR%%/plugins/security_webvuln
49
@dirrm %%DATADIR%%/plugins
50
@dirrm %%DATADIR%%/include
55
@dirrm %%DATADIR%%/include
51
@dirrm %%DATADIR%%/dev/openbsd
56
@dirrm %%DATADIR%%/dev/openbsd
52
@dirrm %%DATADIR%%/dev
57
@dirrm %%DATADIR%%/dev

Return to bug 134035