mirror of
https://abf.rosa.ru/djam/ppp.git
synced 2025-02-23 06:03:01 +00:00
2.5.2
This commit is contained in:
parent
5503aaff77
commit
c720ab2688
1 changed files with 28 additions and 10 deletions
38
ppp.spec
38
ppp.spec
|
@ -45,9 +45,10 @@ Patch0026: ppp-2.4.9-configure-cflags-allow-commas.patch
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: atm-devel
|
BuildRequires: atm-devel
|
||||||
BuildRequires: pcap-devel
|
BuildRequires: pkgconfig(libpcap)
|
||||||
BuildRequires: pkgconfig(openssl3.3)
|
BuildRequires: pkgconfig(openssl3.3)
|
||||||
#BuildRequires: pkgconfig(libcrypto)
|
#BuildRequires: pkgconfig(libcrypto)
|
||||||
|
BuildRequires: pkgconfig(libsasl2)
|
||||||
BuildRequires: pam-devel
|
BuildRequires: pam-devel
|
||||||
#BuildRequires: openssl-devel
|
#BuildRequires: openssl-devel
|
||||||
BuildRequires: pkgconfig(systemd)
|
BuildRequires: pkgconfig(systemd)
|
||||||
|
@ -91,7 +92,7 @@ the PPP protocol.
|
||||||
%{_mandir}/man8/ppp-watch.8*
|
%{_mandir}/man8/ppp-watch.8*
|
||||||
%{_libdir}/pppd/%{version}/minconn.so
|
%{_libdir}/pppd/%{version}/minconn.so
|
||||||
%{_libdir}/pppd/%{version}/openl2tp.so
|
%{_libdir}/pppd/%{version}/openl2tp.so
|
||||||
%{_libdir}/pppd/%{version}/passprompt.so
|
#{_libdir}/pppd/%{version}/passprompt.so
|
||||||
%{_libdir}/pppd/%{version}/passwordfd.so
|
%{_libdir}/pppd/%{version}/passwordfd.so
|
||||||
%{_libdir}/pppd/%{version}/pppol2tp.so
|
%{_libdir}/pppd/%{version}/pppol2tp.so
|
||||||
%{_libdir}/pppd/%{version}/winbind.so
|
%{_libdir}/pppd/%{version}/winbind.so
|
||||||
|
@ -99,17 +100,28 @@ the PPP protocol.
|
||||||
%ghost %dir %{_rundir}/lock/ppp
|
%ghost %dir %{_rundir}/lock/ppp
|
||||||
%dir %{_sysconfdir}/logrotate.d
|
%dir %{_sysconfdir}/logrotate.d
|
||||||
%attr(700, root, root) %dir %{_localstatedir}/log/ppp
|
%attr(700, root, root) %dir %{_localstatedir}/log/ppp
|
||||||
%config(noreplace) %{_sysconfdir}/ppp/eaptls-client
|
#config(noreplace) %{_sysconfdir}/ppp/eaptls-client
|
||||||
%config(noreplace) %{_sysconfdir}/ppp/eaptls-server
|
#config(noreplace) %{_sysconfdir}/ppp/eaptls-server
|
||||||
%config(noreplace) %{_sysconfdir}/ppp/chap-secrets
|
#config(noreplace) %{_sysconfdir}/ppp/chap-secrets
|
||||||
%config(noreplace) %{_sysconfdir}/ppp/options
|
#config(noreplace) %{_sysconfdir}/ppp/options
|
||||||
%config(noreplace) %{_sysconfdir}/ppp/pap-secrets
|
#config(noreplace) %{_sysconfdir}/ppp/pap-secrets
|
||||||
%config(noreplace) %{_sysconfdir}/pam.d/ppp
|
%config(noreplace) %{_sysconfdir}/pam.d/ppp
|
||||||
%config(noreplace) %{_sysconfdir}/logrotate.d/ppp
|
%config(noreplace) %{_sysconfdir}/logrotate.d/ppp
|
||||||
%{_tmpfilesdir}/ppp.conf
|
%{_tmpfilesdir}/ppp.conf
|
||||||
%{_sysconfdir}/sysconfig/network-scripts/ifdown-ppp
|
%{_sysconfdir}/sysconfig/network-scripts/ifdown-ppp
|
||||||
%{_sysconfdir}/sysconfig/network-scripts/ifup-ppp
|
%{_sysconfdir}/sysconfig/network-scripts/ifup-ppp
|
||||||
|
|
||||||
|
%config(noreplace) %{_sysconfdir}/ppp/chap-secrets.example
|
||||||
|
%config(noreplace) %{_sysconfdir}/ppp/eaptls-client.example
|
||||||
|
%config(noreplace) %{_sysconfdir}/ppp/eaptls-server.example
|
||||||
|
%config(noreplace) %{_sysconfdir}/ppp/openssl.cnf.example
|
||||||
|
%config(noreplace) %{_sysconfdir}/ppp/options.example
|
||||||
|
%config(noreplace) %{_sysconfdir}/ppp/pap-secrets.example
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# scripts pon/poff/plog
|
# scripts pon/poff/plog
|
||||||
%{_sbindir}/pon
|
%{_sbindir}/pon
|
||||||
%{_sbindir}/poff
|
%{_sbindir}/poff
|
||||||
|
@ -131,7 +143,7 @@ PPP over ATM plugin for %{name}.
|
||||||
%files devel
|
%files devel
|
||||||
%doc README*
|
%doc README*
|
||||||
%{_includedir}/pppd/*
|
%{_includedir}/pppd/*
|
||||||
#{_libdir}/pkgconfig/pppd.pc
|
%{_libdir}/pkgconfig/pppd.pc
|
||||||
|
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -160,7 +172,7 @@ PPP over ethernet plugin for %{name}.
|
||||||
%files pppoe
|
%files pppoe
|
||||||
%doc README
|
%doc README
|
||||||
%{_libdir}/pppd/%{version}/pppoe.so
|
%{_libdir}/pppd/%{version}/pppoe.so
|
||||||
%{_libdir}/pppd/%{version}/rp-pppoe.so
|
#{_libdir}/pppd/%{version}/rp-pppoe.so
|
||||||
%{_sbindir}/pppoe-discovery
|
%{_sbindir}/pppoe-discovery
|
||||||
|
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
|
@ -189,6 +201,9 @@ Radius plugin for %{name}.
|
||||||
tar -xJf %{SOURCE12}
|
tar -xJf %{SOURCE12}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
export OPENSSL_DIR=/opt/openssl3.3
|
||||||
|
|
||||||
|
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
%configure \
|
%configure \
|
||||||
--prefix=%{_prefix} \
|
--prefix=%{_prefix} \
|
||||||
|
@ -204,6 +219,7 @@ tar -xJf %{SOURCE12}
|
||||||
--enable-ipv6-support \
|
--enable-ipv6-support \
|
||||||
--enable-plugins \
|
--enable-plugins \
|
||||||
--enable-eaptls \
|
--enable-eaptls \
|
||||||
|
--enable-multilink \
|
||||||
--enable-openssl-engine \
|
--enable-openssl-engine \
|
||||||
OPENSSL_LDFLAGS="-L/opt/openssl3.3/%{_lib}"
|
OPENSSL_LDFLAGS="-L/opt/openssl3.3/%{_lib}"
|
||||||
|
|
||||||
|
@ -223,7 +239,9 @@ tar -xJf %{SOURCE12}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
#makeinstall
|
#makeinstall
|
||||||
make INSTROOT=%{buildroot} install install-etcppp
|
#make INSTROOT=%{buildroot} install install-etcppp
|
||||||
|
%makeinstall
|
||||||
|
|
||||||
find scripts -type f | xargs chmod a-x
|
find scripts -type f | xargs chmod a-x
|
||||||
%make ROOT=%{buildroot} -C ppp-watch install
|
%make ROOT=%{buildroot} -C ppp-watch install
|
||||||
# create log files dir
|
# create log files dir
|
||||||
|
|
Loading…
Add table
Reference in a new issue