public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Remi Collet <remi@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/php] private-php86: build sockets extension statically
Date: Fri, 27 Nov 2026 07:32:53 GMT	[thread overview]
Message-ID: <179576477361.1.12149602176646896176.rpms-php-7f12105fead6@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/php
Branch : private-php86
Commit : 7f12105fead6b430446052aa6ad8316cbfb9e016
Author : Remi Collet <remi@fedoraproject.org>
Date   : 2023-11-08T08:29:40+01:00
Stats  : +9/-6 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/php/c/7f12105fead6b430446052aa6ad8316cbfb9e016?branch=private-php86

Log:
build sockets extension statically

---
diff --git a/php.spec b/php.spec
index 57d4d1c..0d708b4 100644
--- a/php.spec
+++ b/php.spec
@@ -70,7 +70,7 @@
 Summary: PHP scripting language for creating dynamic web sites
 Name: php
 Version: %{upver}%{?rcver:~%{rcver}}
-Release: 1%{?dist}
+Release: 2%{?dist}
 # All files licensed under PHP version 3.01, except
 # Zend is licensed under Zend
 # TSRM is licensed under BSD
@@ -865,6 +865,7 @@ mkdir Zend && cp ../Zend/zend_{language,ini}_{parser,scanner}.[ch] Zend
 # date, ereg, filter, libxml, reflection, spl: not supported
 # hash: for PHAR_SIG_SHA256 and PHAR_SIG_SHA512
 # session: dep on hash, used by soap
+# sockets: heavily used by FPM test suite
 # pcre: used by filter, zip
 # pcntl, readline: only used by CLI sapi
 # openssl: for PHAR_SIG_OPENSSL
@@ -898,6 +899,7 @@ ln -sf ../configure
     --with-mhash \
     --without-password-argon2 \
     --enable-dtrace \
+    --enable-sockets \
     $*
 if test $? != 0; then
   tail -500 config.log
@@ -943,7 +945,6 @@ build --libdir=%{_libdir}/php \
       --enable-ftp=shared \
       --with-gettext=shared \
       --with-iconv=shared \
-      --enable-sockets=shared \
       --enable-tokenizer=shared \
       --with-ldap=shared --with-ldap-sasl \
       --enable-mysqlnd=shared \
@@ -1006,7 +1007,7 @@ without_shared="--without-gd \
       --without-curl --disable-posix --disable-xml \
       --disable-simplexml --disable-exif --without-gettext \
       --without-iconv --disable-ftp --without-bz2 --disable-ctype \
-      --disable-shmop --disable-sockets --disable-tokenizer \
+      --disable-shmop --disable-tokenizer \
       --disable-sysvmsg --disable-sysvshm --disable-sysvsem"
 
 %if %{with modphp}
@@ -1079,7 +1080,6 @@ build --includedir=%{_includedir}/php-zts \
 %endif
       --with-gettext=shared \
       --with-iconv=shared \
-      --enable-sockets=shared \
       --enable-tokenizer=shared \
       --enable-exif=shared \
       --enable-ftp=shared \
@@ -1263,7 +1263,7 @@ for mod in pgsql odbc ldap snmp \
     mysqlnd mysqli \
     mbstring gd dom xsl soap bcmath dba \
     simplexml bz2 calendar ctype exif ftp gettext gmp iconv \
-    sockets tokenizer opcache \
+    tokenizer opcache \
     sqlite3 \
     enchant phar fileinfo intl \
     ffi \
@@ -1356,7 +1356,7 @@ cat files.sqlite3 >> files.pdo
 # Package curl, phar and fileinfo in -common.
 cat files.curl files.phar files.fileinfo \
     files.exif files.gettext files.iconv files.calendar \
-    files.ftp files.bz2 files.ctype files.sockets \
+    files.ftp files.bz2 files.ctype \
     files.tokenizer > files.common
 
 # The default Zend OPcache blacklist file
@@ -1552,6 +1552,9 @@ systemctl try-restart php-fpm.service >/dev/null 2>&1 || :
 
 
 %changelog
+* Wed Nov  8 2023 Remi Collet <remi@remirepo.net> - 8.3.0~RC6-2
+- build sockets extension statically
+
 * Wed Nov  8 2023 Remi Collet <remi@remirepo.net> - 8.3.0~RC6-1
 - update to 8.3.0RC6
 

                 reply	other threads:[~2026-11-27  7:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179576477361.1.12149602176646896176.rpms-php-7f12105fead6@fedoraproject.org \
    --to=remi@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox