|
@@ -5,7 +5,7 @@ Summary: The PPP (Point-to-Point Protocol) daemon.
|
|
|
Summary(ja): PPP (Point-to-Point Protocol) デーモン
|
|
|
Name: ppp
|
|
|
Version: 2.4.9
|
|
|
-Release: 1%{?_dist_release}%{?with_systemd:.systemd}
|
|
|
+Release: 2%{?_dist_release}%{?with_systemd:.systemd}
|
|
|
Group: system
|
|
|
Vendor: Project Vine
|
|
|
Distribution: Vine Linux
|
|
@@ -27,6 +27,7 @@ Source9: ipv6-up
|
|
|
Source10: ifup-ppp
|
|
|
Source11: ifdown-ppp
|
|
|
Source12: ppp-watch.tar.xz
|
|
|
+Source100: ppp@.service
|
|
|
|
|
|
# Fedora-specific
|
|
|
Patch0002: ppp-2.4.9-config.patch
|
|
@@ -129,12 +130,14 @@ install -m 644 -p %{SOURCE2} %{buildroot}%{_sysconfdir}/logrotate.d/ppp
|
|
|
|
|
|
%if %{with systemd}
|
|
|
# install tmpfiles drop-in
|
|
|
+install -d %{buildroot}%{_unitdir}
|
|
|
+install -p %{SOURCE100} %{buildroot}%{_unitdir}/ppp@.service
|
|
|
install -d %{buildroot}%{_tmpfilesdir}
|
|
|
install -p %{SOURCE3} %{buildroot}%{_tmpfilesdir}/ppp.conf
|
|
|
%endif
|
|
|
|
|
|
# install scripts (previously owned by initscripts package)
|
|
|
-install -d %{buildroot}%{_sysconfdir}/ppp
|
|
|
+install -d %{buildroot}%{_sysconfdir}/ppp/peers
|
|
|
%if %{with ifupdown}
|
|
|
install -p %{SOURCE4} %{buildroot}%{_sysconfdir}/ppp/ip-down
|
|
|
install -p %{SOURCE5} %{buildroot}%{_sysconfdir}/ppp/ip-down.ipv6to4
|
|
@@ -142,9 +145,6 @@ install -p %{SOURCE6} %{buildroot}%{_sysconfdir}/ppp/ip-up
|
|
|
install -p %{SOURCE7} %{buildroot}%{_sysconfdir}/ppp/ip-up.ipv6to4
|
|
|
install -p %{SOURCE8} %{buildroot}%{_sysconfdir}/ppp/ipv6-down
|
|
|
install -p %{SOURCE9} %{buildroot}%{_sysconfdir}/ppp/ipv6-up
|
|
|
-%endif
|
|
|
-
|
|
|
-%if %{with ifupdown}
|
|
|
install -d %{buildroot}%{_sysconfdir}/sysconfig/network-scripts/
|
|
|
install -p %{SOURCE10} %{buildroot}%{_sysconfdir}/sysconfig/network-scripts/ifup-ppp
|
|
|
install -p %{SOURCE11} %{buildroot}%{_sysconfdir}/sysconfig/network-scripts/ifdown-ppp
|
|
@@ -177,10 +177,12 @@ rm -rf %{buildroot}
|
|
|
%{_mandir}/man8/pppd-radius.8*
|
|
|
%{_mandir}/man8/pppoe-discovery.8*
|
|
|
%dir /etc/ppp
|
|
|
+%dir /etc/ppp/peers
|
|
|
%config(noreplace) /etc/ppp/*
|
|
|
%config(noreplace) /etc/pam.d/ppp
|
|
|
%config(noreplace) /etc/logrotate.d/ppp
|
|
|
%if %{with systemd}
|
|
|
+%{_unitdir}/ppp@.service
|
|
|
%{_tmpfilesdir}/ppp.conf
|
|
|
%endif
|
|
|
%ghost %dir %{_localstatedir}/run/ppp
|
|
@@ -199,6 +201,9 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Sat Oct 09 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.9-2
|
|
|
+- rebuilt with openssl-3.0.0.
|
|
|
+
|
|
|
* Mon Feb 15 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.9-1
|
|
|
- new upstream release.
|
|
|
- updated patches.
|