From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1217454-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 32586138359 for <garchives@archives.gentoo.org>; Sun, 25 Oct 2020 19:44:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6FB86E078A; Sun, 25 Oct 2020 19:44:19 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4655FE078A for <gentoo-commits@lists.gentoo.org>; Sun, 25 Oct 2020 19:44:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EB5B1340BC9 for <gentoo-commits@lists.gentoo.org>; Sun, 25 Oct 2020 19:44:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 485683B1 for <gentoo-commits@lists.gentoo.org>; Sun, 25 Oct 2020 19:44:16 +0000 (UTC) From: "William Hubbs" <williamh@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" <williamh@gentoo.org> Message-ID: <1603654888.caa1677e978b69db8f3b2b9b25122778d053e7f5.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/opentmpfiles/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/opentmpfiles/Manifest sys-apps/opentmpfiles/opentmpfiles-0.3.1.ebuild X-VCS-Directories: sys-apps/opentmpfiles/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: caa1677e978b69db8f3b2b9b25122778d053e7f5 X-VCS-Branch: master Date: Sun, 25 Oct 2020 19:44:16 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 42eec6b3-00e2-453f-b6d8-7796736cd53c X-Archives-Hash: 1dedb7a03b921bff5684b50c10f59742 commit: caa1677e978b69db8f3b2b9b25122778d053e7f5 Author: William Hubbs <williamh <AT> gentoo <DOT> org> AuthorDate: Sun Oct 25 19:40:26 2020 +0000 Commit: William Hubbs <williamh <AT> gentoo <DOT> org> CommitDate: Sun Oct 25 19:41:28 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=caa1677e sys-apps/opentmpfiles: 0.3.1 bump Signed-off-by: William Hubbs <williamh <AT> gentoo.org> sys-apps/opentmpfiles/Manifest | 1 + sys-apps/opentmpfiles/opentmpfiles-0.3.1.ebuild | 54 +++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/sys-apps/opentmpfiles/Manifest b/sys-apps/opentmpfiles/Manifest index 57e7b5941b4..7f24de988e0 100644 --- a/sys-apps/opentmpfiles/Manifest +++ b/sys-apps/opentmpfiles/Manifest @@ -2,4 +2,5 @@ DIST opentmpfiles-0.1.1.tar.gz 5626 BLAKE2B 2b2d21bae0c8280f31ea1ad35cd857a94b3d DIST opentmpfiles-0.1.2.tar.gz 5614 BLAKE2B d49485535bc3b92ba7e9a2af511969b1793d94187a2600b3196314bef8de235fe7a640bb2b7f78f51727f94c18556fc27e7996ffccef71ff94e006b9f9a63810 SHA512 d86ba71e5fe96d7a8e1999e14b0b99c78e850c42fbfefd203916edca593d0269feaf2252aa01cc35a838906fc2909015430f72cde8370e2d5b1d478a11fe456d DIST opentmpfiles-0.1.3.tar.gz 5691 BLAKE2B 56d79f0279a46ed3b4e13f94a7f2c7d494df245a17b8533c48cff357c21db56485bd076e375f3b4e2c9a140a65e8ab472a8a1030bbee0853463f734c316f71e8 SHA512 fd0b10ebfeb621466edadede50ec6e8f415861ab3b14b833c75bd71f7296e9c091e59144d39e1f9efd342b6d97776cade5a692c941085e33e9651fd885da7121 DIST opentmpfiles-0.2.tar.gz 5711 BLAKE2B e1ee7820b2d184d18e63e7e9d93227bb301eb82be8c2b6021c7a1092f55a4ca2bb5dfb7494ff00c3b6debace1963f6c89011ff557f665f0a93c907bd759a4c6f SHA512 bc384cc9156ba6c54d3308ddad4d26b1877f020aa8558e82df2ed49ffa65e0fed5a49eaa11b27193bfe2ad11a4d7368f7cdbc225b820b309af3b299327ddb07b +DIST opentmpfiles-0.3.1.tar.gz 6843 BLAKE2B 20cb40b34fd8db37da5797dc25912000f7d1feb38952b99c044220666cb21871eb40d3853074cb33ee8bcce8dc4858d102aeccb5730ce28df47e99a7edb50f2d SHA512 1e0985403013ac10c0fe50a7ba61a250357b1ea7ea426f9dc92d7071e97eb0e5209448550cf427734b917599defa5123254044d5352b9dcaa22e562e5ca6821f DIST opentmpfiles-0.3.tar.gz 6831 BLAKE2B bed680dbbf3915086fcd9c47f8fadb25049b4b5f0687b623ece73ae2c40183ba10646c5bc32ec6c8a3d0c493f9a59f16de3d90cf17aa4add6caeead011c665c6 SHA512 02f12d03b75d3df84755dbea2fa27a075ae2b12eb34189aaa532b2b085fb1f455aaf6cc84d56eb7f299fd90922f704fcf0a585f983a7e14dbf843e2ab62de387 diff --git a/sys-apps/opentmpfiles/opentmpfiles-0.3.1.ebuild b/sys-apps/opentmpfiles/opentmpfiles-0.3.1.ebuild new file mode 100644 index 00000000000..1bdbb4ca414 --- /dev/null +++ b/sys-apps/opentmpfiles/opentmpfiles-0.3.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit prefix + +if [[ ${PV} = 9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/openrc/${PN}" +else + SRC_URI="https://github.com/openrc/${PN}/archive/${PV}.tar.gz -> + ${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux" +fi + +DESCRIPTION="A standalone utility to process systemd-style tmpfiles.d files" +HOMEPAGE="https://github.com/openrc/opentmpfiles" + +LICENSE="BSD-2" +SLOT="0" +IUSE="selinux" + +RDEPEND="!<sys-apps/openrc-0.23 + selinux? ( sec-policy/selinux-base-policy )" + +src_prepare() { + default + hprefixify tmpfiles +} +src_install() { + emake DESTDIR="${ED}" install + einstalldocs + cd openrc + for f in opentmpfiles-dev opentmpfiles-setup; do + newconfd ${f}.confd ${f} + newinitd ${f}.initd ${f} + done +} + +add_service() { + local initd=$1 + local runlevel=$2 + + elog "Auto-adding '${initd}' service to your ${runlevel} runlevel" + mkdir -p "${EROOT}"etc/runlevels/${runlevel} + ln -snf /etc/init.d/${initd} "${EROOT}"etc/runlevels/${runlevel}/${initd} +} + +pkg_postinst() { + if [[ -z $REPLACING_VERSIONS ]]; then + add_service opentmpfiles-dev sysinit + add_service opentmpfiles-setup boot + fi +}