Dominique Leuenberger 2017-11-29 09:50:05 +00:00 committed by Git OBS Bridge
commit 9af7e390b4
2 changed files with 17 additions and 1 deletions

View File

@ -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

View File

@ -15,7 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define _group dialout
Name: ppp
BuildRequires: libpcap-devel
BuildRequires: linux-atm-devel
@ -72,6 +72,12 @@ Patch23: ppp-send-padt.patch
# PATCH-FIX-UPSTREAM -- Patch for CVE-2015-3310
Patch24: ppp-CVE-2015-3310.patch
Patch25: fix-header-conflict.patch
%if 0%{?suse_version} >= 1330
Requires: group(%{_group})
Requires(pre): group(%{_group})
%else
Requires(pre): shadow
%endif
%description
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: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
%defattr (-, root, root)
%attr(750, root, root) %dir %{_sysconfdir}/ppp