3
0
forked from pool/system-users

Accepting request 505024 from Base:System

1

OBS-URL: https://build.opensuse.org/request/show/505024
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/system-users?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2017-06-23 07:13:59 +00:00 committed by Git OBS Bridge
commit 1be9596ae6
4 changed files with 52 additions and 30 deletions

View File

@ -1,13 +1,14 @@
# Type Name ID GECOS [HOME]
# Access to certain kernel and userspace facilities
g kmem - - -
g lock - - -
g tty 5 - -
g kmem - -
g lock - -
g tty 5 -
g utmp - -
# Hardware access groups
g audio - - -
g cdrom - - -
g dialout - - -
g disk - - -
g input - - -
g tape - - -
g video - - -
g audio - -
g cdrom - -
g dialout - -
g disk - -
g input - -
g tape - -
g video - -

View File

@ -1,2 +0,0 @@
# Type Name ID GECOS [HOME]
g trusted -

View File

@ -1,3 +1,39 @@
-------------------------------------------------------------------
Mon Jun 19 13:18:51 CEST 2017 - kukuk@suse.de
- Move group trusted into system-user-root package [bsc#1044014]
-------------------------------------------------------------------
Sat Jun 17 12:39:09 CEST 2017 - kukuk@suse.de
- Move system-user-root into own package
-------------------------------------------------------------------
Fri Jun 9 13:49:26 CEST 2017 - kukuk@suse.de
- Fix syntax of groups in system-user-root.conf
-------------------------------------------------------------------
Fri Jun 9 11:56:50 CEST 2017 - kukuk@suse.de
- Add utmp to system-group-hardware.conf like systemd has
- Create new system-user-root sub-package creating passwd, group
and shadow files with root user.
-------------------------------------------------------------------
Tue Jun 6 14:52:27 UTC 2017 - dimstar@opensuse.org
- BuildRequire pkgconfig(systemd) instead of systemd: this allows
OBS to pick systemd-mini, which is still good enough. And
ultimately it helps us break a build cycle
(system-users - libssh2_org - curl - systemd - system-users).
-------------------------------------------------------------------
Tue Jun 6 13:29:49 UTC 2017 - lnussel@suse.de
- BuildIgnore group(lock) and group(daemon) for ourselves, needed
for bootstrap.
-------------------------------------------------------------------
Wed May 3 11:35:55 CEST 2017 - kukuk@suse.de

View File

@ -17,7 +17,7 @@
Name: system-users
Version: 20161020
Version: 20170617
Release: 0
Summary: Provide system accounts
License: MIT
@ -28,7 +28,6 @@ Source3: system-user-bin.conf
Source4: system-user-daemon.conf
Source5: system-user-man.conf
Source6: system-user-news.conf
Source7: system-group-trusted.conf
Source8: system-group-obsolete.conf
Source9: system-group-hardware.conf
Source10: system-group-wheel.conf
@ -38,8 +37,9 @@ Source13: system-user-ftp.conf
Source14: system-user-lp.conf
Source15: system-user-nobody.conf
Source16: system-user-upsd.conf
BuildRequires: systemd
BuildRequires: sysuser-shadow
BuildRequires: sysuser-tools
BuildRequires: pkgconfig(systemd)
BuildArch: noarch
%description
@ -85,6 +85,7 @@ and their corresponding directories.
%package -n system-user-uucp
Summary: System user and group uucp
#!BuildIgnore: group(lock)
Group: System/Fhs
Requires(pre): group(lock)
%{sysusers_requires}
@ -101,14 +102,6 @@ Group: System/Fhs
%description -n system-user-games
This package provides the system account and group 'games'.
%package -n system-group-trusted
Summary: System group 'trusted'
Group: System/Fhs
%{sysusers_requires}
%description -n system-group-trusted
This package provides the system group 'trusted'.
%package -n system-group-obsolete
Summary: Obsolete system groups
Group: System/Fhs
@ -176,6 +169,7 @@ This package provides the system account and group 'nobody'.
%package -n system-user-upsd
Summary: System user upsd
#!BuildIgnore: group(daemon)
Group: System/Fhs
Requires(pre): group(daemon)
%{sysusers_requires}
@ -194,7 +188,6 @@ This package provides the system account 'upsd'.
%sysusers_generate_pre %{SOURCE4} daemon
%sysusers_generate_pre %{SOURCE5} man
%sysusers_generate_pre %{SOURCE6} news
%sysusers_generate_pre %{SOURCE7} trusted
%sysusers_generate_pre %{SOURCE8} obsolete
%sysusers_generate_pre %{SOURCE9} hardware
%sysusers_generate_pre %{SOURCE10} wheel
@ -222,7 +215,6 @@ install -m 644 %{SOURCE3} %{buildroot}%{_sysusersdir}/system-user-bin.conf
install -m 644 %{SOURCE4} %{buildroot}%{_sysusersdir}/system-user-daemon.conf
install -m 644 %{SOURCE5} %{buildroot}%{_sysusersdir}/system-user-man.conf
install -m 644 %{SOURCE6} %{buildroot}%{_sysusersdir}/system-user-news.conf
install -m 644 %{SOURCE7} %{buildroot}%{_sysusersdir}/system-group-trusted.conf
install -m 644 %{SOURCE8} %{buildroot}%{_sysusersdir}/system-group-obsolete.conf
install -m 644 %{SOURCE9} %{buildroot}%{_sysusersdir}/system-group-hardware.conf
install -m 644 %{SOURCE10} %{buildroot}%{_sysusersdir}/system-group-wheel.conf
@ -239,7 +231,6 @@ install -m 644 %{SOURCE16} %{buildroot}%{_sysusersdir}/system-user-upsd.conf
%pre -n system-user-daemon -f daemon.pre
%pre -n system-user-man -f man.pre
%pre -n system-user-news -f news.pre
%pre -n system-group-trusted -f trusted.pre
%pre -n system-group-obsolete -f obsolete.pre
%pre -n system-group-hardware -f hardware.pre
%pre -n system-group-wheel -f wheel.pre
@ -280,10 +271,6 @@ install -m 644 %{SOURCE16} %{buildroot}%{_sysusersdir}/system-user-upsd.conf
%dir %attr(0750,news,news) %{_sysconfdir}/news
%{_sysusersdir}/system-user-news.conf
%files -n system-group-trusted
%defattr(-,root,root)
%{_sysusersdir}/system-group-trusted.conf
%files -n system-group-obsolete
%defattr(-,root,root)
%{_sysusersdir}/system-group-obsolete.conf