]> git.pld-linux.org Git - packages/accel-ppp.git/blame - accel-ppp.spec
- updated description
[packages/accel-ppp.git] / accel-ppp.spec
CommitLineData
cf932b45 1# TODO:
cf932b45 2# - check accel-ppp.tmpfiles
57624d7f 3# - logrotate archivedir
cf932b45 4# - add bconds
4bd8014d 5# - initscript: remove duplicate force-reload, remove one depending whether it supports reload or not
cf932b45
SP
6#
7Summary: High performance PPTP/L2TP/PPPoE server
8Name: accel-ppp
cad42b83
SP
9Version: 1.8.0
10Release: 1
cf932b45
SP
11License: GPL v2+
12Group: Networking
cad42b83 13URL: http://sourceforge.net/projects/accel-ppp
cf932b45 14Source0: http://downloads.sourceforge.net/accel-ppp/%{name}-%{version}.tar.bz2
cad42b83 15# Source0-md5: bc3a02b24fb9f304f7417a9011a494d6
cf932b45 16Source1: %{name}.tmpfiles
2e2d22a4 17Source2: %{name}.init
dbc59aa0 18Source3: %{name}.logrotate
8dfe57a7 19Source4: %{name}.sysconfig
cf932b45
SP
20BuildRequires: cmake >= 2.6
21BuildRequires: libnl1-devel
d2546e0a 22BuildRequires: net-snmp-devel >= 5.0
cf932b45
SP
23BuildRequires: openssl-devel
24BuildRequires: pcre-devel
57624d7f
ER
25BuildRequires: rpmbuild(macros) >= 1.600
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
cf932b45
SP
27
28%description
d2546e0a
SP
29The ACCEL-PPP is completly new implementation of PPTP/PPPoE/L2TP which
30was written from scratch. Userspace daemon has its own PPP
cf932b45
SP
31implementation, so it does not uses pppd and one process
32(multi-threaded) manages all connections. ACCEL-PPP uses only
33kernel-mode implementations of pptp/l2tp/pppoe.
34
35Features:
36- PPTP server
37- PPPoE server
38- L2TPv2 server
39- Radius CoA/DM(PoD)
2be4adcd
SP
40- Built-in shaper
41- Command line interface
cf932b45
SP
42- SNMP
43- IPv6 (including builtin Neighbor Discovery and DHCPv6)
2be4adcd 44- IPoE (start session by DHCPv4 or unclassified IPv4 packet)
cf932b45 45
cf932b45
SP
46%prep
47%setup -q
cf932b45
SP
48
49%build
50install -d build
51cd build
57624d7f
ER
52%cmake \
53 -DSHAPER=TRUE \
54 -DRADIUS=TRUE \
55 -DNETSNMP=TRUE \
57624d7f
ER
56 -DLOG_PGSQL=FALSE \
57 ..
e9d40f13 58
cf932b45
SP
59%{__make}
60
61%install
62rm -rf $RPM_BUILD_ROOT
63%{__make} -C build install/fast \
64 DESTDIR=$RPM_BUILD_ROOT
65
e9d40f13 66install -d $RPM_BUILD_ROOT/etc/{sysconfig,logrotate.d,rc.d/init.d} $RPM_BUILD_ROOT%{systemdtmpfilesdir} $RPM_BUILD_ROOT/var/log/accel-ppp
57624d7f
ER
67cp -p %{SOURCE1} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf
68install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/accel-pppd
69cp -p %{SOURCE3} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
8dfe57a7 70install -p %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/accel-ppp
cf932b45 71
cf932b45
SP
72%clean
73rm -rf $RPM_BUILD_ROOT
74
75%files
76%defattr(644,root,root,755)
57624d7f 77%doc README
2e2d22a4 78%dir %{_sysconfdir}
e9d40f13 79%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) /etc/accel-ppp.conf.dist
21689e2b 80%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}
8dfe57a7 81%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
cad42b83 82%attr(755,root,root) %{_bindir}/accel-cmd
cf932b45 83%attr(755,root,root) %{_sbindir}/accel-pppd
dbc59aa0 84%attr(755,root,root) %{_libdir}/accel-ppp
e31bacda 85%attr(754,root,root) /etc/rc.d/init.d/accel-pppd
cf932b45 86%{systemdtmpfilesdir}/%{name}.conf
57624d7f 87%{_datadir}/%{name}
cad42b83 88%{_mandir}/man1/accel-cmd.*
cf932b45 89%{_mandir}/man5/accel-ppp.conf.5*
d2546e0a 90%dir /var/log/accel-ppp
This page took 0.113705 seconds and 4 git commands to generate.