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