Commit Graph

119 Commits

Author SHA1 Message Date
Andreas Thienemann
6405214d11 Handle different scl/legacy php naming for opcache.
When running on CentOS or RHEL the opcache package under php 5.4
us named php-pecl-zendopcache.
When using a newer PHP version like 5.6, 7.0 or 7.1 the package
is named slightly different though: php-opcache.

Take this into account.
2018-10-30 11:08:09 +01:00
Andreas Thienemann
d7dff5a882 Add missing SCL prefix for php-common 2018-10-23 10:35:52 +02:00
Niels Abspoel
b2c82fa3b1
Merge pull request #150 from Seldaek/patch-1
Remove sorting of php.ini files to support Python3
2018-10-21 22:03:52 +02:00
Andreas Thienemann
956cee6f69 Enable Softwarecollections on RHEL and CentOS
As RHEL and CentOS are both longer-lived enterprise-class operating
systems the software versions are usually lagging a bit behind.

In case one wants the longevity of an Enterprise Linux together with
more modern software the Softwarecollections project exists which
offers amongst others more modern PHP releases.

This commit adds a pillar toggle to use the SCL repo and the ability
to select which php version to install.
2018-10-21 01:02:27 +02:00
Mark Gomersbach
d7e4d89d7c
Select stable instead of masked version of php 2018-10-11 08:21:37 +02:00
Mark Gomersbach
9ba295ad68
Leverage kindly provided specials/block syntax to fully support Gentoo. 2018-10-09 14:47:30 +02:00
Mark Gomersbach
19fb0d3f1d
Gentoo package names contain a category with a "/" delimitor.
This will make state names play nicely with gentoo.
2018-10-09 14:43:06 +02:00
Daniel Wallace
25c8d5c8ab
add support for 18.04 2018-08-01 10:22:27 -05:00
Daniel Wallace
6626b903d6
don't include include if it isn't going to include anything else 2018-07-31 14:34:13 -05:00
Jordi Boggiano
57d1ecd7cc
Remove sorting of php.ini files to support Python3 2018-05-07 09:06:42 +02:00
Kenneth Østrup
bb2cdc572f Added PHP Pear Mail support 2018-05-01 11:18:10 +02:00
Kenneth Østrup
a3b2dcafe1 Added support for PHP Pear Net-SMTP 2018-05-01 11:12:32 +02:00
Kenneth Østrup
175090537d Added PHP Pear Auth-SASL support 2018-05-01 11:12:20 +02:00
Alexander Weidinger
bad0f1b048 ng/map.jinja: FreeBSD cli pkg name 2018-03-19 13:46:17 +01:00
Alexander Weidinger
19e61f9dc3 Added php.ng.posix 2018-03-16 16:43:49 +01:00
Alexander Weidinger
eaa5401303 FreeBSD: corrected curl pkg name in map.jinja 2018-03-16 00:33:35 +01:00
Alexander Weidinger
d24a6e1d98 Added php.ng.session 2018-03-16 00:01:38 +01:00
Alexander Weidinger
c49da7e1f4 Added php.ng.ctype 2018-03-16 00:01:38 +01:00
Alexander Weidinger
4c6dcdfa22 FreeBSD: additional pkg names in map.jinja 2018-03-15 23:22:55 +01:00
Alexander Weidinger
4cffd9c9e1 composer update: date works differently on FreeBSD 2018-03-15 22:23:39 +01:00
Alexander Weidinger
fcb3d85f34 composer update: fixed unless cmd by using -gt instead of >
(Command was not working on Ubuntu 16.04.)
Both Ubuntu's and RedHat's man pages of test list -gt, but not >
as their 'greater than' operator.
2018-03-15 22:23:39 +01:00
Alexander Weidinger
4b6f0c689b Ubuntu: composer settings in map.jinja 2018-03-15 22:23:39 +01:00
Alexander Weidinger
9c5e042918 FreeBSD: support for php.ng.composer
added

  - php.ng.filter
  - php.ng.hash
  - php.ng.openssl
  - php.ng.phar
2018-03-15 22:23:39 +01:00
Alexander Weidinger
a12b0a1ba5 FreeBSD: PHP pkg (name + version) 2018-03-15 22:22:30 +01:00
Alexander Weidinger
3a1e7ffa0c FreeBSD: local bin path 2018-03-15 22:22:30 +01:00
Alexander Weidinger
db45454657 FreeBSD: set ini file paths 2018-03-15 22:22:30 +01:00
Alexander Weidinger
d18c93563d php.ng.apache2: FreeBSD support 2018-03-15 22:22:30 +01:00
Niels Abspoel
5a3f40c7e1 fix iteritems for python3 2018-03-10 17:06:25 +01:00
Mario Fritschen
ffa1796722 Changed method to detect if composer self-update is needed. 2018-01-02 22:02:17 +01:00
tsia
075207bea9
Update map.jinja 2017-11-08 12:53:50 +01:00
Nicolas Rodriguez
9a015212fb Add readline package 2017-10-18 15:53:40 +02:00
Niels Abspoel
49c298f488 Merge pull request #135 from aboe76/debian_sury_repo
add sury repo for debian machines
2017-10-17 13:08:05 +02:00
Niels Abspoel
6fad18a5a1 Merge pull request #123 from vquiering/master
Make php.ng.maps.jinja work for php5 on Debian
2017-10-17 13:07:38 +02:00
Mario Fritschen
75bbecaf28 Add possibility to define default values for php-fpm pools 2017-10-17 10:49:42 +02:00
Niels Abspoel
e72351a00f add sury repo for debian machines 2017-09-01 23:59:43 +02:00
Niels Abspoel
bb1be9cefd Merge pull request #134 from dseira/master
Fix to be able to create the pools folder in the fpm
2017-08-31 10:03:57 +02:00
Niels Abspoel
75a8eb8c0c Merge pull request #127 from M2Mobi/http
Add state file for installing the pecl_http extension.
2017-08-31 10:03:01 +02:00
David Seira
177ac39956 Fix to be able to create the pools folder in the fpm. Remi repository in CentOS doesn't create it by default. 2017-08-29 19:54:48 +02:00
Javier Bértoli
5d4a8201de Add Sybase/MS-SQL extension 2017-06-28 15:32:43 -03:00
Heinz Wiesinger
b9e9a614e2 Add state file for installing the uuid extension. 2017-06-27 15:22:27 +02:00
Heinz Wiesinger
b68efa029a Add state file for installing the pecl_http extension. 2017-04-26 11:24:58 +02:00
Vitali Quiering
51984f06de Make php.ng.maps.jinja work for php5 on Debian. Fixed config dir. 2017-02-16 10:42:15 +01:00
Vitali Quiering
6b74439a81 Changed php-redis pkg name in map.jinja for php.ng 2017-01-30 15:39:40 +01:00
Vitali Quiering
980a5f50e7 Add elif statement in ng/maps.jinja to ensure packages for Debian 2017-01-30 12:31:28 +01:00
sc250024
1e3e3032f3 New structure for new Ubuntu PPA and other fixes (#113)
* Initial commit for new branch

* Quick change to base test files

* Updated map.jinja, added `php` dependency for all subformulas

* Fixing mongo module and map.jinja needed OpenSSL dev libraries

* Should be final changes needed for Mongo module

* Updating Suhosin package since many distros don't have package in their
repos anymore

* Generalizing suhosin module, and updating pillar.example for new PPA

* Adding addtional logic for RedHat based families to Suhosin

* Initial commit of NG refactored map.jinja file

* Deleting FFMpeg state file since the module is quite old, and has been
replaced by using a Composer library. See
https://github.com/PHP-FFMpeg/PHP-FFMpeg for details

* Updating NG formulas for new definitions

* Removing 'twig' as a state since it can be installed via Composer

* Changes to installed.jinja to set correct PHP path based on version

* NG Composer and NG Suhosin changes

* Version bump and deleting README for deleted states

* Finished refactor of NG map.jinja file

* Adding trailing commas (forgot them earler)

* Adding changes list, and modifying map file for missing definitions when
using Ubuntu 16.04 and NOT using a PPA

* Changes needed after performing testing on RHEL 7

* Changes needed for Ubuntu Trusty without using PPA

* Removing testing files; keep on local

* Map changes needed after testing Debian Jessie

* Changed needed for Debian Wheezy

* Adding more pkgs for Arch Linux support

* More ArchLinux support

* Stupid tabs

* Removing extra line breaks, and using the general "use_external_repo" in
the future if DotDeb (Debian) or Webtactic (RedHat)

* Accoutning for Precise `phpenmod` and others
2016-12-13 13:37:53 -08:00
Aidan Harris
aba45febe0 Add xdebug package for RedHat family operating systems in map.jina 2016-12-10 22:02:50 +00:00
Alexey Genus
cb4515b467 Add php-mongodb and php-mongo plugins support 2016-12-08 00:10:19 +03:00
Christian McHugh
a1f445d99f add php-bcmath 2016-10-22 20:25:51 +01:00
Christoffer Stokbaek
d987669080 Added net-ipv4/6 and pear to map.jinja 2016-09-16 15:56:43 +02:00
Christoffer Stokbaek
3848f30d75 Added missing settings for ubuntu. 2016-07-25 16:20:26 +02:00