parent
146558f882
commit
493c048e0d
5
ppp.spec
5
ppp.spec
@ -37,6 +37,8 @@ Patch32: ppp-2.4.5-l2tp-multilink.patch
|
|||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: pam-devel, libpcap-devel, openssl-devel
|
BuildRequires: pam-devel, libpcap-devel, openssl-devel
|
||||||
Requires: glibc >= 2.0.6, /etc/pam.d/system-auth, libpcap >= 14:0.8.3-6 systemd-units
|
Requires: glibc >= 2.0.6, /etc/pam.d/system-auth, libpcap >= 14:0.8.3-6 systemd-units
|
||||||
|
Requires(pre): /usr/bin/getent
|
||||||
|
Requires(pre): /usr/sbin/groupadd
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The ppp package contains the PPP (Point-to-Point Protocol) daemon and
|
The ppp package contains the PPP (Point-to-Point Protocol) daemon and
|
||||||
@ -120,6 +122,9 @@ install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_prefix}/lib/tmpfiles.d/ppp.conf
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
|
||||||
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/ppp
|
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/ppp
|
||||||
|
|
||||||
|
%pre
|
||||||
|
getent group dip >/dev/null 2>&1 || groupadd -r -g 40 dip >/dev/null 2>&1 || :
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_sbindir}/chat
|
%{_sbindir}/chat
|
||||||
|
Loading…
Reference in New Issue
Block a user