From: Wolfram Schlich Date: Fri, 20 Jan 2017 08:34:27 +0000 (+0100) Subject: media-video/motion: fix reference to wrong init script, thanks to Sven Schwyn for the headsup. Package-Manager: portage-2.3.0 --- diff --git a/media-video/motion/motion-4.0.1.ebuild b/media-video/motion/motion-4.0.1-r1.ebuild similarity index 86% rename from media-video/motion/motion-4.0.1.ebuild rename to media-video/motion/motion-4.0.1-r1.ebuild index e82099351ae5..b866f050d0ab 100644 --- a/media-video/motion/motion-4.0.1.ebuild +++ b/media-video/motion/motion-4.0.1-r1.ebuild @@ -30,7 +30,11 @@ DEPEND="${RDEPEND} DISABLE_AUTOFORMATTING="yes" DOC_CONTENTS="You need to setup /etc/${PN}/${PN}.conf before running -${PN} for the first time. +${PN} for the first time. You can use /etc/${PN}/${PN}-dist.conf as a +template. Please note that the 'daemon' and 'process_id_file' settings +are overridden by the bundled OpenRC init script and systemd unit where +appropriate. + To install ${PN} as a service, use: rc-update add ${PN} default # with OpenRC systemctl enable ${PN}.service # with systemd @@ -64,7 +68,7 @@ src_install() { examplesdir=/usr/share/doc/${PF}/examples \ install - newinitd "${FILESDIR}"/${PN}.initd-r2 ${PN} + newinitd "${FILESDIR}"/${PN}.initd-r3 ${PN} newconfd "${FILESDIR}"/${PN}.confd ${PN} systemd_dounit "${FILESDIR}"/${PN}.service @@ -75,7 +79,5 @@ src_install() { fowners motion:video /var/lib/motion fperms 0750 /var/lib/motion - mv -vf "${D}"/etc/${PN}/${PN}{-dist,}.conf || die - readme.gentoo_create_doc }