mirror of
https://abf.rosa.ru/djam/ppp.git
synced 2025-02-23 14:12:59 +00:00
This commit is contained in:
parent
3da6fd7f9b
commit
5503aaff77
1 changed files with 22 additions and 21 deletions
43
ppp.spec
43
ppp.spec
|
@ -42,13 +42,14 @@ Patch0024: 0024-build-sys-install-pppoatm-plugin-files-with-standard.patch
|
||||||
Patch0025: ppp-2.4.8-pppd-install-pppd-binary-using-standard-perms-755.patch
|
Patch0025: ppp-2.4.8-pppd-install-pppd-binary-using-standard-perms-755.patch
|
||||||
Patch0026: ppp-2.4.9-configure-cflags-allow-commas.patch
|
Patch0026: ppp-2.4.9-configure-cflags-allow-commas.patch
|
||||||
|
|
||||||
|
BuildRequires: autoconf
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: atm-devel
|
BuildRequires: atm-devel
|
||||||
BuildRequires: pcap-devel
|
BuildRequires: pcap-devel
|
||||||
BuildRequires: pkgconfig(openssl)
|
BuildRequires: pkgconfig(openssl3.3)
|
||||||
BuildRequires: pkgconfig(libcrypto)
|
#BuildRequires: pkgconfig(libcrypto)
|
||||||
BuildRequires: pam-devel
|
BuildRequires: pam-devel
|
||||||
BuildRequires: openssl-devel
|
#BuildRequires: openssl-devel
|
||||||
BuildRequires: pkgconfig(systemd)
|
BuildRequires: pkgconfig(systemd)
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
Requires(post): systemd
|
Requires(post): systemd
|
||||||
|
@ -188,23 +189,23 @@ Radius plugin for %{name}.
|
||||||
tar -xJf %{SOURCE12}
|
tar -xJf %{SOURCE12}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
#/autogen.sh
|
./autogen.sh
|
||||||
#configure \
|
%configure \
|
||||||
# --prefix=%{_prefix} \
|
--prefix=%{_prefix} \
|
||||||
# --exec-prefix=%{_prefix} \
|
--exec-prefix=%{_prefix} \
|
||||||
# --libdir=%{_libdir} \
|
--libdir=%{_libdir} \
|
||||||
# --with-plugin-dir=\$\{prefix\}/%{_lib}/pppd/%{version} \
|
--with-plugin-dir=\$\{prefix\}/%{_lib}/pppd/%{version} \
|
||||||
# --with-runtime-dir=\$\{localstatedir\}/run/pppd \
|
--with-runtime-dir=\$\{localstatedir\}/run/pppd \
|
||||||
# --enable-systemd \
|
--enable-systemd \
|
||||||
# --enable-cbcp \
|
--enable-cbcp \
|
||||||
# --enable-ipxcp \
|
--enable-ipxcp \
|
||||||
# --enable-mslanman \
|
--enable-mslanman \
|
||||||
# --enable-microsoft-extensions \
|
--enable-microsoft-extensions \
|
||||||
# --enable-ipv6-support \
|
--enable-ipv6-support \
|
||||||
# --enable-plugins \
|
--enable-plugins \
|
||||||
# --enable-eaptls \
|
--enable-eaptls \
|
||||||
# --enable-openssl-engine \
|
--enable-openssl-engine \
|
||||||
# OPENSSL_LDFLAGS="-L%{_libdir}"
|
OPENSSL_LDFLAGS="-L/opt/openssl3.3/%{_lib}"
|
||||||
|
|
||||||
#configure
|
#configure
|
||||||
|
|
||||||
|
@ -214,7 +215,7 @@ tar -xJf %{SOURCE12}
|
||||||
#make_build -C ppp-watch LDFLAGS="%{ldflags} -pie"
|
#make_build -C ppp-watch LDFLAGS="%{ldflags} -pie"
|
||||||
#make
|
#make
|
||||||
|
|
||||||
%configure --cflags="$RPM_OPT_FLAGS -fPIC -Wall -fno-strict-aliasing"
|
#configure --cflags="$RPM_OPT_FLAGS -fPIC -Wall -fno-strict-aliasing"
|
||||||
%make_build LDFLAGS="%{ldflags} -pie"
|
%make_build LDFLAGS="%{ldflags} -pie"
|
||||||
%make_build -C ppp-watch LDFLAGS="%{ldflags} -pie"
|
%make_build -C ppp-watch LDFLAGS="%{ldflags} -pie"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue