add a callback to allow plugins to fetch values from the running config
[l2tpns.git] / l2tpns.spec
index d4dddcb..505d2f4 100644 (file)
@@ -1,6 +1,6 @@
 Summary: A high-speed clustered L2TP LNS
 Name: l2tpns
-Version: 2.0.2
+Version: 2.0.5
 Release: 1
 Copyright: GPL
 Group: System Environment/Daemons
@@ -30,35 +30,40 @@ 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
 %dir /etc/l2tpns
-%dir /usr/lib/l2tpns
 %config(noreplace) /etc/l2tpns/users
 %config(noreplace) /etc/l2tpns/startup-config
 %config(noreplace) /etc/l2tpns/ip_pool
-/usr/sbin/l2tpns
+%attr(700,root,root) /usr/sbin/l2tpns
+%attr(755,root,root) /usr/lib/l2tpns
 
 %changelog
+* Tue Nov 9 2004 Brendan O'Dea <bod@optusnet.com.au> 2.0.5
+- 2.0.5 release, see /usr/share/doc/l2tpns-2.0.5/Changes
+
+* Mon Nov 8 2004 Brendan O'Dea <bod@optusnet.com.au> 2.0.4
+- 2.0.4 release
+
+* Wed Nov 3 2004 Brendan O'Dea <bod@optusnet.com.au> 2.0.3
+- 2.0.3 release
+
 * Thu Sep 02 2004 David Parrish <david@dparrish.com> 2.0.2
-- Initial SPEC file generation
+- 2.0.2 release
+
+* Tue Jul 13 2004 Brendan O'Dea <bod@optusnet.com.au> 2.0.1
+- 2.0.1 release
+
+* Wed Jun 23 2004 David Parrish <david@dparrish.com> 2.0.0
+- 2.0.0 release
+
+* Mon May 24 2004 David Parrish <david@dparrish.com> 1.2.0
+- 1.2.0 release
+
+* Mon Apr 5 2004 David Parrish <david@dparrish.com> 1.1.1
+- 1.1.1 release
 
+* Fri Mar 5 2004 David Parrish <david@dparrish.com> 1.1.0
+- 1.1.0 release