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: Mon, 27 Aug 2012 21:53:15
Message-Id: 20120827215304.C5A3120967@flycatcher.gentoo.org
1 mgorny 12/08/27 21:53:04
2
3 Modified: ChangeLog systemd.eclass
4 Log:
5 Add systemd_newtmpfilesd().
6
7 Revision Changes Path
8 1.379 eclass/ChangeLog
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.379&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.379&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.378&r2=1.379
13
14 Index: ChangeLog
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
17 retrieving revision 1.378
18 retrieving revision 1.379
19 diff -u -r1.378 -r1.379
20 --- ChangeLog 22 Aug 2012 01:41:12 -0000 1.378
21 +++ ChangeLog 27 Aug 2012 21:53:04 -0000 1.379
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.378 2012/08/22 01:41:12 ottxor Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.379 2012/08/27 21:53:04 mgorny Exp $
27 +
28 + 27 Aug 2012; Michał Górny <mgorny@g.o> systemd.eclass:
29 + Add systemd_newtmpfilesd().
30
31 22 Aug 2012; Christoph Junghans <ottxor@g.o> unpacker.eclass:
32 added support for cpio archives
33
34
35
36 1.12 eclass/systemd.eclass
37
38 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?rev=1.12&view=markup
39 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?rev=1.12&content-type=text/plain
40 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?r1=1.11&r2=1.12
41
42 Index: systemd.eclass
43 ===================================================================
44 RCS file: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v
45 retrieving revision 1.11
46 retrieving revision 1.12
47 diff -u -r1.11 -r1.12
48 --- systemd.eclass 7 Jan 2012 17:53:47 -0000 1.11
49 +++ systemd.eclass 27 Aug 2012 21:53:04 -0000 1.12
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.11 2012/01/07 17:53:47 mgorny Exp $
54 +# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.12 2012/08/27 21:53:04 mgorny Exp $
55
56 # @ECLASS: systemd.eclass
57 # @MAINTAINER:
58 @@ -95,6 +95,20 @@
59 )
60 }
61
62 +# @FUNCTION: systemd_newtmpfilesd
63 +# @USAGE: oldname newname.conf
64 +# @DESCRIPTION:
65 +# Install systemd tmpfiles.d file under a new name. Uses newins, thus it
66 +# is fatal in EAPI 4 and non-fatal in earlier EAPIs.
67 +systemd_newtmpfilesd() {
68 + debug-print-function ${FUNCNAME} "${@}"
69 +
70 + (
71 + insinto /usr/lib/tmpfiles.d/
72 + newins "${@}"
73 + )
74 +}
75 +
76 # @FUNCTION: systemd_enable_service
77 # @USAGE: target service
78 # @DESCRIPTION: