Browse Source

Add Sybase/MS-SQL extension

tags/v0.34.0
Javier Bértoli 7 years ago
parent
commit
5d4a8201de
5 changed files with 30 additions and 0 deletions
  1. +10
    -0
      README.rst
  2. +5
    -0
      php/map.jinja
  3. +5
    -0
      php/ng/map.jinja
  4. +2
    -0
      php/ng/sybase.sls
  5. +8
    -0
      php/sybase.sls

+ 10
- 0
README.rst 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``
---------------


+ 5
- 0
php/map.jinja 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',

+ 5
- 0
php/ng/map.jinja 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
- 0
php/ng/sybase.sls View File

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

+ 8
- 0
php/sybase.sls View File

@@ -0,0 +1,8 @@
{%- from "php/map.jinja" import php with context %}

include:
- php

php-sybase:
pkg.installed:
- name: {{ php.sybase_pkg }}

Loading…
Cancel
Save