diff options
| author | Remi Collet <remi@remirepo.net> | 2026-04-02 15:18:31 +0200 |
|---|---|---|
| committer | Remi Collet <remi@php.net> | 2026-04-02 15:18:31 +0200 |
| commit | 56a24f8dca50a25a20e31a507175653c9556ad2d (patch) | |
| tree | 1d949b08197013aff14b985c4d1074483f99a651 | |
| parent | decc6ffbbe1ce0fbb88cb43baf4378c9a788586d (diff) | |
sources from github
| -rw-r--r-- | PHPINFO | 2 | ||||
| -rw-r--r-- | REFLECTION | 30 | ||||
| -rw-r--r-- | php-pecl-krb5.spec | 58 |
3 files changed, 48 insertions, 42 deletions
@@ -3,7 +3,7 @@ krb5 Kerberos 5 support => enabled Extension version => 1.2.4 -Library version => Kerberos 5 release 1.21.3 +Library version => Kerberos 5 release 1.22.2 KADM5 support => yes Import cred support => no GSSAPI/SPNEGO auth support => yes @@ -1,20 +1,20 @@ -Extension [ <persistent> extension #87 krb5 version 1.2.4 ] { +Extension [ <persistent> extension #92 krb5 version 1.2.4 ] { - Constants [14] { - Constant [ int GSS_C_DELEG_FLAG ] { 1 } - Constant [ int GSS_C_MUTUAL_FLAG ] { 2 } - Constant [ int GSS_C_REPLAY_FLAG ] { 4 } - Constant [ int GSS_C_SEQUENCE_FLAG ] { 8 } - Constant [ int GSS_C_CONF_FLAG ] { 16 } - Constant [ int GSS_C_INTEG_FLAG ] { 32 } - Constant [ int GSS_C_ANON_FLAG ] { 64 } - Constant [ int GSS_C_PROT_READY_FLAG ] { 128 } - Constant [ int GSS_C_TRANS_FLAG ] { 256 } - Constant [ int GSS_C_BOTH ] { 0 } - Constant [ int GSS_C_INITIATE ] { 1 } - Constant [ int GSS_C_ACCEPT ] { 2 } - Constant [ int GSS_C_NO_NAME ] { 0 } - Constant [ int KRB5_TL_DB_ARGS ] { 32767 } + Constant [ <persistent> int GSS_C_DELEG_FLAG ] { 1 } + Constant [ <persistent> int GSS_C_MUTUAL_FLAG ] { 2 } + Constant [ <persistent> int GSS_C_REPLAY_FLAG ] { 4 } + Constant [ <persistent> int GSS_C_SEQUENCE_FLAG ] { 8 } + Constant [ <persistent> int GSS_C_CONF_FLAG ] { 16 } + Constant [ <persistent> int GSS_C_INTEG_FLAG ] { 32 } + Constant [ <persistent> int GSS_C_ANON_FLAG ] { 64 } + Constant [ <persistent> int GSS_C_PROT_READY_FLAG ] { 128 } + Constant [ <persistent> int GSS_C_TRANS_FLAG ] { 256 } + Constant [ <persistent> int GSS_C_BOTH ] { 0 } + Constant [ <persistent> int GSS_C_INITIATE ] { 1 } + Constant [ <persistent> int GSS_C_ACCEPT ] { 2 } + Constant [ <persistent> int GSS_C_NO_NAME ] { 0 } + Constant [ <persistent> int KRB5_TL_DB_ARGS ] { 32767 } } - Classes [8] { diff --git a/php-pecl-krb5.spec b/php-pecl-krb5.spec index 776d846..386b96f 100644 --- a/php-pecl-krb5.spec +++ b/php-pecl-krb5.spec @@ -3,7 +3,7 @@ # # Fedora spec file for php-pecl-krb5 # -# SPDX-FileCopyrightText: Copyright 2014-2025 Remi Collet +# SPDX-FileCopyrightText: Copyright 2014-2026 Remi Collet # SPDX-License-Identifier: CECILL-2.1 # http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt # @@ -17,26 +17,34 @@ %global _root_bindir %{_bindir} %endif -%global pecl_name krb5 -%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} +%global pecl_name krb5 +%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global ini_name 40-%{pecl_name}.ini -%global sources %{pecl_name}-%{version} +%global sources %{gh_proj}-%{version} %global _configure ../%{sources}/configure -Summary: Kerberos authentification extension +# Github forge +%global gh_vend php +%global gh_proj pecl-authentication-krb5 +%global forgeurl https://github.com/%{gh_vend}/%{gh_proj} +%global tag v%{version} +# for EL-8 to avoid TAG usage +%global archivename %{gh_proj}-%{version} + Name: %{?scl_prefix}php-pecl-%{pecl_name} -Version: 1.2.4 -Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Summary: Kerberos authentification extension License: MIT -URL: https://pecl.php.net/package/%{pecl_name} -Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz +Version: 1.2.4 +Release: 4%{?dist} +%forgemeta +URL: %{forgeurl} +Source0: %{forgesource} BuildRequires: make BuildRequires: %{?dtsprefix}gcc BuildRequires: krb5-devel >= 1.8 BuildRequires: pkgconfig(com_err) BuildRequires: %{?scl_prefix}php-devel >= 7.0 -BuildRequires: %{?scl_prefix}php-pear %if 0%{?fedora} >= 40 # TODO need investigation BuildRequires: gmp @@ -45,10 +53,13 @@ BuildRequires: gmp Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} +# Extension Provides: %{?scl_prefix}php-%{pecl_name} = %{version} Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version} +# PECL Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version} Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version} +# No PIE for now %description @@ -75,8 +86,6 @@ These are the files needed to compile programs using the Kerberos extension. %prep %setup -q -c -sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml - cd %{sources} # Sanity check, really often broken extver=$(sed -n '/#define PHP_KRB5_VERSION/{s/.* "//;s/".*$//;p}' php_krb5.h) @@ -134,23 +143,12 @@ peclbuild %{__ztsphpconfig} # install config file install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name} -# Install XML package description -install -D -m 644 package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml - %if %{with_zts} %make_install -C ZTS install -D -m 644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name} %endif -# Test & Documentation -for i in $(grep 'role="test"' package.xml | sed -e 's/^.*name="//;s/".*$//') -do install -Dpm 644 %{sources}/$i %{buildroot}%{pecl_testdir}/%{pecl_name}/$i -done -for i in $(grep 'role="doc"' package.xml | sed -e 's/^.*name="//;s/".*$//') -do install -Dpm 644 %{sources}/$i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i -done - %check : Minimal load test for NTS extension @@ -168,8 +166,9 @@ done %files %license %{sources}/LICENSE -%doc %{pecl_docdir}/%{pecl_name} -%{pecl_xmldir}/%{name}.xml +%doc %{sources}/CREDITS +%doc %{sources}/README +%doc %{sources}/examples %config(noreplace) %{php_inidir}/%{ini_name} %{php_extdir}/%{pecl_name}.so @@ -181,7 +180,7 @@ done %files devel -%doc %{pecl_testdir}/%{pecl_name} +%doc %{sources}/tests %{php_incldir}/ext/%{pecl_name} @@ -191,6 +190,13 @@ done %changelog +* Thu Apr 2 2026 Remi Collet <remi@remirepo.net> - 1.2.4-4 +- drop pear/pecl dependency +- sources from github + +* Thu Sep 25 2025 Remi Collet <remi@remirepo.net> - 1.2.4-3 +- rebuild for PHP 8.5.0RC1 + * Wed Jul 30 2025 Remi Collet <remi@remirepo.net> - 1.2.4-2 - rebuild for 8.5.0alpha3 |
