View | Details | Raw Unified | Return to bug 257685
Collapse All | Expand All

(-)b/security/base-audit/Makefile (-1 / +1 lines)
Lines 1-7 Link Here
1
# Created by: Miroslav Lachman
1
# Created by: Miroslav Lachman
2
2
3
PORTNAME=	base-audit
3
PORTNAME=	base-audit
4
PORTVERSION=	0.4
4
PORTVERSION=	0.5
5
CATEGORIES=	security
5
CATEGORIES=	security
6
MASTER_SITES=	# none
6
MASTER_SITES=	# none
7
DISTFILES=	# none
7
DISTFILES=	# none
(-)b/security/base-audit/files/405.pkg-base-audit.in (+14 lines)
Lines 40-45 fi Link Here
40
: ${security_status_baseaudit_quiet:=NO}
40
: ${security_status_baseaudit_quiet:=NO}
41
: ${security_status_baseaudit_chroots=$pkg_chroots}
41
: ${security_status_baseaudit_chroots=$pkg_chroots}
42
: ${security_status_baseaudit_jails=$pkg_jails}
42
: ${security_status_baseaudit_jails=$pkg_jails}
43
: ${security_status_baseaudit_jails_ignore=""}
43
: ${security_status_baseaudit_expiry:=2}
44
: ${security_status_baseaudit_expiry:=2}
44
45
45
# Compute PKG_DBDIR from the config file.
46
# Compute PKG_DBDIR from the config file.
Lines 166-171 audit_base_all() { Link Here
166
	esac
167
	esac
167
168
168
	for j in $jails ; do
169
	for j in $jails ; do
170
		# ignore some jails
171
		if [ -n "$security_status_baseaudit_jails_ignore" ]; then
172
			# we iterate to get exact matches because we want substring matches
173
			# foo should not match foo.bar
174
			for ignore in $security_status_baseaudit_jails_ignore ; do
175
				if [ "${j%|*}" == "$ignore" ]; then
176
					echo
177
					echo "ignoring jail: ${j%|*}"
178
					# continue with the main loop
179
					continue 2
180
				fi
181
			done
182
		fi
169
		echo
183
		echo
170
		echo "jail: ${j%|*}"
184
		echo "jail: ${j%|*}"
171
		audit_base "-j ${j%|*}" ${j##*|}
185
		audit_base "-j ${j%|*}" ${j##*|}

Return to bug 257685