SHA256
1
0
forked from pool/php-gnupg

8 Commits

Author SHA256 Message Date
a6680506fe Accepting request 1298436 from server:php:extensions
OBS-URL: https://build.opensuse.org/request/show/1298436
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/php-gnupg?expand=0&rev=4
2025-08-09 17:59:27 +00:00
8ef1183ac0 - Update to 1.5.4
* Fixed GH-57: PHP 8.5 build failure due to usage of removed
    zend_exception_get_default()
  * Fixed GH-59: Failure to build with gpgme >= 2.0.0 due to romoved
    trustlist
- Remove 60.patch (upstreamed)

OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-gnupg?expand=0&rev=18
2025-08-08 19:22:44 +00:00
2c597743ce - Remove no_uid_hint_msg.gpg that was accidentally not packaged in the
archive 1.5.2 available from upstream (no longer needed)

OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-gnupg?expand=0&rev=17
2025-08-03 14:37:44 +00:00
8438e6be99 - Fix build with GPGME >= 2.0.0 (boo#1246848, gh#php-gnupg/php-gnupg#59)
+ added 60.patch

OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-gnupg?expand=0&rev=16
2025-08-02 19:34:19 +00:00
f066778443 Accepting request 1294538 from server:php:extensions
OBS-URL: https://build.opensuse.org/request/show/1294538
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/php-gnupg?expand=0&rev=3
2025-07-21 18:00:05 +00:00
e5899d770f - Update to 1.5.3:
* Fix decryption of message encrypted with multiple keys [boo#1246759]
- Update to 1.5.2
  * Fixed GH-37: gnupg_decrypt() returns false when decrypting an
    encrypted empty string
  * Fixed GH-46: gnupg_decrypt() segfaults when password callback user
    ID hint is not supplied
  * Fixed 1.5.0 regressition - the deletekey `allow_secret` made
    optional again
- Add no_uid_hint_msg.gpg that was accidentally not packaged in the
  archive available from upstream
- Remove php7 build for Tumbleweed (PHP 7.4 has reached EOL)
- Update to 1.5.1
  * Fixed compilation with PHP 8.1
  * Fixed build with gpgme 1.4
- Update to 1.5.0
  * Added new README.md
- Update to 1.5.0RC2
  * Fixed build with libgpgme 1.3
  * Fixed largefile support on 32-bit platforms
    (delete 0001_add_largefile_support.patch)
  * Fixed tests in PECL archive
    (delete gnupgt.inc and vars.inc)
- Fix build on i586 (expects largefile support to be enabled)
- Update to 1.5.0RC1
  * Added support for PHP 8
  * Added support for GnuPG 2.1+
  * Added argument info for all functions and methods (reflection support)
  * Added new function `gnupg_getengineinfo`
  * Added new function `gnupg_geterrorinfo`
  * Added init array argument for setting home dir and gpg binary file name
  * Added additional fields to `gnupg_keyinfo` returned array
  * Added parameter to `gnupg_keyinfo` to use `secret_only`
  * Fixed `gnupg_deletekey` to use boolean for `allow_secret` parameter
- Update to 1.4.0
  * No changes since 1.4.0RC2
- Update to 1.4.0RC2
  * Fixed ZTS issue with invalid context for a password callback
- Update to 1.4.0RC1
  * Added support for PHP 7
  * Fixed various compilation issues
- Use _multibuild to build for php7 and php8
- Use php_cfgdir and php_extdir macros to determine location of files
- Run unit tests
- Add files missing from the PECL tarball
  + gnupgt.inc
  + vars.inc
- provides php-gnupg symbol
- updated to 1.3.6
- use versioning macros 
- update to version 1.3.1 fixing a double-free with recent gpgme-lib

OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-gnupg?expand=0&rev=14
2025-07-19 21:28:24 +00:00
f410778b7d Accepting request 1273811 from server:php:extensions
OBS-URL: https://build.opensuse.org/request/show/1273811
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/php-gnupg?expand=0&rev=2
2025-05-01 13:23:35 +00:00
57412da094 - Update to 1.5.2
* Fixed GH-37: gnupg_decrypt() returns false when decrypting an
    encrypted empty string
  * Fixed GH-46: gnupg_decrypt() segfaults when password callback user
    ID hint is not supplied
  * Fixed 1.5.0 regressition - the deletekey `allow_secret` made
    optional again
- Add no_uid_hint_msg.gpg that was accidentally not packaged in the
  archive available from upstream

OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-gnupg?expand=0&rev=12
2025-05-01 07:43:00 +00:00
4 changed files with 45 additions and 7 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a9906f465ab2343cb2f3127ee209c72760238745c34878d9bbc1576486219252
size 37316

3
gnupg-1.5.4.tgz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4d4a0980759bf259e4129ef02cb592bbeb103b4005e7b4bb6945d79488951a50
size 47874

View File

@@ -1,3 +1,40 @@
-------------------------------------------------------------------
Fri Aug 8 19:13:22 UTC 2025 - Arjen de Korte <suse+build@de-korte.org>
- Update to 1.5.4
* Fixed GH-57: PHP 8.5 build failure due to usage of removed
zend_exception_get_default()
* Fixed GH-59: Failure to build with gpgme >= 2.0.0 due to romoved
trustlist
- Remove 60.patch (upstreamed)
- Remove no_uid_hint_msg.gpg that was accidentally not packaged in the
archive 1.5.2 available from upstream (no longer needed)
-------------------------------------------------------------------
Sat Aug 2 19:17:39 UTC 2025 - Arjen de Korte <suse+build@de-korte.org>
- Fix build with GPGME >= 2.0.0 (boo#1246848, gh#php-gnupg/php-gnupg#59)
+ added 60.patch
-------------------------------------------------------------------
Sat Jul 19 19:24:44 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
- Update to 1.5.3:
* Fix decryption of message encrypted with multiple keys [boo#1246759]
-------------------------------------------------------------------
Sun Apr 27 18:42:54 UTC 2025 - Arjen de Korte <suse+build@de-korte.org>
- Update to 1.5.2
* Fixed GH-37: gnupg_decrypt() returns false when decrypting an
encrypted empty string
* Fixed GH-46: gnupg_decrypt() segfaults when password callback user
ID hint is not supplied
* Fixed 1.5.0 regressition - the deletekey `allow_secret` made
optional again
- Add no_uid_hint_msg.gpg that was accidentally not packaged in the
archive available from upstream
-------------------------------------------------------------------
Sat Dec 10 10:32:12 UTC 2022 - Arjen de Korte <suse+build@de-korte.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package php-gnupg
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -31,7 +31,7 @@ ExclusiveArch: do-not-build
%endif
Name: %{php_name}-%{pkg_name}
Version: 1.5.1
Version: 1.5.4
Release: 0
Summary: PHP wrapper around the gpgme library
License: BSD-2-Clause
@@ -40,7 +40,8 @@ URL: https://pecl.php.net/gnupg
Source0: https://pecl.php.net/get/%{pkg_name}-%{version}.tgz
Source1: php-%{pkg_name}-rpmlintrc
BuildRequires: %{php_name}-devel
BuildRequires: gpgme-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gpgme)
Requires: php(api) = %{php_core_api}
Requires: php(zend-abi) = %{php_zend_api}
Provides: php-gnupg = %{version}
@@ -50,7 +51,7 @@ Obsoletes: php-gnupg < %{version}
This extension provides methods to interact with gnupg.
%prep
%setup -q -n %{pkg_name}-%{version}
%autosetup -p1 -n %{pkg_name}-%{version}
%build
export CFLAGS="%{optflags} -fno-strict-aliasing"