Сравнение resource-agents-4.11.0 с resource-agents-4.12.0

/usr/portage/sys-cluster/resource-agents/resource-agents-4.12.0.ebuild 2023-10-09 14:52:35.468368501 +0300
4 4
EAPI=8
5 5

  
6 6
MY_P="${P/resource-}"
7
inherit autotools
7
inherit autotools tmpfiles
8 8

  
9 9
DESCRIPTION="Resources pack for Heartbeat / Pacemaker"
10 10
HOMEPAGE="http://www.linux-ha.org/wiki/Resource_Agents"
......
24 24
DEPEND="${RDEPEND}"
25 25
BDEPEND="
26 26
	doc? (
27
		dev-libs/libxml2
27 28
		dev-libs/libxslt
28 29
		app-text/docbook-xsl-stylesheets
29 30
	)
......
39 40
}
40 41

  
41 42
src_configure() {
43
	# TODO: fix systemd automagic
42 44
	# --with-ocf-root needs to be /usr/lib, see bug #720420
43 45
	econf \
44 46
		--disable-fatal-warnings \
......
57 59
	rm -rf "${ED}"{,/var}/run || die
58 60

  
59 61
	use rgmanager || rm -rf "${ED}"/usr/share/cluster/ "${ED}"/var/
62

  
63
	if ! use systemd ; then
64
		newtmpfiles - resource-agents.conf <<-EOF || die
65
		d /var/run/resource-agents 1755 root root
66
		EOF
67
	fi
60 68
}
61 69

  
62 70
pkg_postinst() {
71
	tmpfiles_process resource-agents.conf
72

  
63 73
	elog "To use Resource Agents installed in ${EROOT}/usr/lib/ocf/resource.d"
64 74
	elog "you have to emerge required runtime dependencies manually."
65 75
	elog ""
Спасибо!