public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/php] private-php86: disable argon2 and mdb support
@ 2026-11-27 7:29 Remi Collet
0 siblings, 0 replies; only message in thread
From: Remi Collet @ 2026-11-27 7:29 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/php
Branch : private-php86
Commit : 81536250e3bf0f0e6e08c5caa5f05034eba60b8a
Author : Remi Collet <rcollet@redhat.com>
Date : 2018-03-09T13:44:29+01:00
Stats : +14/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/php/c/81536250e3bf0f0e6e08c5caa5f05034eba60b8a?branch=private-php86
Log:
disable argon2 and mdb support
---
diff --git a/php.spec b/php.spec
index c3256cd..1d2894b 100644
--- a/php.spec
+++ b/php.spec
@@ -46,6 +46,8 @@
%global with_freetds 1
%global with_sodium 1
%global with_pspell 1
+%global with_lmdb 1
+%global with_argon2 1
%else
%global with_zts 0
%global with_firebird 0
@@ -53,6 +55,8 @@
%global with_freetds 0
%global with_sodium 0
%global with_pspell 0
+%global with_lmdb 0
+%global with_argon2 0
%endif
%global upver 7.2.3
@@ -139,7 +143,9 @@ BuildRequires: libzip-devel >= 0.11
%if %{with_dtrace}
BuildRequires: systemtap-sdt-devel
%endif
+%if %{with_argon2}
BuildRequires: libargon2-devel
+%endif
%if %{with_zts}
Provides: php-zts = %{version}-%{release}
@@ -561,7 +567,9 @@ Summary: A database abstraction layer module for PHP applications
License: PHP
BuildRequires: libdb-devel
BuildRequires: tokyocabinet-devel
+%if %{with_lmdb}
BuildRequires: lmdb-devel
+%endif
Requires: php-common%{?_isa} = %{version}-%{release}
%description dba
@@ -873,7 +881,9 @@ ln -sf ../configure
--with-libxml-dir=%{_prefix} \
--with-system-tzdata \
--with-mhash \
+%if %{with_argon2}
--with-password-argon2 \
+%endif
%if %{with_dtrace}
--enable-dtrace \
%endif
@@ -913,7 +923,9 @@ build --libdir=%{_libdir}/php \
--enable-ctype=shared \
--enable-dba=shared --with-db4=%{_prefix} \
--with-tcadb=%{_prefix} \
+%if %{with_lmdb}
--with-lmdb=%{_prefix} \
+%endif
--enable-exif=shared \
--enable-ftp=shared \
--with-gettext=shared \
@@ -1052,7 +1064,9 @@ build --includedir=%{_includedir}/php-zts \
--enable-ctype=shared \
--enable-dba=shared --with-db4=%{_prefix} \
--with-tcadb=%{_prefix} \
+%if %{with_lmdb}
--with-lmdb=%{_prefix} \
+%endif
--with-gettext=shared \
--with-iconv=shared \
--enable-sockets=shared \
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-27 7:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27 7:29 [rpms/php] private-php86: disable argon2 and mdb support Remi Collet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox