automatic version update by autodist [release 2.5.0-1mamba;Fri May 12 2023]

This commit is contained in:
Automatic Build System 2024-01-06 10:30:10 +01:00
parent d577bf9ce3
commit 0968664c6d
2 changed files with 25 additions and 20 deletions

View File

@ -2,6 +2,5 @@
The ppp package contains the PPP (Point-to-Point Protocol) daemon and documentation for PPP support. The ppp package contains the PPP (Point-to-Point Protocol) daemon and documentation for PPP support.
The PPP protocol provides a method for transmitting datagrams over serial point-to-point links. The PPP protocol provides a method for transmitting datagrams over serial point-to-point links.
The ppp package should be installed if your machine needs to support the PPP protocol. The ppp package should be installed if your machine needs to support the PPP protocol.

View File

@ -1,14 +1,14 @@
%define dialout_groupid 10 %define dialout_groupid 10
Name: ppp Name: ppp
Version: 2.4.9 Version: 2.5.0
Release: 1mamba Release: 1mamba
Summary: Point to Point Protocol Summary: Point to Point Protocol
Group: System/Servers Group: System/Servers
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.samba.org/ppp URL: https://ppp.samba.org/
Source0: https://download.samba.org/pub/ppp/ppp-%{version}.tar.gz Source0: https://download.samba.org/pub/ppp/ppp-%{version}.tar.gz
Source1: ppp-options-atm Source1: ppp-options-atm
Source2: ppp-options Source2: ppp-options
@ -27,17 +27,17 @@ Patch4: ppp-2.4.5-enable_pam.patch
License: BSD License: BSD
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libatm-devel
BuildRequires: libopenssl-devel
BuildRequires: libpam-devel
BuildRequires: libpcap-devel BuildRequires: libpcap-devel
BuildRequires: pam-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libpcap-devel >= 1.2 BuildRequires: libpcap-devel >= 1.2
BuildRequires: libatm-devel >= 2.4.1 BuildRequires: libatm-devel >= 2.4.1
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
The ppp package contains the PPP (Point-to-Point Protocol) daemon and documentation for PPP support. The ppp package contains the PPP (Point-to-Point Protocol) daemon and documentation for PPP support.
The PPP protocol provides a method for transmitting datagrams over serial point-to-point links. The PPP protocol provides a method for transmitting datagrams over serial point-to-point links.
The ppp package should be installed if your machine needs to support the PPP protocol. The ppp package should be installed if your machine needs to support the PPP protocol.
%package devel %package devel
@ -48,8 +48,7 @@ Requires: %{name} = %{version}-%{release}
%description devel %description devel
The ppp package contains the PPP (Point-to-Point Protocol) daemon and documentation for PPP support. The ppp package contains the PPP (Point-to-Point Protocol) daemon and documentation for PPP support.
The PPP protocol provides a method for transmitting datagrams over serial point-to-point links. The PPP protocol provides a method for transmitting datagrams over serial point-to-point links.
This package contains static libraries and header files needed for development.
This package contains static libraries and header files need for development.
%debug_package %debug_package
@ -58,23 +57,25 @@ This package contains static libraries and header files need for development.
#%patch1 -p1 #%patch1 -p1
#%patch2 -p1 -b .CVE_2006_2194 #%patch2 -p1 -b .CVE_2006_2194
#%patch3 -p1 #%patch3 -p1
%patch4 -p1 #%patch 4 -p1
rm -f include/linux/if_pppol2tp.h #rm -f include/linux/if_pppol2tp.h
%ifarch x86_64 aarch64 #%ifarch x86_64 aarch64
sed -i "s|/lib/pppd|/%{_lib}/pppd|" pppd/pathnames.h pppd/plugins/Makefile.linux pppd/plugins/*/Makefile.linux #sed -i "s|/lib/pppd|/%{_lib}/pppd|" pppd/pathnames.h pppd/plugins/Makefile.linux pppd/plugins/*/Makefile.linux
%endif #%endif
%build %build
%configure %configure \
--with-pam
# --prefix=%{_prefix} # --prefix=%{_prefix}
%make CC=%{_target_platform}-gcc %make CC=%{_target_platform}-gcc
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall \ %makeinstall
DESTDIR=%{buildroot}%{_prefix}
install -D -m 0644 %{S:1} %{buildroot}%{_sysconfdir}/ppp/options-atm install -D -m 0644 %{S:1} %{buildroot}%{_sysconfdir}/ppp/options-atm
install -m 0644 %{S:2} %{buildroot}%{_sysconfdir}/ppp/options install -m 0644 %{S:2} %{buildroot}%{_sysconfdir}/ppp/options
@ -102,8 +103,8 @@ install -d %{buildroot}%{_sysconfdir}/ppp/peers
#install -D -m 0644 %{S:9} \ #install -D -m 0644 %{S:9} \
# %{buildroot}%{_sysconfdir}/xdg/menus/applications-merged/adsl.menu # %{buildroot}%{_sysconfdir}/xdg/menus/applications-merged/adsl.menu
install -d -m0755 %{buildroot}%{_sysconfdir}/modprobe.d/ install -d -m0755 %{buildroot}%{_modprobedir}
cat > %{buildroot}%{_sysconfdir}/modprobe.d/ppp.conf << _EOF cat > %{buildroot}%{_modprobedir}/ppp.conf << _EOF
alias ppp0 ppp_generic alias ppp0 ppp_generic
_EOF _EOF
@ -135,7 +136,7 @@ exit 0
%config(noreplace) %attr(0664,root,dialout) %{_sysconfdir}/ppp/openssl.cnf %config(noreplace) %attr(0664,root,dialout) %{_sysconfdir}/ppp/openssl.cnf
%config %{_sysconfdir}/ppp/ip-* %config %{_sysconfdir}/ppp/ip-*
%config %{_sysconfdir}/ppp/ipv6-* %config %{_sysconfdir}/ppp/ipv6-*
%{_sysconfdir}/modprobe.d/ppp.conf %{_modprobedir}/ppp.conf
%attr(4550,root,dialout) %{_sbindir}/pppd %attr(4550,root,dialout) %{_sbindir}/pppd
%{_sbindir}/pppstats %{_sbindir}/pppstats
%{_sbindir}/pppdump %{_sbindir}/pppdump
@ -153,9 +154,14 @@ exit 0
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_includedir}/pppd %dir %{_includedir}/pppd
%{_includedir}/pppd/*
%{_libdir}/pkgconfig/pppd.pc
%changelog %changelog
* Fri May 12 2023 Automatic Build System <autodist@mambasoft.it> 2.5.0-1mamba
- automatic version update by autodist
* Fri Jan 15 2021 Automatic Build System <autodist@mambasoft.it> 2.4.9-1mamba * Fri Jan 15 2021 Automatic Build System <autodist@mambasoft.it> 2.4.9-1mamba
- automatic version update by autodist - automatic version update by autodist