Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 523236 | Differences between
and this patch

Collapse All | Expand All

(-)elasticsearch-1.3.2.ebuild (-2 / +4 lines)
Lines 46-51 Link Here
46
src_install() {
46
src_install() {
47
	dodir /etc/${MY_PN}
47
	dodir /etc/${MY_PN}
48
	insinto /etc/${MY_PN}
48
	insinto /etc/${MY_PN}
49
	# Example believed faulty for 1.3.2 as per bug #523236
50
	rm config/logging.yml.sample
49
	doins bin/${MY_PN}.in.sh.sample
51
	doins bin/${MY_PN}.in.sh.sample
50
	doins config/*
52
	doins config/*
51
	rm bin/${MY_PN}.in.sh.sample
53
	rm bin/${MY_PN}.in.sh.sample
Lines 57-63 Link Here
57
59
58
	keepdir /var/{lib,log}/${MY_PN}
60
	keepdir /var/{lib,log}/${MY_PN}
59
61
60
	local rcscript=elasticsearch.init2
62
	local rcscript=elasticsearch.init3
61
	local eshome="/usr/share/${MY_PN}"
63
	local eshome="/usr/share/${MY_PN}"
62
	local jarfile="${MY_PN}-${PV}.jar"
64
	local jarfile="${MY_PN}-${PV}.jar"
63
	local esclasspath="${eshome}/lib/${jarfile}:${eshome}/lib/*:${eshome}/lib/sigar/*"
65
	local esclasspath="${eshome}/lib/${jarfile}:${eshome}/lib/*:${eshome}/lib/sigar/*"
Lines 70-76 Link Here
70
72
71
	newinitd "${T}/${rcscript}" "${MY_PN}"
73
	newinitd "${T}/${rcscript}" "${MY_PN}"
72
	newconfd "${FILESDIR}/${MY_PN}.conf" "${MY_PN}"
74
	newconfd "${FILESDIR}/${MY_PN}.conf" "${MY_PN}"
73
	systemd_dounit "${FILESDIR}"/${PN}.service
75
	systemd_dounit "${FILESDIR}"/${PN}.service2
74
}
76
}
75
77
76
pkg_postinst() {
78
pkg_postinst() {

Return to bug 523236