From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3D80D59CA5 for ; Wed, 9 Mar 2016 17:27:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3E58B21C05D; Wed, 9 Mar 2016 17:27:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8F2B021C059 for ; Wed, 9 Mar 2016 17:27:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 80F0C340C18 for ; Wed, 9 Mar 2016 17:27:33 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E13A7209A for ; Wed, 9 Mar 2016 17:27:31 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1457543621.eaf88ca2f25f3a9480cd27b9ae27bd3cf984cc37.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/irker/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-irc/irker/irker-2.15.ebuild X-VCS-Directories: net-irc/irker/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: eaf88ca2f25f3a9480cd27b9ae27bd3cf984cc37 X-VCS-Branch: master Date: Wed, 9 Mar 2016 17:27:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b4dd9084-39e6-4e60-b367-c5a9d347244c X-Archives-Hash: 94c053dd000f6f4628ac24733a2d8319 commit: eaf88ca2f25f3a9480cd27b9ae27bd3cf984cc37 Author: Bertrand Jacquin jacquin bzh> AuthorDate: Sun Feb 21 19:15:44 2016 +0000 Commit: Patrice Clement gentoo org> CommitDate: Wed Mar 9 17:13:41 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaf88ca2 net-irc/irker: Install systemd service on every system. Makefile uses `pkg-config --variable=systemdsystemunitdir systemd` to determine in which directory systemd service file should be installed. It can be empty if building host has no systemd installed but OpenRC. Rely on systemd eclass. Package-Manager: portage-2.2.26 net-irc/irker/irker-2.15.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/net-irc/irker/irker-2.15.ebuild b/net-irc/irker/irker-2.15.ebuild index d1498e5..762c4cc 100644 --- a/net-irc/irker/irker-2.15.ebuild +++ b/net-irc/irker/irker-2.15.ebuild @@ -6,7 +6,7 @@ EAPI=5 PYTHON_COMPAT=( python{2_7,3_3,3_4} ) PYTHON_REQ_USE="ssl" -inherit python-single-r1 eutils +inherit python-single-r1 systemd eutils DESCRIPTION="Submission tools for IRC notifications" HOMEPAGE="http://www.catb.org/esr/irker/" @@ -26,6 +26,10 @@ src_prepare() { epatch "${FILESDIR}/2.7-irkerhook-Remove-file-listing.patch" + # Rely on systemd eclass for systemd service install + sed -i -e "/^SYSTEMDSYSTEMUNITDIR/d" Makefile \ + || die "sed failed" + # Prefix support sed -i -e "/^ExecStart=/ s:=/:=${EROOT}:" irkerd.service \ || die "sed failed" @@ -41,6 +45,8 @@ src_install() { newinitd "${FILESDIR}/irkerd.initd" irkerd newconfd "${FILESDIR}/irkerd.confd" irkerd + systemd_dounit irkerd.service + dodoc NEWS README hacking.txt security.txt dohtml irkerd.html irkerhook.html