disable openssl engine and pre-created upstream default lock dir
This commit is contained in:
parent
eb02703f56
commit
b3bdddf93b
@ -1 +1,2 @@
|
|||||||
d /run/ppp 0755 root root
|
d /run/ppp 0755 root root
|
||||||
|
d /run/pppd/lock 0755 root root
|
||||||
|
|||||||
14
ppp.spec
14
ppp.spec
@ -1,6 +1,6 @@
|
|||||||
Name: ppp
|
Name: ppp
|
||||||
Version: 2.5.0
|
Version: 2.5.0
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: The Point-to-Point Protocol
|
Summary: The Point-to-Point Protocol
|
||||||
|
|
||||||
License: BSD and LGPLv2+ and GPLv2+ and Public Domain
|
License: BSD and LGPLv2+ and GPLv2+ and Public Domain
|
||||||
@ -71,7 +71,7 @@ cp %{SOURCE9} network-scripts
|
|||||||
%build
|
%build
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
export CFLAGS="%{build_cflags} -fno-strict-aliasing"
|
export CFLAGS="%{build_cflags} -fno-strict-aliasing"
|
||||||
%configure --enable-systemd --enable-cbcp --with-pam
|
%configure --enable-systemd --enable-cbcp --with-pam --disable-openssl-engine
|
||||||
%make_build
|
%make_build
|
||||||
%make_build -C ppp-watch LDFLAGS="%{?build_ldflags} -pie"
|
%make_build -C ppp-watch LDFLAGS="%{?build_ldflags} -pie"
|
||||||
|
|
||||||
@ -100,6 +100,7 @@ install -m 644 -p %{SOURCE12} %{buildroot}%{_prefix}/lib/tmpfiles.d/ppp.conf
|
|||||||
|
|
||||||
#ghosts
|
#ghosts
|
||||||
mkdir -p %{buildroot}%{_rundir}/ppp
|
mkdir -p %{buildroot}%{_rundir}/ppp
|
||||||
|
mkdir -p %{buildroot}%{_rundir}/pppd/lock
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
/usr/bin/getent group dip >/dev/null 2>&1 || /usr/sbin/groupadd -r -g 40 dip >/dev/null 2>&1 || :
|
/usr/bin/getent group dip >/dev/null 2>&1 || /usr/sbin/groupadd -r -g 40 dip >/dev/null 2>&1 || :
|
||||||
@ -123,6 +124,8 @@ mkdir -p %{buildroot}%{_rundir}/ppp
|
|||||||
%{_sbindir}/chat
|
%{_sbindir}/chat
|
||||||
%{_sbindir}/ppp*
|
%{_sbindir}/ppp*
|
||||||
%ghost %dir %{_rundir}/ppp
|
%ghost %dir %{_rundir}/ppp
|
||||||
|
%ghost %dir %{_rundir}/pppd
|
||||||
|
%ghost %dir %{_rundir}/pppd/lock
|
||||||
%attr(700, root, root) %dir %{_localstatedir}/log/ppp
|
%attr(700, root, root) %dir %{_localstatedir}/log/ppp
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
@ -135,6 +138,13 @@ mkdir -p %{buildroot}%{_rundir}/ppp
|
|||||||
%{_mandir}/man8/*.8.gz
|
%{_mandir}/man8/*.8.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 05 2024 gaihuiying <eaglegai@163.com> - 2.5.0-3
|
||||||
|
- Type:bugfix
|
||||||
|
- CVE:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:pre-created upstream default lock dir
|
||||||
|
Openssl engine API is deprecated for a while thus disable it
|
||||||
|
|
||||||
* Fri May 10 2024 gaihuiying <eaglegai@163.com> - 2.5.0-2
|
* Fri May 10 2024 gaihuiying <eaglegai@163.com> - 2.5.0-2
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- CVE:NA
|
- CVE:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user