Accepting request 544773 from home:13ilya:branches:network
- Add Requires group(dialout) (boo#1067511). OBS-URL: https://build.opensuse.org/request/show/544773 OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=43
This commit is contained in:
parent
0187af40de
commit
291f847d16
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 23 14:47:28 UTC 2017 - ilya@ilya.pp.ua
|
||||||
|
|
||||||
|
- Add Requires group(dialout) (boo#1067511).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 13 13:43:05 UTC 2017 - kukuk@suse.com
|
Tue Jun 13 13:43:05 UTC 2017 - kukuk@suse.com
|
||||||
|
|
||||||
|
13
ppp.spec
13
ppp.spec
@ -15,7 +15,7 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
%define _group dialout
|
||||||
Name: ppp
|
Name: ppp
|
||||||
BuildRequires: libpcap-devel
|
BuildRequires: libpcap-devel
|
||||||
BuildRequires: linux-atm-devel
|
BuildRequires: linux-atm-devel
|
||||||
@ -72,6 +72,12 @@ Patch23: ppp-send-padt.patch
|
|||||||
# PATCH-FIX-UPSTREAM -- Patch for CVE-2015-3310
|
# PATCH-FIX-UPSTREAM -- Patch for CVE-2015-3310
|
||||||
Patch24: ppp-CVE-2015-3310.patch
|
Patch24: ppp-CVE-2015-3310.patch
|
||||||
Patch25: fix-header-conflict.patch
|
Patch25: fix-header-conflict.patch
|
||||||
|
%if 0%{?suse_version} >= 1330
|
||||||
|
Requires: group(%{_group})
|
||||||
|
Requires(pre): group(%{_group})
|
||||||
|
%else
|
||||||
|
Requires(pre): shadow
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The ppp package contains the PPP (Point-to-Point Protocol) daemon,
|
The ppp package contains the PPP (Point-to-Point Protocol) daemon,
|
||||||
@ -148,6 +154,11 @@ install -d 755 %{buildroot}%{_sysconfdir}/pam.d
|
|||||||
install -m 644 %{S:1} %{buildroot}%{_sysconfdir}/pam.d/ppp
|
install -m 644 %{S:1} %{buildroot}%{_sysconfdir}/pam.d/ppp
|
||||||
install -m 644 %{S:13} %{buildroot}%{_mandir}/man8/pppoe-discovery.8.gz
|
install -m 644 %{S:13} %{buildroot}%{_mandir}/man8/pppoe-discovery.8.gz
|
||||||
|
|
||||||
|
%if 0%{?suse_version} < 1330
|
||||||
|
%pre
|
||||||
|
getent group %{_group} >/dev/null || %{_sbindir}/groupadd -r %{_group}
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr (-, root, root)
|
%defattr (-, root, root)
|
||||||
%attr(750, root, root) %dir %{_sysconfdir}/ppp
|
%attr(750, root, root) %dir %{_sysconfdir}/ppp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user