From: "Michael Orlitzky" <mjo@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-eselect/eselect-php/
Date: Tue, 17 Aug 2021 12:23:33 +0000 (UTC) [thread overview]
Message-ID: <1629202878.0b7f7e7373b92bab31e570b90d1fce3d82862015.mjo@gentoo> (raw)
commit: 0b7f7e7373b92bab31e570b90d1fce3d82862015
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 17 12:14:11 2021 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Tue Aug 17 12:21:18 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b7f7e73
app-eselect/eselect-php: call tmpfiles_process() in pkg_postinst().
With USE=fpm, we install a tmpfiles entry that needs to be processed
immediately, before php-fpm is launched. This commit adds the necessary
call to the -9999 ebuild in pkg_postinst() when USE=fpm is set.
We make the same change in a new revision 0.9.7-r1, but there I've
also created a proper release tarball upstream (on my devspace) so
that we can drop the autotools.eclass inherit.
Closes: https://bugs.gentoo.org/808588
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
app-eselect/eselect-php/Manifest | 1 +
...lect-php-9999.ebuild => eselect-php-0.9.7-r1.ebuild} | 17 ++++++++---------
app-eselect/eselect-php/eselect-php-9999.ebuild | 8 ++++++--
3 files changed, 15 insertions(+), 11 deletions(-)
diff --git a/app-eselect/eselect-php/Manifest b/app-eselect/eselect-php/Manifest
index c68b2b5c945..90386c501c0 100644
--- a/app-eselect/eselect-php/Manifest
+++ b/app-eselect/eselect-php/Manifest
@@ -1,2 +1,3 @@
DIST eselect-php-0.9.6.tar.xz 53236 BLAKE2B 38478d4792f8a527e5f519abd7765211aff8c1d132ceeba5eec70ea3b8d1f254be52564334fed3840950c2461ff4a30784b92fbb8b21cc448083617797eab1d4 SHA512 d3f14288b3493cb48717c1f27430ae8b60881e9f6f48e4b7644a4596d9fc1b9823a6af8b7101a62b28a92e3bff164b1717617a2642a5bb02e8dd46de56d4f410
DIST eselect-php-0.9.7.tar.bz2 8460 BLAKE2B 160c87d1373b10cb2bd2d48210c7382f721433fb45557d0a5336af0ea25a1a49b151bcbbcf253947e6a5018b5740e8f9f9b1a66544bd74539a4e54aeab047a74 SHA512 f6c909906228906bc75be24bdf69330db10b0ea84822a5a016a185ac2855eec34bf6cb0bdaf22f3edc331002e72c8ae56733e1ea13cf815948a7a58439240fa9
+DIST eselect-php-0.9.7.tar.xz 54124 BLAKE2B e704935046687de6aa52d1900c207a48c79bcb0122506d001bf63ebb76b8144f19b2439daa34fd8da942a5eb4ce942e9b5562e5446ba5b7f62c247470c72018b SHA512 9f4ec72e6ca82fc0d9652f8f55d8bb626dd04a2881cb74d6c63db7ac095ed8ae170fe33ed34a4a76afc9a436114ad23c6981c0dad5afdce8f09c9c0026163bed
diff --git a/app-eselect/eselect-php/eselect-php-9999.ebuild b/app-eselect/eselect-php/eselect-php-0.9.7-r1.ebuild
similarity index 73%
copy from app-eselect/eselect-php/eselect-php-9999.ebuild
copy to app-eselect/eselect-php/eselect-php-0.9.7-r1.ebuild
index 34d74171159..f08853b023c 100644
--- a/app-eselect/eselect-php/eselect-php-9999.ebuild
+++ b/app-eselect/eselect-php/eselect-php-0.9.7-r1.ebuild
@@ -1,28 +1,23 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit git-r3 autotools
+inherit tmpfiles
DESCRIPTION="PHP eselect module"
HOMEPAGE="https://gitweb.gentoo.org/proj/eselect-php.git/"
-EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/eselect-php.git"
+SRC_URI="https://dev.gentoo.org/~mjo/distfiles/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS=""
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
IUSE="fpm apache2"
# The "DirectoryIndex" line in 70_mod_php.conf requires mod_dir.
RDEPEND="app-admin/eselect
apache2? ( www-servers/apache[apache2_modules_dir] )"
-src_prepare() {
- default
- eautoreconf
-}
-
src_configure() {
# We expect localstatedir to be "var"ish, not "var/lib"ish, because
# that's what PHP upstream expects. See for example the FPM
@@ -36,3 +31,7 @@ src_configure() {
$(use_enable apache2) \
$(use_enable fpm)
}
+
+pkg_postinst() {
+ use fpm && tmpfiles_process php-fpm.conf
+}
diff --git a/app-eselect/eselect-php/eselect-php-9999.ebuild b/app-eselect/eselect-php/eselect-php-9999.ebuild
index 34d74171159..b983a7d7ba5 100644
--- a/app-eselect/eselect-php/eselect-php-9999.ebuild
+++ b/app-eselect/eselect-php/eselect-php-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit git-r3 autotools
+inherit autotools git-r3 tmpfiles
DESCRIPTION="PHP eselect module"
HOMEPAGE="https://gitweb.gentoo.org/proj/eselect-php.git/"
@@ -36,3 +36,7 @@ src_configure() {
$(use_enable apache2) \
$(use_enable fpm)
}
+
+pkg_postinst() {
+ use fpm && tmpfiles_process php-fpm.conf
+}
next reply other threads:[~2021-08-17 12:23 UTC|newest]
Thread overview: 61+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-17 12:23 Michael Orlitzky [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-12-06 2:02 [gentoo-commits] repo/gentoo:master commit in: app-eselect/eselect-php/ Michael Orlitzky
2023-09-25 4:48 Sam James
2023-07-27 3:04 Michael Orlitzky
2023-07-27 3:04 Michael Orlitzky
2023-07-27 3:04 Michael Orlitzky
2022-10-19 9:15 WANG Xuerui
2022-01-31 19:57 Jakov Smolić
2021-10-25 15:19 Brian Evans
2021-08-29 8:37 Marek Szuba
2021-08-17 12:45 Brian Evans
2021-03-11 2:39 Sam James
2021-02-07 1:43 Sam James
2021-01-06 13:12 Fabian Groffen
2020-12-08 2:32 Brian Evans
2020-10-15 22:21 Sergei Trofimovich
2020-10-14 19:20 Agostino Sarubbo
2020-10-14 19:19 Agostino Sarubbo
2020-10-14 19:17 Agostino Sarubbo
2020-10-14 16:44 Sam James
2020-10-14 16:41 Sam James
2020-03-01 13:59 Michael Orlitzky
2020-01-23 15:34 Michael Orlitzky
2020-01-22 0:18 Michael Orlitzky
2019-05-22 5:49 Aaron Bauman
2019-02-28 21:25 Sergei Trofimovich
2018-05-14 20:10 Brian Evans
2018-04-13 17:57 Michael Orlitzky
2018-03-15 14:35 Mikle Kolyada
2018-01-29 15:51 Tobias Klausmann
2018-01-06 14:25 Sergei Trofimovich
2018-01-04 17:05 Mikle Kolyada
2017-12-31 21:37 Sergei Trofimovich
2017-12-11 13:29 Michael Orlitzky
2017-12-11 13:29 Michael Orlitzky
2017-12-11 13:29 Michael Orlitzky
2017-07-26 16:00 Michael Orlitzky
2017-07-26 16:00 Michael Orlitzky
2017-07-26 16:00 Michael Orlitzky
2017-07-26 14:27 Brian Evans
2017-01-29 14:49 Fabian Groffen
2016-10-11 13:37 Brian Evans
2016-10-02 9:51 Jeroen Roovers
2016-10-01 7:59 Markus Meier
2016-09-24 13:39 Agostino Sarubbo
2016-09-21 17:48 Tobias Klausmann
2016-07-26 21:46 Michael Orlitzky
2016-03-24 6:00 Markus Meier
2016-03-20 12:24 Agostino Sarubbo
2016-03-19 12:28 Agostino Sarubbo
2016-03-15 14:04 Agostino Sarubbo
2016-02-12 7:23 Jeroen Roovers
2016-02-11 12:27 Agostino Sarubbo
2016-02-09 14:52 Tobias Klausmann
2016-01-22 20:58 Michael Orlitzky
2016-01-09 17:26 Michael Orlitzky
2016-01-09 2:31 Michael Orlitzky
2016-01-08 22:29 Michael Orlitzky
2016-01-05 19:19 Michael Orlitzky
2015-12-18 5:13 Brian Evans
2015-12-07 1:29 Michael Orlitzky
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=1629202878.0b7f7e7373b92bab31e570b90d1fce3d82862015.mjo@gentoo \
--to=mjo@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