Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 512518
Collapse All | Expand All

(-)/usr/portage/sys-process/audit/audit-2.2.2-r2.ebuild (-3 / +3 lines)
Lines 172-189 Link Here
172
	# Security
172
	# Security
173
	lockdown_perms "${D}"
173
	lockdown_perms "${D}"
174
174
175
	prune_libtool_files --modules
175
	prune_libtool_files --all
176
}
176
}
177
177
178
pkg_preinst() {
178
pkg_preinst() {
179
	# Preserve from the audit-1 series
179
	# Preserve from the audit-1 series
180
	preserve_old_lib /$(get_libdir)/libau{dit,parse}.so.0
180
	preserve_old_lib /$(get_libdir)/libaudit.so.0
181
}
181
}
182
182
183
pkg_postinst() {
183
pkg_postinst() {
184
	lockdown_perms "${ROOT}"
184
	lockdown_perms "${ROOT}"
185
	# Preserve from the audit-1 series
185
	# Preserve from the audit-1 series
186
	preserve_old_lib_notify /$(get_libdir)/libau{dit,parse}.so.0
186
	preserve_old_lib_notify /$(get_libdir)/libaudit.so.0
187
}
187
}
188
188
189
lockdown_perms() {
189
lockdown_perms() {

Return to bug 512518