forked from pool/system-user-gromox
- Update to release 7
OBS-URL: https://build.opensuse.org/package/show/server:mail/system-user-gromox?expand=0&rev=12
This commit is contained in:
commit
def151b2e2
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
5
debian.changelog
Normal file
5
debian.changelog
Normal file
@ -0,0 +1,5 @@
|
||||
system-user-gromox (6-0) unstable; urgency=low
|
||||
|
||||
* That's it.
|
||||
|
||||
-- Gromox <null@gromox.com> Wed, 28 Feb 2024 10:00:00 +0100
|
1
debian.compat
Normal file
1
debian.compat
Normal file
@ -0,0 +1 @@
|
||||
12
|
19
debian.control
Normal file
19
debian.control
Normal file
@ -0,0 +1,19 @@
|
||||
Source: system-user-gromox
|
||||
Priority: optional
|
||||
Section: mail
|
||||
Maintainer: Gromox <null@gromox.com>
|
||||
Standards-Version: 4.5.0
|
||||
|
||||
Package: system-user-gromox
|
||||
Architecture: all
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: adduser, ${misc:Depends}
|
||||
Description: System user and group gromox
|
||||
.
|
||||
This package provides:
|
||||
* the "gromox" user identity for running Gromox services as
|
||||
* the "gromox" group identity for marking data to be consumed by Gromox
|
||||
services but possibly created by AAPI, e.g. mailbox contents
|
||||
* the "gromoxcf" group identity for marking (possibly sensitive)
|
||||
configuration, to be consumed by Gromox services and select
|
||||
services (like saslauthd/keycloak dlopening pam_gromox.so)
|
3
debian.rules
Normal file
3
debian.rules
Normal file
@ -0,0 +1,3 @@
|
||||
#!/usr/bin/make -f
|
||||
%:
|
||||
dh $@ --parallel
|
0
debian.system-user-gromox.install
Normal file
0
debian.system-user-gromox.install
Normal file
6
debian.system-user-gromox.postinst
Normal file
6
debian.system-user-gromox.postinst
Normal file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
getent group gromox >/dev/null || addgroup --system gromox
|
||||
getent group gromoxcf >/dev/null || addgroup --system gromoxcf
|
||||
getent passwd gromox >/dev/null || \
|
||||
adduser --system gromox --home /var/lib/gromox --no-create-home --disabled-password --ingroup gromox
|
||||
usermod gromox -aG gromoxcf
|
3
dummy_for_debtransform.tgz
Normal file
3
dummy_for_debtransform.tgz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fd211e6cbb3d0d7d6fe7c8c8389bb5d269df09692848663626636930e4246892
|
||||
size 231
|
30
system-user-gromox.changes
Normal file
30
system-user-gromox.changes
Normal file
@ -0,0 +1,30 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 4 08:06:05 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 7
|
||||
* Added the "gromoxcf" group. Updated package descriptions.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 21:30:34 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 6
|
||||
* Switch back to %sysusers_generate_pre because systemd-sysusers
|
||||
is not present in buildroots.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 12 23:54:28 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 5
|
||||
* Do away with %sysusers_generate_pre, it is not needed because
|
||||
system-user-gromox.%post runs before gromox.%pre anyway.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 21 22:20:25 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 3
|
||||
* Create gromoxcf group
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 2 09:17:46 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Initial package for build.opensuse.org
|
4
system-user-gromox.conf
Normal file
4
system-user-gromox.conf
Normal file
@ -0,0 +1,4 @@
|
||||
g gromox -
|
||||
g gromoxcf -
|
||||
u gromox - "Gromox services"
|
||||
m gromox gromoxcf
|
10
system-user-gromox.dsc
Normal file
10
system-user-gromox.dsc
Normal file
@ -0,0 +1,10 @@
|
||||
Format: 1.0
|
||||
Source: system-user-gromox
|
||||
Architecture: all
|
||||
Version: 6
|
||||
Maintainer: Gromox <null@gromox.com>
|
||||
Homepage: https://grommunio.com
|
||||
Standards-Version: 3.9.4
|
||||
# You need to update both .dsc and debian.control (*sigh* - Debian)
|
||||
Build-Depends:
|
||||
debhelper
|
69
system-user-gromox.spec
Normal file
69
system-user-gromox.spec
Normal file
@ -0,0 +1,69 @@
|
||||
#
|
||||
# spec file for package system-user-gromox
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: system-user-gromox
|
||||
Version: 7
|
||||
Release: 0
|
||||
Summary: System user and group gromox
|
||||
License: MIT
|
||||
Group: System/Fhs
|
||||
URL: https://grommunio.com/
|
||||
Source: system-user-gromox.conf
|
||||
BuildArch: noarch
|
||||
BuildRequires: systemd-rpm-macros
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: sysuser-tools
|
||||
%sysusers_requires
|
||||
%endif
|
||||
%if 0%{?rhel} || 0%{?fedora_version}
|
||||
%{?sysusers_requires_compat}
|
||||
%endif
|
||||
|
||||
%description
|
||||
This package provides:
|
||||
* the "gromox" user identity for running Gromox services as
|
||||
* the "gromox" group identity for marking data to be consumed by Gromox
|
||||
services but possibly created by AAPI, e.g. mailbox contents
|
||||
* the "gromoxcf" group identity for marking (possibly sensitive)
|
||||
configuration, to be consumed by Gromox services and select
|
||||
services (like saslauthd/keycloak dlopening pam_gromox.so)
|
||||
|
||||
%prep
|
||||
|
||||
%build
|
||||
# The conf file is provided by system-user-gromox rather than
|
||||
# gromox.spec so that e.g. grommunio-admin-api does not grow a
|
||||
# BuildRequire on gromox (wait times).
|
||||
#
|
||||
>user.pre
|
||||
%if 0%{?suse_version}
|
||||
%sysusers_generate_pre %_sourcedir/system-user-gromox.conf user system-user-gromox.conf
|
||||
%endif
|
||||
|
||||
%install
|
||||
install -Dpm0644 %_sourcedir/system-user-gromox.conf "%buildroot/%_sysusersdir/system-user-gromox.conf"
|
||||
|
||||
%pre -f user.pre
|
||||
%if 0%{?rhel} || 0%{?fedora_version}
|
||||
%sysusers_create_compat %_sourcedir/system-user-gromox.conf
|
||||
%endif
|
||||
|
||||
%files
|
||||
%_sysusersdir/*.conf
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user