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

(-)a/app/admin/collectd/collectd-5.2.0.ebuild (-1 / +5 lines)
Lines 4-10 Link Here
4
4
5
EAPI="4"
5
EAPI="4"
6
6
7
inherit eutils base linux-info perl-app autotools multilib user
7
inherit eutils base linux-info perl-app autotools multilib user systemd
8
8
9
DESCRIPTION="A a daemon which collects system statistic and provides mechanisms to store the values"
9
DESCRIPTION="A a daemon which collects system statistic and provides mechanisms to store the values"
10
10
Lines 206-211 Link Here
206
	# paths like "/usr/var/..."
206
	# paths like "/usr/var/..."
207
	sed -i -e "s:@prefix@/var:/var:g" src/collectd.conf.in || die
207
	sed -i -e "s:@prefix@/var:/var:g" src/collectd.conf.in || die
208
208
209
	# Patch the systemd service file to use gentoo's default config file path
210
	sed -i -e "s:/etc/collectd/collectd.conf:/etc/collectd.conf:g" contrib/collectd.service || die
211
	
209
	rm -r libltdl || die
212
	rm -r libltdl || die
210
213
211
	eautoreconf
214
	eautoreconf
Lines 317-322 Link Here
317
320
318
	newinitd "${FILESDIR}/${PN}.initd" ${PN}
321
	newinitd "${FILESDIR}/${PN}.initd" ${PN}
319
	newconfd "${FILESDIR}/${PN}.confd" ${PN}
322
	newconfd "${FILESDIR}/${PN}.confd" ${PN}
323
	systemd_dounit "contrib/${PN}.service"
320
324
321
	insinto /etc/logrotate.d
325
	insinto /etc/logrotate.d
322
	newins "${FILESDIR}/logrotate" collectd
326
	newins "${FILESDIR}/logrotate" collectd

Return to bug 448480