summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2018-06-20 17:00:59 -0400
committerMike Frysinger <vapier@gentoo.org>2018-06-20 22:25:38 -0400
commitbc13a3787008c4c99e147a7c71f4f19e09557d85 (patch)
tree2e64967e8d77949be5e01d4f203fbe6db8f21225 /sys-apps
parentdev-python/more-itertools: bump to 4.2.0 (diff)
downloadgentoo-bc13a3787008c4c99e147a7c71f4f19e09557d85.tar.gz
gentoo-bc13a3787008c4c99e147a7c71f4f19e09557d85.tar.bz2
gentoo-bc13a3787008c4c99e147a7c71f4f19e09557d85.zip
sys-apps/xinetd: switch to upstream systemd service unit
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/xinetd/xinetd-2.3.15.3-r2.ebuild (renamed from sys-apps/xinetd/xinetd-2.3.15.3-r1.ebuild)6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys-apps/xinetd/xinetd-2.3.15.3-r1.ebuild b/sys-apps/xinetd/xinetd-2.3.15.3-r2.ebuild
index 42b0c854d0e7..92bc834e7df9 100644
--- a/sys-apps/xinetd/xinetd-2.3.15.3-r1.ebuild
+++ b/sys-apps/xinetd/xinetd-2.3.15.3-r2.ebuild
@@ -36,6 +36,10 @@ PATCHES=(
src_prepare() {
default
eautoreconf
+
+ sed -i \
+ -e 's:/usr/bin/kill:/bin/kill:' \
+ "contrib/${PN}.service" || die
}
src_configure() {
@@ -53,7 +57,7 @@ src_install() {
newinitd "${FILESDIR}"/xinetd.rc6 xinetd
newconfd "${FILESDIR}"/xinetd.confd xinetd
- systemd_dounit "${FILESDIR}/${PN}.service"
+ systemd_dounit "contrib/${PN}.service"
newdoc contrib/xinetd.conf xinetd.conf.dist.sample
dodoc README.md CHANGELOG