mirror of
https://abf.rosa.ru/djam/ppp.git
synced 2025-02-23 06:03:01 +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
|
||||
Patch0026: ppp-2.4.9-configure-cflags-allow-commas.patch
|
||||
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: libtool
|
||||
BuildRequires: atm-devel
|
||||
BuildRequires: pcap-devel
|
||||
BuildRequires: pkgconfig(openssl)
|
||||
BuildRequires: pkgconfig(libcrypto)
|
||||
BuildRequires: pkgconfig(openssl3.3)
|
||||
#BuildRequires: pkgconfig(libcrypto)
|
||||
BuildRequires: pam-devel
|
||||
BuildRequires: openssl-devel
|
||||
#BuildRequires: openssl-devel
|
||||
BuildRequires: pkgconfig(systemd)
|
||||
BuildRequires: glib2-devel
|
||||
Requires(post): systemd
|
||||
|
@ -188,23 +189,23 @@ Radius plugin for %{name}.
|
|||
tar -xJf %{SOURCE12}
|
||||
|
||||
%build
|
||||
#/autogen.sh
|
||||
#configure \
|
||||
# --prefix=%{_prefix} \
|
||||
# --exec-prefix=%{_prefix} \
|
||||
# --libdir=%{_libdir} \
|
||||
# --with-plugin-dir=\$\{prefix\}/%{_lib}/pppd/%{version} \
|
||||
# --with-runtime-dir=\$\{localstatedir\}/run/pppd \
|
||||
# --enable-systemd \
|
||||
# --enable-cbcp \
|
||||
# --enable-ipxcp \
|
||||
# --enable-mslanman \
|
||||
# --enable-microsoft-extensions \
|
||||
# --enable-ipv6-support \
|
||||
# --enable-plugins \
|
||||
# --enable-eaptls \
|
||||
# --enable-openssl-engine \
|
||||
# OPENSSL_LDFLAGS="-L%{_libdir}"
|
||||
./autogen.sh
|
||||
%configure \
|
||||
--prefix=%{_prefix} \
|
||||
--exec-prefix=%{_prefix} \
|
||||
--libdir=%{_libdir} \
|
||||
--with-plugin-dir=\$\{prefix\}/%{_lib}/pppd/%{version} \
|
||||
--with-runtime-dir=\$\{localstatedir\}/run/pppd \
|
||||
--enable-systemd \
|
||||
--enable-cbcp \
|
||||
--enable-ipxcp \
|
||||
--enable-mslanman \
|
||||
--enable-microsoft-extensions \
|
||||
--enable-ipv6-support \
|
||||
--enable-plugins \
|
||||
--enable-eaptls \
|
||||
--enable-openssl-engine \
|
||||
OPENSSL_LDFLAGS="-L/opt/openssl3.3/%{_lib}"
|
||||
|
||||
#configure
|
||||
|
||||
|
@ -214,7 +215,7 @@ tar -xJf %{SOURCE12}
|
|||
#make_build -C ppp-watch LDFLAGS="%{ldflags} -pie"
|
||||
#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 -C ppp-watch LDFLAGS="%{ldflags} -pie"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue