File accel-ppp.spec of Package accel-ppp
#
# spec file for package accel-ppp
#
# Copyright (c) 2019-2026, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: accel-ppp
Version: 1.14.0
Release: 0
Summary: High performance PPTP/L2TP/PPPoE server
License: GPL-2.0-or-later
Group: Productivity/Networking/System
URL: https://accel-ppp.org/
Source: https://github.com/accel-ppp/accel-ppp/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: lua53-devel
BuildRequires: net-snmp-devel
BuildRequires: pcre2-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libcrypto) >= 0.9.8
%description
The ACCEL-PPP is completly new implementation of PPTP/PPPoE/L2TP
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:
- IPoE server
- PPTP server
- PPPoE server
- L2TPv2 server
- Radius CoA/DM (PoD)
- Built-in shaper (htb)
- Command line interface (telnet)
- SNMP
- IPv6 (including builtin Neighbor Discovery and DHCPv6)
%prep
%setup -q
%build
%cmake \
-DCMAKE_SHARED_LINKER_FLAGS="" \
-DBUILD_DRIVER=FALSE \
-DRADIUS=TRUE \
-DNETSNMP=FALSE \
-DLOG_PGSQL=FALSE \
-DLUA=5.3 \
-DMEMDEBUG=TRUE
%make_jobs
%install
%cmake_install
%check
%files
%license COPYING
%doc README
%config %{_prefix}%{_sysconfdir}/accel-ppp.conf.dist
%{_bindir}/accel-cmd
%{_sbindir}/accel-pppd
%dir %{_libdir}/accel-ppp
%{_libdir}/accel-ppp/*.so
%dir %{_datadir}/accel-ppp
%dir %{_datadir}/accel-ppp/l2tp
%{_datadir}/accel-ppp/l2tp/dictionary*
%dir %{_datadir}/accel-ppp/radius
%{_datadir}/accel-ppp/radius/dictionary*
%{_mandir}/man1/accel-cmd.1%{?ext_man}
%{_mandir}/man5/accel-ppp.conf.5%{?ext_man}
%changelog