From 85860ba98c8af437b89bd8604464e1b45c9a4796 Mon Sep 17 00:00:00 2001 From: Stuart Shelton Date: Tue, 27 Sep 2016 14:27:12 +0100 Subject: Add app-eselect/eselect-php-0.9.2 --- app-eselect/eselect-php/Manifest | 2 + app-eselect/eselect-php/eselect-php-0.9.2.ebuild | 61 ++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 app-eselect/eselect-php/eselect-php-0.9.2.ebuild (limited to 'app-eselect') diff --git a/app-eselect/eselect-php/Manifest b/app-eselect/eselect-php/Manifest index b0bd7258..30909135 100644 --- a/app-eselect/eselect-php/Manifest +++ b/app-eselect/eselect-php/Manifest @@ -7,7 +7,9 @@ AUX php-fpm.init-r4 1912 SHA256 829550c8c4a0b34e4fc1cb178470edc5ff0b8b80aa29a695 AUX php-fpm_at.service 321 SHA256 2bd9ae1dacba4db39c4dc39000c6450234dd6fce06be6fe32cbd6adb96d56b50 SHA512 298c05211748212b00ea9b1debb1cde04df0ca3bde6ee5e30634c510e4c4bdc5bf8dcb998f63a5a3bb232dabb53ebc105ab5bd10c4de21863b5744363d80cbe6 WHIRLPOOL 415686e54ac9da2b051ba5a1c9a65952d683f03f7e434c4a8f74f5176a5d591f570b5fb1314e4b793568ff3d6eac944d9e12e4b71dc31447f36a8e3d6845630d DIST eselect-php-0.7.1.bz2 2251 SHA256 10aa400e2d08bc71989366993f12ddb546a0ea29f191c40e37beba1d11d7abd7 SHA512 a6b4c1475dda9f368d799db7658c50cef7d6f71482a53a186fb1394e7ea1fff3c0ef123c82b7ca4d1e45aadb0a034d36f213fc9450766878a60d28639761cb3d WHIRLPOOL a4e45492068616ff30fd888b0cc64441a6eb6e6656e0107d00bd2cf15360dce15052d4d62089ab89d43e6bb36e126529aa101c70e8bd94a9fc916a5369463e3b DIST eselect-php-0.9.1.tar.xz 47548 SHA256 0c9768c9dd361dd3910f26e11956fc2121467ab56c52ba80d7620b1d757bc143 SHA512 bea84b4ae386d60cea2703d1b1c2a91bdc19188dfe151619750a1979dcfbdf2a2ada05d87faa7e0f371ab003e05be6fc7dd15f96459ae6e998c62e6d5caeb64a WHIRLPOOL 3d74edfa6962942836aa3823e9901b461433ce57f2fcb624eb1652b36245599a1bc076db5cb902b675747f2255f00ac887a5e35859dbcf62279944595ea02d6c +DIST eselect-php-0.9.2.tar.xz 48356 SHA256 8b2acfccb3d2e3d7cad137fc4306711371ebd544cbcdad8e9d46c5dacf8ed889 SHA512 ebf4c9039aaa3ffad79dee181b5cd77f144a4b1b49d80291b290377b7ca5a9618d8b18922f0624e646c4d80266c58199bb936a7b8dd5d2e2bdc296099f583edf WHIRLPOOL 5ca0673a80b5e88522ff1ca82c4b4f842a63439cd47562c72048a4d66dc88d2dcc7070c28c0b8ff50a75bdb1a9056ee5391b37f4dc34cc9eda3652c6791a276c EBUILD eselect-php-0.7.1-r2.ebuild 1358 SHA256 e6b2bcea9ab338b8356d3df97370451da1836674610d14d141fe214df9947b1f SHA512 17fbf652b6f338783bf3e6f1927fe2fa638e89ede27d96a02896461c21ac7673b6f103cc20cfefd8ded7a3cfc334ee0bd4acd9ac63b384733d756f7e76e126fc WHIRLPOOL 9d4210c971eb0a158418d335b50e0e478f91a2be919630ca9e88c567593f15eb299ef875cead7d3da1dfc4fc21ba1b16d3765e796ba45e5de7f44984a6c8c4dd EBUILD eselect-php-0.7.1-r3.ebuild 1285 SHA256 e01dfaed85ae348cf88d3954753509b0021138d2d5e289edabb4608ca66062ba SHA512 cd1268b9dd6fb070d24cd0beaa06adeaf977cfdce379532c01b4a4a6301e02b08854ee10d5f23b753ca43a390f520027aba736bef82022de9e761a6c6b509501 WHIRLPOOL 4b5220c024fb1e41b82813983e98cf24c86bcea15f86f3959f0ddcecd88a875ca91234618e9365f92ae4f88169b0e8748dce8306ae889bdfd7ef422e51d540a5 EBUILD eselect-php-0.7.1-r4.ebuild 1322 SHA256 2dd6f164e481eba402052bd5fab9fdd73e689df0e42ddd66955f8174cd3de959 SHA512 29a6dd0bca9c379587fe0203e5dbd4fc50b1bb1ab6ae940934ceead545b144291f622a79381df0e73ead17185c7fbf85ca1124b0e2fa6bd39fe284176ad9396a WHIRLPOOL 90c1d7de188905810b7505aa65ab809e0d50e9ff01863ebe062e14724c1af05060b3af0e58a46d29f31df6a240dd64f422e4d862b96c00be14fa77a1c10e554e EBUILD eselect-php-0.9.1.ebuild 2163 SHA256 584968ed9f54b39b002cf81a74e26d8bac0b16e393d4f6a65a8e79e391882eb8 SHA512 21820945f49dec26e972434ba21873fc20d02c22a076b4569913b189ad41b03f1a1dc34f30f1697bac7d8180e6ac47572f31ad4203a897df448382035d0e6ad9 WHIRLPOOL 00bb937fcbe2a5fd50a86b9a34f0a8c5e9e15f437efc46cde94acccac3a9875b671cdf29284596f0980e5ceaae5b85709336501c5b36ae3cea09342b19397ed6 +EBUILD eselect-php-0.9.2.ebuild 2061 SHA256 58820f694a5a506f21fa00dca829c8565ca2a9dab1afa8728292d7da40cc7fed SHA512 f058baeb4eeaf0bd015b35b2bd57f69f5e7fd5705602a050e8cf35a9db9e73ac703d0f5d4a1b3e6a6e79a0670c44c51ad29594d23b0d05cfbd0c7ee46d767d2c WHIRLPOOL 8e3aba24bf2350f8edbdfd52eac33f09079004acdc644472a8a534cfab3ee96827ac39528a8ad9bcee9a2aa08c81dd66a52928b8af2b2f70b23cbdc0ec6fe7c2 diff --git a/app-eselect/eselect-php/eselect-php-0.9.2.ebuild b/app-eselect/eselect-php/eselect-php-0.9.2.ebuild new file mode 100644 index 00000000..e60b7822 --- /dev/null +++ b/app-eselect/eselect-php/eselect-php-0.9.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id: 6896407d79ae6e40eb1db9fdc933760b4dcdc57f $ + +EAPI=6 + +inherit systemd + +DESCRIPTION="PHP eselect module" +HOMEPAGE="https://gitweb.gentoo.org/proj/eselect-php.git/" +SRC_URI="https://dev.gentoo.org/~mjo/distfiles/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="fpm apache2 systemd" + +# The "DirectoryIndex" line in 70_mod_php.conf requires mod_dir. +RDEPEND="app-admin/eselect + apache2? ( www-servers/apache[apache2_modules_dir] )" + +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 + # configuration where they put logs in @localstatedir@/log. + econf --localstatedir="${EPREFIX}"/var $(use_enable apache2) +} + +src_install() { + default + + # This can be removed after a while... + if use apache2 ; then + insinto /etc/apache2/modules.d + newins "${FILESDIR}/70_mod_php5.backcompat.conf" 70_mod_php5.conf + fi + + if use fpm ; then + newinitd "doc/php-fpm.example.init" "php-fpm" + newconfd "doc/php-fpm.example.conf" "php-fpm" + use systemd && systemd_dotmpfilesd "${FILESDIR}/php-fpm.conf" + exeinto /usr/libexec + doexe "${FILESDIR}/php-fpm-launcher" + fi +} + +pkg_postinst() { + if use apache2 ; then + elog + elog "If you are upgrading, be warned that our mod_php configuration" + elog "file has changed! You should now define -DPHP for the apache2" + elog "daemon, and inspect the new 70_mod_php.conf which has been" + elog "installed. Module loading involves eselect as of this version." + elog + elog "You must run eselect at least once to choose your apache2 target" + elog "before the new configuration will work. Afterwards, and after you" + elog "have reviewed your new configuration, you are advised to remove" + elog "the obsolete 70_mod_php5.conf file." + elog + fi +} -- cgit v1.2.3-65-gdbad