[info=5d8260f256301ae7ba2eb9b68e3f6a9fd955ea90fe0974826ed614d4ebb5f94a]
OBS-URL: https://build.opensuse.org/package/show/server:mail/system-user-grommunio?expand=0&rev=8
This commit is contained in:
parent
95bf0d1561
commit
5277b9088e
4
_scmsync.obsinfo
Normal file
4
_scmsync.obsinfo
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
mtime: 1723635213
|
||||||
|
commit: 5d8260f256301ae7ba2eb9b68e3f6a9fd955ea90fe0974826ed614d4ebb5f94a
|
||||||
|
url: https://src.opensuse.org/jengelh/system-user-grommunio
|
||||||
|
revision: master
|
3
build.specials.obscpio
Normal file
3
build.specials.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:85049835eb34ea1130470d5fe8328ef72ff84520237f0cb661c6ec9d3d3f60f0
|
||||||
|
size 256
|
@ -6,11 +6,12 @@ Standards-Version: 4.5.0
|
|||||||
|
|
||||||
Package: system-user-grommunio
|
Package: system-user-grommunio
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Pre-Depends: adduser, passwd, system-group-gromoxcf, ${misc:Pre-Depends}
|
Pre-Depends: adduser, passwd, ${misc:Pre-Depends}
|
||||||
Depends: ${misc:Depends}
|
Depends: ${misc:Depends}
|
||||||
Provides: system-group-groindex, system-group-grommunio,
|
Provides: system-group-groindex, system-group-grommunio,
|
||||||
system-group-groweb, system-user-grommunio, system-user-groindex,
|
system-group-groweb, system-group-gromoxcf,
|
||||||
system-user-groweb
|
system-user-grommunio, system-user-groindex, system-user-groweb
|
||||||
|
# gromoxcf provided by more than one package -- intentional
|
||||||
Replaces: system-user-groweb
|
Replaces: system-user-groweb
|
||||||
Breaks: system-user-groweb
|
Breaks: system-user-groweb
|
||||||
Description: General grommunio system user identities
|
Description: General grommunio system user identities
|
||||||
|
10
debian.rules
10
debian.rules
@ -6,8 +6,8 @@ sufile = ${sudir}/system-user-grommunio.conf
|
|||||||
override_dh_auto_install:
|
override_dh_auto_install:
|
||||||
mkdir -p ${sudir}
|
mkdir -p ${sudir}
|
||||||
echo 'u grommunio - "user for grommunio administration"' >${sufile}
|
echo 'u grommunio - "user for grommunio administration"' >${sufile}
|
||||||
echo 'u groweb - "user for grommunio-web"' >${sufile}
|
echo 'u groweb - "user for grommunio-web"' >>${sufile}
|
||||||
echo 'u groindex - "user for grommunio-index"' >${sufile}
|
echo 'u groindex - "user for grommunio-index"' >>${sufile}
|
||||||
echo 'm grommunio gromoxcf' >${sufile}
|
echo 'm grommunio gromoxcf' >>${sufile}
|
||||||
echo 'm groindex groweb' >${sufile}
|
echo 'm groindex groweb' >>${sufile}
|
||||||
echo 'm groindex gromoxcf' >${sufile}
|
echo 'm groindex gromoxcf' >>${sufile}
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 14 11:26:06 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Update to release 9
|
||||||
|
* Switch to sysusers mechanism
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 4 08:03:16 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
Tue Jun 4 08:03:16 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
7
system-user-grommunio.conf
Normal file
7
system-user-grommunio.conf
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
u grommunio - "user for grommunio administration"
|
||||||
|
u groweb - "user for grommunio-web"
|
||||||
|
u groindex - "user for grommunio-index"
|
||||||
|
g gromoxcf
|
||||||
|
m grommunio gromoxcf
|
||||||
|
m groindex groweb
|
||||||
|
m groindex gromoxcf
|
@ -1,7 +1,7 @@
|
|||||||
Format: 1.0
|
Format: 1.0
|
||||||
Source: system-user-grommunio
|
Source: system-user-grommunio
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Version: 7
|
Version: 9
|
||||||
Maintainer: Grommunio <null@grommunio.com>
|
Maintainer: Grommunio <null@grommunio.com>
|
||||||
Homepage: https://grommunio.com
|
Homepage: https://grommunio.com
|
||||||
Standards-Version: 3.9.4
|
Standards-Version: 3.9.4
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: system-user-grommunio
|
Name: system-user-grommunio
|
||||||
Version: 7
|
Version: 9
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: General grommunio system user identities
|
Summary: General grommunio system user identities
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -31,16 +31,9 @@ Provides: system-user-groweb = %version-%release
|
|||||||
BuildRequires: sysuser-tools
|
BuildRequires: sysuser-tools
|
||||||
%sysusers_requires
|
%sysusers_requires
|
||||||
%else
|
%else
|
||||||
Provides: group(groindex)
|
|
||||||
Provides: group(grommunio)
|
|
||||||
Provides: group(groweb)
|
|
||||||
Provides: user(groindex)
|
|
||||||
Provides: user(grommunio)
|
|
||||||
Provides: user(groweb)
|
|
||||||
Requires(pre): /usr/sbin/useradd
|
Requires(pre): /usr/sbin/useradd
|
||||||
Requires(pre): /usr/sbin/groupadd
|
Requires(pre): /usr/sbin/groupadd
|
||||||
%endif
|
%endif
|
||||||
Requires(pre): group(gromoxcf)
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package provides identities related to the Grommunio groupware suite:
|
This package provides identities related to the Grommunio groupware suite:
|
||||||
@ -58,36 +51,17 @@ This package provides identities related to the Grommunio groupware suite:
|
|||||||
%prep
|
%prep
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cat <<-EOF >u.conf
|
|
||||||
u grommunio - "user for grommunio administration"
|
|
||||||
u groweb - "user for grommunio-web"
|
|
||||||
u groindex - "user for grommunio-index"
|
|
||||||
m grommunio gromoxcf
|
|
||||||
m groindex groweb
|
|
||||||
m groindex gromoxcf
|
|
||||||
EOF
|
|
||||||
%if 0%{?suse_version}
|
|
||||||
%sysusers_generate_pre u.conf user system-user-grommunio.conf
|
|
||||||
%else
|
|
||||||
>user.pre
|
>user.pre
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
%sysusers_generate_pre %_sourcedir/system-user-grommunio.conf user system-user-grommunio.conf
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -Dpm0644 u.conf "%buildroot/%_sysusersdir/system-user-grommunio.conf"
|
install -Dpm0644 u.conf "%buildroot/%_sysusersdir/system-user-grommunio.conf"
|
||||||
|
|
||||||
%pre -f user.pre
|
%pre -f user.pre
|
||||||
%if !0%{?suse_version}
|
%if 0%{?rhel} || 0%{?fedora_version}
|
||||||
getent group grommunio >/dev/null || %_sbindir/groupadd -r grommunio
|
%sysusers_create_compat %_sourcedir/system-user-grommunio.conf
|
||||||
getent passwd grommunio >/dev/null || %_sbindir/useradd -g grommunio -s /sbin/nologin \
|
|
||||||
-r -c "user for grommunio administration" -d / grommunio
|
|
||||||
getent group groweb >/dev/null || %_sbindir/groupadd -r groweb
|
|
||||||
getent passwd groweb >/dev/null || %_sbindir/useradd -g groweb -s /sbin/nologin \
|
|
||||||
-r -c "user for grommunio-web" -d / groweb
|
|
||||||
getent group groindex >/dev/null || %_sbindir/groupadd -r groindex
|
|
||||||
getent passwd groindex >/dev/null || %_sbindir/useradd -g groindex -s /sbin/nologin \
|
|
||||||
-r -c "user for grommunio-index" -d / groindex
|
|
||||||
usermod grommunio -aG gromoxcf
|
|
||||||
usermod groindex -aG gromoxcf
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
Loading…
Reference in New Issue
Block a user