X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/2cce196e64eec4f5d3bc79f2f14109557c85cabb..78d08ec936e330b88ef59078661d7dcf55b2f7c1:/l2tpns.spec?ds=sidebyside diff --git a/l2tpns.spec b/l2tpns.spec index c532c0a..29907c7 100644 --- a/l2tpns.spec +++ b/l2tpns.spec @@ -1,6 +1,6 @@ Summary: A high-speed clustered L2TP LNS Name: l2tpns -Version: 2.0.2 +Version: 2.0.10 Release: 1 Copyright: GPL Group: System Environment/Daemons @@ -8,13 +8,14 @@ Source: http://optusnet.dl.sourceforge.net/sourceforge/l2tpns/l2tpns-%{version}. URL: http://sourceforge.net/projects/l2tpns BuildRoot: %{_tmppath}/%{name}-%{version}-root Prereq: /sbin/chkconfig -BuildRequires: libcli >= 1.8.1 -Requires: libcli >= 1.8.1 +BuildRequires: libcli >= 1.8.2 +Requires: libcli >= 1.8.2 %description -A L2TP LNS which does not require l2tpd, pppd or any kernel patches. Can support -up to 65535 active sessions on a single box. Also supports ISP features like -speed throttling, walled garden, usage accounting, and more. +l2tpns is a layer 2 tunneling protocol network server (LNS). It +supports up to 65535 concurrent sessions per server/cluster plus ISP +features such as rate limiting, walled garden, usage accounting, and +more. %prep %setup -q @@ -30,34 +31,17 @@ make install DESTDIR=%{buildroot} %clean rm -rf %{buildroot} -%post -/sbin/chkconfig --add dhcpd -/sbin/chkconfig --add dhcrelay - -%preun -if [ $1 = 0 ]; then # execute this only if we are NOT doing an upgrade - service dhcpd stop >/dev/null 2>&1 - service dhcrelay stop >/dev/null 2>&1 - /sbin/chkconfig --del dhcpd - /sbin/chkconfig --del dhcrelay -fi - -%postun -if [ "$1" -ge "1" ]; then - service dhcpd condrestart >/dev/null 2>&1 - service dhcrelay condrestart >/dev/null 2>&1 -fi - %files %defattr(-,root,root) -%doc Changes INSTALL INTERNALS COPYING Docs/manual.html +%doc Changes INSTALL INTERNALS COPYING THANKS Docs/manual.html %dir /etc/l2tpns %config(noreplace) /etc/l2tpns/users %config(noreplace) /etc/l2tpns/startup-config %config(noreplace) /etc/l2tpns/ip_pool -%attr(700,root,root) /usr/sbin/l2tpns +%attr(755,root,root) /usr/sbin/* %attr(755,root,root) /usr/lib/l2tpns +%attr(644,root,root) /usr/share/man/man[58]/* %changelog -* Thu Sep 02 2004 David Parrish 2.0.2 -- Initial SPEC file generation +* Wed Dec 1 2004 Brendan O'Dea 2.0.10-1 +- 2.0.10 release, see /usr/share/doc/l2tpns-2.0.10/Changes