summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-12-04 15:14:09 +0100
committerRemi Collet <fedora@famillecollet.com>2012-12-04 15:14:09 +0100
commitd5b45f42739ae7c0153cbdea633659fc93f453a8 (patch)
treee74ee20f2d0236a345a2d674fdc6053b74ee00f8
parent0ba6b67abfb39456a4b75165a33d2f4c07b5b087 (diff)
PHP 5.5: build ftp as shared
-rw-r--r--php55.spec13
1 files changed, 7 insertions, 6 deletions
diff --git a/php55.spec b/php55.spec
index 4eb6b2c..929bb97 100644
--- a/php55.spec
+++ b/php55.spec
@@ -911,14 +911,12 @@ ln -sf ../configure
%endif
--with-zlib \
--with-layout=GNU \
- --enable-ftp \
--enable-magic-quotes \
--enable-sockets \
--with-kerberos \
--enable-ucd-snmp-hack \
--enable-shmop \
--with-libxml-dir=%{_prefix} \
- --enable-xml \
%if 0%{?fedora} >= 16 || 0%{?rhel} >= 5
--with-system-tzdata \
%endif
@@ -948,6 +946,7 @@ build --enable-force-cgi-redirect \
--enable-bcmath=shared \
--enable-dba=shared --with-db4=%{_prefix} \
--enable-exif=shared \
+ --enable-ftp=shared \
--with-gettext=shared \
--with-iconv=shared \
--with-xmlrpc=shared \
@@ -1017,7 +1016,7 @@ without_shared="--without-gd \
--disable-json --without-pspell --disable-wddx \
--without-curl --disable-posix --disable-xml \
--disable-simplexml --disable-exif --without-gettext \
- --without-iconv \
+ --without-iconv --disable-ftp \
--disable-sysvmsg --disable-sysvshm --disable-sysvsem"
# Build Apache module, and the CLI SAPI, /usr/bin/php
@@ -1071,6 +1070,7 @@ build --enable-force-cgi-redirect \
--with-gettext=shared \
--with-iconv=shared \
--enable-exif=shared \
+ --enable-ftp=shared \
--with-xmlrpc=shared \
--with-ldap=shared --with-ldap-sasl \
--enable-mysqlnd=shared \
@@ -1295,7 +1295,7 @@ install -m 644 %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/php-fpm
for mod in pgsql mysql mysqli odbc ldap snmp xmlrpc imap \
mysqlnd mysqlnd_mysql mysqlnd_mysqli pdo_mysqlnd \
mbstring gd dom xsl soap bcmath dba xmlreader xmlwriter \
- simplexml calendar exif gettext gmp iconv \
+ simplexml calendar exif ftp gettext gmp iconv \
pdo pdo_mysql pdo_pgsql pdo_odbc pdo_sqlite json %{zipmod} \
%{?_with_oci8:oci8} %{?_with_oci8:pdo_oci} interbase pdo_firebird \
%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6
@@ -1363,7 +1363,7 @@ cat files.sqlite3 >> files.pdo
# Package json, zip, curl, phar and fileinfo in -common.
cat files.json files.curl files.phar files.fileinfo \
files.exif files.gettext files.iconv files.calendar \
- > files.common
+ files.ftp > files.common
%if %{with_zip}
cat files.zip >> files.common
%endif
@@ -1602,7 +1602,8 @@ fi
%changelog
* Tue Dec 4 2012 Remi Collet <remi@fedoraproject.org> 5.5.0-0.4.201211301534
- build simplexml and xml extensions shared (in php-xml)
-- build calendar, exif, gettext and iconv extensions shared (in php-common)
+- build calendar, exif, ftp, gettext and iconv extensions shared
+ (in php-common)
- build gmp extension shared (in php-bcmath)
* Mon Dec 3 2012 Remi Collet <remi@fedoraproject.org> 5.5.0-0.3.201211301534