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:54:30
Message-Id: 20120827215419.3C5DE20967@flycatcher.gentoo.org
1 mgorny 12/08/27 21:54:19
2
3 Modified: ChangeLog systemd.eclass
4 Log:
5 tmpfiles.d: ensure .conf suffix when installing.
6
7 Revision Changes Path
8 1.380 eclass/ChangeLog
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.380&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.380&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.379&r2=1.380
13
14 Index: ChangeLog
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
17 retrieving revision 1.379
18 retrieving revision 1.380
19 diff -u -r1.379 -r1.380
20 --- ChangeLog 27 Aug 2012 21:53:04 -0000 1.379
21 +++ ChangeLog 27 Aug 2012 21:54:19 -0000 1.380
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.379 2012/08/27 21:53:04 mgorny Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.380 2012/08/27 21:54:19 mgorny Exp $
27 +
28 + 27 Aug 2012; Michał Górny <mgorny@g.o> systemd.eclass:
29 + tmpfiles.d: ensure .conf suffix when installing.
30
31 27 Aug 2012; Michał Górny <mgorny@g.o> systemd.eclass:
32 Add systemd_newtmpfilesd().
33
34
35
36 1.13 eclass/systemd.eclass
37
38 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?rev=1.13&view=markup
39 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?rev=1.13&content-type=text/plain
40 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?r1=1.12&r2=1.13
41
42 Index: systemd.eclass
43 ===================================================================
44 RCS file: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v
45 retrieving revision 1.12
46 retrieving revision 1.13
47 diff -u -r1.12 -r1.13
48 --- systemd.eclass 27 Aug 2012 21:53:04 -0000 1.12
49 +++ systemd.eclass 27 Aug 2012 21:54:19 -0000 1.13
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.12 2012/08/27 21:53:04 mgorny Exp $
54 +# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.13 2012/08/27 21:54:19 mgorny Exp $
55
56 # @ECLASS: systemd.eclass
57 # @MAINTAINER:
58 @@ -89,6 +89,11 @@
59 systemd_dotmpfilesd() {
60 debug-print-function ${FUNCNAME} "${@}"
61
62 + for f; do
63 + [[ ${f} == *.conf ]] \
64 + || die 'tmpfiles.d files need to have .conf suffix.'
65 + done
66 +
67 (
68 insinto /usr/lib/tmpfiles.d/
69 doins "${@}"
70 @@ -103,6 +108,9 @@
71 systemd_newtmpfilesd() {
72 debug-print-function ${FUNCNAME} "${@}"
73
74 + [[ ${2} == *.conf ]] \
75 + || die 'tmpfiles.d files need to have .conf suffix.'
76 +
77 (
78 insinto /usr/lib/tmpfiles.d/
79 newins "${@}"