2.5.2
Some checks failed
Run CI/CD... / main (push) Failing after 3m53s

This commit is contained in:
Your Name 2025-02-18 10:36:13 +00:00
parent 3da6fd7f9b
commit 5503aaff77

View file

@ -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"