diff options
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/php/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lang/php/Manifest | 26 | ||||
-rw-r--r-- | dev-lang/php/php-5.3.16-r1.ebuild | 393 | ||||
-rw-r--r-- | dev-lang/php/php-5.3.16-r2.ebuild | 393 | ||||
-rw-r--r-- | dev-lang/php/php-5.3.17.ebuild | 393 | ||||
-rw-r--r-- | dev-lang/php/php-5.4.6-r2.ebuild | 402 | ||||
-rw-r--r-- | dev-lang/php/php-5.4.7.ebuild | 402 |
7 files changed, 14 insertions, 2002 deletions
diff --git a/dev-lang/php/ChangeLog b/dev-lang/php/ChangeLog index 61b4f177d9fb..4049d67df676 100644 --- a/dev-lang/php/ChangeLog +++ b/dev-lang/php/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lang/php # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/ChangeLog,v 1.642 2012/10/25 08:00:44 olemarkus Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/ChangeLog,v 1.643 2012/11/15 12:22:44 olemarkus Exp $ + + 15 Nov 2012; Ole Markus With <olemarkus@gentoo.org> -php-5.3.16-r1.ebuild, + -php-5.3.16-r2.ebuild, -php-5.3.17.ebuild, -php-5.4.6-r2.ebuild, + -php-5.4.7.ebuild: + Removing older ebuilds 25 Oct 2012; Ole Markus With <olemarkus@gentoo.org> php-5.3.18.ebuild: Version bump. Also merged eblits into ebuild so we do not break stable anymore diff --git a/dev-lang/php/Manifest b/dev-lang/php/Manifest index 92d49856955c..b283948c736c 100644 --- a/dev-lang/php/Manifest +++ b/dev-lang/php/Manifest @@ -20,42 +20,32 @@ AUX php-fpm-r1.conf 12966 SHA256 c4308a92ade93812c6579b74a72cd1f3e1a35f7e6328972 AUX php-fpm-r4.init 1157 SHA256 37e34461babfb5881169f9729fbdde7d4aba533f123e2c480fe25ac3b863d3e7 SHA512 3555a2210104185b93b3805400995ed987076429c47b0950f58396c535d7ea99a5d2e7eedde071e2de06f4e248e0cb9bd27ccbf01b5606152a2f559fe874afbe WHIRLPOOL 6f5f0e45004275c7c984e68c293282db23461a64965b7d7c4a0ded682140177989ed50217aea6253178cc18fa9f9d202a69383400dc1a53271f00e85884849a1 AUX php5-ldvs 22 SHA256 b79d0e52b1b3b4543b31ad45525ae1c2814a27ea8e676772ab10bf6fb12dfe79 SHA512 689a0a12b3527741d2e47870c125e93be73a127e5e798c4b685ccb11653be5a8615faf3178c71a6346fe264d3c4ec76601bc05878fef67b9dbd2e45be59a344d WHIRLPOOL b24f193a1067f699c8efb199ba4e3f1fdd22c13dff98655206b30072ce8c8035fb4ed9288f694856f9978bd9935d3a5589cd968316920e712779c45b44897634 DIST php-5.3.15.tar.bz2 11307865 SHA256 f9b725659e64228a60883bd134afe1f638900b6b8fa93ba98053095b0892f1ef SHA512 40334a3c7957637506d265fc9c534a8e35dabd83683d30094f1b48b69e4b20a40715d0b4ad98fb8467e91f74f878fb148b910e7d0a5df22ee3e601b4228c8180 WHIRLPOOL 7b8fee9c90a9af88d95b5ee7877081b0030cee0ccc2d431ddb97c3bd857624c1124aa2109b709334387e4b073ce3bbf3297bd13c1d805791fb41cb226faac0df -DIST php-5.3.16.tar.bz2 11314384 SHA256 851a27f0407e30d310f4e9d276a03c95e909b5493dc2e33c6a889d0af43d69f7 SHA512 719667d7f6a6b6894c234aac9d2d609583032b422dbd5de0d87c4cf3ff7736885a08c5bfad212db9839622e75b8a2cf2d078731208318475c74469ef837e7cbf WHIRLPOOL 3ffc75799ef45cf4ae3abef3d44a05bc153f677a0b9efae78ae2e1fa49c794b9637c1070561de644a8ea8c7e4334b9058d6b0b683d546a33ab152c9119cc575d -DIST php-5.3.17.tar.bz2 11326372 SHA256 ad85e857d404b9e74f1e003deb574e94e3bb939f686e4e9a871d3a6b3f957509 SHA512 70f5dca6c5e19c38b0586cd2f3854459ca56cac929b6c0cf8fda606b21031576c08214e817411c1c76158b14d09c175b9ef6ff35e17536b9dc80bdfb7d9b8937 WHIRLPOOL b3272d3f3685ecbb4a8c9640249b5501dfda6cd077f9160b0a566072d8c1edddeeca366673b73ec0693efa10b8c3e66ddbe87ed26b408ce65aa4f24d53cc3cda DIST php-5.3.18.tar.bz2 11335289 SHA256 f065deecb78abb8ef101e1098866024af4ca10cb30139608c9a18e40236f1a2f SHA512 39b9532b65b86737ad825c76c42551840707c7eee311af7307bfbb1a41f7533ff6afec07fc9c3d42c8684aa08d814118ae3ff020b25fab1faaf1229e0ab9568d WHIRLPOOL 480916325f4e05ed4f7d4b40a62c6c8966111abdab687a74772749f9291991797106b39d74b9a00984eeb70b28096059032c77439d38a2e1467f2362e46ebd79 DIST php-5.4.5.tar.bz2 11011780 SHA256 7af9a1b6b1653f15d679c8e505b24c4dc2dc2a8d55521a142a7f523d06ae6ad9 SHA512 568144b57ecf8ceadbeb33a2071bae68a58e60624084fec4e6b11f96c94ad2bc136a0db9a8d8a1b1663a7baf8a0a97dacf35578cfde0642ee0cc8b047c177866 WHIRLPOOL ecb8c8c35cf896db94c5f5c9a673fbabd40ba71511fd651ac52f2b6dd25070dc5236854149f51e550f58aa26214693d0875cad4bd6bbbb820062143eac27d71d DIST php-5.4.6.tar.bz2 11026249 SHA256 031181ef9167b31ce1dad9146b7a1a6151da44b3bafc0756fb7c5794b24ac0f5 SHA512 bf6c377999538c815ddc149ed7f8ba5feb08e3ae4e2f1abe559a6ad2a9ce6a7205ec62345640c1f8498d3ddea62bc997f31f8f77caca6a483b123551f1695cf1 WHIRLPOOL e7d0924b0a9c0d85e257be0cf0c314cda19d6da02f02111562a47873ab72b0ea20419e4c25b29c46cfc3df0aa1a30f767d88f5131456c36af60f71b47bcf76fe -DIST php-5.4.7.tar.bz2 11040787 SHA256 6a456a572e9e3572768a5abf3ec94fa7dd957e1e4fb3410524d120ffd4cc3f92 SHA512 0375ebdac5454b82e6cdfc9f3f0f0def5764c30b632496b8697241c6555e3d448ec2098ebf63de637e189a74c4f45edc4d032301690df5a96ea04c1c6e2b4cf0 WHIRLPOOL 47efc1a658f0fcd47fe0261eeed0cf19d9cf914f86ab67ff3ccde89b52b4a1e7635c0b15e457268f4fdfb36b0964495f58bd453823462d37d18a52808a3bdf32 DIST php-5.4.8.tar.bz2 11056057 SHA256 d02810b7949938ee7190116e7483e1a06b3fa8373d3bbc0ea65a41265afce79f SHA512 e04ee08e7d1b6f80183846206d02576ad22ea3f41e956bab970344b195f1d2267f1ff69439988cea7084c18576d7855383e48094bdb7684d43cb0f78e4a5e7b8 WHIRLPOOL 963153d85236bd105cbf11a89dd0db11e590cc292bb499abaa9271dbb47eeb124ef011af9561cb5569840d32130934c70cd8ebb4d619147892044ab8c3be09bd DIST php-5.5.0alpha1.tar.bz2 11572429 SHA256 8dd5b13fd5372b613722d1814ad2fbd733ea3b59866f078610ca9a73b3f10994 SHA512 dcf99740ae3cff53758e78f41f10bc32e64c3ac4bffe784a9ae3ac957f216402d744920ce253124914411b0ae936684a86fd965a0531bc038553b31718840c8d WHIRLPOOL 397d4ca4233041b66e3073640a6daf5b5c07d0daf72f58493b1befd0fdb176f4f8a2d408676708dd4bcc7ae4270fd5abf1a0e71f8c060cef5543bed1effdf51c DIST php-patchset-5.3.15-r0.tar.bz2 7357 SHA256 df239b883d40386cf98e44bd107a36ebcb34554058c0857748c5715ba2dcb1e8 SHA512 c1bd1933a2119037c38fbb46fc0799dd0a9c5acaf11fc4d8d885f644a429350ddcf170bb74e91bfa11139e35b52c73c5db60a2783ab0b5113c675373699c11d1 WHIRLPOOL 87a2993c0c9573241f73e1fa3f0e6bcaee39df6f4ce5501299ea84731ef15eeca05e3d04948c92cf278df6c45edc3f580c28a99667f22d377b1566662c67ff9f -DIST php-patchset-5.3.16-r0.tar.bz2 7357 SHA256 7eb09b8021877264b6811434e23546bd1e1e819dacd7f3a06636eeeb77b5dae6 SHA512 2775dfd9b9e4267cb08fc15e758af6d5835e2b15f0ba282e8fa123c30d863bc7edef3ae9fbfc5aaafae9fa038113b72b9697f530f71768bee7b6a26d38a4a332 WHIRLPOOL 14d47d9e28b6ace0531e6b204212a0e23ef6c55a94c68fdabe02de91f74cf8f15d56a0f01800500eb2a3c0f7cfc297149d0f2d42022c3a4228654d818482542e -DIST php-patchset-5.3.17-r0.tar.bz2 7364 SHA256 79aa08748dad5460199a24e3d3ff628f5ef2b155a397b583593f8d08f5ed74f1 SHA512 45c31b7692b1691853944efb2faee75465f4141e4c14b137cf41cc0363ee8d7a84c3c5ae9b30c1972fbb70f463ddbd163e2a1df8cb7b183be1310a0fd3737a0f WHIRLPOOL c2e4737f92650f6799f8b0bb5eda754e4daa71c1af38d432ba175ae0b232bb3df084a6f43f2756740314e2a03ca9284d7646019454bd2168e6f759019183eea6 DIST php-patchset-5.3.18-r0.tar.bz2 7360 SHA256 8e7d449a4ab50dd8da241f2992fdaee012eafe4da6c66609231cff68d84c5c9f SHA512 625f456649964a959c7aa399c6c4fbeff8dd0b45372153819d42b447069e78cce99b4b6c30d89a64b211d230e17ef28e99d5e3b9055dd59e19b8103337de8d09 WHIRLPOOL cb1ae11173fa6d0a0f26a313d036f6f2109bc704531c5db76a584cc243b5f16ccff3c5e0c943196b5f13a7603e222c2f2c0eb393d754faf66fa5d54e5f627fde DIST php-patchset-5.4-2.tar.bz2 5824 SHA256 4a47f4d31f50a244f85349486cdb3474cf315562e097ed4c116c2b9b5730ecef SHA512 3c2523458a627373da7acb93fb2cd621f50b19fe2ba1d30beb62eeaaa39045262b917cfd0b631046fec9c8027cfa99bd0426a079ab45eb172b21d25d6e085dde WHIRLPOOL fe4f015e2f0dc66cc23ef16fb5bb33117952593ae0770d4bcd37ecc1c431cbcc7874189d265696305c60b4e395e7ce902667e38203db46867304868271affdea DIST php-patchset-5.5-0.tar.bz2 5824 SHA256 4a47f4d31f50a244f85349486cdb3474cf315562e097ed4c116c2b9b5730ecef SHA512 3c2523458a627373da7acb93fb2cd621f50b19fe2ba1d30beb62eeaaa39045262b917cfd0b631046fec9c8027cfa99bd0426a079ab45eb172b21d25d6e085dde WHIRLPOOL fe4f015e2f0dc66cc23ef16fb5bb33117952593ae0770d4bcd37ecc1c431cbcc7874189d265696305c60b4e395e7ce902667e38203db46867304868271affdea DIST suhosin-patch-5.3.9-0.9.10.patch.gz 40967 SHA256 4438caeab0a10c6c94aee9f7eaa703f5799f97d4e0579f43a947bb7314e38317 SHA512 98c56d41fac123626cbd1bcf4ca8afba5a9a960fd58a60e08c91a68cab7589162c4f9e1b0c39abaf173775cb63091a04c4224ee278410ec0afdbe9f3cf05f322 WHIRLPOOL f551823324919cc14cc5f0b4dc2ed75e292fcb2dbe3a34b2c954d4f3cd8ff27937b7a8a0e5665ddc4e737908d2530abf3c61397b040dd6aadcc31163d762b42e EBUILD php-5.3.15.ebuild 10731 SHA256 f3dd41dc3e5cf6d6d0247b9bfe2aa4a9f47ac98061dd4424da7aea5dc006280f SHA512 12849addd9a5c9dc7e21405d6918b375c805fd5457355733c163c796cc927330c31e981ef2ad9f4c1e50bead93abdfe4ff9e36ebd7cc040c44d6ec7a7851de62 WHIRLPOOL b3845ca35cd00a5b6645d76ec7f82ca4e3d4c29eecb88111eef9b8294d15641faa091630fb4c623a79b61e7edcf7c2baace78b0d4d86b6e448d205cc79e803df -EBUILD php-5.3.16-r1.ebuild 10824 SHA256 cf409f4837f042fc1dd30aa18b72678d4d0a7fc0277b5a2419771ae1ab911909 SHA512 e49e72c7adccb674062ad341d20ed33097a668ada3a115829fc9eb4ad1de72c3e09a2f33a9db2f9f6129dfbb623d8eab34f2bf82a6108bb300ab3b55fecb809d WHIRLPOOL f6ea7c18bf3ef3bd00630036d3b18721b09e5cf7873d841de8131e1adbb9452e912fbabf4ec64441f58906d61c61ea3c1be7240eb6e04c7f06693b2ca210f981 -EBUILD php-5.3.16-r2.ebuild 10793 SHA256 3ac8d97f6454c83493a0e330fddf8096803878f9393f3a94a841efb79a2bc3b1 SHA512 3408e19c4973044826b7157a2d7a37c3e59e44a67b9493a008c4794ffba4985326cb5703aac25bc3259aaf71b9d50cc3b6d3e347ebdba67e4d47d5ebbf46633a WHIRLPOOL e5ecbf59f3d7b229953302fb7ccc0a2c89ce1890dc30fba2bdd45545f7b3272569d8fffe56a4dc50152cdad8c317653badaff181f06cd8fbddcac74412bfd128 -EBUILD php-5.3.17.ebuild 10790 SHA256 c87ca29a5f61822e5c9f4be5e3feb45a883ffe129aa12e09494b60c134d77758 SHA512 3aa2a6febe83b48bec8534039819e3fe784a3f5fc30b0d41ef218d97d74884b0dffd2ec4e8202cb5a691d5f9d6a7d4aad58ef4960fe2b1bf1415b303d3b9feff WHIRLPOOL 60491ae85e2c4c02c138cb5110351b56a1325bc57c86a5a62e2fc548d3ab3cfaf92ddce4287232e4a6c8399cfdc6b748bf795dd69737d5884c84fa16ed6ef9a4 EBUILD php-5.3.18.ebuild 24987 SHA256 2302e976385d49a1f86841837683dbbb9fffe44d942dd13be46e31f982de8fb4 SHA512 d09f08231a01437784d71bc3e4b791e6dc6128178c7a94ef307368b20ab22cb24c6e49d5426f35d6d00aefeb65e6279006a657619bb749eba5be8c43664873a9 WHIRLPOOL d4834f6a25dc38545e637b620b45b60306421e27d5ce99ad21c14c507104619231acc65b4f7519bd7a454fefb1793ab083d123b26f84f4652fb9ceeab188497d EBUILD php-5.4.5.ebuild 10449 SHA256 fe1ccc25a397885386c27354bf3c39033b0d06c1d53a442eedd06b9c71ca8e4e SHA512 39db961344fac186d5dec534d11d47392f389100e7a9850133065fe0a77077333182f0c4570f3b0c19a639a9a3d41c84fc5c461326431c5d4df6cf53b56947ff WHIRLPOOL 69ca656b6d12e3a14db0d8e9fa79b36f82448e2f1987728f9d342aa10de81ac69c57035467a9b273910896df3f547fc385c748352b094fce1a04ff0f1c5aa730 -EBUILD php-5.4.6-r2.ebuild 10802 SHA256 264f1af337a1eaca0c4ec19ba6bdd9ebd242b887cc66d90aef440b612d2777d0 SHA512 fcb6f852266ca8416fc1edc85a4e3cbbd09814e0f2376f5c8b314ae60bea428f164b06ddbda75e18daa867c07e057ac1ceb50e025142a4b652eeb54dc02385ce WHIRLPOOL 2abb47d16a4f5ad5ab3e121d036d136f0c58051b5fd5fc033f58d6fe5e9acb2829ea610bd870cbc0df9b55c1f96925b0787216c2f4a23ed548f46b47c5c65733 EBUILD php-5.4.6.ebuild 10445 SHA256 ecb7aa8c58e7b83789e462609a934215a3d0283df008b8371acad3b5b7cba2af SHA512 efebb61d873e60f3828c8a16c246c766c51b71e6db434b97e27bd938ec3c8a85926ef2a48212446290fa1f6f13572ded0dc717f4f9c249810f18d649962ee9af WHIRLPOOL 4490ac8df5e1758c15acef77e48ce4df207e82c9bd350afeef4ecd1c7539faeeafb090c626c802ec475398013cb86ac0117e5a1de813c59846f384e5fba5a5b3 -EBUILD php-5.4.7.ebuild 10808 SHA256 21c335ab28fc0b3a0ce8e463dcab52c23d716a9d118452db67780a47c8898a8f SHA512 209fe66fc7c86ab6c24de61c4e1a5dd2ca0159747f144a5bdbf34f5d32854e416577aa15b2434a21d0f1c103670344a53b4bca05f5a8be85f32bd48d453a91b7 WHIRLPOOL d1361d78deb4e93a79a2894f1b03521e9f86854071f454c557792e919b6eaa58f0dfb50b2e97bdcf9fec1294298a22e9738a08e4873b1944751c02d96f1c7989 EBUILD php-5.4.8.ebuild 24452 SHA256 cb5376eb5d3917d1c9f2f2014d9403544a2ea72c115a812ed67d5928862538d6 SHA512 8619aa6e40b4c2afd9e9148790396798c22c873eed2e5e89e54ad08ff0df0d3b2050f7f89f19510ea1073178d1ec02d6d2b69808dc0a32ba96b692109b6361c9 WHIRLPOOL 50ac2248d00fef9f7da315df467d413c251d3d0ab6dafd7e4a3f36f5ad43a01efc908d4c98b3067e8bcdf30e91d2a9e0e40f736b7b1ce88ad7f605ea4a700738 EBUILD php-5.5.0_alpha1.ebuild 24484 SHA256 6047c832a92d2802f51d3c6ae6eb439e11a13cdad3d0d2dd8ae5f88bee4d3d1d SHA512 f20b523e951db67db6ec86e6f5d8b5ee0642f7fd5a6c430f6cf834e5a699896316e2f8c0431a0d089f56a53187500707e0b14767d9beb27a868f6d4e156a0fec WHIRLPOOL 9d33395cd4388f8fad7722b88a62b65f3c229f8d85577bd0339f682cc06aea505ec39fa6ed2eb7967c10f0a326eaa623b73ebbc3fe0fb96b47baeef410164eb6 -MISC ChangeLog 106003 SHA256 1ff290b38c18523846c2cad203ac039a3cbf8f617118d96f3bda943e0a67fbbd SHA512 1d4873e6795d12397c5e92178ec1acf4811c0fff3f8d023af91326efd89732be68422090410aaec3be34ab935d1c483cb83460edb4da6de257373d5491a08856 WHIRLPOOL 3bdae8be4c7d5a1d150115573fcda16fa2260ca7165899fe89f521a1f0a6e9a2417b4e37f1d821c19cebdcd318e22f5bf1e879d9c7f91e8f4060d5c8dd3b597c +MISC ChangeLog 106194 SHA256 24d2d5adcdc119479370ce183520f007a73dfe1d5ac113837e47f642f3e3b88b SHA512 38a3530fe92ca20aced659d69046f3f31bf39f4d375c9634bfa87c5d41ea76aa35068db33db5b627a96bbc41ecd167cf121bbc78dafec9dd1baea45c81b5a9aa WHIRLPOOL c2cc78d60d5c71a15979db6cfacd8ccacb3d0d9a6053177968c845c7d17dbaf4691a3e0d7139240a44346877389b4cf56cf63d9b872d19c5107e027580399ffa MISC metadata.xml 1628 SHA256 e828635c903aec3fdb71705b49a1f95da4bdb6b7109a032fbf2a92960b6814b5 SHA512 c2559714ff99860cd9e1c0381632fc7920866722ee0f1dbae9ea4b167b8e0e08ab1ac33662d9bdbcf47117bb7e78c21adeddf49839c64b9aa20403688db2ac40 WHIRLPOOL 3dcd68f57cc2c72535940cf87ac124de2227bfdf8696bbd28c39233bede8335da55080d51711be0d7d2b71e5a32c41c40b32bc68e50bb8ca25eedf1599d5cc77 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQEcBAEBCAAGBQJQpN3wAAoJEGurSuXEqSv19EcH/0gzJS8oEeoqXNTRSleA8NaD -Qzp5cF4rwd3aYMk9iFaIq6EpK7oIEGn9uf10tdm4pLVYPJi+nrnprbui73w74TGE -MVF2p1b8LyDRn0aaNbVvZEymsgJgILIgWJNlr66NNnjtJhEyZRL0V5RkosJ4OXiE -uY8xFYiIfo9T8XcxPKSQU8wZRu+PQzrJqDmq2uZXs5FJS8+E/ZYPiFpQ/AWh9j1n -sqfO39jn0ww/n29gIletAK8Es7h5VIQuYM6xWaPQkVOnNwqjZoWg1RZ7/kn2d/HJ -yp5UogJlCVL2Qb/FnVJBBQC/+BivQKquPAjOGsGuLAn2EDNg1duI0mSnqiJP/AU= -=zro8 +iQEcBAEBCAAGBQJQpN6VAAoJEGurSuXEqSv1+fMH/itXbjt1UWPhA/v4bRckIncG +5OGQu0QDHmqFuxcRA1gxNkX9yKEWgpcxBwkVjg5A7Kqnrv94eNQp/fEQhj3OstgR +QF+M+oFnKJRN3svVtmUIsVRENPoJnIogvm2KD7rL5n2A553tJhlrB7z2uvTndon7 +sLXhD7M1J0pt32gKMiIgFGycQ3ErpFKLPQFd/cHPngjRoL4nZukp5tc31Ed5ds8u +kMf6TXB1wcsSPKZddZdywIq9ib/pAQNCAHZh9FoJfifZW1LMS3B0cnl54vMS0iB4 +k+iEPB5kpFKa1ljH24z6BjrjudLLvpriPZamH8dYYzQvC8R3K852xh9NiRRUqbE= +=q8HW -----END PGP SIGNATURE----- diff --git a/dev-lang/php/php-5.3.16-r1.ebuild b/dev-lang/php/php-5.3.16-r1.ebuild deleted file mode 100644 index 3fb8362ca342..000000000000 --- a/dev-lang/php/php-5.3.16-r1.ebuild +++ /dev/null @@ -1,393 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-5.3.16-r1.ebuild,v 1.2 2012/08/19 08:28:43 olemarkus Exp $ - -EAPI=4 - -PHPCONFUTILS_MISSING_DEPS="adabas birdstep db2 dbmaker empress empress-bcs esoob interbase oci8 sapdb solid" - -RESTRICT="mirror" - -inherit eutils autotools flag-o-matic versionator depend.apache apache-module db-use libtool - -SUHOSIN_VERSION="5.3.9-0.9.10" -FPM_VERSION="builtin" -EXPECTED_TEST_FAILURES="" - -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd" - -function php_get_uri () -{ - case "${1}" in - "php-pre") - echo "http://downloads.php.net/johannes/${2}" - ;; - "php") - echo "http://www.php.net/distributions/${2}" - ;; - "suhosin") - echo "http://download.suhosin.org/${2}" - ;; - "olemarkus") - echo "http://dev.gentoo.org/~olemarkus/php/${2}" - ;; - "gentoo") - echo "mirror://gentoo/${2}" - ;; - *) - die "unhandled case in php_get_uri" - ;; - esac -} - -PHP_MV="$(get_major_version)" - -# alias, so we can handle different types of releases (finals, rcs, alphas, -# betas, ...) w/o changing the whole ebuild -PHP_PV="${PV/_rc/RC}" -PHP_RELEASE="php" -PHP_P="${PN}-${PHP_PV}" - -PHP_PATCHSET_LOC="olemarkus" - -PHP_SRC_URI="$(php_get_uri "${PHP_RELEASE}" "${PHP_P}.tar.bz2")" - -PHP_PATCHSET="0" -PHP_PATCHSET_URI=" - $(php_get_uri "${PHP_PATCHSET_LOC}" "php-patchset-${PV}-r${PHP_PATCHSET}.tar.bz2")" - -PHP_FPM_INIT_VER="4" -PHP_FPM_CONF_VER="1" - -if [[ ${SUHOSIN_VERSION} == *-gentoo ]]; then - # in some cases we use our own suhosin patch (very recent version, - # patch conflicts, etc.) - SUHOSIN_TYPE="olemarkus" -else - SUHOSIN_TYPE="suhosin" -fi - -if [[ -n ${SUHOSIN_VERSION} ]]; then - SUHOSIN_PATCH="suhosin-patch-${SUHOSIN_VERSION}.patch"; - SUHOSIN_URI="$(php_get_uri ${SUHOSIN_TYPE} ${SUHOSIN_PATCH}.gz )" -fi - -SRC_URI=" - ${PHP_SRC_URI} - ${PHP_PATCHSET_URI}" - -if [[ -n ${SUHOSIN_VERSION} ]]; then - SRC_URI="${SRC_URI} - suhosin? ( ${SUHOSIN_URI} )" -fi - -DESCRIPTION="The PHP language runtime engine: CLI, CGI, FPM/FastCGI, Apache2 and embed SAPIs." -HOMEPAGE="http://php.net/" -LICENSE="PHP-3" - -SLOT="$(get_version_component_range 1-2)" -S="${WORKDIR}/${PHP_P}" - -# We can build the following SAPIs in the given order -SAPIS="embed cli cgi fpm apache2" - -# Gentoo-specific, common features -IUSE="kolab" - -# SAPIs and SAPI-specific USE flags (cli SAPI is default on): -IUSE="${IUSE} - ${SAPIS/cli/+cli} - threads" - -IUSE="${IUSE} bcmath berkdb bzip2 calendar cdb cjk - crypt +ctype curl curlwrappers debug doc - enchant exif frontbase +fileinfo +filter firebird - flatfile ftp gd gdbm gmp +hash +iconv imap inifile - intl iodbc ipv6 +json kerberos ldap ldap-sasl libedit mhash - mssql mysql mysqlnd mysqli nls - oci8-instant-client odbc pcntl pdo +phar pic +posix postgres qdbm - readline recode selinux +session sharedmem - +simplexml snmp soap sockets spell sqlite sqlite3 ssl - sybase-ct sysvipc tidy +tokenizer truetype unicode wddx - +xml xmlreader xmlwriter xmlrpc xpm xsl zip zlib" - -# Enable suhosin if available -[[ -n $SUHOSIN_VERSION ]] && IUSE="${IUSE} suhosin" - -DEPEND="!dev-lang/php:5 - >=app-admin/eselect-php-0.6.2 - >=dev-libs/libpcre-8.12[unicode] - apache2? ( www-servers/apache[threads=] ) - berkdb? ( =sys-libs/db-4* ) - bzip2? ( app-arch/bzip2 ) - cdb? ( || ( dev-db/cdb dev-db/tinycdb ) ) - cjk? ( !gd? ( - virtual/jpeg - media-libs/libpng - sys-libs/zlib - ) ) - crypt? ( >=dev-libs/libmcrypt-2.4 ) - curl? ( >=net-misc/curl-7.10.5 ) - enchant? ( app-text/enchant ) - exif? ( !gd? ( - virtual/jpeg - media-libs/libpng - sys-libs/zlib - ) ) - firebird? ( dev-db/firebird ) - gd? ( virtual/jpeg media-libs/libpng sys-libs/zlib ) - gdbm? ( >=sys-libs/gdbm-1.8.0 ) - gmp? ( >=dev-libs/gmp-4.1.2 ) - iconv? ( virtual/libiconv ) - imap? ( virtual/imap-c-client[ssl=] ) - intl? ( dev-libs/icu ) - iodbc? ( dev-db/libiodbc ) - kerberos? ( virtual/krb5 ) - kolab? ( >=net-libs/c-client-2004g-r1 ) - ldap? ( >=net-nds/openldap-1.2.11 ) - ldap-sasl? ( dev-libs/cyrus-sasl >=net-nds/openldap-1.2.11 ) - libedit? ( || ( sys-freebsd/freebsd-lib dev-libs/libedit ) ) - mssql? ( dev-db/freetds[mssql] ) - !mysqlnd? ( - mysql? ( virtual/mysql ) - mysqli? ( >=virtual/mysql-4.1 ) - ) - nls? ( sys-devel/gettext ) - oci8-instant-client? ( dev-db/oracle-instantclient-basic ) - odbc? ( >=dev-db/unixODBC-1.8.13 ) - postgres? ( dev-db/postgresql-base ) - qdbm? ( dev-db/qdbm ) - readline? ( sys-libs/readline ) - recode? ( app-text/recode ) - sharedmem? ( dev-libs/mm ) - simplexml? ( >=dev-libs/libxml2-2.6.8 ) - snmp? ( >=net-analyzer/net-snmp-5.2 ) - soap? ( >=dev-libs/libxml2-2.6.8 ) - spell? ( >=app-text/aspell-0.50 ) - sqlite? ( =dev-db/sqlite-2* pdo? ( >=dev-db/sqlite-3.7.7.1 ) ) - sqlite3? ( >=dev-db/sqlite-3.7.7.1 ) - ssl? ( >=dev-libs/openssl-0.9.7 ) - sybase-ct? ( dev-db/freetds ) - tidy? ( app-text/htmltidy ) - truetype? ( - =media-libs/freetype-2* - >=media-libs/t1lib-5.0.0 - !gd? ( - virtual/jpeg media-libs/libpng sys-libs/zlib ) - ) - unicode? ( dev-libs/oniguruma ) - wddx? ( >=dev-libs/libxml2-2.6.8 ) - xml? ( >=dev-libs/libxml2-2.6.8 ) - xmlrpc? ( >=dev-libs/libxml2-2.6.8 virtual/libiconv ) - xmlreader? ( >=dev-libs/libxml2-2.6.8 ) - xmlwriter? ( >=dev-libs/libxml2-2.6.8 ) - xpm? ( - x11-libs/libXpm - virtual/jpeg - media-libs/libpng sys-libs/zlib - ) - xsl? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 ) - zip? ( sys-libs/zlib ) - zlib? ( sys-libs/zlib ) - virtual/mta -" - -php="=${CATEGORY}/${PF}" - -REQUIRED_USE=" - truetype? ( gd ) - cjk? ( gd ) - exif? ( gd ) - - xpm? ( gd ) - gd? ( zlib ) - simplexml? ( xml ) - soap? ( xml ) - wddx? ( xml ) - xmlrpc? ( || ( xml iconv ) ) - xmlreader? ( xml ) - xsl? ( xml ) - ldap-sasl? ( ldap ) - kolab? ( imap ) - mhash? ( hash ) - phar? ( hash ) - mysqlnd? ( || ( - mysql - mysqli - pdo - ) ) - - qdbm? ( !gdbm ) - readline? ( !libedit ) - recode? ( !imap !mysql !mysqli ) - sharedmem? ( !threads ) - - !cli? ( !cgi? ( !fpm? ( !apache2? ( !embed? ( cli ) ) ) ) )" - -DEPEND="${DEPEND} - enchant? ( !dev-php5/pecl-enchant ) - fileinfo? ( !<dev-php5/pecl-fileinfo-1.0.4-r2 ) - filter? ( !dev-php5/pecl-filter ) - json? ( !dev-php5/pecl-json ) - phar? ( !dev-php5/pecl-phar ) - zip? ( !dev-php5/pecl-zip )" - -RDEPEND="${DEPEND}" - -[[ -n $SUHOSIN_VERSION ]] && RDEPEND="${RDEPEND} suhosin? ( =${CATEGORY}/${PN}-${SLOT}*[unicode] )" - -RDEPEND="${RDEPEND} fpm? ( selinux? ( sec-policy/selinux-phpfpm ) )" - -DEPEND="${DEPEND} - sys-devel/flex - >=sys-devel/m4-1.4.3 - >=sys-devel/libtool-1.5.18" - -# They are in PDEPEND because we need PHP installed first! -PDEPEND="doc? ( app-doc/php-docs )" - -# No longer depend on the extension. The suhosin USE flag only installs the -# patch -#[[ -n $SUHOSIN_VERSION ]] && PDEPEND="${PDEPEND} suhosin? ( dev-php${PHP_MV}/suhosin )" - -# Allow users to install production version if they want to - -case "${PHP_INI_VERSION}" in - production|development) - ;; - *) - PHP_INI_VERSION="development" - ;; -esac - -PHP_INI_UPSTREAM="php.ini-${PHP_INI_VERSION}" -PHP_INI_FILE="php.ini" - -want_apache - -# eblit-core -# Usage: <function> [version] [eval] -# Main eblit engine -eblit-core() { - [[ -z $FILESDIR ]] && FILESDIR="$(dirname $EBUILD)/files" - local e v func=$1 ver=$2 eval_=$3 - for v in ${ver:+-}${ver} -${PVR} -${PV} "" ; do - e="${FILESDIR}/eblits/${func}${v}.eblit" - if [[ -e ${e} ]] ; then - . "${e}" - [[ ${eval_} == 1 ]] && eval "${func}() { eblit-run ${func} ${ver} ; }" - return 0 - fi - done - return 1 -} - -# eblit-include -# Usage: [--skip] <function> [version] -# Includes an "eblit" -- a chunk of common code among ebuilds in a given -# package so that its functions can be sourced and utilized within the -# ebuild. -eblit-include() { - local skipable=false r=0 - [[ $1 == "--skip" ]] && skipable=true && shift - [[ $1 == pkg_* ]] && skipable=true - - [[ -z $1 ]] && die "Usage: eblit-include <function> [version]" - eblit-core $1 $2 - r="$?" - ${skipable} && return 0 - [[ "$r" -gt "0" ]] && die "Could not locate requested eblit '$1' in ${FILESDIR}/eblits/" -} - -# eblit-run-maybe -# Usage: <function> -# Runs a function if it is defined in an eblit -eblit-run-maybe() { - [[ $(type -t "$@") == "function" ]] && "$@" -} - -# eblit-run -# Usage: <function> [version] -# Runs a function defined in an eblit -eblit-run() { - eblit-include --skip common "v2" - eblit-include "$@" - eblit-run-maybe eblit-$1-pre - eblit-${PN}-$1 - eblit-run-maybe eblit-$1-post -} - -# eblit-pkg -# Usage: <phase> [version] -# Includes the given functions AND evals them so they're included in the binpkgs -eblit-pkg() { - [[ -z $1 ]] && die "Usage: eblit-pkg <phase> [version]" - eblit-core $1 $2 1 -} - -eblit-pkg pkg_setup v3 - -src_prepare() { eblit-run src_prepare v3 ; } -src_configure() { eblit-run src_configure v53 ; } -src_compile() { eblit-run src_compile v1 ; } -src_install() { eblit-run src_install v3 ; } -src_test() { eblit-run src_test v1 ; } - -#Do not use eblit for this because it will not get sourced when installing from -#binary package (bug #380845) -pkg_postinst() { - # Output some general info to the user - if use apache2 ; then - APACHE2_MOD_DEFINE="PHP5" - APACHE2_MOD_CONF="70_mod_php5" - apache-module_pkg_postinst - fi - - # Create the symlinks for php - for m in ${SAPIS}; do - [[ ${m} == 'embed' ]] && continue; - if use $m ; then - local ci=$(eselect php show $m) - if [[ -z $ci ]]; then - eselect php set $m php${SLOT} - einfo "Switched ${m} to use php:${SLOT}" - einfo - elif [[ $ci != "php${SLOT}" ]] ; then - elog "To switch $m to use php:${SLOT}, run" - elog " eselect php set $m php${SLOT}" - elog - fi - fi - done - - elog "Make sure that PHP_TARGETS in /etc/make.conf includes php${SLOT/./-} in order" - elog "to compile extensions for the ${SLOT} ABI" - elog - if ! use readline && use cli ; then - ewarn "Note that in order to use php interactivly, you need to enable" - ewarn "the readline USE flag or php -a will hang" - fi - elog - elog "This ebuild installed a version of php.ini based on php.ini-${PHP_INI_VERSION} version." - elog "You can chose which version of php.ini to install by default by setting PHP_INI_VERSION to either" - elog "'production' or 'development' in /etc/make.conf" - ewarn "Both versions of php.ini can be found in /usr/share/doc/${PF}" - - # check for not yet migrated old style config dirs - ls "${ROOT}"/etc/php/*-php5 &>/dev/null - if [[ $? -eq 0 ]]; then - ewarn "Make sure to migrate your config files, starting with php-5.3.4 and php-5.2.16 config" - ewarn "files are now kept at ${ROOT}etc/php/{apache2,cli,cgi,fpm}-php5.x" - fi - elog - elog "For more details on how minor version slotting works (PHP_TARGETS) please read the upgrade guide:" - elog "http://www.gentoo.org/proj/en/php/php-upgrading.xml" - elog - - if ( [[ -z SUHOSIN_VERSION ]] && use suhosin && version_is_at_least 5.3.6_rc1 ) ; then - ewarn "The suhosin USE flag now only installs the suhosin patch!" - ewarn "If you want the suhosin extension, make sure you install" - ewarn " dev-php5/suhosin" - ewarn - fi -} diff --git a/dev-lang/php/php-5.3.16-r2.ebuild b/dev-lang/php/php-5.3.16-r2.ebuild deleted file mode 100644 index 38a3a7484e1c..000000000000 --- a/dev-lang/php/php-5.3.16-r2.ebuild +++ /dev/null @@ -1,393 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-5.3.16-r2.ebuild,v 1.1 2012/09/09 14:13:00 olemarkus Exp $ - -EAPI=4 - -PHPCONFUTILS_MISSING_DEPS="adabas birdstep db2 dbmaker empress empress-bcs esoob interbase oci8 sapdb solid" - -RESTRICT="mirror" - -inherit eutils autotools flag-o-matic versionator depend.apache apache-module db-use libtool - -SUHOSIN_VERSION="5.3.9-0.9.10" -FPM_VERSION="builtin" -EXPECTED_TEST_FAILURES="" - -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd" - -function php_get_uri () -{ - case "${1}" in - "php-pre") - echo "http://downloads.php.net/johannes/${2}" - ;; - "php") - echo "http://www.php.net/distributions/${2}" - ;; - "suhosin") - echo "http://download.suhosin.org/${2}" - ;; - "olemarkus") - echo "http://dev.gentoo.org/~olemarkus/php/${2}" - ;; - "gentoo") - echo "mirror://gentoo/${2}" - ;; - *) - die "unhandled case in php_get_uri" - ;; - esac -} - -PHP_MV="$(get_major_version)" - -# alias, so we can handle different types of releases (finals, rcs, alphas, -# betas, ...) w/o changing the whole ebuild -PHP_PV="${PV/_rc/RC}" -PHP_RELEASE="php" -PHP_P="${PN}-${PHP_PV}" - -PHP_PATCHSET_LOC="olemarkus" - -PHP_SRC_URI="$(php_get_uri "${PHP_RELEASE}" "${PHP_P}.tar.bz2")" - -PHP_PATCHSET="0" -PHP_PATCHSET_URI=" - $(php_get_uri "${PHP_PATCHSET_LOC}" "php-patchset-${PV}-r${PHP_PATCHSET}.tar.bz2")" - -PHP_FPM_INIT_VER="4" -PHP_FPM_CONF_VER="1" - -if [[ ${SUHOSIN_VERSION} == *-gentoo ]]; then - # in some cases we use our own suhosin patch (very recent version, - # patch conflicts, etc.) - SUHOSIN_TYPE="olemarkus" -else - SUHOSIN_TYPE="suhosin" -fi - -if [[ -n ${SUHOSIN_VERSION} ]]; then - SUHOSIN_PATCH="suhosin-patch-${SUHOSIN_VERSION}.patch"; - SUHOSIN_URI="$(php_get_uri ${SUHOSIN_TYPE} ${SUHOSIN_PATCH}.gz )" -fi - -SRC_URI=" - ${PHP_SRC_URI} - ${PHP_PATCHSET_URI}" - -if [[ -n ${SUHOSIN_VERSION} ]]; then - SRC_URI="${SRC_URI} - suhosin? ( ${SUHOSIN_URI} )" -fi - -DESCRIPTION="The PHP language runtime engine: CLI, CGI, FPM/FastCGI, Apache2 and embed SAPIs." -HOMEPAGE="http://php.net/" -LICENSE="PHP-3" - -SLOT="$(get_version_component_range 1-2)" -S="${WORKDIR}/${PHP_P}" - -# We can build the following SAPIs in the given order -SAPIS="embed cli cgi fpm apache2" - -# Gentoo-specific, common features -IUSE="kolab" - -# SAPIs and SAPI-specific USE flags (cli SAPI is default on): -IUSE="${IUSE} - ${SAPIS/cli/+cli} - threads" - -IUSE="${IUSE} bcmath berkdb bzip2 calendar cdb cjk - crypt +ctype curl curlwrappers debug doc - enchant exif frontbase +fileinfo +filter firebird - flatfile ftp gd gdbm gmp +hash +iconv imap inifile - intl iodbc ipv6 +json kerberos ldap ldap-sasl libedit mhash - mssql mysql mysqlnd mysqli nls - oci8-instant-client odbc pcntl pdo +phar pic +posix postgres qdbm - readline recode selinux +session sharedmem - +simplexml snmp soap sockets spell sqlite2 sqlite3 ssl - sybase-ct sysvipc tidy +tokenizer truetype unicode wddx - +xml xmlreader xmlwriter xmlrpc xpm xsl zip zlib" - -# Enable suhosin if available -[[ -n $SUHOSIN_VERSION ]] && IUSE="${IUSE} suhosin" - -DEPEND="!dev-lang/php:5 - >=app-admin/eselect-php-0.6.2 - >=dev-libs/libpcre-8.12[unicode] - apache2? ( www-servers/apache[threads=] ) - berkdb? ( =sys-libs/db-4* ) - bzip2? ( app-arch/bzip2 ) - cdb? ( || ( dev-db/cdb dev-db/tinycdb ) ) - cjk? ( !gd? ( - virtual/jpeg - media-libs/libpng - sys-libs/zlib - ) ) - crypt? ( >=dev-libs/libmcrypt-2.4 ) - curl? ( >=net-misc/curl-7.10.5 ) - enchant? ( app-text/enchant ) - exif? ( !gd? ( - virtual/jpeg - media-libs/libpng - sys-libs/zlib - ) ) - firebird? ( dev-db/firebird ) - gd? ( virtual/jpeg media-libs/libpng sys-libs/zlib ) - gdbm? ( >=sys-libs/gdbm-1.8.0 ) - gmp? ( >=dev-libs/gmp-4.1.2 ) - iconv? ( virtual/libiconv ) - imap? ( virtual/imap-c-client[ssl=] ) - intl? ( dev-libs/icu ) - iodbc? ( dev-db/libiodbc ) - kerberos? ( virtual/krb5 ) - kolab? ( >=net-libs/c-client-2004g-r1 ) - ldap? ( >=net-nds/openldap-1.2.11 ) - ldap-sasl? ( dev-libs/cyrus-sasl >=net-nds/openldap-1.2.11 ) - libedit? ( || ( sys-freebsd/freebsd-lib dev-libs/libedit ) ) - mssql? ( dev-db/freetds[mssql] ) - !mysqlnd? ( - mysql? ( virtual/mysql ) - mysqli? ( >=virtual/mysql-4.1 ) - ) - nls? ( sys-devel/gettext ) - oci8-instant-client? ( dev-db/oracle-instantclient-basic ) - odbc? ( >=dev-db/unixODBC-1.8.13 ) - postgres? ( dev-db/postgresql-base ) - qdbm? ( dev-db/qdbm ) - readline? ( sys-libs/readline ) - recode? ( app-text/recode ) - sharedmem? ( dev-libs/mm ) - simplexml? ( >=dev-libs/libxml2-2.6.8 ) - snmp? ( >=net-analyzer/net-snmp-5.2 ) - soap? ( >=dev-libs/libxml2-2.6.8 ) - spell? ( >=app-text/aspell-0.50 ) - sqlite2? ( =dev-db/sqlite-2* ) - sqlite3? ( >=dev-db/sqlite-3.7.7.1 ) - ssl? ( >=dev-libs/openssl-0.9.7 ) - sybase-ct? ( dev-db/freetds ) - tidy? ( app-text/htmltidy ) - truetype? ( - =media-libs/freetype-2* - >=media-libs/t1lib-5.0.0 - !gd? ( - virtual/jpeg media-libs/libpng sys-libs/zlib ) - ) - unicode? ( dev-libs/oniguruma ) - wddx? ( >=dev-libs/libxml2-2.6.8 ) - xml? ( >=dev-libs/libxml2-2.6.8 ) - xmlrpc? ( >=dev-libs/libxml2-2.6.8 virtual/libiconv ) - xmlreader? ( >=dev-libs/libxml2-2.6.8 ) - xmlwriter? ( >=dev-libs/libxml2-2.6.8 ) - xpm? ( - x11-libs/libXpm - virtual/jpeg - media-libs/libpng sys-libs/zlib - ) - xsl? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 ) - zip? ( sys-libs/zlib ) - zlib? ( sys-libs/zlib ) - virtual/mta -" - -php="=${CATEGORY}/${PF}" - -REQUIRED_USE=" - truetype? ( gd ) - cjk? ( gd ) - exif? ( gd ) - - xpm? ( gd ) - gd? ( zlib ) - simplexml? ( xml ) - soap? ( xml ) - wddx? ( xml ) - xmlrpc? ( || ( xml iconv ) ) - xmlreader? ( xml ) - xsl? ( xml ) - ldap-sasl? ( ldap ) - kolab? ( imap ) - mhash? ( hash ) - phar? ( hash ) - mysqlnd? ( || ( - mysql - mysqli - pdo - ) ) - - qdbm? ( !gdbm ) - readline? ( !libedit ) - recode? ( !imap !mysql !mysqli ) - sharedmem? ( !threads ) - - !cli? ( !cgi? ( !fpm? ( !apache2? ( !embed? ( cli ) ) ) ) )" - -DEPEND="${DEPEND} - enchant? ( !dev-php5/pecl-enchant ) - fileinfo? ( !<dev-php5/pecl-fileinfo-1.0.4-r2 ) - filter? ( !dev-php5/pecl-filter ) - json? ( !dev-php5/pecl-json ) - phar? ( !dev-php5/pecl-phar ) - zip? ( !dev-php5/pecl-zip )" - -RDEPEND="${DEPEND}" - -[[ -n $SUHOSIN_VERSION ]] && RDEPEND="${RDEPEND} suhosin? ( =${CATEGORY}/${PN}-${SLOT}*[unicode] )" - -RDEPEND="${RDEPEND} fpm? ( selinux? ( sec-policy/selinux-phpfpm ) )" - -DEPEND="${DEPEND} - sys-devel/flex - >=sys-devel/m4-1.4.3 - >=sys-devel/libtool-1.5.18" - -# They are in PDEPEND because we need PHP installed first! -PDEPEND="doc? ( app-doc/php-docs )" - -# No longer depend on the extension. The suhosin USE flag only installs the -# patch -#[[ -n $SUHOSIN_VERSION ]] && PDEPEND="${PDEPEND} suhosin? ( dev-php${PHP_MV}/suhosin )" - -# Allow users to install production version if they want to - -case "${PHP_INI_VERSION}" in - production|development) - ;; - *) - PHP_INI_VERSION="development" - ;; -esac - -PHP_INI_UPSTREAM="php.ini-${PHP_INI_VERSION}" -PHP_INI_FILE="php.ini" - -want_apache - -# eblit-core -# Usage: <function> [version] [eval] -# Main eblit engine -eblit-core() { - [[ -z $FILESDIR ]] && FILESDIR="$(dirname $EBUILD)/files" - local e v func=$1 ver=$2 eval_=$3 - for v in ${ver:+-}${ver} -${PVR} -${PV} "" ; do - e="${FILESDIR}/eblits/${func}${v}.eblit" - if [[ -e ${e} ]] ; then - . "${e}" - [[ ${eval_} == 1 ]] && eval "${func}() { eblit-run ${func} ${ver} ; }" - return 0 - fi - done - return 1 -} - -# eblit-include -# Usage: [--skip] <function> [version] -# Includes an "eblit" -- a chunk of common code among ebuilds in a given -# package so that its functions can be sourced and utilized within the -# ebuild. -eblit-include() { - local skipable=false r=0 - [[ $1 == "--skip" ]] && skipable=true && shift - [[ $1 == pkg_* ]] && skipable=true - - [[ -z $1 ]] && die "Usage: eblit-include <function> [version]" - eblit-core $1 $2 - r="$?" - ${skipable} && return 0 - [[ "$r" -gt "0" ]] && die "Could not locate requested eblit '$1' in ${FILESDIR}/eblits/" -} - -# eblit-run-maybe -# Usage: <function> -# Runs a function if it is defined in an eblit -eblit-run-maybe() { - [[ $(type -t "$@") == "function" ]] && "$@" -} - -# eblit-run -# Usage: <function> [version] -# Runs a function defined in an eblit -eblit-run() { - eblit-include --skip common "v2" - eblit-include "$@" - eblit-run-maybe eblit-$1-pre - eblit-${PN}-$1 - eblit-run-maybe eblit-$1-post -} - -# eblit-pkg -# Usage: <phase> [version] -# Includes the given functions AND evals them so they're included in the binpkgs -eblit-pkg() { - [[ -z $1 ]] && die "Usage: eblit-pkg <phase> [version]" - eblit-core $1 $2 1 -} - -eblit-pkg pkg_setup v3 - -src_prepare() { eblit-run src_prepare v3 ; } -src_configure() { eblit-run src_configure v53 ; } -src_compile() { eblit-run src_compile v1 ; } -src_install() { eblit-run src_install v3 ; } -src_test() { eblit-run src_test v1 ; } - -#Do not use eblit for this because it will not get sourced when installing from -#binary package (bug #380845) -pkg_postinst() { - # Output some general info to the user - if use apache2 ; then - APACHE2_MOD_DEFINE="PHP5" - APACHE2_MOD_CONF="70_mod_php5" - apache-module_pkg_postinst - fi - - # Create the symlinks for php - for m in ${SAPIS}; do - [[ ${m} == 'embed' ]] && continue; - if use $m ; then - local ci=$(eselect php show $m) - if [[ -z $ci ]]; then - eselect php set $m php${SLOT} - einfo "Switched ${m} to use php:${SLOT}" - einfo - elif [[ $ci != "php${SLOT}" ]] ; then - elog "To switch $m to use php:${SLOT}, run" - elog " eselect php set $m php${SLOT}" - elog - fi - fi - done - - elog "Make sure that PHP_TARGETS in /etc/make.conf includes php${SLOT/./-} in order" - elog "to compile extensions for the ${SLOT} ABI" - elog - if ! use readline && use cli ; then - ewarn "Note that in order to use php interactivly, you need to enable" - ewarn "the readline USE flag or php -a will hang" - fi - elog - elog "This ebuild installed a version of php.ini based on php.ini-${PHP_INI_VERSION} version." - elog "You can chose which version of php.ini to install by default by setting PHP_INI_VERSION to either" - elog "'production' or 'development' in /etc/make.conf" - ewarn "Both versions of php.ini can be found in /usr/share/doc/${PF}" - - # check for not yet migrated old style config dirs - ls "${ROOT}"/etc/php/*-php5 &>/dev/null - if [[ $? -eq 0 ]]; then - ewarn "Make sure to migrate your config files, starting with php-5.3.4 and php-5.2.16 config" - ewarn "files are now kept at ${ROOT}etc/php/{apache2,cli,cgi,fpm}-php5.x" - fi - elog - elog "For more details on how minor version slotting works (PHP_TARGETS) please read the upgrade guide:" - elog "http://www.gentoo.org/proj/en/php/php-upgrading.xml" - elog - - if ( [[ -z SUHOSIN_VERSION ]] && use suhosin && version_is_at_least 5.3.6_rc1 ) ; then - ewarn "The suhosin USE flag now only installs the suhosin patch!" - ewarn "If you want the suhosin extension, make sure you install" - ewarn " dev-php5/suhosin" - ewarn - fi -} diff --git a/dev-lang/php/php-5.3.17.ebuild b/dev-lang/php/php-5.3.17.ebuild deleted file mode 100644 index b28d45ede498..000000000000 --- a/dev-lang/php/php-5.3.17.ebuild +++ /dev/null @@ -1,393 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-5.3.17.ebuild,v 1.1 2012/09/17 06:36:02 olemarkus Exp $ - -EAPI=4 - -PHPCONFUTILS_MISSING_DEPS="adabas birdstep db2 dbmaker empress empress-bcs esoob interbase oci8 sapdb solid" - -RESTRICT="mirror" - -inherit eutils autotools flag-o-matic versionator depend.apache apache-module db-use libtool - -SUHOSIN_VERSION="5.3.9-0.9.10" -FPM_VERSION="builtin" -EXPECTED_TEST_FAILURES="" - -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd" - -function php_get_uri () -{ - case "${1}" in - "php-pre") - echo "http://downloads.php.net/johannes/${2}" - ;; - "php") - echo "http://www.php.net/distributions/${2}" - ;; - "suhosin") - echo "http://download.suhosin.org/${2}" - ;; - "olemarkus") - echo "http://dev.gentoo.org/~olemarkus/php/${2}" - ;; - "gentoo") - echo "mirror://gentoo/${2}" - ;; - *) - die "unhandled case in php_get_uri" - ;; - esac -} - -PHP_MV="$(get_major_version)" - -# alias, so we can handle different types of releases (finals, rcs, alphas, -# betas, ...) w/o changing the whole ebuild -PHP_PV="${PV/_rc/RC}" -PHP_RELEASE="php" -PHP_P="${PN}-${PHP_PV}" - -PHP_PATCHSET_LOC="olemarkus" - -PHP_SRC_URI="$(php_get_uri "${PHP_RELEASE}" "${PHP_P}.tar.bz2")" - -PHP_PATCHSET="0" -PHP_PATCHSET_URI=" - $(php_get_uri "${PHP_PATCHSET_LOC}" "php-patchset-${PV}-r${PHP_PATCHSET}.tar.bz2")" - -PHP_FPM_INIT_VER="4" -PHP_FPM_CONF_VER="1" - -if [[ ${SUHOSIN_VERSION} == *-gentoo ]]; then - # in some cases we use our own suhosin patch (very recent version, - # patch conflicts, etc.) - SUHOSIN_TYPE="olemarkus" -else - SUHOSIN_TYPE="suhosin" -fi - -if [[ -n ${SUHOSIN_VERSION} ]]; then - SUHOSIN_PATCH="suhosin-patch-${SUHOSIN_VERSION}.patch"; - SUHOSIN_URI="$(php_get_uri ${SUHOSIN_TYPE} ${SUHOSIN_PATCH}.gz )" -fi - -SRC_URI=" - ${PHP_SRC_URI} - ${PHP_PATCHSET_URI}" - -if [[ -n ${SUHOSIN_VERSION} ]]; then - SRC_URI="${SRC_URI} - suhosin? ( ${SUHOSIN_URI} )" -fi - -DESCRIPTION="The PHP language runtime engine: CLI, CGI, FPM/FastCGI, Apache2 and embed SAPIs." -HOMEPAGE="http://php.net/" -LICENSE="PHP-3" - -SLOT="$(get_version_component_range 1-2)" -S="${WORKDIR}/${PHP_P}" - -# We can build the following SAPIs in the given order -SAPIS="embed cli cgi fpm apache2" - -# Gentoo-specific, common features -IUSE="kolab" - -# SAPIs and SAPI-specific USE flags (cli SAPI is default on): -IUSE="${IUSE} - ${SAPIS/cli/+cli} - threads" - -IUSE="${IUSE} bcmath berkdb bzip2 calendar cdb cjk - crypt +ctype curl curlwrappers debug doc - enchant exif frontbase +fileinfo +filter firebird - flatfile ftp gd gdbm gmp +hash +iconv imap inifile - intl iodbc ipv6 +json kerberos ldap ldap-sasl libedit mhash - mssql mysql mysqlnd mysqli nls - oci8-instant-client odbc pcntl pdo +phar pic +posix postgres qdbm - readline recode selinux +session sharedmem - +simplexml snmp soap sockets spell sqlite2 sqlite3 ssl - sybase-ct sysvipc tidy +tokenizer truetype unicode wddx - +xml xmlreader xmlwriter xmlrpc xpm xsl zip zlib" - -# Enable suhosin if available -[[ -n $SUHOSIN_VERSION ]] && IUSE="${IUSE} suhosin" - -DEPEND="!dev-lang/php:5 - >=app-admin/eselect-php-0.6.2 - >=dev-libs/libpcre-8.12[unicode] - apache2? ( www-servers/apache[threads=] ) - berkdb? ( =sys-libs/db-4* ) - bzip2? ( app-arch/bzip2 ) - cdb? ( || ( dev-db/cdb dev-db/tinycdb ) ) - cjk? ( !gd? ( - virtual/jpeg - media-libs/libpng - sys-libs/zlib - ) ) - crypt? ( >=dev-libs/libmcrypt-2.4 ) - curl? ( >=net-misc/curl-7.10.5 ) - enchant? ( app-text/enchant ) - exif? ( !gd? ( - virtual/jpeg - media-libs/libpng - sys-libs/zlib - ) ) - firebird? ( dev-db/firebird ) - gd? ( virtual/jpeg media-libs/libpng sys-libs/zlib ) - gdbm? ( >=sys-libs/gdbm-1.8.0 ) - gmp? ( >=dev-libs/gmp-4.1.2 ) - iconv? ( virtual/libiconv ) - imap? ( virtual/imap-c-client[ssl=] ) - intl? ( dev-libs/icu ) - iodbc? ( dev-db/libiodbc ) - kerberos? ( virtual/krb5 ) - kolab? ( >=net-libs/c-client-2004g-r1 ) - ldap? ( >=net-nds/openldap-1.2.11 ) - ldap-sasl? ( dev-libs/cyrus-sasl >=net-nds/openldap-1.2.11 ) - libedit? ( || ( sys-freebsd/freebsd-lib dev-libs/libedit ) ) - mssql? ( dev-db/freetds[mssql] ) - !mysqlnd? ( - mysql? ( virtual/mysql ) - mysqli? ( >=virtual/mysql-4.1 ) - ) - nls? ( sys-devel/gettext ) - oci8-instant-client? ( dev-db/oracle-instantclient-basic ) - odbc? ( >=dev-db/unixODBC-1.8.13 ) - postgres? ( dev-db/postgresql-base ) - qdbm? ( dev-db/qdbm ) - readline? ( sys-libs/readline ) - recode? ( app-text/recode ) - sharedmem? ( dev-libs/mm ) - simplexml? ( >=dev-libs/libxml2-2.6.8 ) - snmp? ( >=net-analyzer/net-snmp-5.2 ) - soap? ( >=dev-libs/libxml2-2.6.8 ) - spell? ( >=app-text/aspell-0.50 ) - sqlite2? ( =dev-db/sqlite-2* ) - sqlite3? ( >=dev-db/sqlite-3.7.7.1 ) - ssl? ( >=dev-libs/openssl-0.9.7 ) - sybase-ct? ( dev-db/freetds ) - tidy? ( app-text/htmltidy ) - truetype? ( - =media-libs/freetype-2* - >=media-libs/t1lib-5.0.0 - !gd? ( - virtual/jpeg media-libs/libpng sys-libs/zlib ) - ) - unicode? ( dev-libs/oniguruma ) - wddx? ( >=dev-libs/libxml2-2.6.8 ) - xml? ( >=dev-libs/libxml2-2.6.8 ) - xmlrpc? ( >=dev-libs/libxml2-2.6.8 virtual/libiconv ) - xmlreader? ( >=dev-libs/libxml2-2.6.8 ) - xmlwriter? ( >=dev-libs/libxml2-2.6.8 ) - xpm? ( - x11-libs/libXpm - virtual/jpeg - media-libs/libpng sys-libs/zlib - ) - xsl? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 ) - zip? ( sys-libs/zlib ) - zlib? ( sys-libs/zlib ) - virtual/mta -" - -php="=${CATEGORY}/${PF}" - -REQUIRED_USE=" - truetype? ( gd ) - cjk? ( gd ) - exif? ( gd ) - - xpm? ( gd ) - gd? ( zlib ) - simplexml? ( xml ) - soap? ( xml ) - wddx? ( xml ) - xmlrpc? ( || ( xml iconv ) ) - xmlreader? ( xml ) - xsl? ( xml ) - ldap-sasl? ( ldap ) - kolab? ( imap ) - mhash? ( hash ) - phar? ( hash ) - mysqlnd? ( || ( - mysql - mysqli - pdo - ) ) - - qdbm? ( !gdbm ) - readline? ( !libedit ) - recode? ( !imap !mysql !mysqli ) - sharedmem? ( !threads ) - - !cli? ( !cgi? ( !fpm? ( !apache2? ( !embed? ( cli ) ) ) ) )" - -DEPEND="${DEPEND} - enchant? ( !dev-php5/pecl-enchant ) - fileinfo? ( !<dev-php5/pecl-fileinfo-1.0.4-r2 ) - filter? ( !dev-php5/pecl-filter ) - json? ( !dev-php5/pecl-json ) - phar? ( !dev-php5/pecl-phar ) - zip? ( !dev-php5/pecl-zip )" - -RDEPEND="${DEPEND}" - -[[ -n $SUHOSIN_VERSION ]] && RDEPEND="${RDEPEND} suhosin? ( =${CATEGORY}/${PN}-${SLOT}*[unicode] )" - -RDEPEND="${RDEPEND} fpm? ( selinux? ( sec-policy/selinux-phpfpm ) )" - -DEPEND="${DEPEND} - sys-devel/flex - >=sys-devel/m4-1.4.3 - >=sys-devel/libtool-1.5.18" - -# They are in PDEPEND because we need PHP installed first! -PDEPEND="doc? ( app-doc/php-docs )" - -# No longer depend on the extension. The suhosin USE flag only installs the -# patch -#[[ -n $SUHOSIN_VERSION ]] && PDEPEND="${PDEPEND} suhosin? ( dev-php${PHP_MV}/suhosin )" - -# Allow users to install production version if they want to - -case "${PHP_INI_VERSION}" in - production|development) - ;; - *) - PHP_INI_VERSION="development" - ;; -esac - -PHP_INI_UPSTREAM="php.ini-${PHP_INI_VERSION}" -PHP_INI_FILE="php.ini" - -want_apache - -# eblit-core -# Usage: <function> [version] [eval] -# Main eblit engine -eblit-core() { - [[ -z $FILESDIR ]] && FILESDIR="$(dirname $EBUILD)/files" - local e v func=$1 ver=$2 eval_=$3 - for v in ${ver:+-}${ver} -${PVR} -${PV} "" ; do - e="${FILESDIR}/eblits/${func}${v}.eblit" - if [[ -e ${e} ]] ; then - . "${e}" - [[ ${eval_} == 1 ]] && eval "${func}() { eblit-run ${func} ${ver} ; }" - return 0 - fi - done - return 1 -} - -# eblit-include -# Usage: [--skip] <function> [version] -# Includes an "eblit" -- a chunk of common code among ebuilds in a given -# package so that its functions can be sourced and utilized within the -# ebuild. -eblit-include() { - local skipable=false r=0 - [[ $1 == "--skip" ]] && skipable=true && shift - [[ $1 == pkg_* ]] && skipable=true - - [[ -z $1 ]] && die "Usage: eblit-include <function> [version]" - eblit-core $1 $2 - r="$?" - ${skipable} && return 0 - [[ "$r" -gt "0" ]] && die "Could not locate requested eblit '$1' in ${FILESDIR}/eblits/" -} - -# eblit-run-maybe -# Usage: <function> -# Runs a function if it is defined in an eblit -eblit-run-maybe() { - [[ $(type -t "$@") == "function" ]] && "$@" -} - -# eblit-run -# Usage: <function> [version] -# Runs a function defined in an eblit -eblit-run() { - eblit-include --skip common "v2" - eblit-include "$@" - eblit-run-maybe eblit-$1-pre - eblit-${PN}-$1 - eblit-run-maybe eblit-$1-post -} - -# eblit-pkg -# Usage: <phase> [version] -# Includes the given functions AND evals them so they're included in the binpkgs -eblit-pkg() { - [[ -z $1 ]] && die "Usage: eblit-pkg <phase> [version]" - eblit-core $1 $2 1 -} - -eblit-pkg pkg_setup v3 - -src_prepare() { eblit-run src_prepare v3 ; } -src_configure() { eblit-run src_configure v53 ; } -src_compile() { eblit-run src_compile v1 ; } -src_install() { eblit-run src_install v3 ; } -src_test() { eblit-run src_test v1 ; } - -#Do not use eblit for this because it will not get sourced when installing from -#binary package (bug #380845) -pkg_postinst() { - # Output some general info to the user - if use apache2 ; then - APACHE2_MOD_DEFINE="PHP5" - APACHE2_MOD_CONF="70_mod_php5" - apache-module_pkg_postinst - fi - - # Create the symlinks for php - for m in ${SAPIS}; do - [[ ${m} == 'embed' ]] && continue; - if use $m ; then - local ci=$(eselect php show $m) - if [[ -z $ci ]]; then - eselect php set $m php${SLOT} - einfo "Switched ${m} to use php:${SLOT}" - einfo - elif [[ $ci != "php${SLOT}" ]] ; then - elog "To switch $m to use php:${SLOT}, run" - elog " eselect php set $m php${SLOT}" - elog - fi - fi - done - - elog "Make sure that PHP_TARGETS in /etc/make.conf includes php${SLOT/./-} in order" - elog "to compile extensions for the ${SLOT} ABI" - elog - if ! use readline && use cli ; then - ewarn "Note that in order to use php interactivly, you need to enable" - ewarn "the readline USE flag or php -a will hang" - fi - elog - elog "This ebuild installed a version of php.ini based on php.ini-${PHP_INI_VERSION} version." - elog "You can chose which version of php.ini to install by default by setting PHP_INI_VERSION to either" - elog "'production' or 'development' in /etc/make.conf" - ewarn "Both versions of php.ini can be found in /usr/share/doc/${PF}" - - # check for not yet migrated old style config dirs - ls "${ROOT}"/etc/php/*-php5 &>/dev/null - if [[ $? -eq 0 ]]; then - ewarn "Make sure to migrate your config files, starting with php-5.3.4 and php-5.2.16 config" - ewarn "files are now kept at ${ROOT}etc/php/{apache2,cli,cgi,fpm}-php5.x" - fi - elog - elog "For more details on how minor version slotting works (PHP_TARGETS) please read the upgrade guide:" - elog "http://www.gentoo.org/proj/en/php/php-upgrading.xml" - elog - - if ( [[ -z SUHOSIN_VERSION ]] && use suhosin && version_is_at_least 5.3.6_rc1 ) ; then - ewarn "The suhosin USE flag now only installs the suhosin patch!" - ewarn "If you want the suhosin extension, make sure you install" - ewarn " dev-php5/suhosin" - ewarn - fi -} diff --git a/dev-lang/php/php-5.4.6-r2.ebuild b/dev-lang/php/php-5.4.6-r2.ebuild deleted file mode 100644 index 5d59da7a7e38..000000000000 --- a/dev-lang/php/php-5.4.6-r2.ebuild +++ /dev/null @@ -1,402 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-5.4.6-r2.ebuild,v 1.2 2012/09/04 14:47:24 ottxor Exp $ - -EAPI=4 - -inherit eutils autotools flag-o-matic versionator depend.apache apache-module db-use libtool - -SUHOSIN_VERSION="" -FPM_VERSION="builtin" -EXPECTED_TEST_FAILURES="" - -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" - -function php_get_uri () -{ - case "${1}" in - "php-stas") - echo "http://downloads.php.net/stas/${2}" - ;; - "php-pre") - echo "http://downloads.php.net/johannes/${2}" - ;; - "php") - echo "http://www.php.net/distributions/${2}" - ;; - "suhosin") - echo "http://download.suhosin.org/${2}" - ;; - "olemarkus") - echo "http://dev.gentoo.org/~olemarkus/php/${2}" - ;; - "gentoo") - echo "mirror://gentoo/${2}" - ;; - *) - die "unhandled case in php_get_uri" - ;; - esac -} - -PHP_MV="$(get_major_version)" -SLOT="$(get_version_component_range 1-2)" - -# alias, so we can handle different types of releases (finals, rcs, alphas, -# betas, ...) w/o changing the whole ebuild -PHP_PV="${PV/_rc/RC}" -PHP_PV="${PHP_PV/_alpha/alpha}" -PHP_PV="${PHP_PV/_beta/beta}" -PHP_RELEASE="php" -[[ ${PV} == ${PV/_rc/} ]] || PHP_RELEASE="php-stas" -PHP_P="${PN}-${PHP_PV}" - -PHP_PATCHSET_LOC="olemarkus" - -PHP_SRC_URI="$(php_get_uri "${PHP_RELEASE}" "${PHP_P}.tar.bz2")" - -PHP_PATCHSET="2" -PHP_PATCHSET_URI=" - $(php_get_uri "${PHP_PATCHSET_LOC}" "php-patchset-$SLOT-${PHP_PATCHSET}.tar.bz2")" - -PHP_FPM_INIT_VER="4" -PHP_FPM_CONF_VER="1" - -if [[ ${SUHOSIN_VERSION} == *-gentoo ]]; then - # in some cases we use our own suhosin patch (very recent version, - # patch conflicts, etc.) - SUHOSIN_TYPE="gentoo" -else - SUHOSIN_TYPE="suhosin" -fi - -if [[ -n ${SUHOSIN_VERSION} ]]; then - SUHOSIN_PATCH="suhosin-patch-${SUHOSIN_VERSION}.patch"; - SUHOSIN_URI="$(php_get_uri ${SUHOSIN_TYPE} ${SUHOSIN_PATCH}.gz )" -fi - -SRC_URI=" - ${PHP_SRC_URI} - ${PHP_PATCHSET_URI}" - -if [[ -n ${SUHOSIN_VERSION} ]]; then - SRC_URI="${SRC_URI} - suhosin? ( ${SUHOSIN_URI} )" -fi - -DESCRIPTION="The PHP language runtime engine: CLI, CGI, FPM/FastCGI, Apache2 and embed SAPIs." -HOMEPAGE="http://php.net/" -LICENSE="PHP-3" - -S="${WORKDIR}/${PHP_P}" - -# We can build the following SAPIs in the given order -SAPIS="embed cli cgi fpm apache2" - -# Gentoo-specific, common features -IUSE="kolab" - -# SAPIs and SAPI-specific USE flags (cli SAPI is default on): -IUSE="${IUSE} - ${SAPIS/cli/+cli} - threads" - -IUSE="${IUSE} bcmath berkdb bzip2 calendar cdb cjk - crypt +ctype curl curlwrappers debug doc - enchant exif frontbase +fileinfo +filter firebird - flatfile ftp gd gdbm gmp +hash +iconv imap inifile - intl iodbc ipv6 +json kerberos ldap ldap-sasl libedit mhash - mssql mysql mysqlnd mysqli nls - oci8-instant-client odbc pcntl pdo +phar pic +posix postgres qdbm - readline recode selinux +session sharedmem - +simplexml snmp soap sockets spell sqlite3 ssl - sybase-ct sysvipc tidy +tokenizer truetype unicode wddx - +xml xmlreader xmlwriter xmlrpc xpm xsl zip zlib" - -# Enable suhosin if available -[[ -n $SUHOSIN_VERSION ]] && IUSE="${IUSE} suhosin" - -DEPEND=" - >=app-admin/eselect-php-0.6.2 - >=dev-libs/libpcre-8.12[unicode] - apache2? ( www-servers/apache[threads=] ) - berkdb? ( =sys-libs/db-4* ) - bzip2? ( app-arch/bzip2 ) - cdb? ( || ( dev-db/cdb dev-db/tinycdb ) ) - cjk? ( !gd? ( - virtual/jpeg - media-libs/libpng - sys-libs/zlib - ) ) - crypt? ( >=dev-libs/libmcrypt-2.4 ) - curl? ( >=net-misc/curl-7.10.5 ) - enchant? ( app-text/enchant ) - exif? ( !gd? ( - virtual/jpeg - media-libs/libpng - sys-libs/zlib - ) ) - firebird? ( dev-db/firebird ) - gd? ( virtual/jpeg media-libs/libpng sys-libs/zlib ) - gdbm? ( >=sys-libs/gdbm-1.8.0 ) - gmp? ( >=dev-libs/gmp-4.1.2 ) - iconv? ( virtual/libiconv ) - imap? ( virtual/imap-c-client[ssl=] ) - intl? ( dev-libs/icu ) - iodbc? ( dev-db/libiodbc ) - kerberos? ( virtual/krb5 ) - kolab? ( >=net-libs/c-client-2004g-r1 ) - ldap? ( >=net-nds/openldap-1.2.11 ) - ldap-sasl? ( dev-libs/cyrus-sasl >=net-nds/openldap-1.2.11 ) - libedit? ( || ( sys-freebsd/freebsd-lib dev-libs/libedit ) ) - mssql? ( dev-db/freetds[mssql] ) - !mysqlnd? ( - mysql? ( virtual/mysql ) - mysqli? ( >=virtual/mysql-4.1 ) - ) - nls? ( sys-devel/gettext ) - oci8-instant-client? ( dev-db/oracle-instantclient-basic ) - odbc? ( >=dev-db/unixODBC-1.8.13 ) - postgres? ( dev-db/postgresql-base ) - qdbm? ( dev-db/qdbm ) - readline? ( sys-libs/readline ) - recode? ( app-text/recode ) - sharedmem? ( dev-libs/mm ) - simplexml? ( >=dev-libs/libxml2-2.6.8 ) - snmp? ( >=net-analyzer/net-snmp-5.2 ) - soap? ( >=dev-libs/libxml2-2.6.8 ) - spell? ( >=app-text/aspell-0.50 ) - sqlite3? ( >=dev-db/sqlite-3.7.6.3 ) - ssl? ( >=dev-libs/openssl-0.9.7 ) - sybase-ct? ( dev-db/freetds ) - tidy? ( app-text/htmltidy ) - truetype? ( - =media-libs/freetype-2* - >=media-libs/t1lib-5.0.0 - !gd? ( - virtual/jpeg media-libs/libpng sys-libs/zlib ) - ) - unicode? ( dev-libs/oniguruma ) - wddx? ( >=dev-libs/libxml2-2.6.8 ) - xml? ( >=dev-libs/libxml2-2.6.8 ) - xmlrpc? ( >=dev-libs/libxml2-2.6.8 virtual/libiconv ) - xmlreader? ( >=dev-libs/libxml2-2.6.8 ) - xmlwriter? ( >=dev-libs/libxml2-2.6.8 ) - xpm? ( - x11-libs/libXpm - virtual/jpeg - media-libs/libpng sys-libs/zlib - ) - xsl? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 ) - zip? ( sys-libs/zlib ) - zlib? ( sys-libs/zlib ) - virtual/mta -" - -php="=${CATEGORY}/${PF}" - -REQUIRED_USE=" - truetype? ( gd ) - cjk? ( gd ) - exif? ( gd ) - - xpm? ( gd ) - gd? ( zlib ) - simplexml? ( xml ) - soap? ( xml ) - wddx? ( xml ) - xmlrpc? ( || ( xml iconv ) ) - xmlreader? ( xml ) - xsl? ( xml ) - ldap-sasl? ( ldap ) - kolab? ( imap ) - mhash? ( hash ) - phar? ( hash ) - mysqlnd? ( || ( - mysql - mysqli - pdo - ) ) - - qdbm? ( !gdbm ) - readline? ( !libedit ) - recode? ( !imap !mysql !mysqli ) - sharedmem? ( !threads ) - - !cli? ( !cgi? ( !fpm? ( !apache2? ( !embed? ( cli ) ) ) ) )" - -RDEPEND="${DEPEND}" - -[[ -n $SUHOSIN_VERSION ]] && RDEPEND="${RDEPEND} suhosin? ( -=${CATEGORY}/${PN}-${SLOT}*[unicode] )" - -RDEPEND="${RDEPEND} fpm? ( selinux? ( sec-policy/selinux-phpfpm ) )" - -DEPEND="${DEPEND} - sys-devel/flex - >=sys-devel/m4-1.4.3 - >=sys-devel/libtool-1.5.18" - -# They are in PDEPEND because we need PHP installed first! -PDEPEND="doc? ( app-doc/php-docs )" - -# No longer depend on the extension. The suhosin USE flag only installs the -# patch -#[[ -n $SUHOSIN_VERSION ]] && PDEPEND="${PDEPEND} suhosin? ( dev-php${PHP_MV}/suhosin )" - -# Allow users to install production version if they want to - -case "${PHP_INI_VERSION}" in - production|development) - ;; - *) - PHP_INI_VERSION="development" - ;; -esac - -PHP_INI_UPSTREAM="php.ini-${PHP_INI_VERSION}" -PHP_INI_FILE="php.ini" - -want_apache - -# eblit-core -# Usage: <function> [version] [eval] -# Main eblit engine -eblit-core() { - [[ -z $FILESDIR ]] && FILESDIR="$(dirname $EBUILD)/files" - local e v func=$1 ver=$2 eval_=$3 - for v in ${ver:+-}${ver} -${PVR} -${PV} "" ; do - e="${FILESDIR}/eblits/${func}${v}.eblit" - if [[ -e ${e} ]] ; then - . "${e}" - [[ ${eval_} == 1 ]] && eval "${func}() { eblit-run ${func} ${ver} ; }" - return 0 - fi - done - return 1 -} - -# eblit-include -# Usage: [--skip] <function> [version] -# Includes an "eblit" -- a chunk of common code among ebuilds in a given -# package so that its functions can be sourced and utilized within the -# ebuild. -eblit-include() { - local skipable=false r=0 - [[ $1 == "--skip" ]] && skipable=true && shift - [[ $1 == pkg_* ]] && skipable=true - - [[ -z $1 ]] && die "Usage: eblit-include <function> [version]" - eblit-core $1 $2 - r="$?" - ${skipable} && return 0 - [[ "$r" -gt "0" ]] && die "Could not locate requested eblit '$1' in ${FILESDIR}/eblits/" -} - -# eblit-run-maybe -# Usage: <function> -# Runs a function if it is defined in an eblit -eblit-run-maybe() { - [[ $(type -t "$@") == "function" ]] && "$@" -} - -# eblit-run -# Usage: <function> [version] -# Runs a function defined in an eblit -eblit-run() { - eblit-include --skip common v2 - eblit-include "$@" - eblit-run-maybe eblit-$1-pre - eblit-${PN}-$1 - eblit-run-maybe eblit-$1-post -} - -# eblit-pkg -# Usage: <phase> [version] -# Includes the given functions AND evals them so they're included in the binpkgs -eblit-pkg() { - [[ -z $1 ]] && die "Usage: eblit-pkg <phase> [version]" - eblit-core $1 $2 1 -} - -eblit-pkg pkg_setup v3 - -src_prepare() { - eblit-run src_prepare v4 - - if [[ ${CHOST} == *-darwin* ]] ; then - # http://bugs.php.net/bug.php?id=48795, bug #343481 - sed -i -e '/BUILD_CGI="\\$(CC)/s/CC/CXX/' configure || die - fi -} -src_configure() { eblit-run src_configure v54 ; } -src_compile() { eblit-run src_compile v2 ; } -src_install() { eblit-run src_install v3 ; } -src_test() { eblit-run src_test v1 ; } - -#Do not use eblit for this because it will not get sourced when installing from -#binary package (bug #380845) -pkg_postinst() { - # Output some general info to the user - if use apache2 ; then - APACHE2_MOD_DEFINE="PHP5" - APACHE2_MOD_CONF="70_mod_php5" - apache-module_pkg_postinst - fi - - # Create the symlinks for php - for m in ${SAPIS}; do - [[ ${m} == 'embed' ]] && continue; - if use $m ; then - local ci=$(eselect php show $m) - if [[ -z $ci ]]; then - eselect php set $m php${SLOT} - einfo "Switched ${m} to use php:${SLOT}" - einfo - elif [[ $ci != "php${SLOT}" ]] ; then - elog "To switch $m to use php:${SLOT}, run" - elog " eselect php set $m php${SLOT}" - elog - fi - fi - done - - elog "Make sure that PHP_TARGETS in ${EPREFIX}/etc/make.conf includes php${SLOT/./-} in order" - elog "to compile extensions for the ${SLOT} ABI" - elog - if ! use readline && use cli ; then - ewarn "Note that in order to use php interactivly, you need to enable" - ewarn "the readline USE flag or php -a will hang" - fi - elog - elog "This ebuild installed a version of php.ini based on php.ini-${PHP_INI_VERSION} version." - elog "You can chose which version of php.ini to install by default by setting PHP_INI_VERSION to either" - elog "'production' or 'development' in ${EPREFIX}/etc/make.conf" - elog "Both versions of php.ini can be found in ${EPREFIX}/usr/share/doc/${PF}" - - elog - elog "For more details on how minor version slotting works (PHP_TARGETS) please read the upgrade guide:" - elog "http://www.gentoo.org/proj/en/php/php-upgrading.xml" - elog - - if ( [[ -z SUHOSIN_VERSION ]] && use suhosin && version_is_at_least 5.3.6_rc1 ) ; then - ewarn - ewarn "The suhosin USE flag now only installs the suhosin patch!" - ewarn "If you want the suhosin extension, make sure you install" - ewarn " dev-php/suhosin" - ewarn - fi -} - -pkg_prerm() { - local sapi - local slot - for sapi in ${SAPIS}; do - slot=$(eselect php show $sapi 2> /dev/null) - slot=${slot/php/} - if [[ $slot == $SLOT ]]; then - ewarn "You have removed the active version of the $sapi SAPI" - ewarn "Fix the issue using \`eselect php\`" - fi - done -} diff --git a/dev-lang/php/php-5.4.7.ebuild b/dev-lang/php/php-5.4.7.ebuild deleted file mode 100644 index 30f2ec05c94d..000000000000 --- a/dev-lang/php/php-5.4.7.ebuild +++ /dev/null @@ -1,402 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-5.4.7.ebuild,v 1.2 2012/10/17 21:19:01 naota Exp $ - -EAPI=4 - -inherit eutils autotools flag-o-matic versionator depend.apache apache-module db-use libtool - -SUHOSIN_VERSION="" -FPM_VERSION="builtin" -EXPECTED_TEST_FAILURES="" - -KEYWORDS="~alpha ~amd64 ~arm ~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" - -function php_get_uri () -{ - case "${1}" in - "php-stas") - echo "http://downloads.php.net/stas/${2}" - ;; - "php-pre") - echo "http://downloads.php.net/johannes/${2}" - ;; - "php") - echo "http://www.php.net/distributions/${2}" - ;; - "suhosin") - echo "http://download.suhosin.org/${2}" - ;; - "olemarkus") - echo "http://dev.gentoo.org/~olemarkus/php/${2}" - ;; - "gentoo") - echo "mirror://gentoo/${2}" - ;; - *) - die "unhandled case in php_get_uri" - ;; - esac -} - -PHP_MV="$(get_major_version)" -SLOT="$(get_version_component_range 1-2)" - -# alias, so we can handle different types of releases (finals, rcs, alphas, -# betas, ...) w/o changing the whole ebuild -PHP_PV="${PV/_rc/RC}" -PHP_PV="${PHP_PV/_alpha/alpha}" -PHP_PV="${PHP_PV/_beta/beta}" -PHP_RELEASE="php" -[[ ${PV} == ${PV/_rc/} ]] || PHP_RELEASE="php-stas" -PHP_P="${PN}-${PHP_PV}" - -PHP_PATCHSET_LOC="olemarkus" - -PHP_SRC_URI="$(php_get_uri "${PHP_RELEASE}" "${PHP_P}.tar.bz2")" - -PHP_PATCHSET="2" -PHP_PATCHSET_URI=" - $(php_get_uri "${PHP_PATCHSET_LOC}" "php-patchset-$SLOT-${PHP_PATCHSET}.tar.bz2")" - -PHP_FPM_INIT_VER="4" -PHP_FPM_CONF_VER="1" - -if [[ ${SUHOSIN_VERSION} == *-gentoo ]]; then - # in some cases we use our own suhosin patch (very recent version, - # patch conflicts, etc.) - SUHOSIN_TYPE="gentoo" -else - SUHOSIN_TYPE="suhosin" -fi - -if [[ -n ${SUHOSIN_VERSION} ]]; then - SUHOSIN_PATCH="suhosin-patch-${SUHOSIN_VERSION}.patch"; - SUHOSIN_URI="$(php_get_uri ${SUHOSIN_TYPE} ${SUHOSIN_PATCH}.gz )" -fi - -SRC_URI=" - ${PHP_SRC_URI} - ${PHP_PATCHSET_URI}" - -if [[ -n ${SUHOSIN_VERSION} ]]; then - SRC_URI="${SRC_URI} - suhosin? ( ${SUHOSIN_URI} )" -fi - -DESCRIPTION="The PHP language runtime engine: CLI, CGI, FPM/FastCGI, Apache2 and embed SAPIs." -HOMEPAGE="http://php.net/" -LICENSE="PHP-3" - -S="${WORKDIR}/${PHP_P}" - -# We can build the following SAPIs in the given order -SAPIS="embed cli cgi fpm apache2" - -# Gentoo-specific, common features -IUSE="kolab" - -# SAPIs and SAPI-specific USE flags (cli SAPI is default on): -IUSE="${IUSE} - ${SAPIS/cli/+cli} - threads" - -IUSE="${IUSE} bcmath berkdb bzip2 calendar cdb cjk - crypt +ctype curl curlwrappers debug doc - enchant exif frontbase +fileinfo +filter firebird - flatfile ftp gd gdbm gmp +hash +iconv imap inifile - intl iodbc ipv6 +json kerberos ldap ldap-sasl libedit mhash - mssql mysql mysqlnd mysqli nls - oci8-instant-client odbc pcntl pdo +phar pic +posix postgres qdbm - readline recode selinux +session sharedmem - +simplexml snmp soap sockets spell sqlite3 ssl - sybase-ct sysvipc tidy +tokenizer truetype unicode wddx - +xml xmlreader xmlwriter xmlrpc xpm xsl zip zlib" - -# Enable suhosin if available -[[ -n $SUHOSIN_VERSION ]] && IUSE="${IUSE} suhosin" - -DEPEND=" - >=app-admin/eselect-php-0.6.2 - >=dev-libs/libpcre-8.12[unicode] - apache2? ( www-servers/apache[threads=] ) - berkdb? ( =sys-libs/db-4* ) - bzip2? ( app-arch/bzip2 ) - cdb? ( || ( dev-db/cdb dev-db/tinycdb ) ) - cjk? ( !gd? ( - virtual/jpeg - media-libs/libpng - sys-libs/zlib - ) ) - crypt? ( >=dev-libs/libmcrypt-2.4 ) - curl? ( >=net-misc/curl-7.10.5 ) - enchant? ( app-text/enchant ) - exif? ( !gd? ( - virtual/jpeg - media-libs/libpng - sys-libs/zlib - ) ) - firebird? ( dev-db/firebird ) - gd? ( virtual/jpeg media-libs/libpng sys-libs/zlib ) - gdbm? ( >=sys-libs/gdbm-1.8.0 ) - gmp? ( >=dev-libs/gmp-4.1.2 ) - iconv? ( virtual/libiconv ) - imap? ( virtual/imap-c-client[ssl=] ) - intl? ( dev-libs/icu ) - iodbc? ( dev-db/libiodbc ) - kerberos? ( virtual/krb5 ) - kolab? ( >=net-libs/c-client-2004g-r1 ) - ldap? ( >=net-nds/openldap-1.2.11 ) - ldap-sasl? ( dev-libs/cyrus-sasl >=net-nds/openldap-1.2.11 ) - libedit? ( || ( sys-freebsd/freebsd-lib dev-libs/libedit ) ) - mssql? ( dev-db/freetds[mssql] ) - !mysqlnd? ( - mysql? ( virtual/mysql ) - mysqli? ( >=virtual/mysql-4.1 ) - ) - nls? ( sys-devel/gettext ) - oci8-instant-client? ( dev-db/oracle-instantclient-basic ) - odbc? ( >=dev-db/unixODBC-1.8.13 ) - postgres? ( dev-db/postgresql-base ) - qdbm? ( dev-db/qdbm ) - readline? ( sys-libs/readline ) - recode? ( app-text/recode ) - sharedmem? ( dev-libs/mm ) - simplexml? ( >=dev-libs/libxml2-2.6.8 ) - snmp? ( >=net-analyzer/net-snmp-5.2 ) - soap? ( >=dev-libs/libxml2-2.6.8 ) - spell? ( >=app-text/aspell-0.50 ) - sqlite3? ( >=dev-db/sqlite-3.7.6.3 ) - ssl? ( >=dev-libs/openssl-0.9.7 ) - sybase-ct? ( dev-db/freetds ) - tidy? ( app-text/htmltidy ) - truetype? ( - =media-libs/freetype-2* - >=media-libs/t1lib-5.0.0 - !gd? ( - virtual/jpeg media-libs/libpng sys-libs/zlib ) - ) - unicode? ( dev-libs/oniguruma ) - wddx? ( >=dev-libs/libxml2-2.6.8 ) - xml? ( >=dev-libs/libxml2-2.6.8 ) - xmlrpc? ( >=dev-libs/libxml2-2.6.8 virtual/libiconv ) - xmlreader? ( >=dev-libs/libxml2-2.6.8 ) - xmlwriter? ( >=dev-libs/libxml2-2.6.8 ) - xpm? ( - x11-libs/libXpm - virtual/jpeg - media-libs/libpng sys-libs/zlib - ) - xsl? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 ) - zip? ( sys-libs/zlib ) - zlib? ( sys-libs/zlib ) - virtual/mta -" - -php="=${CATEGORY}/${PF}" - -REQUIRED_USE=" - truetype? ( gd ) - cjk? ( gd ) - exif? ( gd ) - - xpm? ( gd ) - gd? ( zlib ) - simplexml? ( xml ) - soap? ( xml ) - wddx? ( xml ) - xmlrpc? ( || ( xml iconv ) ) - xmlreader? ( xml ) - xsl? ( xml ) - ldap-sasl? ( ldap ) - kolab? ( imap ) - mhash? ( hash ) - phar? ( hash ) - mysqlnd? ( || ( - mysql - mysqli - pdo - ) ) - - qdbm? ( !gdbm ) - readline? ( !libedit ) - recode? ( !imap !mysql !mysqli ) - sharedmem? ( !threads ) - - !cli? ( !cgi? ( !fpm? ( !apache2? ( !embed? ( cli ) ) ) ) )" - -RDEPEND="${DEPEND}" - -[[ -n $SUHOSIN_VERSION ]] && RDEPEND="${RDEPEND} suhosin? ( -=${CATEGORY}/${PN}-${SLOT}*[unicode] )" - -RDEPEND="${RDEPEND} fpm? ( selinux? ( sec-policy/selinux-phpfpm ) )" - -DEPEND="${DEPEND} - sys-devel/flex - >=sys-devel/m4-1.4.3 - >=sys-devel/libtool-1.5.18" - -# They are in PDEPEND because we need PHP installed first! -PDEPEND="doc? ( app-doc/php-docs )" - -# No longer depend on the extension. The suhosin USE flag only installs the -# patch -#[[ -n $SUHOSIN_VERSION ]] && PDEPEND="${PDEPEND} suhosin? ( dev-php${PHP_MV}/suhosin )" - -# Allow users to install production version if they want to - -case "${PHP_INI_VERSION}" in - production|development) - ;; - *) - PHP_INI_VERSION="development" - ;; -esac - -PHP_INI_UPSTREAM="php.ini-${PHP_INI_VERSION}" -PHP_INI_FILE="php.ini" - -want_apache - -# eblit-core -# Usage: <function> [version] [eval] -# Main eblit engine -eblit-core() { - [[ -z $FILESDIR ]] && FILESDIR="$(dirname $EBUILD)/files" - local e v func=$1 ver=$2 eval_=$3 - for v in ${ver:+-}${ver} -${PVR} -${PV} "" ; do - e="${FILESDIR}/eblits/${func}${v}.eblit" - if [[ -e ${e} ]] ; then - . "${e}" - [[ ${eval_} == 1 ]] && eval "${func}() { eblit-run ${func} ${ver} ; }" - return 0 - fi - done - return 1 -} - -# eblit-include -# Usage: [--skip] <function> [version] -# Includes an "eblit" -- a chunk of common code among ebuilds in a given -# package so that its functions can be sourced and utilized within the -# ebuild. -eblit-include() { - local skipable=false r=0 - [[ $1 == "--skip" ]] && skipable=true && shift - [[ $1 == pkg_* ]] && skipable=true - - [[ -z $1 ]] && die "Usage: eblit-include <function> [version]" - eblit-core $1 $2 - r="$?" - ${skipable} && return 0 - [[ "$r" -gt "0" ]] && die "Could not locate requested eblit '$1' in ${FILESDIR}/eblits/" -} - -# eblit-run-maybe -# Usage: <function> -# Runs a function if it is defined in an eblit -eblit-run-maybe() { - [[ $(type -t "$@") == "function" ]] && "$@" -} - -# eblit-run -# Usage: <function> [version] -# Runs a function defined in an eblit -eblit-run() { - eblit-include --skip common v2 - eblit-include "$@" - eblit-run-maybe eblit-$1-pre - eblit-${PN}-$1 - eblit-run-maybe eblit-$1-post -} - -# eblit-pkg -# Usage: <phase> [version] -# Includes the given functions AND evals them so they're included in the binpkgs -eblit-pkg() { - [[ -z $1 ]] && die "Usage: eblit-pkg <phase> [version]" - eblit-core $1 $2 1 -} - -eblit-pkg pkg_setup v3 - -src_prepare() { - eblit-run src_prepare v4 - - if [[ ${CHOST} == *-darwin* ]] ; then - # http://bugs.php.net/bug.php?id=48795, bug #343481 - sed -i -e '/BUILD_CGI="\\$(CC)/s/CC/CXX/' configure || die - fi -} -src_configure() { eblit-run src_configure v54 ; } -src_compile() { eblit-run src_compile v2 ; } -src_install() { eblit-run src_install v3 ; } -src_test() { eblit-run src_test v1 ; } - -#Do not use eblit for this because it will not get sourced when installing from -#binary package (bug #380845) -pkg_postinst() { - # Output some general info to the user - if use apache2 ; then - APACHE2_MOD_DEFINE="PHP5" - APACHE2_MOD_CONF="70_mod_php5" - apache-module_pkg_postinst - fi - - # Create the symlinks for php - for m in ${SAPIS}; do - [[ ${m} == 'embed' ]] && continue; - if use $m ; then - local ci=$(eselect php show $m) - if [[ -z $ci ]]; then - eselect php set $m php${SLOT} - einfo "Switched ${m} to use php:${SLOT}" - einfo - elif [[ $ci != "php${SLOT}" ]] ; then - elog "To switch $m to use php:${SLOT}, run" - elog " eselect php set $m php${SLOT}" - elog - fi - fi - done - - elog "Make sure that PHP_TARGETS in ${EPREFIX}/etc/make.conf includes php${SLOT/./-} in order" - elog "to compile extensions for the ${SLOT} ABI" - elog - if ! use readline && use cli ; then - ewarn "Note that in order to use php interactivly, you need to enable" - ewarn "the readline USE flag or php -a will hang" - fi - elog - elog "This ebuild installed a version of php.ini based on php.ini-${PHP_INI_VERSION} version." - elog "You can chose which version of php.ini to install by default by setting PHP_INI_VERSION to either" - elog "'production' or 'development' in ${EPREFIX}/etc/make.conf" - elog "Both versions of php.ini can be found in ${EPREFIX}/usr/share/doc/${PF}" - - elog - elog "For more details on how minor version slotting works (PHP_TARGETS) please read the upgrade guide:" - elog "http://www.gentoo.org/proj/en/php/php-upgrading.xml" - elog - - if ( [[ -z SUHOSIN_VERSION ]] && use suhosin && version_is_at_least 5.3.6_rc1 ) ; then - ewarn - ewarn "The suhosin USE flag now only installs the suhosin patch!" - ewarn "If you want the suhosin extension, make sure you install" - ewarn " dev-php/suhosin" - ewarn - fi -} - -pkg_prerm() { - local sapi - local slot - for sapi in ${SAPIS}; do - slot=$(eselect php show $sapi 2> /dev/null) - slot=${slot/php/} - if [[ $slot == $SLOT ]]; then - ewarn "You have removed the active version of the $sapi SAPI" - ewarn "Fix the issue using \`eselect php\`" - fi - done -} |