Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mapi-header-php for openSUSE:Factory checked in at 2023-02-28 12:48:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mapi-header-php (Old) and /work/SRC/openSUSE:Factory/.mapi-header-php.new.31432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mapi-header-php" Tue Feb 28 12:48:31 2023 rev:3 rq:1067987 version:1.1.0.70e984f Changes: -------- --- /work/SRC/openSUSE:Factory/mapi-header-php/mapi-header-php.changes 2023-01-21 19:11:44.717361507 +0100 +++ /work/SRC/openSUSE:Factory/.mapi-header-php.new.31432/mapi-header-php.changes 2023-02-28 12:48:52.928573985 +0100 @@ -1,0 +2,8 @@ +Mon Feb 27 12:17:12 UTC 2023 - Jan Engelhardt <jeng...@inai.de> + +- Update to tag 1.1 (70e984f) + * Add a prefix to the CAL_DEFAULT and CAL_GREGORIAN constants to + avoid runtime conflict with php-calendar + * Remove mapi_strerror since it was moved to Gromox/PHP-MAPI + +------------------------------------------------------------------- Old: ---- mapi-header-php-1.0.13.f8f3255.tar.xz New: ---- mapi-header-php-1.1.0.70e984f.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mapi-header-php.spec ++++++ --- /var/tmp/diff_new_pack.nyo6cJ/_old 2023-02-28 12:48:53.696578975 +0100 +++ /var/tmp/diff_new_pack.nyo6cJ/_new 2023-02-28 12:48:53.700579000 +0100 @@ -19,7 +19,7 @@ %define _empty_manifest_terminate_build 0 Name: mapi-header-php -Version: 1.0.13.f8f3255 +Version: 1.1.0.70e984f Release: 0 Summary: Common PHP MAPI header files for grommunio License: AGPL-3.0-or-later @@ -39,9 +39,7 @@ %build %install -b=%buildroot -mkdir -p "$b/%_datadir/php-mapi" -cp -av *.php "$b/%_datadir/php-mapi/" +%make_install %files %_datadir/php-mapi/ ++++++ debian.changelog ++++++ --- /var/tmp/diff_new_pack.nyo6cJ/_old 2023-02-28 12:48:53.752579338 +0100 +++ /var/tmp/diff_new_pack.nyo6cJ/_new 2023-02-28 12:48:53.752579338 +0100 @@ -1,4 +1,4 @@ -mapi-header-php (1.0.13.f8f3255) unstable; urgency=low +mapi-header-php (1.1.0.70e984f) unstable; urgency=low * Initial package. ++++++ debian.control ++++++ --- /var/tmp/diff_new_pack.nyo6cJ/_old 2023-02-28 12:48:53.772579468 +0100 +++ /var/tmp/diff_new_pack.nyo6cJ/_new 2023-02-28 12:48:53.776579494 +0100 @@ -9,6 +9,7 @@ Package: mapi-header-php Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends}, grommunio-error-pages +Conflicts: gromox (< 2.3.20) Description: Common PHP MAPI header files for grommunio PHP files shared between grommunio-web, grommunio-sync and other PHP applications from the groupware suite. ++++++ debian.rules ++++++ --- /var/tmp/diff_new_pack.nyo6cJ/_old 2023-02-28 12:48:53.800579650 +0100 +++ /var/tmp/diff_new_pack.nyo6cJ/_new 2023-02-28 12:48:53.804579676 +0100 @@ -5,6 +5,5 @@ dh $@ override_dh_auto_install: - mkdir -p "${INSTDIR}/usr/share/php-mapi/" - cp -av *.php "${INSTDIR}/usr/share/php-mapi/" + make install DESTDIR=${INSTDIR} ++++++ mapi-header-php-1.0.13.f8f3255.tar.xz -> mapi-header-php-1.1.0.70e984f.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mapi-header-php-1.0.13.f8f3255/Makefile new/mapi-header-php-1.1.0.70e984f/Makefile --- old/mapi-header-php-1.0.13.f8f3255/Makefile 1970-01-01 01:00:00.000000000 +0100 +++ new/mapi-header-php-1.1.0.70e984f/Makefile 2023-02-24 21:53:58.000000000 +0100 @@ -0,0 +1,13 @@ +# -*- Makefile -*- + +prefix = /usr +datadir = ${prefix}/share +pkgdatadir = ${datadir}/${PACKAGE_NAME} +PACKAGE_NAME = php-mapi +MKDIR_P = mkdir -p + +all: + +install: + ${MKDIR_P} ${DESTDIR}${pkgdatadir} + install -m0644 *.php ${DESTDIR}${pkgdatadir}/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mapi-header-php-1.0.13.f8f3255/README.md new/mapi-header-php-1.1.0.70e984f/README.md --- old/mapi-header-php-1.0.13.f8f3255/README.md 2023-01-12 14:22:15.000000000 +0100 +++ new/mapi-header-php-1.1.0.70e984f/README.md 1970-01-01 01:00:00.000000000 +0100 @@ -1,106 +0,0 @@ -# grommunio MAPI headers (PHP) - - -[](https://github.com/grommunio/mapi-header-php/tags) -[](https://scrutinizer-ci.com/g/grommunio/mapi-header-php/) -[](https://github.com/grommunio/mapi-header-php) - -[](https://github.com/grommunio/mapi-header-php/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22) -[](https://grommunio.com) -[](https://twitter.com/grommunio) - -grommunio MAPI headers (PHP) provide the central repository for PHP-based MAPI applications. These MAPI header files are used by [grommunio Web](https://github.com/grommunio/grommunio-web), [grommunio Sync](https://github.com/grommunio/grommunio-sync) and [grommunio Dav](https://github.com/grommunio/grommunio-dav), eliminating the independent maintenance of these header files thereof. - -<details open="open"> -<summary>Overview</summary> - -- [About](#about) - - [Compatible with](#compatible-with) -- [Getting Started](#getting-started) -- [Status](#status) -- [Support](#support) -- [Project assistance](#project-assistance) -- [Contributing](#contributing) - - [Additional notes](#additional-notes) -- [Security](#security) -- [Development](#development) - - [Coding style](#coding-style) -- [License](#license) - -</details> - ---- - -## About grommunio Web - -- Provides MAPI header files for any PHP-based application - -### Compatible with - -- PHP 7.4+, PHP 8.0 and 8.1 - -## Getting Started - -## Status - -- [Top Feature Requests](https://github.com/grommunio/mapi-header-php/issues?q=label%3Aenhancement+is%3Aopen+sort%3Areactions-%2B1-desc) (Add your votes using the ð reaction) -- [Top Bugs](https://github.com/grommunio/mapi-header-php/issues?q=is%3Aissue+is%3Aopen+label%3Abug+sort%3Areactions-%2B1-desc) (Add your votes using the ð reaction) -- [Newest Bugs](https://github.com/grommunio/mapi-header-php/issues?q=is%3Aopen+is%3Aissue+label%3Abug) - -## Support - -- Support is available through [grommunio GmbH](https://grommunio.com) and its partners. -- grommunio Web community is available here: [grommunio Community](https://community.grommunio.com) - -For direct contact to the maintainers (for example to supply information about a security-related responsible disclosure), you can contact grommunio directly at [d...@grommunio.com](mailto:d...@grommunio.com) - -## Project assistance - -If you want to say thank you or/and support active development of grommunio Web: - -- Add a [GitHub Star](https://github.com/grommunio/mapi-header-php) to the project. -- Tweet about grommunio Web. -- Write interesting articles about the project on [Dev.to](https://dev.to/), [Medium](https://medium.com/), your personal blog or any medium you feel comfortable with. - -Together, we can make grommunio Web better! - -## Contributing - -First off, thanks for taking the time to contribute! Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make will benefit everybody else and are greatly appreciated. - -If you have found an issue and want to report an issue, either reach out to us in our [community](https://community.grommunio.com), or, if you have a subscription, open up a [support case](https://grommunio.com/). - -To provide changesets, - -- Clone the repository from https://github.com/grommunio/mapi-header-php.git -- Commit and sign your work (```git commit -s```). - -Then, either - -- create a pull request towards the master branch. - -or - -- upload commits to a git store of your choosing, or export the series as a patchset using [git format-patch](https://git-scm.com/docs/git-format-patch). -- send the patch(es) or git link to [d...@grommunio.com](mailto:d...@grommunio.com) and we will consider the submission. - -### Additional notes - -- If possible, please only work on one issue per commit. - -## Security - -grommunio Web follows good practices of security. grommunio constantly monitors security-related issues. -grommunio Web is provided "as is" without any warranty. For professional support options through subscriptions, head over to [grommunio](https://grommunio.com). - -## Development - -### Coding style - -This repository follows a customized coding style. The coding style can be validated anytime by the repositories provided [configuration file](.phpcs). - -## License - -This project is licensed under the GNU Affero General Public License v3. - -See [LICENSE.txt](LICENSE.txt) for more information. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mapi-header-php-1.0.13.f8f3255/README.rst new/mapi-header-php-1.1.0.70e984f/README.rst --- old/mapi-header-php-1.0.13.f8f3255/README.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/mapi-header-php-1.1.0.70e984f/README.rst 2023-02-24 21:53:58.000000000 +0100 @@ -0,0 +1,49 @@ +grommunio MAPI headers (PHP) +============================ + +mapi-headers-php is the central repository for PHP-based MAPI applications. +These header files are used by `grommunio Web +<https://github.com/grommunio/grommunio-web>`_, `grommunio Sync +<https://github.com/grommunio/grommunio-sync>`_ and `grommunio DAV +<https://github.com/grommunio/grommunio-dav>`_, eliminating the bundling of +headers. + +|shield-agpl|_ |shield-release|_ |shield-scrut|_ |shield-loc| + +.. |shield-agpl| image:: https://img.shields.io/badge/license-AGPL--3.0-green +.. _shield-agpl: LICENSE.txt +.. |shield-release| image:: https://shields.io/github/v/tag/grommunio/mapi-header-php +.. _shield-release: https://github.com/grommunio/mapi-header-php/tags +.. |shield-scrut| image:: https://img.shields.io/scrutinizer/build/g/grommunio/mapi-header-php +.. _shield-scrut: https://scrutinizer-ci.com/g/grommunio/mapi-header-php/ +.. |shield-loc| image:: https://img.shields.io/github/languages/code-size/grommunio/mapi-header-php + +Compatibility +============= + +* PHP 7.4+, PHP 8.x + +Support +======= + +Support is available through grommunio GmbH and its partners. See +https://grommunio.com/ for details. A community forum is at +`<https://community.grommunio.com/>`_. + +For direct contact and supplying information about a security-related +responsible disclosure, contact `d...@grommunio.com <d...@grommunio.com>`_. + +Contributing +============ + +* https://docs.github.com/en/get-started/quickstart/contributing-to-projects +* Alternatively, upload commits to a git store of your choosing, or export the + series as a patchset using `git format-patch + <https://git-scm.com/docs/git-format-patch>`_, then convey the git + link/patches through our direct contact address (above). + +Coding style +------------ + +This repository follows a custom coding style, which can be validated anytime +using the repository's provided `configuration file <.phpcs>`_. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mapi-header-php-1.0.13.f8f3255/class.baserecurrence.php new/mapi-header-php-1.1.0.70e984f/class.baserecurrence.php --- old/mapi-header-php-1.0.13.f8f3255/class.baserecurrence.php 2023-01-12 14:22:15.000000000 +0100 +++ new/mapi-header-php-1.1.0.70e984f/class.baserecurrence.php 2023-02-24 21:53:58.000000000 +0100 @@ -169,7 +169,7 @@ return $ret; } - if (!in_array($data['CalendarType'], [CAL_DEFAULT, CAL_GREGORIAN])) { + if (!in_array($data['CalendarType'], [MAPI_CAL_DEFAULT, MAPI_CAL_GREGORIAN])) { return $ret; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mapi-header-php-1.0.13.f8f3255/class.meetingrequest.php new/mapi-header-php-1.1.0.70e984f/class.meetingrequest.php --- old/mapi-header-php-1.0.13.f8f3255/class.meetingrequest.php 2023-01-12 14:22:15.000000000 +0100 +++ new/mapi-header-php-1.1.0.70e984f/class.meetingrequest.php 2023-02-24 21:53:58.000000000 +0100 @@ -751,7 +751,7 @@ * * @psalm-param array<float|mixed|true> $proposeNewTimeProps */ - public function accept(bool $tentative, bool $sendresponse, bool $move, array $proposeNewTimeProps = [], $body = false, bool $userAction = false, $store, $calFolder, $basedate = false) { + public function accept(bool $tentative, bool $sendresponse, bool $move, array $proposeNewTimeProps, $body, bool $userAction, $store, $calFolder, $basedate = false) { $messageprops = mapi_getprops($this->message); $isDelegate = isset($messageprops[PR_RCVD_REPRESENTING_NAME]); @@ -1971,7 +1971,7 @@ * @param mixed $basedate date of occurrence which attendee has responded * @param mixed $calFolder */ - public function createResponse($status, $proposeNewTimeProps = [], $body = false, $store, $basedate = false, $calFolder): void { + public function createResponse($status, $proposeNewTimeProps, $body, $store, $basedate, $calFolder): void { $messageprops = mapi_getprops($this->message, [ PR_SENT_REPRESENTING_ENTRYID, PR_SENT_REPRESENTING_EMAIL_ADDRESS, @@ -2829,7 +2829,7 @@ * @param resource $store user store * @param bool $isDelegate true if delegate is processing this meeting request */ - public function acceptException(&$recurringItem, &$occurrenceItem, $basedate, $move = false, $tentative, $userAction = false, $store, $isDelegate = false): void { + public function acceptException(&$recurringItem, &$occurrenceItem, $basedate, $move, $tentative, $userAction, $store, $isDelegate = false): void { $recurr = new Recurrence($store, $recurringItem); // Copy properties from meeting request diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mapi-header-php-1.0.13.f8f3255/mapi.util.php new/mapi-header-php-1.1.0.70e984f/mapi.util.php --- old/mapi-header-php-1.0.13.f8f3255/mapi.util.php 2023-01-12 14:22:15.000000000 +0100 +++ new/mapi-header-php-1.1.0.70e984f/mapi.util.php 2023-02-24 21:53:58.000000000 +0100 @@ -350,168 +350,3 @@ return null; } - -/** - * Returns an error message from error code. - * - * @param int $e error code - * - * @return string error message - */ -function mapi_strerror($e) { - switch ($e) { - case 0: return "success"; - - case MAPI_E_CALL_FAILED: return "An error of unexpected or unknown origin occurred"; - - case MAPI_E_NOT_ENOUGH_MEMORY: return "Not enough memory was available to complete the operation"; - - case MAPI_E_INVALID_PARAMETER: return "An invalid parameter was passed to a function or remote procedure call"; - - case MAPI_E_INTERFACE_NOT_SUPPORTED: return "MAPI interface not supported"; - - case MAPI_E_NO_ACCESS: return "An attempt was made to access a message store or object for which the user has insufficient permissions"; - - case MAPI_E_NO_SUPPORT: return "Function is not implemented"; - - case MAPI_E_BAD_CHARWIDTH: return "An incompatibility exists in the character sets supported by the caller and the implementation"; - - case MAPI_E_STRING_TOO_LONG: return "In the context of this method call, a string exceeds the maximum permitted length"; - - case MAPI_E_UNKNOWN_FLAGS: return "One or more values for a flags parameter were not valid"; - - case MAPI_E_INVALID_ENTRYID: return "invalid entryid"; - - case MAPI_E_INVALID_OBJECT: return "A method call was made using a reference to an object that has been destroyed or is not in a viable state"; - - case MAPI_E_OBJECT_CHANGED: return "An attempt to commit changes failed because the object was changed separately"; - - case MAPI_E_OBJECT_DELETED: return "An operation failed because the object was deleted separately"; - - case MAPI_E_BUSY: return "A table operation failed because a separate operation was in progress at the same time"; - - case MAPI_E_NOT_ENOUGH_DISK: return "Not enough disk space was available to complete the operation"; - - case MAPI_E_NOT_ENOUGH_RESOURCES: return "Not enough system resources were available to complete the operation"; - - case MAPI_E_NOT_FOUND: return "The requested object could not be found at the server"; - - case MAPI_E_VERSION: return "Client and server versions are not compatible"; - - case MAPI_E_LOGON_FAILED: return "A client was unable to log on to the server"; - - case MAPI_E_SESSION_LIMIT: return "A server or service is unable to create any more sessions"; - - case MAPI_E_USER_CANCEL: return "An operation failed because a user cancelled it"; - - case MAPI_E_UNABLE_TO_ABORT: return "A ropAbort or ropAbortSubmit ROP request was unsuccessful"; - - case MAPI_E_NETWORK_ERROR: return "An operation was unsuccessful because of a problem with network operations or services"; - - case MAPI_E_DISK_ERROR: return "There was a problem writing to or reading from disk"; - - case MAPI_E_TOO_COMPLEX: return "The operation requested is too complex for the server to handle (often w.r.t. restrictions)"; - - case MAPI_E_BAD_COLUMN: return "The column requested is not allowed in this type of table"; - - case MAPI_E_EXTENDED_ERROR: return "extended error"; - - case MAPI_E_COMPUTED: return "A property cannot be updated because it is read-only, computed by the server"; - - case MAPI_E_CORRUPT_DATA: return "There is an internal inconsistency in a database, or in a complex property value"; - - case MAPI_E_UNCONFIGURED: return "unconfigured"; - - case MAPI_E_FAILONEPROVIDER: return "failoneprovider"; - - case MAPI_E_UNKNOWN_CPID: return "The server is not configured to support the code page requested by the client"; - - case MAPI_E_UNKNOWN_LCID: return "The server is not configured to support the locale requested by the client"; - - case MAPI_E_PASSWORD_CHANGE_REQUIRED: return "password change required"; - - case MAPI_E_PASSWORD_EXPIRED: return "password expired"; - - case MAPI_E_INVALID_WORKSTATION_ACCOUNT: return "invalid workstation account"; - - case MAPI_E_INVALID_ACCESS_TIME: return "The operation failed due to clock skew between servers"; - - case MAPI_E_ACCOUNT_DISABLED: return "account disabled"; - - case MAPI_E_END_OF_SESSION: return "The server session has been destroyed, possibly by a server restart"; - - case MAPI_E_UNKNOWN_ENTRYID: return "The EntryID passed to OpenEntry was created by a different MAPI provider"; - - case MAPI_E_MISSING_REQUIRED_COLUMN: return "missing required column"; - - case MAPI_W_NO_SERVICE: return "no service"; - - case MAPI_E_BAD_VALUE: return "bad value"; - - case MAPI_E_INVALID_TYPE: return "invalid type"; - - case MAPI_E_TYPE_NO_SUPPORT: return "type no support"; - - case MAPI_E_UNEXPECTED_TYPE: return "unexpected_type"; - - case MAPI_E_TOO_BIG: return "The table is too big for the requested operation to complete"; - - case MAPI_E_DECLINE_COPY: return "The provider implements this method by calling a support object method, and the caller has passed the MAPI_DECLINE_OK flag"; - - case MAPI_E_UNEXPECTED_ID: return "unexpected id"; - - case MAPI_W_ERRORS_RETURNED: return "The call succeeded, but the message store provider has error information available"; - - case MAPI_E_UNABLE_TO_COMPLETE: return "A complex operation such as building a table row set could not be completed"; - - case MAPI_E_TIMEOUT: return "An asynchronous operation did not succeed within the specified time-out"; - - case MAPI_E_TABLE_EMPTY: return "A table essential to the operation is empty"; - - case MAPI_E_TABLE_TOO_BIG: return "The table is too big for the requested operation to complete"; - - case MAPI_E_INVALID_BOOKMARK: return "The bookmark passed to a table operation was not created on the same table"; - - case MAPI_W_POSITION_CHANGED: return "position changed"; - - case MAPI_W_APPROX_COUNT: return "approx count"; - - case MAPI_E_WAIT: return "A wait time-out has expired"; - - case MAPI_E_CANCEL: return "The operation had to be canceled"; - - case MAPI_E_NOT_ME: return "not me"; - - case MAPI_W_CANCEL_MESSAGE: return "cancel message"; - - case MAPI_E_CORRUPT_STORE: return "corrupt store"; - - case MAPI_E_NOT_IN_QUEUE: return "not in queue"; - - case MAPI_E_NO_SUPPRESS: return "The server does not support the suppression of read receipts"; - - case MAPI_E_COLLISION: return "A folder or item cannot be created because one with the same name or other criteria already exists"; - - case MAPI_E_NOT_INITIALIZED: return "The subsystem is not ready"; - - case MAPI_E_NON_STANDARD: return "non standard"; - - case MAPI_E_NO_RECIPIENTS: return "A message cannot be sent because it has no recipients"; - - case MAPI_E_SUBMITTED: return "A message cannot be opened for modification because it has already been sent"; - - case MAPI_E_HAS_FOLDERS: return "A folder cannot be deleted because it still contains subfolders"; - - case MAPI_E_HAS_MESSAGES: return "A folder cannot be deleted because it still contains messages"; - - case MAPI_E_FOLDER_CYCLE: return "A folder move or copy operation would create a cycle"; - - case MAPI_W_PARTIAL_COMPLETION: return "The call succeeded, but not all entries were successfully operated on"; - - case MAPI_E_AMBIGUOUS_RECIP: return "An unresolved recipient matches more than one directory entry"; - - case MAPI_E_STORE_FULL: return "Store full"; - - default: return sprintf("%xh", $e); - } -} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mapi-header-php-1.0.13.f8f3255/mapidefs.php new/mapi-header-php-1.1.0.70e984f/mapidefs.php --- old/mapi-header-php-1.0.13.f8f3255/mapidefs.php 2023-01-12 14:22:15.000000000 +0100 +++ new/mapi-header-php-1.1.0.70e984f/mapidefs.php 2023-02-24 21:53:58.000000000 +0100 @@ -679,8 +679,8 @@ define('TZRULE_FLAG_EFFECTIVE_TZREG', 0x0002); /* RecurrencePattern related values */ -define('CAL_DEFAULT', 0); -define('CAL_GREGORIAN', 1); +define('MAPI_CAL_DEFAULT', 0); +define('MAPI_CAL_GREGORIAN', 1); define('IDC_RCEV_PAT_ORB_DAILY', 0x200A); define('IDC_RCEV_PAT_ORB_WEEKLY', 0x200B); define('IDC_RCEV_PAT_ORB_MONTHLY', 0x200C); ++++++ mapi-header-php.dsc ++++++ --- /var/tmp/diff_new_pack.nyo6cJ/_old 2023-02-28 12:48:53.912580378 +0100 +++ /var/tmp/diff_new_pack.nyo6cJ/_new 2023-02-28 12:48:53.916580404 +0100 @@ -1,7 +1,7 @@ Format: 1.0 Source: mapi-header-php Architecture: any -Version: 1.0.13.f8f3255 +Version: 1.1.0.70e984f DEBTRANSFORM-RELEASE: 1 Maintainer: Grommunio <n...@grommunio.com> Homepage: https://grommunio.com