forked from pool/grommunio-index
Compare commits
3 Commits
Author | SHA256 | Date | |
---|---|---|---|
|
35e8f19946 | ||
bb5a15cfec | |||
e65bffdf4c |
3
1.3.tar.gz
Normal file
3
1.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:218fd64827fb47f3854b1c195f45679fade40f63d6390bc5f254dfe3d21f4912
|
||||||
|
size 27173
|
14
_service
14
_service
@ -1,14 +0,0 @@
|
|||||||
<services>
|
|
||||||
<service name="tar_scm" mode="manual">
|
|
||||||
<param name="scm">git</param>
|
|
||||||
<param name="url">https://github.com/grommunio/grommunio-index</param>
|
|
||||||
<param name="filename">grommunio-index</param>
|
|
||||||
<param name="revision">master</param>
|
|
||||||
<param name="versionformat">@PARENT_TAG@.@TAG_OFFSET@.%h</param>
|
|
||||||
</service>
|
|
||||||
<service name="recompress" mode="manual">
|
|
||||||
<param name="file">*.tar</param>
|
|
||||||
<param name="compression">xz</param>
|
|
||||||
</service>
|
|
||||||
<service name="set_version" mode="manual"/>
|
|
||||||
</services>
|
|
@ -1,4 +1,4 @@
|
|||||||
grommunio-index (1.0.6.f40d25b) unstable; urgency=low
|
grommunio-index (1.3) unstable; urgency=low
|
||||||
|
|
||||||
* Initial package.
|
* Initial package.
|
||||||
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:809b060d222309c6c5be5abe539f2765dc26a4ac011271f084f03087829a55b8
|
|
||||||
size 22748
|
|
@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 5 12:53:00 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Update to release 1.3
|
||||||
|
* Prevent indexing of users without mailbox
|
||||||
|
* Index HTML body
|
||||||
|
* Evaluate PR_MESSAGE_DELIVERY_TIME before
|
||||||
|
PR_LAST_MODIFICATION_TIME
|
||||||
|
* Stop considering inline attachments
|
||||||
|
* Add trace logging for message updates
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 4 08:16:24 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Enable building with %optflags
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jun 7 12:32:59 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
Fri Jun 7 12:32:59 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -1,11 +1,14 @@
|
|||||||
Format: 1.0
|
Format: 1.0
|
||||||
Source: grommunio-index
|
Source: grommunio-index
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Version: 1.0.6.f40d25b
|
Version: 1.3
|
||||||
DEBTRANSFORM-RELEASE: 1
|
DEBTRANSFORM-RELEASE: 1
|
||||||
Maintainer: Grommunio <null@grommunio.com>
|
Maintainer: Grommunio <null@grommunio.com>
|
||||||
Homepage: https://grommunio.com/
|
Homepage: https://grommunio.com/
|
||||||
Standards-Version: 4.5.0
|
Standards-Version: 4.5.0
|
||||||
Build-Depends: debhelper-compat (= 12), cmake, g++ (>= 10),
|
Build-Depends: debhelper-compat (= 12), cmake, g++ (>= 10),
|
||||||
libexmdbpp-dev (>= 1.8), libsqlite3-dev, pkg-config, systemd
|
libexmdbpp-dev (>= 1.8), libhx-dev (>= 3.27),
|
||||||
|
libmariadbclient-dev | libmysqlclient-dev | libmariadb-dev,
|
||||||
|
libsqlite3-dev, libxml2-dev, pkg-config, systemd
|
||||||
|
Depends: libsqlite3-0 (>= 3.42)
|
||||||
Files:
|
Files:
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package grommunio-index
|
# spec file for package grommunio-index
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,16 +17,16 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: grommunio-index
|
Name: grommunio-index
|
||||||
Version: 1.0.6.f40d25b
|
Version: 1.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Generator for grommunio-web search indexes
|
Summary: Generator for grommunio-web search indexes
|
||||||
License: AGPL-3.0-or-later
|
License: AGPL-3.0-or-later
|
||||||
Group: Productivity/Networking/Email/Servers
|
Group: Productivity/Networking/Email/Servers
|
||||||
URL: https://grommunio.com/
|
URL: https://grommunio.com/
|
||||||
Source: %name-%version.tar.xz
|
Source: https://github.com/grommunio/grommunio-index/archive/refs/tags/%version.tar.gz
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} < 1550
|
%if 0%{?suse_version} && 0%{?suse_version} < 1600
|
||||||
BuildRequires: gcc11-c++
|
BuildRequires: gcc12-c++
|
||||||
%else
|
%else
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
%endif
|
%endif
|
||||||
@ -38,6 +38,7 @@ BuildRequires: mariadb-devel >= 5.6
|
|||||||
BuildRequires: libexmdbpp-devel >= 1.8.0
|
BuildRequires: libexmdbpp-devel >= 1.8.0
|
||||||
BuildRequires: libexmdbpp0 >= 1.8.0
|
BuildRequires: libexmdbpp0 >= 1.8.0
|
||||||
BuildRequires: pkgconfig(libHX) >= 3.27
|
BuildRequires: pkgconfig(libHX) >= 3.27
|
||||||
|
BuildRequires: pkgconfig(libxml-2.0)
|
||||||
BuildRequires: pkgconfig(sqlite3)
|
BuildRequires: pkgconfig(sqlite3)
|
||||||
BuildRequires: pkgconfig(systemd)
|
BuildRequires: pkgconfig(systemd)
|
||||||
Requires: libexmdbpp0 >= 1.8.0
|
Requires: libexmdbpp0 >= 1.8.0
|
||||||
@ -53,6 +54,11 @@ Requires(pre): group(gromoxcf)
|
|||||||
Requires: group(gromoxcf)
|
Requires: group(gromoxcf)
|
||||||
Requires: group(groweb)
|
Requires: group(groweb)
|
||||||
Requires: user(groindex)
|
Requires: user(groindex)
|
||||||
|
%if 0%{?rhel} || 0%{?fedora_version}
|
||||||
|
Requires: gr-sqlite-libs >= 3.42
|
||||||
|
%else
|
||||||
|
Requires: libsqlite3-0 >= 3.42
|
||||||
|
%endif
|
||||||
%define services grommunio-index.service grommunio-index.timer
|
%define services grommunio-index.service grommunio-index.timer
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -68,11 +74,18 @@ A C++17 program for the generation of grommunio-web fulltext search indexes.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
pushd .
|
pushd .
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} < 1550
|
wl="%optflags -DENABLE_TRACE"
|
||||||
%cmake -DCMAKE_CXX_COMPILER=%_bindir/g++-11
|
%if 0%{?rhel} || 0%{?fedora_version}
|
||||||
%else
|
wl="-Wl,-rpath,/usr/lib/gr-sqlite/%_lib"
|
||||||
%cmake
|
|
||||||
%endif
|
%endif
|
||||||
|
%cmake \
|
||||||
|
%if 0%{?suse_version} && 0%{?suse_version} < 1600
|
||||||
|
-DCMAKE_CXX_COMPILER=%_bindir/g++-12 \
|
||||||
|
%endif
|
||||||
|
-DCMAKE_C_FLAGS="%optflags $wl" \
|
||||||
|
-DCMAKE_CXX_FLAGS="%optflags $wl" \
|
||||||
|
-DCMAKE_C_FLAGS_RELWITHDEBINFO="$wl" \
|
||||||
|
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO="$wl"
|
||||||
%cmake_build
|
%cmake_build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
@ -85,6 +98,8 @@ mkdir -p "%buildroot/%_datadir/%name"
|
|||||||
%pre -f user.pre
|
%pre -f user.pre
|
||||||
%if 0%{?rhel} || 0%{?fedora_version}
|
%if 0%{?rhel} || 0%{?fedora_version}
|
||||||
getent group groindex >/dev/null || %_sbindir/groupadd -r groindex
|
getent group groindex >/dev/null || %_sbindir/groupadd -r groindex
|
||||||
|
getent group groweb >/dev/null || %_sbindir/groupadd -r groweb
|
||||||
|
getent group gromoxcf >/dev/null || %_sbindir/groupadd -r gromoxcf
|
||||||
getent passwd groindex >/dev/null || %_sbindir/useradd -g groindex -s /bin/false \
|
getent passwd groindex >/dev/null || %_sbindir/useradd -g groindex -s /bin/false \
|
||||||
-r -c "user for %name" -d / groindex
|
-r -c "user for %name" -d / groindex
|
||||||
usermod groindex -aG groweb
|
usermod groindex -aG groweb
|
||||||
@ -95,8 +110,6 @@ usermod groindex -aG gromoxcf
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%post
|
%post
|
||||||
find /var/lib/grommunio-web/sqlite-index/ -mindepth 1 "(" -type d -o -type f ")" -exec chmod g+w,o-w {} + || :
|
|
||||||
find /var/lib/grommunio-web/sqlite-index/ -mindepth 1 "(" -type d -o -type f ")" -exec chgrp -h groweb {} + || :
|
|
||||||
%if 0%{?service_add_post:1}
|
%if 0%{?service_add_post:1}
|
||||||
%service_add_post %services
|
%service_add_post %services
|
||||||
%else
|
%else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user