forked from pool/system-users
Accepting request 720027 from home:rmax:branches:Base:System
- Add system-user-tftp subpackage with tftp user and group and /srv/tftpboot as home directory [bsc#1143454]. OBS-URL: https://build.opensuse.org/request/show/720027 OBS-URL: https://build.opensuse.org/package/show/Base:System/system-users?expand=0&rev=37
This commit is contained in:
parent
bc0987f633
commit
fe11d6805f
3
system-user-tftp.conf
Normal file
3
system-user-tftp.conf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# Type Name ID GECOS [HOME]
|
||||||
|
g tftp -
|
||||||
|
u tftp - "TFTP Account" /srv/tftpboot
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 31 09:55:15 UTC 2019 - Reinhard Max <max@suse.com>
|
||||||
|
|
||||||
|
- Add system-user-tftp subpackage with tftp user and group and
|
||||||
|
/srv/tftpboot as home directory [bsc#1143454].
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jan 31 13:33:05 UTC 2019 - Michal Suchanek <msuchanek@suse.de>
|
Thu Jan 31 13:33:05 UTC 2019 - Michal Suchanek <msuchanek@suse.de>
|
||||||
|
|
||||||
|
@ -39,6 +39,7 @@ Source15: system-user-nobody.conf
|
|||||||
Source16: system-user-upsd.conf
|
Source16: system-user-upsd.conf
|
||||||
Source17: system-user-uuidd.conf
|
Source17: system-user-uuidd.conf
|
||||||
Source18: system-group-s390-tools.conf
|
Source18: system-group-s390-tools.conf
|
||||||
|
Source19: system-user-tftp.conf
|
||||||
BuildRequires: sysuser-shadow
|
BuildRequires: sysuser-shadow
|
||||||
BuildRequires: sysuser-tools
|
BuildRequires: sysuser-tools
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -197,6 +198,14 @@ Group: System/Fhs
|
|||||||
%description -n system-user-uuidd
|
%description -n system-user-uuidd
|
||||||
This package provides the system account and group 'uuidd'.
|
This package provides the system account and group 'uuidd'.
|
||||||
|
|
||||||
|
%package -n system-user-tftp
|
||||||
|
Summary: System user and group tftp
|
||||||
|
Group: System/Fhs
|
||||||
|
%{sysusers_requires}
|
||||||
|
|
||||||
|
%description -n system-user-tftp
|
||||||
|
This package provides the system account and group 'tftp'.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -c -T
|
%setup -q -c -T
|
||||||
|
|
||||||
@ -218,6 +227,7 @@ This package provides the system account and group 'uuidd'.
|
|||||||
%sysusers_generate_pre %{SOURCE16} upsd
|
%sysusers_generate_pre %{SOURCE16} upsd
|
||||||
%sysusers_generate_pre %{SOURCE17} uuidd
|
%sysusers_generate_pre %{SOURCE17} uuidd
|
||||||
%sysusers_generate_pre %{SOURCE18} s390-tools
|
%sysusers_generate_pre %{SOURCE18} s390-tools
|
||||||
|
%sysusers_generate_pre %{SOURCE19} tftp
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_sysusersdir}
|
mkdir -p %{buildroot}%{_sysusersdir}
|
||||||
@ -230,6 +240,7 @@ mkdir -p %{buildroot}%{_localstatedir}/spool/lpd
|
|||||||
mkdir -p %{buildroot}%{_localstatedir}/run/uuidd
|
mkdir -p %{buildroot}%{_localstatedir}/run/uuidd
|
||||||
mkdir -p %{buildroot}/srv/ftp
|
mkdir -p %{buildroot}/srv/ftp
|
||||||
mkdir -p %{buildroot}%{_localstatedir}/lib/nobody
|
mkdir -p %{buildroot}%{_localstatedir}/lib/nobody
|
||||||
|
mkdir -p %{buildroot}/srv/tftpboot
|
||||||
install -m 644 %{SOURCE1} %{buildroot}%{_sysusersdir}/system-user-uucp.conf
|
install -m 644 %{SOURCE1} %{buildroot}%{_sysusersdir}/system-user-uucp.conf
|
||||||
install -m 644 %{SOURCE2} %{buildroot}%{_sysusersdir}/system-user-games.conf
|
install -m 644 %{SOURCE2} %{buildroot}%{_sysusersdir}/system-user-games.conf
|
||||||
install -m 644 %{SOURCE3} %{buildroot}%{_sysusersdir}/system-user-bin.conf
|
install -m 644 %{SOURCE3} %{buildroot}%{_sysusersdir}/system-user-bin.conf
|
||||||
@ -247,6 +258,7 @@ install -m 644 %{SOURCE15} %{buildroot}%{_sysusersdir}/system-user-nobody.conf
|
|||||||
install -m 644 %{SOURCE16} %{buildroot}%{_sysusersdir}/system-user-upsd.conf
|
install -m 644 %{SOURCE16} %{buildroot}%{_sysusersdir}/system-user-upsd.conf
|
||||||
install -m 644 %{SOURCE17} %{buildroot}%{_sysusersdir}/system-user-uuidd.conf
|
install -m 644 %{SOURCE17} %{buildroot}%{_sysusersdir}/system-user-uuidd.conf
|
||||||
install -m 644 %{SOURCE18} %{buildroot}%{_sysusersdir}/system-group-s390-tools.conf
|
install -m 644 %{SOURCE18} %{buildroot}%{_sysusersdir}/system-group-s390-tools.conf
|
||||||
|
install -m 644 %{SOURCE19} %{buildroot}%{_sysusersdir}/system-user-tftp.conf
|
||||||
|
|
||||||
%pre -n system-user-uucp -f uucp.pre
|
%pre -n system-user-uucp -f uucp.pre
|
||||||
%pre -n system-user-games -f games.pre
|
%pre -n system-user-games -f games.pre
|
||||||
@ -268,6 +280,7 @@ install -m 644 %{SOURCE18} %{buildroot}%{_sysusersdir}/system-group-s390-tools.c
|
|||||||
|
|
||||||
%pre -n system-user-upsd -f upsd.pre
|
%pre -n system-user-upsd -f upsd.pre
|
||||||
%pre -n system-user-uuidd -f uuidd.pre
|
%pre -n system-user-uuidd -f uuidd.pre
|
||||||
|
%pre -n system-user-tftp -f tftp.pre
|
||||||
|
|
||||||
%files -n system-user-uucp
|
%files -n system-user-uucp
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -345,4 +358,9 @@ install -m 644 %{SOURCE18} %{buildroot}%{_sysusersdir}/system-group-s390-tools.c
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_sysusersdir}/system-user-uuidd.conf
|
%{_sysusersdir}/system-user-uuidd.conf
|
||||||
|
|
||||||
|
%files -n system-user-tftp
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %attr(0755,tftp,tftp) /srv/tftpboot
|
||||||
|
%{_sysusersdir}/system-user-tftp.conf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user