diff --git a/debian.control b/debian.control index dbda7b7..d1d4071 100644 --- a/debian.control +++ b/debian.control @@ -11,6 +11,7 @@ Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, ${shlibs:Depends}, php-cli, php-fpm, php-mysql, php-simplexml, php-soap, system-user-gromox, w3m, libhx32 (>= 4.0) +Conflicts: php7.4-opcache, php8.0-opcache, php8.1-opcache, php8.2-opcache Provides: php7-mapi-gromox Description: Groupware server (backend) with RPCH, IMAP and Z-MAPI support . diff --git a/gromox-2.3.tar.asc b/gromox-2.3.tar.asc deleted file mode 100644 index b1de3e1..0000000 --- a/gromox-2.3.tar.asc +++ /dev/null @@ -1,7 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iHUEABYKAB0WIQS8oMXDCcrFaedKkhz3bv5dDCI6jwUCY90c8QAKCRD3bv5dDCI6 -j8wOAQDMeV8wOBNI5SfMhu/a+0kA6+jVjdmDOliDqJeuHT3KcwD/StBc+BuNClHP -O8u0veVgSsUVLFHsOPzYS8+UCfuxHQc= -=yDbj ------END PGP SIGNATURE----- diff --git a/gromox-2.3.tar.zst b/gromox-2.3.tar.zst deleted file mode 100644 index 64b90b9..0000000 --- a/gromox-2.3.tar.zst +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:44fce62edf66a478daa5e0c3cc71024f90c65cd0110aef4b354f92f1de4952e8 -size 1993503 diff --git a/gromox-2.4.tar.asc b/gromox-2.4.tar.asc new file mode 100644 index 0000000..888a01f --- /dev/null +++ b/gromox-2.4.tar.asc @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- + +iHUEABYKAB0WIQS8oMXDCcrFaedKkhz3bv5dDCI6jwUCY/tXFgAKCRD3bv5dDCI6 +j6XZAQDge7XM7ikvx3S0eGVzEM5+9RZ0oFUx8E4v9SpE9NMtcQD+MEE7NdlAlsx3 +rilXHRNxZqskfGyY1vYU5sMutzyyZA4= +=yj02 +-----END PGP SIGNATURE----- diff --git a/gromox-2.4.tar.zst b/gromox-2.4.tar.zst new file mode 100644 index 0000000..817a1a9 --- /dev/null +++ b/gromox-2.4.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:da9a0f0222dcec22880b3dfd13622a0e289c1350f64add4daa2e9bb79089023a +size 2010993 diff --git a/gromox.changes b/gromox.changes index e1864a9..45ab868 100644 --- a/gromox.changes +++ b/gromox.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sun Feb 26 18:24:47 UTC 2023 - Jan Engelhardt + +- Update to release 2.4 + * mbop: emptyfld/delmsg support folder names now + * dscli: added an --eas option + * oxdisco: support autodiscover.json requests + ------------------------------------------------------------------- Fri Feb 3 16:16:14 UTC 2023 - Jan Engelhardt diff --git a/gromox.spec b/gromox.spec index d6198d8..ed687b0 100644 --- a/gromox.spec +++ b/gromox.spec @@ -19,7 +19,7 @@ %define _libexecdir %_prefix/libexec Name: gromox -Version: 2.3 +Version: 2.4 Release: 0 Summary: Groupware server backend with RPC, IMAP,POP3, PHP-MAPI support License: AGPL-3.0-or-later AND GPL-2.0-only AND GPL-3.0-or-later @@ -34,7 +34,7 @@ BuildRequires: gcc-c++ %if 0%{?suse_version} BuildRequires: libmysqlclient-devel >= 5.6 %else -BuildRequires: mysql-devel >= 5.6 +BuildRequires: mariadb-devel >= 5.6 %endif BuildRequires: libtool >= 2 BuildRequires: make @@ -52,7 +52,7 @@ BuildRequires: group(gromox) BuildRequires: pkgconfig(fmt) >= 8 BuildRequires: pkgconfig(gumbo) BuildRequires: pkgconfig(jsoncpp) >= 1.4.0 -BuildRequires: pkgconfig(libHX) >= 4.3 +BuildRequires: pkgconfig(libHX) >= 4.9 BuildRequires: pkgconfig(libcrypto) BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(libolecf) @@ -61,7 +61,6 @@ BuildRequires: pkgconfig(libssl) BuildRequires: pkgconfig(libzstd) BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(tinyxml2) >= 8 -BuildRequires: pkgconfig(vmime) >= 0.9.2 BuildRequires: pkgconfig(zlib) BuildRequires: user(grommunio) BuildRequires: user(gromox) @@ -71,7 +70,12 @@ Requires: glibc-locale-base %if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150400 # Require php-cli/fpm (and modules) that have a chance of loading mapi.so # which means same generation as the one we built with. -Requires: php8-cli php8-fpm php8-mysql php8-posix php8-soap +Requires: php8-cli +Requires: php8-fpm +Requires: php8-mysql +Requires: php8-posix +Requires: php8-soap +Conflicts: php8-opcache %endif %if 0%{?sle_version} && 0%{?sle_version} < 150400 Requires: php-cli @@ -79,13 +83,15 @@ Requires: php7-fpm Requires: php7-mysql Requires: php7-posix Requires: php7-soap +Conflicts: php7-opcache %endif -%if 0%{?fedora_version} || 0%{?centos_version} || 0%{?redhat_version} +%if 0%{?rhel} || 0%{?fedora_version} Requires: php-cli Requires: php-fpm Requires: php-mysqlnd Requires: php-posix Requires: php-soap +Conflicts: php-opcache %endif Requires: w3m Requires(pre): user(grommunio) @@ -142,7 +148,7 @@ find "$b" -type f -name "*.la" -delete rm -fv "$b/%_libdir"/*.so mkdir -p "$b/%_sysconfdir/%name" "$b/%_datadir/%name" -%if 0%{?suse_version} >= 1550 +%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150400 mkdir -p "$b/etc/php8/fpm/php-fpm.d" cp -a "$b/usr/share/gromox/fpm-gromox.conf.sample" "$b/etc/php8/fpm/php-fpm.d/gromox.conf" %endif @@ -150,35 +156,16 @@ cp -a "$b/usr/share/gromox/fpm-gromox.conf.sample" "$b/etc/php8/fpm/php-fpm.d/gr mkdir -p "$b/etc/php7/fpm/php-fpm.d" cp -a "$b/usr/share/gromox/fpm-gromox.conf.sample" "$b/etc/php7/fpm/php-fpm.d/gromox.conf" %endif +%if 0%{?rhel} || 0%{?fedora_version} +mkdir -p "$b/etc/php-fpm.d" +cp -a "$b/usr/share/gromox/fpm-gromox.conf.sample" "$b/etc/php-fpm.d/gromox.conf" +%endif perl -i -lpe 's{Type=simple}{Type=simple\nRestart=on-failure}' "$b/%_unitdir"/*.service %fdupes %buildroot/%_prefix %global services gromox-delivery.service gromox-delivery-queue.service gromox-event.service gromox-http.service gromox-imap.service gromox-midb.service gromox-pop3.service gromox-timer.service gromox-zcore.service %pre -if test -f /usr/share/gromox/http/php/config/config.ini; then - x=$(md5sum /usr/share/gromox/http/php/config/config.ini 2>/dev/null) - if test "${x:0:32}" = cac0cd7adb4c9e84474bd23721397b7e; then - : - elif test -e /usr/share/gromox/http/php/config/config.ini && test ! -e /etc/gromox/autodiscover.ini; then - echo "It appears you modified /usr/share/gromox/http/php/config/config.ini; moving it to /etc/gromox/" - mkdir -pv /etc/gromox - mv -v /usr/share/gromox/http/php/config/config.ini /etc/gromox/autodiscover.ini - elif test -e /usr/share/gromox/http/php/config/config.ini && test ! -e /etc/gromox/autodiscover.ini.conflict; then - echo "It appears you modified /usr/share/gromox/http/php/config/config.ini; saving it to /etc/gromox/ (check it)" - mv -v /usr/share/gromox/http/php/config/config.ini /etc/gromox/autodiscover.ini.conflict - fi -fi -# service is now out of use or entirely gone from this package, -# stop any old instances because the -# systemd macros don't do so when using rpm -U (only on rpm -e). -for i in alock amidb amysql asensor asession smtp adaptor; do - if systemctl is-active "gromox-$i" >/dev/null 2>/dev/null || \ - systemctl is-enabled "gromox-$i" >/dev/null 2>/dev/null; then - echo "INFO: Deleting obsolete service gromox-$i. There may be warnings about its absence later in the upgrade, this is normal and can be ignored." - systemctl disable --now "gromox-$i.service" 2>/dev/null || : - fi -done # User addition done a priori by system-user-gromox(!) %if 0%{?service_add_pre:1} %service_add_pre %services