summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2014-02-01 12:44:08 +0000
committerJeroen Roovers <jer@gentoo.org>2014-02-01 12:44:08 +0000
commit2c362f84852c783ab1a5c09b62e104bd357247eb (patch)
tree75c28a7eb00c5f21190e0a30b22a87bd4bc594d7 /app-admin/sysstat
parentVersion bump. Clean up patch. Use /run not /var/run in init script. (diff)
downloadgentoo-2-2c362f84852c783ab1a5c09b62e104bd357247eb.tar.gz
gentoo-2-2c362f84852c783ab1a5c09b62e104bd357247eb.tar.bz2
gentoo-2-2c362f84852c783ab1a5c09b62e104bd357247eb.zip
Fix systemd unit install location (bug #499948 by bx).
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'app-admin/sysstat')
-rw-r--r--app-admin/sysstat/ChangeLog8
-rw-r--r--app-admin/sysstat/sysstat-10.2.1-r1.ebuild (renamed from app-admin/sysstat/sysstat-10.2.1.ebuild)8
2 files changed, 12 insertions, 4 deletions
diff --git a/app-admin/sysstat/ChangeLog b/app-admin/sysstat/ChangeLog
index ed123104d11b..640ef2eaa69b 100644
--- a/app-admin/sysstat/ChangeLog
+++ b/app-admin/sysstat/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-admin/sysstat
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/sysstat/ChangeLog,v 1.257 2014/01/25 15:47:18 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/sysstat/ChangeLog,v 1.258 2014/02/01 12:44:08 jer Exp $
+
+*sysstat-10.2.1-r1 (01 Feb 2014)
+
+ 01 Feb 2014; Jeroen Roovers <jer@gentoo.org> -sysstat-10.2.1.ebuild,
+ +sysstat-10.2.1-r1.ebuild:
+ Fix systemd unit install location (bug #499948 by bx).
*sysstat-10.2.1 (25 Jan 2014)
diff --git a/app-admin/sysstat/sysstat-10.2.1.ebuild b/app-admin/sysstat/sysstat-10.2.1-r1.ebuild
index 0c3290eb106f..a73c6b2d01a1 100644
--- a/app-admin/sysstat/sysstat-10.2.1.ebuild
+++ b/app-admin/sysstat/sysstat-10.2.1-r1.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/sysstat/sysstat-10.2.1.ebuild,v 1.1 2014/01/25 15:47:19 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/sysstat/sysstat-10.2.1-r1.ebuild,v 1.1 2014/02/01 12:44:08 jer Exp $
EAPI=5
-inherit eutils multilib toolchain-funcs
+inherit eutils multilib systemd toolchain-funcs
DESCRIPTION="System performance tools for Linux"
HOMEPAGE="http://pagesperso-orange.fr/sebastien.godard/"
@@ -51,6 +51,7 @@ src_configure() {
rcdir=Gentoo-does-not-use-rc.d \
econf \
--enable-copy-only \
+ --with-systemdsystemunitdir=$(systemd_get_unitdir) \
$(use_enable cron install-cron) \
$(use_enable debug debuginfo) \
$(use_enable doc documentation ) \
@@ -75,7 +76,8 @@ src_install() {
dodoc contrib/sargraph/sargraph
- newinitd "${FILESDIR}"/sysstat.init.d sysstat
+ newinitd "${FILESDIR}"/${PN}.init.d ${PN}
+ systemd_dounit ${PN}.service
use doc && rm -f "${D}"usr/share/doc/${PF}/COPYING
}