1
0
forked from pool/grommunio-web

- Update to release 3.5 & snapshot 3.5.1.e4fc82e4

OBS-URL: https://build.opensuse.org/package/show/server:mail/grommunio-web?expand=0&rev=14
This commit is contained in:
Jan Engelhardt 2023-11-03 09:02:44 +00:00 committed by Git OBS Bridge
parent 6f60898e91
commit fbd331f570
8 changed files with 29 additions and 39 deletions

View File

@ -1,4 +1,4 @@
grommunio-web (3.3.0.f7738a0) unstable; urgency=low grommunio-web (3.5.1.e4fc82e4) unstable; urgency=low
* Current release * Current release

View File

@ -2,7 +2,7 @@ Source: grommunio-web
Section: non-free Section: non-free
Priority: optional Priority: optional
Maintainer: grommunio <dev@grommunio.com> Maintainer: grommunio <dev@grommunio.com>
Build-Depends: debhelper (>= 8.0.0), openjdk-9-jdk | openjdk-11-jdk Build-Depends: debhelper (>= 8.0.0), java-sdk-headless
Standards-Version: 3.9.4 Standards-Version: 3.9.4
Package: grommunio-web Package: grommunio-web
@ -10,8 +10,8 @@ Architecture: all
Section: web Section: web
Depends: system-user-groweb, ${misc:Depends}, gromox (>= 1.27), php-bcmath, Depends: system-user-groweb, ${misc:Depends}, gromox (>= 1.27), php-bcmath,
php-curl, php-gd, php-iconv, php-json, php-mbstring, php-curl, php-gd, php-iconv, php-json, php-mbstring,
php-sqlite3, php-sysvshm, php-xml, php-zip, mapi-header-php, ${dist:Depends}, php-sqlite3, php-sysvshm, php-xml, php-zip, mapi-header-php (>= 1.2.3),
system-user-grommunio (>= 3) ${dist:Depends}, system-user-grommunio (>= 3)
Provides: grommunio-web-plugin-zdeveloper, grommunio-web-plugin-webmanual, Provides: grommunio-web-plugin-zdeveloper, grommunio-web-plugin-webmanual,
grommunio-web-plugin-folderwidgets, grommunio-web-plugin-quickitems, grommunio-web-plugin-folderwidgets, grommunio-web-plugin-quickitems,
grommunio-web-plugin-titlecounter, grommunio-web-plugin-desktopnotifications, grommunio-web-plugin-titlecounter, grommunio-web-plugin-desktopnotifications,

View File

@ -1,9 +1,8 @@
#!/bin/sh #!/bin/sh
chmod 0750 /var/log/grommunio
mkdir -p /var/lib/grommunio-web/tmp /var/lib/grommunio-web/sqlite-index mkdir -p /var/lib/grommunio-web/tmp /var/lib/grommunio-web/sqlite-index
chown -h groweb:groweb /var/lib/grommunio-web chown -h groweb:groweb /var/lib/grommunio-web
chmod 0770 /var/lib/grommunio-web /var/lib/grommunio-web/tmp \ chmod 0770 /var/lib/grommunio-web /var/lib/grommunio-web/tmp \
/var/lib/grommunio-web/sqlite-index /var/lib/grommunio-web/sqlite-session /var/lib/grommunio-web/sqlite-index /var/lib/grommunio-web/session
# clear translation caches # clear translation caches
runuser -u groweb -- ipcrm -M 0x950412DE 2>/dev/null || : runuser -u groweb -- ipcrm -M 0x950412DE 2>/dev/null || :
# reload nginx and restart fpm as this package ships config snippets # reload nginx and restart fpm as this package ships config snippets

View File

@ -15,7 +15,6 @@ export DH_VERBOSE=1
# Mark build as supported (license checks) # Mark build as supported (license checks)
override_dh_auto_build: override_dh_auto_build:
dh_auto_build -- SUPPORTED_BUILD=1
override_dh_auto_clean: override_dh_auto_clean:
@ -29,7 +28,7 @@ override_dh_auto_install:
dpkg-parsechangelog | grep Version | sed -e 's/^Version: //g' > $(INSTDIR)$(WABASE)/version dpkg-parsechangelog | grep Version | sed -e 's/^Version: //g' > $(INSTDIR)$(WABASE)/version
dpkg-parsechangelog -S Version | sha1sum | cut -b 1-8 >$(INSTDIR)$(WABASE)/cachebuster dpkg-parsechangelog -S Version | sha1sum | cut -b 1-8 >$(INSTDIR)$(WABASE)/cachebuster
cp -av deploy/* $(INSTDIR)$(WABASE)/ cp -av client server plugins *.php *.dist $(INSTDIR)$(WABASE)/
install -vm 644 LICENSE.txt $(INSTDIR)$(WABASE)/LICENSE.txt install -vm 644 LICENSE.txt $(INSTDIR)$(WABASE)/LICENSE.txt
@ -67,6 +66,8 @@ override_dh_auto_install:
fi; \ fi; \
done done
rm -rf build $(INSTDIR)$(WABASE)/build
override_dh_fixperms: override_dh_fixperms:
dh_fixperms -Xvar/lib/grommunio-web/tmp dh_fixperms -Xvar/lib/grommunio-web/tmp
dh_fixperms -Xvar/lib/grommunio-web/sqlite-index dh_fixperms -Xvar/lib/grommunio-web/sqlite-index

View File

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

View File

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

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri Nov 3 08:55:03 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.5 & snapshot 3.5.1.e4fc82e4
* Modern authentication system using keycloak openID Connect
workflow
* Style updates
* Remove incorrect filtering of PNG ressources
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Sep 23 21:30:16 UTC 2023 - Jan Engelhardt <jengelh@inai.de> Sat Sep 23 21:30:16 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@ -21,7 +21,7 @@
%endif %endif
Name: grommunio-web Name: grommunio-web
Version: 3.3.0.f7738a0 Version: 3.5.1.e4fc82e4
Release: 0 Release: 0
Summary: Web client for access to grommunio features from the web Summary: Web client for access to grommunio features from the web
License: AGPL-3.0-or-later AND GPL-3.0-only AND LGPL-2.1-only AND MIT License: AGPL-3.0-or-later AND GPL-3.0-only AND LGPL-2.1-only AND MIT
@ -45,6 +45,7 @@ BuildRequires: php8-gettext
Requires: php8-bcmath Requires: php8-bcmath
Requires: php8-ctype Requires: php8-ctype
Requires: php8-curl Requires: php8-curl
Requires: php8-dom
Requires: php8-gd Requires: php8-gd
Requires: php8-gettext Requires: php8-gettext
Requires: php8-iconv Requires: php8-iconv
@ -62,6 +63,7 @@ BuildRequires: php7-json
Requires: php7-bcmath Requires: php7-bcmath
Requires: php7-ctype Requires: php7-ctype
Requires: php7-curl Requires: php7-curl
Requires: php7-dom
Requires: php7-gd Requires: php7-gd
Requires: php7-gettext Requires: php7-gettext
Requires: php7-iconv Requires: php7-iconv
@ -80,33 +82,18 @@ Requires: php-bcmath
Requires: php-common Requires: php-common
Requires: php-ctype Requires: php-ctype
Requires: php-curl Requires: php-curl
Requires: php-dom
Requires: php-gd Requires: php-gd
Requires: php-mbstring Requires: php-mbstring
Requires: php-sodium Requires: php-sodium
Requires: php-sqlite3 Requires: php-sqlite3
Requires: php-xml Requires: php-xml
%endif %endif
Requires(pre): user(groweb) Requires(pre): user(groweb)
Requires: gromox >= 2.11 Requires: gromox >= 2.11
BuildRequires: mapi-header-php Requires: mapi-header-php >= 1.2.3
Requires: mapi-header-php
%if 0%{?suse_version} %if 0%{?suse_version}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: java >= 1.9.0
BuildRequires: java-devel >= 1.9.0
%else
BuildRequires: java-11-openjdk-devel
BuildRequires: php-cli
BuildRequires: php-json
%endif
BuildRequires: php
BuildRequires: xz
%if 0%{?suse_version} >= 1500
BuildRequires: libxml2-tools
%else
BuildRequires: libxml2
%endif %endif
%define langdir %_datadir/%name/server/language %define langdir %_datadir/%name/server/language
@ -115,8 +102,7 @@ BuildRequires: libxml2
%description %description
A web client written in PHP that makes use of HTML5, JSON and ExtJS A web client written in PHP that makes use of HTML5, JSON and ExtJS
to allow users to make full use of the grommunio to allow users to make full use of grommunio through a web browser.
through a web browser.
%prep %prep
%autosetup -p1 %autosetup -p1
@ -127,14 +113,11 @@ echo "%version-%release" >version
echo "%version-%release" | sha1sum | cut -b 1-8 >cachebuster echo "%version-%release" | sha1sum | cut -b 1-8 >cachebuster
%build %build
%make_build -j1
%install %install
b="%buildroot" b="%buildroot"
d="$b/%_datadir" mkdir -p "$b/%_datadir/%name"
mkdir -p "$d" cp -a * "$b/%_datadir/%name"
cp -a deploy "$b/%_datadir/%name"
install -vm 644 LICENSE.txt "$b/%_datadir/%name/LICENSE.txt" install -vm 644 LICENSE.txt "$b/%_datadir/%name/LICENSE.txt"
# Nginx conf # Nginx conf
@ -155,7 +138,6 @@ rm -v "$b/%_datadir/%name/debug.php.dist"
mkdir -pv "$b/var/lib/%name/tmp" mkdir -pv "$b/var/lib/%name/tmp"
mkdir -pv "$b/var/lib/%name/sqlite-index" mkdir -pv "$b/var/lib/%name/sqlite-index"
mkdir -pv "$b/var/lib/%name/session" mkdir -pv "$b/var/lib/%name/session"
mkdir -pv "$b/var/log/grommunio"
# Signatures template scripts # Signatures template scripts
mkdir -pv "$b/%_datadir/doc/grommunio-web/scripts" mkdir -pv "$b/%_datadir/doc/grommunio-web/scripts"
@ -169,7 +151,7 @@ for dir in "$b/%_datadir/%name/plugins"/*; do
echo "we did not find a config.php" echo "we did not find a config.php"
fi fi
done done
rm -Rf build "$b/%_datadir/%name/build"
%if 0%{?fdupes:1} %if 0%{?fdupes:1}
%fdupes %buildroot/%_prefix %fdupes %buildroot/%_prefix
%endif %endif
@ -219,7 +201,6 @@ runuser -u groweb -- ipcrm -M 0x950412DE 2>/dev/null || :
%_datadir/%name/server/manifest.dtd %_datadir/%name/server/manifest.dtd
%_datadir/%name/version %_datadir/%name/version
%_datadir/%name/cachebuster %_datadir/%name/cachebuster
%attr(750,root,root) /var/log/grommunio/
%dir %langdir/ %dir %langdir/
%lang(af_ZA) %langdir/af_ZA.UTF-8 %lang(af_ZA) %langdir/af_ZA.UTF-8