From: | "Jeroen Roovers (jer)" <jer@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-admin/sysstat: ChangeLog sysstat-10.2.1-r1.ebuild sysstat-10.2.1.ebuild |
Date: | Sat, 01 Feb 2014 12:44:13 |
Message-Id: | 20140201124408.D05792004C@flycatcher.gentoo.org |
1 | jer 14/02/01 12:44:08 |
2 | |
3 | Modified: ChangeLog |
4 | Added: sysstat-10.2.1-r1.ebuild |
5 | Removed: sysstat-10.2.1.ebuild |
6 | Log: |
7 | Fix systemd unit install location (bug #499948 by bx). |
8 | |
9 | (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key A792A613) |
10 | |
11 | Revision Changes Path |
12 | 1.258 app-admin/sysstat/ChangeLog |
13 | |
14 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/sysstat/ChangeLog?rev=1.258&view=markup |
15 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/sysstat/ChangeLog?rev=1.258&content-type=text/plain |
16 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/sysstat/ChangeLog?r1=1.257&r2=1.258 |
17 | |
18 | Index: ChangeLog |
19 | =================================================================== |
20 | RCS file: /var/cvsroot/gentoo-x86/app-admin/sysstat/ChangeLog,v |
21 | retrieving revision 1.257 |
22 | retrieving revision 1.258 |
23 | diff -u -r1.257 -r1.258 |
24 | --- ChangeLog 25 Jan 2014 15:47:18 -0000 1.257 |
25 | +++ ChangeLog 1 Feb 2014 12:44:08 -0000 1.258 |
26 | @@ -1,6 +1,12 @@ |
27 | # ChangeLog for app-admin/sysstat |
28 | # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 | -# $Header: /var/cvsroot/gentoo-x86/app-admin/sysstat/ChangeLog,v 1.257 2014/01/25 15:47:18 jer Exp $ |
30 | +# $Header: /var/cvsroot/gentoo-x86/app-admin/sysstat/ChangeLog,v 1.258 2014/02/01 12:44:08 jer Exp $ |
31 | + |
32 | +*sysstat-10.2.1-r1 (01 Feb 2014) |
33 | + |
34 | + 01 Feb 2014; Jeroen Roovers <jer@g.o> -sysstat-10.2.1.ebuild, |
35 | + +sysstat-10.2.1-r1.ebuild: |
36 | + Fix systemd unit install location (bug #499948 by bx). |
37 | |
38 | *sysstat-10.2.1 (25 Jan 2014) |
39 | |
40 | |
41 | |
42 | |
43 | 1.1 app-admin/sysstat/sysstat-10.2.1-r1.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/sysstat/sysstat-10.2.1-r1.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/sysstat/sysstat-10.2.1-r1.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: sysstat-10.2.1-r1.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2014 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $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 $ |
53 | |
54 | EAPI=5 |
55 | inherit eutils multilib systemd toolchain-funcs |
56 | |
57 | DESCRIPTION="System performance tools for Linux" |
58 | HOMEPAGE="http://pagesperso-orange.fr/sebastien.godard/" |
59 | SRC_URI="${HOMEPAGE}${P}.tar.bz2" |
60 | |
61 | LICENSE="GPL-2" |
62 | SLOT="0" |
63 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" |
64 | IUSE="cron debug +doc isag nls lm_sensors" |
65 | |
66 | RDEPEND=" |
67 | cron? ( sys-process/cronbase ) |
68 | isag? ( |
69 | dev-lang/tk |
70 | dev-vcs/rcs |
71 | sci-visualization/gnuplot |
72 | ) |
73 | nls? ( virtual/libintl ) |
74 | lm_sensors? ( sys-apps/lm_sensors ) |
75 | " |
76 | DEPEND=" |
77 | ${RDEPEND} |
78 | nls? ( sys-devel/gettext ) |
79 | " |
80 | |
81 | src_prepare() { |
82 | if use nls; then |
83 | strip-linguas -i nls/ |
84 | local lingua pofile |
85 | for pofile in nls/*.po; do |
86 | lingua=${pofile/nls\/} |
87 | lingua=${lingua/.po} |
88 | if ! has ${lingua} ${LINGUAS}; then |
89 | rm "nls/${lingua}.po" || die |
90 | fi |
91 | done |
92 | fi |
93 | epatch "${FILESDIR}"/${PN}-10.0.4-flags.patch |
94 | } |
95 | |
96 | src_configure() { |
97 | tc-export AR |
98 | sa_lib_dir=/usr/$(get_libdir)/sa \ |
99 | conf_dir=/etc \ |
100 | rcdir=Gentoo-does-not-use-rc.d \ |
101 | econf \ |
102 | --enable-copy-only \ |
103 | --with-systemdsystemunitdir=$(systemd_get_unitdir) \ |
104 | $(use_enable cron install-cron) \ |
105 | $(use_enable debug debuginfo) \ |
106 | $(use_enable doc documentation ) \ |
107 | $(use_enable isag install-isag) \ |
108 | $(use_enable lm_sensors sensors) \ |
109 | $(use_enable nls) |
110 | } |
111 | |
112 | src_compile() { |
113 | emake LFLAGS="${LDFLAGS}" |
114 | } |
115 | |
116 | src_install() { |
117 | keepdir /var/log/sa |
118 | |
119 | use cron && dodir /etc/cron.{daily,hourly} |
120 | |
121 | emake \ |
122 | DESTDIR="${D}" \ |
123 | DOC_DIR=/usr/share/doc/${PF} \ |
124 | install |
125 | |
126 | dodoc contrib/sargraph/sargraph |
127 | |
128 | newinitd "${FILESDIR}"/${PN}.init.d ${PN} |
129 | systemd_dounit ${PN}.service |
130 | |
131 | use doc && rm -f "${D}"usr/share/doc/${PF}/COPYING |
132 | } |