From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QVHLR-0005HJ-T9 for garchives@archives.gentoo.org; Sat, 11 Jun 2011 06:06:54 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A4D871C0FA; Sat, 11 Jun 2011 06:06:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 75FB51C199 for ; Sat, 11 Jun 2011 06:06:46 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E50D81B4031 for ; Sat, 11 Jun 2011 06:06:45 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2279) id EE0BC2004E; Sat, 11 Jun 2011 06:06:43 +0000 (UTC) From: "Michal Gorny (mgorny)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, mgorny@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass: systemd.eclass X-VCS-Repository: gentoo-x86 X-VCS-Files: systemd.eclass X-VCS-Directories: eclass X-VCS-Committer: mgorny X-VCS-Committer-Name: Michal Gorny Content-Type: text/plain; charset=utf8 Message-Id: <20110611060643.EE0BC2004E@flycatcher.gentoo.org> Date: Sat, 11 Jun 2011 06:06:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 8869a0daec71c87e31839f3d392dbc81 mgorny 11/06/11 06:06:43 Modified: systemd.eclass Log: Introduce systemd_dotmpfilesd() for installing tmpfiles.d files. Revision Changes Path 1.3 eclass/systemd.eclass file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.ecl= ass?rev=3D1.3&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.ecl= ass?rev=3D1.3&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.ecl= ass?r1=3D1.2&r2=3D1.3 Index: systemd.eclass =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- systemd.eclass 4 May 2011 16:02:10 -0000 1.2 +++ systemd.eclass 11 Jun 2011 06:06:43 -0000 1.3 @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.2 2011/05/0= 4 16:02:10 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.3 2011/06/1= 1 06:06:43 mgorny Exp $ =20 # @ECLASS: systemd.eclass # @MAINTAINER: @@ -54,6 +54,20 @@ ) } =20 +# @FUNCTION: systemd_dotmpfilesd +# @USAGE: tmpfilesd1 [...] +# @DESCRIPTION: +# Install systemd tmpfiles.d files. Uses doins, thus it is fatal +# in EAPI 4 and non-fatal in earlier EAPIs. +systemd_dotmpfilesd() { + debug-print-function ${FUNCNAME} "${@}" + + ( + insinto /usr/lib/tmpfiles.d/ + doins "${@}" + ) +} + # @FUNCTION: systemd_enable_service # @USAGE: target service # @DESCRIPTION: