Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog systemd.eclass
Date: Tue, 30 Oct 2012 21:56:49
Message-Id: 20121030215631.DBA2421600@flycatcher.gentoo.org
1 mgorny 12/10/30 21:56:31
2
3 Modified: ChangeLog systemd.eclass
4 Log:
5 Add systemd_with_utildir() as well.
6
7 Revision Changes Path
8 1.488 eclass/ChangeLog
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.488&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.488&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.487&r2=1.488
13
14 Index: ChangeLog
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
17 retrieving revision 1.487
18 retrieving revision 1.488
19 diff -u -r1.487 -r1.488
20 --- ChangeLog 30 Oct 2012 21:29:32 -0000 1.487
21 +++ ChangeLog 30 Oct 2012 21:56:31 -0000 1.488
22 @@ -1,6 +1,9 @@
23 # ChangeLog for eclass directory
24 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.487 2012/10/30 21:29:32 mgorny Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.488 2012/10/30 21:56:31 mgorny Exp $
27 +
28 + 30 Oct 2012; Michał Górny <mgorny@g.o> systemd.eclass:
29 + Add systemd_with_utildir() as well.
30
31 30 Oct 2012; Michał Górny <mgorny@g.o> systemd.eclass:
32 Introduce systemd_get_utildir() wrt bug #440320.
33
34
35
36 1.18 eclass/systemd.eclass
37
38 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?rev=1.18&view=markup
39 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?rev=1.18&content-type=text/plain
40 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?r1=1.17&r2=1.18
41
42 Index: systemd.eclass
43 ===================================================================
44 RCS file: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v
45 retrieving revision 1.17
46 retrieving revision 1.18
47 diff -u -r1.17 -r1.18
48 --- systemd.eclass 30 Oct 2012 21:29:32 -0000 1.17
49 +++ systemd.eclass 30 Oct 2012 21:56:31 -0000 1.18
50 @@ -1,6 +1,6 @@
51 # Copyright 1999-2012 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 -# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.17 2012/10/30 21:29:32 mgorny Exp $
54 +# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.18 2012/10/30 21:56:31 mgorny Exp $
55
56 # @ECLASS: systemd.eclass
57 # @MAINTAINER:
58 @@ -164,6 +164,17 @@
59 echo --with-${optname}="$(systemd_get_unitdir)"
60 }
61
62 +# @FUNCTION: systemd_with_utildir
63 +# @DESCRIPTION:
64 +# Output '--with-systemdsystemutildir' as used by some packages to install
65 +# systemd helpers. This function always succeeds. Its output may be quoted
66 +# in order to preserve whitespace in paths.
67 +systemd_with_utildir() {
68 + debug-print-function ${FUNCNAME} "${@}"
69 +
70 + echo --with-systemdutildir="$(systemd_get_utildir)"
71 +}
72 +
73 # @FUNCTION: systemd_to_myeconfargs
74 # @DESCRIPTION:
75 # Add '--with-systemdsystemunitdir' as expected by systemd-aware configure