public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: cvsdist <cvsdist@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/php] private-php86: auto-import php-4.2.2-17  from php-4.2.2-17.src.rpm
Date: Fri, 27 Nov 2026 07:22:08 GMT	[thread overview]
Message-ID: <179576412823.1.3314982572397815743.rpms-php-e80855581efa@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/php
Branch : private-php86
Commit : e80855581efa31f298f4aa6374bfadb15d375e56
Author : cvsdist <cvsdist@fedoraproject.org>
Date   : 2004-09-09T10:38:32+00:00
Stats  : +29/-13 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/php/c/e80855581efa31f298f4aa6374bfadb15d375e56?branch=private-php86

Log:
auto-import php-4.2.2-17  from php-4.2.2-17.src.rpm

---
diff --git a/php.spec b/php.spec
index 8751fa6..2a747ed 100644
--- a/php.spec
+++ b/php.spec
@@ -1,8 +1,6 @@
 %define contentdir /var/www
 %define manual_langs de en es fr it ja ko pt_BR
 
-ExcludeArch: x86_64
-
 # For those wanting to recompile with Oracle libraries
 # rpm --rebuild --define 'oracle 1' php4.2.1-x.src.rpm
 #
@@ -11,7 +9,7 @@ ExcludeArch: x86_64
 Summary: The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor)
 Name: php
 Version: 4.2.2
-Release: 13a
+Release: 17
 License: The PHP License
 Group: Development/Languages
 URL: http://www.php.net/
@@ -41,6 +39,11 @@ Patch6: php-4.1.2-missing-vars.patch
 Patch9: php-4.2.2-lib64.patch
 Patch10: php-4.2.2-inidir.patch
 Patch11: php-4.2.2-openssl097.patch
+Patch12: php-4.2.2-snmp.patch
+
+# Security fixes
+Patch30: php-4.2.2-mailsec.patch
+Patch31: php-4.2.2-wrap.patch
 
 # Where are we going to build the install set to?
 #
@@ -54,7 +57,7 @@ BuildRequires: zlib-devel
 BuildRequires: bzip2, fileutils, perl
 Obsoletes: php-dbg, mod_php, php3, phpfi
 # Enforce Apache module ABI compatibility
-Requires: httpd-mmn = %(cat %{_includedir}/httpd/.mmn)
+Requires: httpd-mmn = %(cat %{_includedir}/httpd/.mmn || echo missing-httpd-devel)
 
 %description
 PHP is an HTML-embedded scripting language. PHP attempts to make it
@@ -124,8 +127,6 @@ Requires: php = %{version}-%{release}
 Provides: php_database
 Obsoletes: mod_php3-mysql
 BuildRequires: mysql-devel
-Requires: mysql
-Requires: zlib
 
 %description mysql
 The php-mysql package contains a dynamic shared object that will add
@@ -141,9 +142,6 @@ Requires: php = %{version}-%{release}
 Provides: php_database
 Obsoletes: mod_php3-pgsql
 BuildRequires: krb5-devel, openssl-devel, postgresql-devel
-Requires: krb5-libs
-Requires: openssl
-Requires: postgresql-libs
 
 %description pgsql
 The php-pgsql package includes a dynamic shared object (DSO) that can
@@ -160,7 +158,6 @@ Requires: php = %{version}-%{release}
 Summary: A module for PHP applications that use ODBC databases.
 Provides: php_database
 BuildRequires: unixODBC-devel
-Requires: unixODBC
 
 %description odbc
 The php-odbc package contains a dynamic shared object that will add
@@ -204,9 +201,14 @@ will need to install this package and the php package.
 %patch4 -p1
 %patch5 -p1 -b .ap2
 %patch6 -p1
-%patch9 -p1
+%patch9 -p1 -b .lib64
 %patch10 -p1 -b .inidir
 %patch11 -p1 -b .ossl097
+%patch12 -p1 -b .snmp
+
+# Security fixes
+%patch30 -p1 -b .mailsec
+%patch31 -p1 -b .wrap
 
 # Prevent %doc confusion over LICENSE & Zend/LICENSE
 cp Zend/LICENSE Zend/ZEND_LICENSE
@@ -216,7 +218,7 @@ mkdir build-cgi build-apache
 
 # Use correct libdir
 perl -pi -e 's|\$\(prefix\)/lib|%{_libdir}|' pear/Makefile.in
-perl -pi -e 's|%{_prefix}/lib|%{_libdir}|' php-ini.dist
+perl -pi -e 's|%{_prefix}/lib|%{_libdir}|' php.ini-dist
 
 %build
 
@@ -247,7 +249,6 @@ touch acinclude.m4
 build() {
 ln -sf ../configure
 %configure \
-	--prefix=%{_prefix} \
 	--cache-file=../config.cache \
 	--with-config-file-path=%{_sysconfdir} \
 	--with-config-file-scan-dir=%{_sysconfdir}/php.d \
@@ -456,6 +457,21 @@ rm files.*
 %files snmp -f files.snmp
 
 %changelog
+* Mon Feb 24 2003 Joe Orton <jorton@redhat.com> 4.2.2-17
+- restrict SNMP patch to minimal changes, fixing segv on startup (#84607)
+
+* Wed Feb 12 2003 Joe Orton <jorton@redhat.com> 4.2.2-16
+- prevent startup if using httpd.worker to avoid thread-safety issues.
+- fix parsing private keys in OpenSSL extension (#83994)
+- fixes for SNMP extension (backport from 4.3) (#74761)
+
+* Wed Jan 29 2003 Joe Orton <jorton@redhat.com> 4.2.2-15
+- add security fixes for wordwrap() and mail()
+
+* Mon Jan 13 2003 Joe Orton <jorton@redhat.com> 4.2.2-14
+- drop explicit Requires in subpackages, rely on automatic deps.
+- further fixes for libdir=lib64
+
 * Tue Dec 17 2002 Joe Orton <jorton@redhat.com> 4.2.2-13
 - drop prereq for perl, grep in subpackages
 - rebuild and patch for OpenSSL 0.9.7

                 reply	other threads:[~2026-11-27  7:22 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=179576412823.1.3314982572397815743.rpms-php-e80855581efa@fedoraproject.org \
    --to=cvsdist@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