Accepting request 1058439 from server:mail

- Update to release 2.1

OBS-URL: https://build.opensuse.org/request/show/1058439
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gromox?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2023-01-15 16:58:13 +00:00 committed by Git OBS Bridge
commit 436be757ea
9 changed files with 87 additions and 33 deletions

View File

@ -1,4 +1,4 @@
gromox (1.28) unstable; urgency=low
gromox (1.36.23.3447095) unstable; urgency=low
* Initial package.

View File

@ -1,10 +1,24 @@
#!/bin/sh
# %files
chown root:gromox /etc/gromox || :
chmod 0770 /etc/gromox || :
vd="/var/lib/gromox \
/var/lib/gromox/domain \
set -e
. /usr/share/debconf/confmodule
set_perms()
{
USER="$1"
GROUP="$2"
MODE="$3"
FILE="$4"
if ! dpkg-statoverride --list "$FILE" >/dev/null 2>&1; then
chown -R "$USER:$GROUP" "$FILE"
chmod -R $MODE "$FILE"
fi
}
xpostinst()
{
set_perms root gromox 0770 /etc/gromox || :
for i in /var/lib/gromox \
/var/lib/gromox/queue \
/var/lib/gromox/queue/cache \
/var/lib/gromox/queue/clone \
@ -12,11 +26,9 @@ vd="/var/lib/gromox \
/var/lib/gromox/queue/mess \
/var/lib/gromox/queue/save \
/var/lib/gromox/queue/timer \
/var/lib/gromox/user \
/var/log/gromox"
chown gromox:gromox $vd || :
chmod 0770 $vd || :
chmod 0770 /var/lib/gromox /var/log/gromox || :
/var/log/gromox; do
set_perms gromox gromox 0770 "$i" || :
done
# %post
if test -x /usr/bin/systemd-tmpfiles; then
@ -32,5 +44,20 @@ if test -x /usr/bin/systemctl; then
gromox-pop3.service gromox-timer.service gromox-zcore.service \
grommunio-chat.service \
php7.4-fpm.service php8.0-fpm.service php8.1-fpm.service \
php8.2-fpm.service \
saslauthd.service 2>/dev/null || :
fi
}
case "$1" in
configure|reconfigure)
xpostinst
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \"$1\"" >&2
exit 1
;;
esac

View File

@ -1,13 +1,15 @@
#!/usr/bin/make -f
export DH_VERBOSE=1
phpdir := $(shell readlink -f $$(php-config --ini-path)/..)
INSTDIR := debian/gromox
%:
dh $@ --parallel --with autoreconf
override_dh_auto_install:
dh_auto_install
find ${INSTDIR} -type f -name "*.la" -delete
find ${INSTDIR} -type f -name "*.la" -print -delete
perl -i -lpe 's{Type=simple}{Type=simple\nRestart=on-failure}' ${INSTDIR}/lib/systemd/system/*.service
for i in /etc/gromox /var/lib/gromox /var/lib/gromox/domain \
/var/lib/gromox/queue /var/lib/gromox/queue/clone \
/var/lib/gromox/queue/mess /var/lib/gromox/queue/save \

View File

@ -1,7 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iHUEABYKAB0WIQS8oMXDCcrFaedKkhz3bv5dDCI6jwUCY57+GgAKCRD3bv5dDCI6
j0NCAP4vaIc6B2bGTAcYzQgiM4liYSc8q8j/Q7ZPl94bPbT7WAEArjxOm9RfTbuv
t33C2jZftR78cQTJq+VMhWCa3QWn0gY=
=Dipo
-----END PGP SIGNATURE-----

View File

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

7
gromox-2.1.tar.asc Normal file
View File

@ -0,0 +1,7 @@
-----BEGIN PGP SIGNATURE-----
iHUEABYKAB0WIQS8oMXDCcrFaedKkhz3bv5dDCI6jwUCY7/yDgAKCRD3bv5dDCI6
j+HmAP9G9l1FhUn3vnWqxPbi5skrxYVIx0abyVQydOdnsOjYiwEAj3Id3vM+DeBX
X3kKcrJ5DyKFQKR0b7bbzkZdI3BaSwA=
=AHGG
-----END PGP SIGNATURE-----

3
gromox-2.1.tar.zst Normal file
View File

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

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Thu Jan 12 11:39:59 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2.1
* exmdb_provider: support for private store message and folder
softdelete (and thus the Recover Deleted Items feature in OL)
* mapi_lib: parse "Received" headers into
PR_MESSAGE_DELIVERY_TIME for the sake of EML imports
* emsmdb: work around OL crash with Recover Deleted Items dialog
* emsmdb: rework interpretation of PR_SENT_REPRESENTING on
IPM.Schedule objects (relates to the organizer of a meeting
when such meeting is forwarded)
-------------------------------------------------------------------
Sun Dec 18 12:25:44 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package gromox
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,7 +19,7 @@
%define _libexecdir %_prefix/libexec
Name: gromox
Version: 1.37
Version: 2.1
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
@ -55,6 +55,7 @@ BuildRequires: pkgconfig(jsoncpp) >= 1.4.0
BuildRequires: pkgconfig(libHX) >= 4.3
BuildRequires: pkgconfig(libcrypto)
BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(libolecf)
BuildRequires: pkgconfig(libpff)
BuildRequires: pkgconfig(libssl)
BuildRequires: pkgconfig(libzstd)
@ -67,19 +68,30 @@ BuildRequires: user(gromox)
%if 0%{?suse_version}
Requires: glibc-locale-base
%endif
Requires: php-cli >= 7.4
Requires: php-fpm
%if 0%{?suse_version}
Requires: php-mysql
Requires: php-posix
%else
Requires: php-mysqlnd
%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
%endif
%if 0%{?sle_version} && 0%{?sle_version} < 150400
Requires: php-cli
Requires: php7-fpm
Requires: php7-mysql
Requires: php7-posix
Requires: php7-soap
%endif
%if 0%{?fedora_version} || 0%{?centos_version} || 0%{?redhat_version}
Requires: php-cli
Requires: php-fpm
Requires: php-mysqlnd
Requires: php-posix
Requires: php-soap
%endif
Requires: w3m
Requires(pre): user(grommunio)
Requires(pre): user(gromox)
Requires(pre): group(gromox)
Provides: bundled(tzcode) = 2022c
%{?systemd_ordering}
%if !0%{?_pamdir:1}
%define _pamdir /%_lib/security
@ -104,7 +116,7 @@ ready-to-run installation of Gromox.
%build
autoreconf -fi
%configure CFLAGS="%optflags -Og" CXXFLAGS="%optflags -Og"
%make_build
%make_build V=1
%install
b="%buildroot"
@ -134,7 +146,7 @@ mkdir -p "$b/%_sysconfdir/%name" "$b/%_datadir/%name"
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
%if 0%{?suse_version} >= 1500 && 0%{?suse_version} < 1550
%if 0%{?sle_version} && 0%{?sle_version} < 150400
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