Merge pull request #132 from netmanagers/master

Add Sybase/MS-SQL extension
This commit is contained in:
Niels Abspoel 2017-08-31 10:02:32 +02:00 committed by GitHub
commit 2cdb771909
5 changed files with 30 additions and 0 deletions

View File

@ -166,6 +166,11 @@ Installs the php-suhosin package.
Installs the php-mongo package.
Disabled on opensuse need server:php:extensions repo
``php.sybase``
-----------
Installs the php-sybase package for Sybase/MS-SQL. Debian / Ubuntu as RedHat has no similar package.
``php.xml``
-----------
@ -439,6 +444,11 @@ Installs the php-sqlite package,
Installs the php-suhosin package.
``php.ng.sybase``
-------------
Installs the php-sybase package.
``php.ng.xcache``
---------------

View File

@ -52,6 +52,7 @@
'suhosin5_repo': 'https://github.com/sektioneins/suhosin',
'suhosin7_ext': 'suhosin7.so',
'suhosin7_repo': 'https://github.com/sektioneins/suhosin7',
'sybase_pkg': 'php' + phpng_version + '-sybase',
'temp_dir': '/tmp',
'xml_pkg': 'php' + php_version + '-xml',
'zip_pkg': 'php' + php_version + '-zip',
@ -104,6 +105,7 @@
'suhosin5_repo': 'https://github.com/sektioneins/suhosin',
'suhosin7_ext': 'suhosin7.so',
'suhosin7_repo': 'https://github.com/sektioneins/suhosin7',
'sybase_pkg': 'php' + phpng_version + '-sybase',
'temp_dir': '/tmp',
'xml_pkg': 'php' + php_version + '-xml',
'zip_pkg': 'php' + php_version + '-zip',
@ -158,6 +160,7 @@
'suhosin5_repo': 'https://github.com/sektioneins/suhosin',
'suhosin7_ext': 'suhosin7.so',
'suhosin7_repo': 'https://github.com/sektioneins/suhosin7',
'sybase_pkg': 'php-sybase',
'temp_dir': '/tmp',
'xml_pkg': 'php-xml',
'zip_pkg': 'php-zip',
@ -217,6 +220,7 @@
'suhosin5_repo': 'https://github.com/sektioneins/suhosin',
'suhosin7_ext': 'suhosin7.so',
'suhosin7_repo': 'https://github.com/sektioneins/suhosin7',
'sybase_pkg': 'php5-sybase',
'temp_dir': '/tmp',
'xml_pkg': 'php5',
'zip_pkg': 'php5',
@ -273,6 +277,7 @@
'suhosin5_repo': 'https://github.com/sektioneins/suhosin',
'suhosin7_ext': 'suhosin7.so',
'suhosin7_repo': 'https://github.com/sektioneins/suhosin7',
'sybase_pkg': 'php5-sybase',
'temp_dir': '/tmp',
'xml_pkg': 'php5',
'zip_pkg': 'php5',

View File

@ -65,6 +65,7 @@
'suhosin5_repo': 'https://github.com/sektioneins/suhosin',
'suhosin7_ext': 'suhosin7.so',
'suhosin7_repo': 'https://github.com/sektioneins/suhosin7',
'sybase': 'php' + phpng_version + '-sybase',
'tcpdf': 'php-tcpdf',
'temp_dir': '/tmp',
'tidy': 'php' + phpng_version + '-tidy',
@ -385,6 +386,7 @@
'suhosin5_repo': 'https://github.com/sektioneins/suhosin',
'suhosin7_ext': 'suhosin7.so',
'suhosin7_repo': 'https://github.com/sektioneins/suhosin7',
'sybase': 'php' + phpng_version + '-sybase',
'tcpdf': 'php-tcpdf',
'temp_dir': '/tmp',
'tidy': 'php' + phpng_version + '-tidy',
@ -697,6 +699,7 @@
'sqlite': 'php-sqlite3',
'ssh2': 'php-ssh2',
'suhosin': 'php',
'sybase': 'php-sybase',
'tcpdf': 'php-tcpdf',
'tidy': 'php7.0-tidy',
'xcache': 'php',
@ -1459,6 +1462,7 @@
'suhosin5_repo': 'https://github.com/sektioneins/suhosin',
'suhosin7_ext': 'suhosin7.so',
'suhosin7_repo': 'https://github.com/sektioneins/suhosin7',
'sybase': 'php' + phpng_version + '-sybase',
'tcpdf': 'php-tcpdf',
'temp_dir': '/tmp',
'tidy': 'php' + phpng_version + '-tidy',
@ -1781,6 +1785,7 @@
'suhosin7_ext': 'suhosin7.so',
'suhosin7_repo': 'https://github.com/sektioneins/suhosin7',
'svn': 'php5-svn',
'sybase': 'php5-sybase',
'tcpdf': 'php-tcpdf',
'temp_dir': '/tmp',
'tidy': 'php5-tidy',

2
php/ng/sybase.sls Normal file
View File

@ -0,0 +1,2 @@
{% set state = 'sybase' %}
{% include "php/ng/installed.jinja" %}

8
php/sybase.sls Normal file
View File

@ -0,0 +1,8 @@
{%- from "php/map.jinja" import php with context %}
include:
- php
php-sybase:
pkg.installed:
- name: {{ php.sybase_pkg }}