public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Benda XU" <heroxbd@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/opentmpfiles/
Date: Tue,  6 Feb 2018 03:17:04 +0000 (UTC)	[thread overview]
Message-ID: <1517886898.68549620265e97d963ebf5d969699b7ebd4eaead.heroxbd@gentoo> (raw)

commit:     68549620265e97d963ebf5d969699b7ebd4eaead
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 13 03:36:10 2018 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Tue Feb  6 03:14:58 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68549620

sys-apps/opentmpfiles: support Prefix.

Reported-By: Paul Preney, Horea Christian, Cyril de Vaucleroy
Closes: https://bugs.gentoo.org/644484

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sys-apps/opentmpfiles/opentmpfiles-0.1.3-r1.ebuild | 53 ++++++++++++++++++++++
 1 file changed, 53 insertions(+)

diff --git a/sys-apps/opentmpfiles/opentmpfiles-0.1.3-r1.ebuild b/sys-apps/opentmpfiles/opentmpfiles-0.1.3-r1.ebuild
new file mode 100644
index 00000000000..cd2b8eff44b
--- /dev/null
+++ b/sys-apps/opentmpfiles/opentmpfiles-0.1.3-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2018 Gentoo Foundation
+# 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 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
+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"
+	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
+}


             reply	other threads:[~2018-02-06  3:17 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-06  3:17 Benda XU [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-11-20 21:42 [gentoo-commits] repo/gentoo:master commit in: sys-apps/opentmpfiles/ David Seifert
2022-11-20 21:42 David Seifert
2021-07-09  4:19 William Hubbs
2021-01-06 15:26 Fabian Groffen
2020-10-28 14:50 William Hubbs
2020-10-25 19:57 William Hubbs
2020-10-25 19:44 William Hubbs
2020-10-25  2:08 William Hubbs
2019-05-04  9:39 Mikle Kolyada
2018-12-07  9:01 Fabian Groffen
2018-12-04 15:11 William Hubbs
2018-11-23  7:41 Mikle Kolyada
2018-11-10 23:53 William Hubbs
2018-11-10 23:53 William Hubbs
2018-07-04 14:08 Michael Haubenwallner
2018-04-30 13:52 Benda XU
2018-01-01 10:34 Michał Górny
2017-04-14 23:20 William Hubbs
2017-04-14 19:13 William Hubbs
2017-04-08  8:58 Jeroen Roovers
2017-03-11 17:07 Agostino Sarubbo
2017-03-08 23:47 William Hubbs
2017-02-28 11:22 Tobias Klausmann
2017-02-27 16:30 Jason Zaman
2017-02-25 10:03 Agostino Sarubbo
2017-02-24 21:50 William Hubbs
2017-02-24 21:50 William Hubbs
2017-02-24  8:30 Michael Weber
2017-02-24  5:45 Mike Frysinger
2017-02-22 16:08 Agostino Sarubbo
2017-02-22 15:06 Agostino Sarubbo
2017-02-21 20:01 William Hubbs
2016-12-01 22:18 William Hubbs
2016-12-01 22:18 William Hubbs
2016-11-30  0:48 William Hubbs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1517886898.68549620265e97d963ebf5d969699b7ebd4eaead.heroxbd@gentoo \
    --to=heroxbd@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox