[packages/accel-ppp] - pl, new URLs, updated to 1.13.0
qboosh
qboosh at pld-linux.org
Thu Apr 10 22:31:11 CEST 2025
commit 46b6ce63ab87e8de1849b5d8b30382bc5c532c85
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Apr 10 22:28:56 2025 +0200
- pl, new URLs, updated to 1.13.0
accel-ppp-snmp.patch | 19 ++++++++++++
accel-ppp.spec | 86 +++++++++++++++++++++++++++++++++-------------------
2 files changed, 74 insertions(+), 31 deletions(-)
---
diff --git a/accel-ppp.spec b/accel-ppp.spec
index 1f11a7d..7e44208 100644
--- a/accel-ppp.spec
+++ b/accel-ppp.spec
@@ -4,62 +4,87 @@
# - add bconds
# - initscript: remove duplicate force-reload, remove one depending whether it supports reload or not
#
-Summary: High performance PPTP/L2TP/PPPoE server
+Summary: High performance PPTP/PPPoE/L2TP/SSTP server
+Summary(pl.UTF-8): Wydajny serwer PPTP/PPPoE/L2TP/SSTP
Name: accel-ppp
-Version: 1.8.0
+Version: 1.13.0
Release: 1
License: GPL v2+
Group: Networking
-URL: http://sourceforge.net/projects/accel-ppp
-Source0: http://downloads.sourceforge.net/accel-ppp/%{name}-%{version}.tar.bz2
-# Source0-md5: bc3a02b24fb9f304f7417a9011a494d6
+#Source0Download: https://github.com/accel-ppp/accel-ppp/releases
+Source0: https://github.com/accel-ppp/accel-ppp/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 239f03b9e3b81d6a156950dd3e983b28
Source1: %{name}.tmpfiles
Source2: %{name}.init
Source3: %{name}.logrotate
Source4: %{name}.sysconfig
+Patch0: %{name}-snmp.patch
+URL: https://accel-ppp.org/
BuildRequires: cmake >= 2.6
-BuildRequires: libnl1-devel
BuildRequires: net-snmp-devel >= 5.0
-BuildRequires: openssl-devel
+BuildRequires: openssl-devel >= 0.9.8
BuildRequires: pcre-devel
-BuildRequires: rpmbuild(macros) >= 1.600
+BuildRequires: rpmbuild(macros) >= 1.605
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-The ACCEL-PPP is completly new implementation of PPTP/PPPoE/L2TP which
-was written from scratch. Userspace daemon has its own PPP
+The ACCEL-PPP is completely new implementation of PPTP/PPPoE/L2TP/SSTP
+which was written from scratch. Userspace daemon has its own PPP
implementation, so it does not uses pppd and one process
(multi-threaded) manages all connections. ACCEL-PPP uses only
kernel-mode implementations of pptp/l2tp/pppoe.
Features:
-- PPTP server
-- PPPoE server
-- L2TPv2 server
-- Radius CoA/DM(PoD)
-- Built-in shaper
-- Command line interface
-- SNMP
-- IPv6 (including builtin Neighbor Discovery and DHCPv6)
-- IPoE (start session by DHCPv4 or unclassified IPv4 packet)
+- modular architecture with multi-threaded I/O core
+- PPTP support
+- PPPoE support (including TR-101 extension)
+- L2TPv2 support (without IPsec)
+- Radius authentication/accounting with CoA/DM extension
+- supported authentication: PAP, CHAP (md5), MS CHAP extensions
+- MPPE support
+- Built-in tbf/htb shaper
+- Command line interface via telnet
+- SNMP support
+- SSTP support
+
+%description -l pl.UTF-8
+ACCEL-PPP to zupełnie nowa implementacja PPTP/PPPoE/L2TP/SSTP,
+napisana od zera. Demon przestrzeni użytkownika wykorzystuje własną
+implementację PPP, więc nie używa pppd, a jeden proces (wielowątkowy)
+zarządza wszystkimi połączeniami. ACCEL-PPP wykorzystuje tylko
+implementacje pptp/l2tp/pppoe po stronie jądra.
+
+Możliwości:
+- modularna architektura z wielowątkową obsługą wejścia/wyjścia
+- obsługa PPTP
+- obsługa PPPoE (wraz z rozszerzeniem TR-101)
+- obsługa L2TPv2 (bez IPsec)
+- uwierzetelnianie/rozliczanie Radius z rozszerzeniem CoA/DM
+- obsługiwane uwierzytelnienia: PAP, CHAP (md5), rozszerzenia MS CHAP
+- obsługa MPPE
+- wbudowane ograniczanie urchu tbf/htb
+- interfejs linii poleceń przez telnet
+- obsługa SNMP
+- obsługa SSTP
%prep
%setup -q
+%patch -P0 -p1
%build
install -d build
cd build
-%cmake \
- -DSHAPER=TRUE \
- -DRADIUS=TRUE \
- -DNETSNMP=TRUE \
- -DLOG_PGSQL=FALSE \
- ..
+%cmake .. \
+ -DSHAPER=ON \
+ -DRADIUS=ON \
+ -DNETSNMP=ON \
+ -DLOG_PGSQL=OFF
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
+
%{__make} -C build install/fast \
DESTDIR=$RPM_BUILD_ROOT
@@ -75,16 +100,15 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc README
-%dir %{_sysconfdir}
-%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) /etc/accel-ppp.conf.dist
-%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}
-%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
+%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/accel-ppp.conf.dist
+%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/accel-ppp
+%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/accel-ppp
%attr(755,root,root) %{_bindir}/accel-cmd
%attr(755,root,root) %{_sbindir}/accel-pppd
%attr(755,root,root) %{_libdir}/accel-ppp
%attr(754,root,root) /etc/rc.d/init.d/accel-pppd
-%{systemdtmpfilesdir}/%{name}.conf
+%{systemdtmpfilesdir}/accel-ppp.conf
%{_datadir}/%{name}
-%{_mandir}/man1/accel-cmd.*
+%{_mandir}/man1/accel-cmd.1*
%{_mandir}/man5/accel-ppp.conf.5*
%dir /var/log/accel-ppp
diff --git a/accel-ppp-snmp.patch b/accel-ppp-snmp.patch
new file mode 100644
index 0000000..99ccbad
--- /dev/null
+++ b/accel-ppp-snmp.patch
@@ -0,0 +1,19 @@
+--- accel-ppp-1.13.0/accel-pppd/extra/net-snmp/sessionTable.h.orig 2024-03-30 18:58:28.000000000 +0100
++++ accel-ppp-1.13.0/accel-pppd/extra/net-snmp/sessionTable.h 2025-04-10 20:03:26.406324994 +0200
+@@ -22,11 +22,11 @@ extern "C" {
+
+ /* other required module components */
+ /* *INDENT-OFF* */
+-config_add_mib(ACCEL-PPP-MIB)
+-config_require(ACCEL-PPP-MIB/sessionTable/sessionTable_interface)
+-config_require(ACCEL-PPP-MIB/sessionTable/sessionTable_data_access)
+-config_require(ACCEL-PPP-MIB/sessionTable/sessionTable_data_get)
+-config_require(ACCEL-PPP-MIB/sessionTable/sessionTable_data_set)
++config_add_mib(ACCEL-PPP-MIB);
++config_require(ACCEL-PPP-MIB/sessionTable/sessionTable_interface);
++config_require(ACCEL-PPP-MIB/sessionTable/sessionTable_data_access);
++config_require(ACCEL-PPP-MIB/sessionTable/sessionTable_data_get);
++config_require(ACCEL-PPP-MIB/sessionTable/sessionTable_data_set);
+ /* *INDENT-ON* */
+
+ /* OID and column number definitions for sessionTable */
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/accel-ppp.git/commitdiff/46b6ce63ab87e8de1849b5d8b30382bc5c532c85
More information about the pld-cvs-commit
mailing list